您当前的位置:首页 > 帝国CMS教程

帝国cms6.0多搜素表单教程

来源:帝国CMS教程发布者:帝国CMS模板网时间:2010-04-01

 <form name="searchform" method="post" action="[!--news.url--]e/search/index.php">
    <input type="hidden" name="tbname" value="info">
    <input type="hidden" name="tempid" value="1">
    <input type="hidden" name="andor" value="and">
            <TABLE class=gray_border cellSpacing=0 cellPadding=0 width=243
            border=0>
              <TBODY>
              <TR>
                <TD align=middle bgColor=#7f7f7f height=24><SPAN
                  class=c_white_ft>房源搜索</SPAN></TD></TR>
              <TR>
                <TD vAlign=top align=middle bgColor=#eeeeee>
                  <TABLE cellSpacing=0 cellPadding=0 width=230 border=0>
                    <TBODY>
                    <TR>
                      <TD height=7></TD></TR>
                    <TR>
                      <TD vAlign=top align=middle>
                        <TABLE class=form cellSpacing=0 cellPadding=0 width=225
                        border=0>
                          <TBODY>
                          <TR>
                            <TD align=left height=28>&nbsp; <SELECT
                                name=classid> <OPTION value=""
                                selected>物业类型</OPTION> <OPTION
                                value=1>写字楼中心</OPTION> <OPTION
                                value=25>公寓中心</OPTION> <OPTION
                                value=26>商业中心</OPTION> <OPTION
                                value=27>二手房中心</OPTION></SELECT>  &nbsp;<input type="hidden" name="show[]" value="shsq">
                                  <input type="hidden" name="hh[]" value="EQ">
                                 <SELECT name="keyboard[]" type="text">
                                 <OPTION value=""  selected>商圈</OPTION> <OPTION
                                value=CBD商圈>CBD商圈</OPTION> <OPTION
                                value=建国门商圈>建国门商圈</OPTION> <OPTION
                                value=朝阳门商圈>朝阳门商圈</OPTION> <OPTION
                                value=东二环商圈>东二环商圈</OPTION> <OPTION
                                value=东三环商圈>东三环商圈</OPTION> <OPTION
                                value=金融街商圈>金融街商圈</OPTION> <OPTION
                                value=中关村商圈>中关村商圈</OPTION> <OPTION
                                value=亚运村商圈>亚运村商圈</OPTION></SELECT> </TD></TR>
                          <TR>
                            <TD align=left height=28>&nbsp;价格&nbsp;  
<input type="hidden" name="show[]" value="filesize">
<input type="hidden" name="hh[]" value="GE">
<input name="keyboard[]" type="text" size="5">

<input type="hidden" name="show[]" value="filesize">
<input type="hidden" name="hh[]" value="LE">
<input name="keyboard[]" type="text" size="5"></TD></TR>
                          <TR>
                            <TD align=left height=28>
                              <P>&nbsp;<input type="hidden" name="show[]" value="dw"> <!--qylx是字段名以下文字为字段值-->
<input type="hidden" name="hh[]" value="EQ">
 
 <SELECT name="keyboard[]" type="text">  
        
                                        <OPTION value="" selected>单位</OPTION>

                                <OPTION value="/天/平米" >/天/平</OPTION>
                                <OPTION value="/月/平米">/月/平</OPTION> <OPTION
                                value="/年/平米">/年/平</OPTION> <OPTION
                                value="/月">/月</OPTION> <OPTION
                                value="/年">/年</OPTION> <OPTION
                                value="/平米">/平米</OPTION></SELECT>   &nbsp;  <input type="hidden" name="show[]" value="mj"> <!--qylx是字段名以下文字为字段值-->
<input type="hidden" name="hh[]" value="BT">
 
 <SELECT name="keyboard[]" type="text">
        
                                <OPTION value="" selected>面积</OPTION>
         <OPTION   value="100 200">100-200</OPTION> <OPTION
                                value="200 300">200-300</OPTION> <OPTION
                                value="300 400">300-400</OPTION> <OPTION
                                value="400 500">400-500</OPTION> <OPTION

                                value="500 600">500-600</OPTION> <OPTION
                                value="600 800">600-800</OPTION> <OPTION
                                value="800 1000">800-1000</OPTION> <OPTION
                                value="1000 1500">1000-1500</OPTION> <OPTION
                                value="1500 2000">1500-2000</OPTION> <OPTION
                                value="2000 1111111111111111111111">2000以上</OPTION></SELECT>&nbsp;  <input type="hidden" name="show[]" value="jylx">
                                  <input type="hidden" name="hh[]" value="EQ">
                                 <SELECT name="keyboard[]" type="text"> <OPTION value=出租>出租</OPTION>
                                <OPTION value=出售>出售</OPTION></SELECT> </P></TD></TR>
                          <TR>
                            <TD align=left height=28>&nbsp;关键字&nbsp;<input type="hidden" name="show[]" value="title">
          <input type="hidden" name="hh[]" value="LK">
          <input name="keyboard[]" type="text" size="10"> <INPUT type=image
                              src="indexcss/search.gif" align=middle
                              name=Submit></TD></TR></TBODY></TABLE></TD></TR>
                    <TR>
                      <TD
            height=7></TD></TR></TBODY></TABLE></TD></TR></TBODY></TABLE></FORM>