<!--#include file="conn.asp" -->
<%
strCurrMenu=FirstMenu()
ThisPage=request.ServerVariables("URL")
%>
<html>
<head>
<title></title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="common/style.css" rel="stylesheet" type="text/css">
<script language="JavaScript" src="admin/common/JS_CheckForm.js"></script>
<script language="JavaScript">
function checkform(theform){
	if(!CheckEmpty(theform.key, "关键字")) return false;
}
</script>


<script language="JavaScript">
	function PutWare(strID){
		Shopwin=window.open("shopping.asp?action=add&spid=" + strID+ "&PtCount=1&mnid=<%=strCurrMenu%>",'WareList','width=580,height=250,scrollbars=yes,resizable=yes');
		Shopwin.focus();
	}

</script>
</head>
<body bgcolor="#D4D0C8" leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp" -->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td colspan="5" rowspan="3"><table width="760" border="0" cellpadding="0" cellspacing="0">
        <tr> 
          <td width="183" valign="top" background="images/index_r4_c1.gif"><table width="100%" height="421" border="0" cellpadding="0" cellspacing="0" background="images/index_r3_c1.gif" style="background-repeat:No-repeat";>
              <tr> 
                <td height="58" valign="top"><img src="images/dl.gif" width="183" height="49"></td>
              </tr>
              <tr> 
                <td height="59" align=center>
				<!--#include file="login.asp" --></td>
              </tr>
              <tr> 
                <td height="158" align="center"> <form action="pruduct.asp" method="post" name="search" id="search" onSubmit="return checkform(this)">
                    <TABLE cellSpacing=2 cellPadding=2 width="100%" align=center border=0>
                      <TR align="center"> 
                        <TD colspan="2" style="PADDING-LEFT: 6px"><strong><font style="color:white;font-size:16px">商品搜索</font></strong> 
                        </TD>
                      </TR>
                      <TBODY>
                        <TR> 
                          <TD align="right" style="PADDING-LEFT: 6px"><font color="#FFFFFF">关键字:</font></TD>
                          <TD style="PADDING-LEFT: 6px"><INPUT 
                  name=key id=searchkey2 size="13"> </TD>
                        </TR>
                        <TR> 
                          <TD width="31%" align="right" style="PADDING-LEFT: 6px"><font color="#FFFFFF">内 
                            容:</font></TD>
                          <TD style="PADDING-LEFT: 6px" width="69%"> <TABLE cellSpacing=0 cellPadding=0 border=0>
                              <TBODY>
                                <TR> 
                                  <TD><SELECT name=type>
                                      <OPTION value=1 selected>商品名称</OPTION>
                                      <OPTION value=2>内容简介</OPTION>
                                    </SELECT></TD>
                                  <TD> <TABLE id=T_select style="DISPLAY: none" cellSpacing=0 
                        cellPadding=0 border=0>
                                      <TBODY>
                                        <TR> 
                                          <TD></TD>
                                        </TR>
                                      </TBODY>
                                    </TABLE></TD>
                                </TR>
                              </TBODY>
                            </TABLE></TD>
                        </TR>
                        <TR> 
                          <TD width="31%" align="right" style="PADDING-LEFT: 6px"> 
                            <font color="#FFFFFF"> 价 格:</font></TD>
                          <TD style="PADDING-LEFT: 6px" width="69%">
						  <SELECT name=price>
                              <option value="20">20元以下</option>
                              <option value="30">30元以下</option>
                              <option value="50" selected>50元以下</option>
                              <option value="100">100元以下</option>
                              <option value="200">200元以下</option>
                              <option value="300">300元以下</option>
                              <option value="500">500元以下</option>
                              <option value="1000">1000元以下</option>
                              <option value="2000">2000元以下</option>
                              <option value="3000">3000元以下</option>
                            </SELECT>
							</TD>
                        </TR>
                        <TR> 
                          <TD width="31%" height=18 align="right" style="PADDING-LEFT: 6px"><font color="#FFFFFF">分 
                            类:</font></TD>
                          <TD style="PADDING-LEFT: 6px" width="69%"> <select name="class" style="width:90px">
                              <option value="">所有产品</option>
                              <%
								'开始输出分类
								strSQL="Select * From web_product_class Where c_parent=0 And mn_id=" & strCurrMenu & " Order by c_index"
								Set rsClass=Server.CreateObject("ADODB.RecordSet")
								rsClass.open strSQL,conn,1,1
								for i=1 to rsClass.recordcount
								%>
                              <option value="<%=rsClass("id")%>"><%=trim(rsClass("c_name"))%></option>
                              <%
									rsClass.movenext
								next
								rsClass.close
								%>
                            </select> </TD>
                        </TR>
                        <TR> 
                          <TD style="PADDING-LEFT: 6px" colSpan=2 height=18> <DIV align=center> 
                              <input type="submit" name="Submit3" value="搜 索">
                              <input type="reset" name="Submit4" value="重 置">
                              <br>
                            </DIV></TD>
                        </TR>
                    </TABLE>
                  </form></td>
              </tr>
              <tr> 
                <td><table width="100%" border="0" cellpadding="0" cellspacing="0" background="images/index_r8_c1.jpg">
                    <tr> 
                      <td><img src="images/index_r6_c1.gif" width="183" height="30"></td>
                    </tr>
                              <%
								'开始输出分类
								strSQL="Select * From web_product_class Where c_parent=0 And mn_id=" & strCurrMenu & " Order by c_index"
								Set rsClass=Server.CreateObject("ADODB.RecordSet")
								rsClass.open strSQL,conn,1,1
								for i=1 to rsClass.recordcount
								%>
                    <tr> 
                      <td height="30" background="images/index_r7_c1.gif">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
                        <strong><font color="#FFFFFF"><%=trim(rsClass("c_name"))%></font></strong></td>
                    </tr>
                    <tr> 
                      <td><table width="90%" border="0" align="center" cellpadding="6" cellspacing="0">
                          <tr> 
                            <td><font color="#FFFFFF">
							  <%
								'开始二级输出分类
								strSQL="Select * From web_product_class Where c_parent=" & rsClass("id") & " And mn_id=" & strCurrMenu & " Order by c_index"
								Set rsClass1=Server.CreateObject("ADODB.RecordSet")
								rsClass1.open strSQL,conn,1,1
								for j=1 to rsClass1.recordcount
							  %><a href="product.asp?class=<%=rsClass1("id")%>&classname=<%=trim(rsClass1("c_name"))%>&mnid=<%=strCurrMenu%>" class="aWhite"><%=trim(rsClass1("c_name"))%></a>&nbsp;<%
									rsClass1.movenext
								next
								rsClass1.close
							  
							  %>
							  </font></td>
                          </tr>
                        </table></td>
                    </tr>
                              <%
									rsClass.movenext
								next
								rsClass.close
								%>
                  </table></td>
              </tr>
            </table></td>
          <td width="577" colspan="4" valign="top" bgcolor="#FFFFFF">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="41" valign="top" background="images/fudong.gif"> <table width="96%" height="32" border="0" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="19%" height="32">&nbsp;</td>
                      <td width="81%"><font color="#FF0099">这是真情告白广告位，需要使用广告管理来实现</font></td>
                    </tr>
                  </table></td>
              </tr>
            </table>
            <TABLE cellSpacing=0 cellPadding=0 width=98% align=center border=0>
              <TBODY>
                <TR> 
                  <TD width="509"><table width="100%" border="0" cellspacing="0" cellpadding="0">
                      <tr> 
                        <td width="44%"><img src="images/newflower.gif" width="246" height="28"></td>
                        <td width="54%" align="right"><a href="javascript:;" onClick="window.open('shopping.asp?mnid=<%=strCurrMenu%>','','width=580,height=250,scrollbars=yes,resizable=yes');"><img src="images/buycar.gif" width="101" height="22" border="0"></a></td>
                        <td width="2%">&nbsp;</td>
                      </tr>
                    </table></TD>
                </TR>
                <TR> 
                  <TD bgColor=#ffffff>
					


                      
                    <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                      <TBODY>
					<%
					strSQL="Select Top 8 * From v_web_product Where mn_id=" & strCurrMenu & " And left(p_code,2)='xp' Order by p_code,ID Desc"
					Set rs=Server.CreateObject("ADODB.RecordSet")
					rs.open strSQL,conn,1,1
					%>                        <%
					 '循环输出
					 for i=1 to (rs.recordcount+3)\4
						if rs.eof then exit for
					%>
                        <TR> 
                          <%
						  	for j=1 to 4 
								if rs.eof then exit for
						  %>
                          <TD> <TABLE width=127 border="0" cellPadding=7 cellSpacing=0>
                              <TBODY>
                                <TR> 
                                  <TD style="PADDING-LEFT: 6px" vAlign=top width=125> 
                                    <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                                      <TBODY>
                                        <TR> 
                                          <TD align="center"> <font color="#FF3399">[</font><a href="productshow.asp?id=<%=trim(rs("id"))%>&mnid=<%=strCurrMenu%>&classname=<%=trim(rs("c_name"))%>&uppage=<%=ThisPage%>" target="_blank"><strong><font color="#ff6600"><%=trim(rs("p_name"))%></font></strong></a><font color="#FF3399">]</font> 
                                          </TD>
                                        </TR>
                                      </TBODY>
                                    </TABLE>
                                    <DIV align=center><a href="productshow.asp?id=<%=trim(rs("id"))%>&mnid=<%=strCurrMenu%>&classname=<%=trim(rs("c_name"))%>&uppage=<%=ThisPage%>" target="_blank"><img src="UpFile/<%=trim(rs("p_smallpic"))%>" width="100" border="0"></a> 
                                    </DIV>
                                    <TABLE cellSpacing=0 cellPadding=0 width="100%" 
border=0>
                                      <TBODY>
                                        <TR> 
                                          <TD align="center">
										      市场价：<S><%=trim(rs("p_price"))%></S><BR>
                                              会员价：<font color="#FF0000"><%=trim(rs("p_price1"))%></font><br>
                                            <a href="javascript:;" onClick="PutWare('<%=trim(rs("id"))%>')"><img src="images/shopping.gif" width="78" height="23" border="0"></a></TD>
                                        </TR>
                                      </TBODY>
                                    </TABLE></TD>
                                </TR>
                              </TBODY>
                            </TABLE></TD>
                          <%
							  	rs.movenext
							 Next
							  %>
                        </TR>
                        <%
									
							next
				%>
                      </TBODY>
                    </TABLE>
                    </TD>
                </TR>
              </TBODY>
            </TABLE>
            <div align="center"> 
              <table width="100%" border="0" cellspacing="0" cellpadding="0">
                <tr>
                  <td align="center"><img src="images/gg.gif" width="509" height="119"></td>
                </tr>
              </table>
            </div>
            <TABLE cellSpacing=0 cellPadding=0 width=98% align=center border=0>
              <TBODY>
                <TR> 
                  <TD><I usemap="#Map" border="0" height="29" width="455"><IMG 
            height=35 src="images/lan_r10_c1.gif" 
            width=229></I></TD>
                </TR>
                <TR> 
                  <TD bgColor=#ffffff> <DIV align=left> 
                      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                        <TBODY>
                          <%
					strSQL="Select Top 8 * From v_web_product Where mn_id=" & strCurrMenu & " And left(p_code,2)='cx' Order by p_code,ID Desc"
					Set rs=Server.CreateObject("ADODB.RecordSet")
					rs.open strSQL,conn,1,1
					%>
                          <%
					 '循环输出
					 for i=1 to (rs.recordcount+3)\4
						if rs.eof then exit for
					%>
                          <TR> 
                            <%
						  	for j=1 to 4 
								if rs.eof then exit for
						  %>
                            <TD> <TABLE width=127 border="0" cellPadding=7 cellSpacing=0>
                                <TBODY>
                                  <TR> 
                                    <TD style="PADDING-LEFT: 6px" vAlign=top width=125> 
                                      <TABLE cellSpacing=0 cellPadding=0 width="100%" border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD align="center"> <font color="#FF3399">[</font><a href="productshow.asp?id=<%=trim(rs("id"))%>&mnid=<%=strCurrMenu%>&classname=<%=trim(rs("c_name"))%>&uppage=<%=ThisPage%>" target="_blank"><strong><font color="#ff6600"><%=trim(rs("p_name"))%></font></strong></a><font color="#FF3399">]</font> 
                                            </TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE>
                                      <DIV align=center><a href="productshow.asp?id=<%=trim(rs("id"))%>&mnid=<%=strCurrMenu%>&classname=<%=trim(rs("c_name"))%>&uppage=<%=ThisPage%>" target="_blank"><img src="UpFile/<%=trim(rs("p_smallpic"))%>" width="100" border="0"></a> 
                                      </DIV>
                                      <TABLE cellSpacing=0 cellPadding=0 width="100%" 
border=0>
                                        <TBODY>
                                          <TR> 
                                            <TD align="center"> 市场价：<S><%=trim(rs("p_price"))%></S><BR>
                                              会员价：<font color="#FF0000"><%=trim(rs("p_price1"))%></font><br> 
                                              <a href="javascript:;" onClick="PutWare('<%=trim(rs("id"))%>')"><img src="images/shopping.gif" width="78" height="23" border="0"></a></TD>
                                          </TR>
                                        </TBODY>
                                      </TABLE></TD>
                                  </TR>
                                </TBODY>
                              </TABLE></TD>
                            <%
							  	rs.movenext
							 Next
							  %>
                          </TR>
                          <%
									
							next
				%>
                        </TBODY>
                      </TABLE>
                    </DIV></TD>
                </TR>
              </TBODY>
            </TABLE></td>
        </tr>
      </table></td>
  </tr>
  <tr> 
    <td><img src="images/spacer.gif" width="1" height="15" border="0" alt=""></td>
  </tr>
  <tr> 
    <td><img src="images/spacer.gif" width="1" height="210" border="0" alt=""></td>
  </tr>
  <tr> 
    <td colspan="5"><img name="index_r6_c1" src="images/index_r10_c1.gif" width="760" height="30" border="0" alt=""></td>
    <td><img src="images/spacer.gif" width="1" height="30" border="0" alt=""></td>
  </tr>
  <tr> 
    <td colspan="5" valign="top" bgcolor="#EF3A75"> <div align="center"> 
        <TABLE width=98% height="41" 
border=0 cellPadding=4 cellSpacing=5>
          <TBODY>
            <TR> 
              <TD height=19 align=center background="images/bg.gif"><FONT 
      color=#ffffff> &nbsp;购物流程:</FONT><FONT 
      color=#ffffff>选购-&gt;加入购物车-&gt;去收银台-&gt;确认收货人信息-&gt;选配送方式-&gt;确定下订单-&gt;下单后汇款-&gt;汇款确认-&gt;发货-&gt;完成</FONT></TD>
            </TR>
          </TBODY>
        </TABLE>
        公司地址：未知电话： <BR>E-Mail:test@test.com<BR>Copyright&copy;2004-2005 test All Rights Reserved.<br>ICP<br>
        <font color="#FFFFFF">您是本站第 
        <script language="JavaScript" src="admin/count/counter.asp"></script>
        位访问者</font></div></td>
    <td><img src="images/spacer.gif" width="1" height="135" border="0" alt=""></td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script>
<script language="JavaScript" src="admin/board/popwindow.asp"></script>

</body>
</html>




