
<form name="fform12" id="fform12" action="viewSearch.asp" method="post" style="margin:0px;">
<div><img src="images/2008-1-17-01.jpg" width="4" height="8" align="absmiddle" style="margin-top:3px;" />&nbsp;<strong>快速筛选：</strong><select name="fa_chuqiu" id="fa_chuqiu">
      <option value="">发布类型</option>
      <option value="出售" <%if request("fa_chuqiu")="出售" then response.write "selected='selectd'"%>>出售</option>
      <option value="求购" <%if request("fa_chuqiu")="求购" then response.write "selected='selectd'"%>>求购</option>
    </select><font color="#999999">|</font><select name="chexing" style="width:70px;">
<option value="">车辆类型</option>
  <%
				set rschexing = server.CreateObject("adodb.recordset")
				rschexing.open "select * from carfenlei",conn,1,1
				do while not rschexing.eof
					'如果search.asp页提交了筛选条件，则保留
					tmp_hfgdj=""
					if request("chexing")=rschexing("fenlei") then
						tmp_hfgdj="selected='selectd'"
					else
						tmp_hfgdj=""
					end if
				response.write "<option value='"& rschexing("fenlei") &"' "& tmp_hfgdj &">"& rschexing("fenlei") &"</option>"
				rschexing.movenext
				loop
				rschexing.close
				set rschexing =nothing
%>
</select><font color="#999999">|</font><select name="pricef" id="pricef" style="width:80px;">
      <option value="0" selected>最低价格</option>
      <%
	  for q = 0 to 10
	  	if request("pricef")=cstr(q*10000) and q<>0 then
			response.write "<option value='"& q * 10000 &"' selected='selected'>"&q&"万</option>"
		else
			response.write "<option value='"& q * 10000 &"'>"&q&"万</option>"
		end if
	 next%>
    </select><SELECT name="pricee" id="pricee" style="width:80px;">
  <option value="10000000" selected>最高价格</option>
  <%
  for q = 1 to 10
  	if request("pricee")=cstr(q*10000) then
		response.write "<option value='"& q * 10000 &"' selected='selected'>"&q&"万</option>"
	else
		response.write "<option value='"& q * 10000 &"'>"&q&"万</option>"
	end if
next%>
  <option value="10000000">10万以上</option>
</SELECT><font color="#999999">|</font><script language="javascript">showprovince('province', 'city', '');showcity('city', '');</script><font color="#999999">|</font><select name="fa_class">
		<option value="">性质</option>
      <option value="私人" <%if request("fa_class")="私人" then response.write "selected='selected'"%>>私人</option>
      <option value="车行" <%if request("fa_class")="车行" then response.write "selected='selected'"%>>车行</option>
    </select><font color="#999999">|</font><INPUT name="key" id="key" size=10 value="<%=request("key")%>">
    <input type="submit" name="Submit" value="筛选">
</div>
</form>


