<!--#include file="top.asp" -->
<SCRIPT language=JavaScript>
function validate(field) {
var max=2;
if (enjoy.huiyuan.value.length < max) {
field.value="";
return false;
   }
}

function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</SCRIPT>

<table width="760" bgcolor="#ffffff" align="center" cellpadding="0" cellspacing="0" class="table-zuoyou">
  <tr>
    <td width="170" height="350" valign="top" class="table-you"> 
	<!--#include file="conn/logininc.asp" -->
	<!--#include file="conn/searchinc.asp" -->
	<!--#include file="conn/fenleiinc.asp" --></td>
<td width="590" valign="top">
	 <!--#include file="conn/bannerinc.asp" --> 
   <table width="100%" align="center" cellpadding="0" cellspacing="0" class="table-shang">
   <tr><TD vAlign=center height=30>&nbsp; 您目前的位置：<A href="index.asp?userid=<%=userid%>">网站首页</A> -&gt; <A href="search2.asp?userid=<%=userid%>">高级搜索</A></tr>  
  <TR><TD background=../image/1x3.gif height=1></TD></TR>
  <tr>	
	<td height="400" align="center" valign="middle">
    <script language="javascript">
	<!--//
	function checksignup() {
		if ((isNaN(document.myform.fw1.value))||(isNaN(document.myform.fw2.value))){
			window.alert('请输入正确的价格范围!!');
			return false;
		}
		return true;
	}
	//-->
	</script>
      
      <img src="../image/adsearch.gif" border="0">
      <table width="400" border="1" align="center" cellpadding="5" cellspacing="0" bordercolor="#CCCCCC" style="BORDER-COLLAPSE: collapse">
        <form action="search2-ok.asp" method="get" name="myform" id="myform">
          <tr valign="middle"> 
            <td width="92" height="30" align="center">产品分类：</td>
            <td width="306" height="30">
                <select name="userlb" id="userlb" size="1" class="wenbenkuang">
                <option value="" selected>全部类别</option>
				<%  set rs = conn.execute("select * from user_lb where userid="&userid&" order by id")
				    do while not rs.eof%>
                <option value="<%=trim(rs("userlb"))%>"><%=trim(rs("userlb"))%></option>
                <%
        				rs.movenext
       					loop
       					rs.close
        				set rs = nothing
						%>
              </select></td>
          </tr>
          <tr valign="middle"> 
            <td height="30" align="center">价格范围：</td>
            <td height="30"><input name="fw1" type="text" class="wenbenkuang" id="key22" size="5" maxlength="10">
              - 
              <input name="fw2" type="text" class="wenbenkuang" id="key22" size="5" maxlength="10">
              元</td>
          </tr>
          <tr valign="middle"> 
            <td height="30" align="center">关键字：</td>
            <td height="30"> <input name="key" type="text" class="wenbenkuang" id="key22" size="20" maxlength="25"></td>
          </tr>
          <tr valign="middle"> 
            <td height="30" align="center">排序条件：</td>
            <td height="30"> <INPUT type=radio CHECKED value=sj name=tj onFocus=this.blur()>
              加入日期 
              <INPUT type=radio value=rq name=tj onFocus=this.blur()>
              产品人气 
              <INPUT type=radio value=jg2 name=tj onFocus=this.blur()>
              产品价格</td>
          </tr>
          <tr valign="middle"> 
            <td height="30" align="center">排序方式：</td>
            <td height="30"> <INPUT type=radio CHECKED value=desc name=fs onFocus=this.blur()>
              降序 
              <INPUT type=radio value=asc name=fs onFocus=this.blur()>
              升序</td>
          </tr>
          <tr valign="middle"> 
            <td height="30" align="center">&nbsp;</td>
            <td height="30"> 
              <input name="imageField" type="image" onFocus="this.blur()" onClick="javascript:return checksignup()" src="../image/search.gif" align="left" width="52" height="19" border="0"><INPUT id=userid type=hidden value=<%=userid%> name=userid></td>
          </tr>
        </form>
      </table>      </td>
  </tr></table>
</td></tr>
</table>
<!--#include file="bd.asp" -->