帝国cms的多条件搜索案例
<form name="searchform" method="post" action="/e/search/index.php">
<input type="hidden" name="tempid" value="1">
<input type="hidden" name="andor" value="and">
<input type="hidden" name="tbname" value="xiazai" />
<TABLE class="listforum listforumtop" cellSpacing=0 cellPadding=0> <THEAD>
<TR>
<TD class=subclassi colSpan=4><SPAN>类型:</SPAN><select name="classid">
<option value="">所有</option>
<option value="99">油画</option>
<option value="109">古画</option>
<option value="100">国画</option>
<option value="113">书法</option>
<option value="101">装饰画</option>
<option value="111">佛画</option>
<option value="102">其他</option>
</select>
</TD></TR>
<TR>
<TD class=subclassi colSpan=4><SPAN>级别:</SPAN><input type="hidden" name="show[]" value="filetype"><input type="hidden" name="hh[]" value="EQ"><select name="keyboard[]"class="sjput">
<option value="">不限</option>
<option value="欣赏级别">欣赏级别</option>
<option value="印刷一级">印刷一级</option>
<option value="印刷二级">印刷二级</option>
</select>
<TR>
<TD class=subclassi colSpan=4><SPAN>大小:</SPAN><input type="hidden" name="show[]" value="filesize"><input type="hidden" name="hh[]" value="EQ"><select name="keyboard[]"class="sjput">
<option value="">不限</option>
<option value="0__10">10m以下</option>
<option value="10__50">10-50m</option>
<option value="50__100">50-100m</option>
<option value="100__500">100-500m</option>
<option value="500__10000000000000">500m以上</option>
</select>
</TD></TR>
<TR>
<TD class=subclassi colSpan=4><SPAN>分数:</SPAN><input type="hidden" name="show[]" value="fs"><input type="hidden" name="hh[]" value="EQ"><select name="keyboard[]"class="sjput">
<option value="">不限</option>
<option value="0">0分</option>
<option value="1__10">1-10分</option>
<option value="10__50">10-50分</option>
<option value="50__100">50-100分</option>
<option value="100__100000000000">100分以上</option>
</select>
</TD></TR>
<TR>
<TD class=subclassi colSpan=4>
<input type="hidden" name="show[]" value="title">
<input type="hidden" name="hh[]" value="LK">
<INPUT class=soso onblur="if (value ==''){value='[!--keyboard--]'}" style="COLOR: #999" onfocus="if (value =='[!--keyboard--]'){value =''}" size=16 value="[!--keyboard--]" name="keyboard[]"><INPUT class=but type=submit value=全站搜索 name=Submit></TD></TR>
</THEAD>
</TABLE>
</form>