<!--#include file="conn.asp" -->
<%
strCurrMenu=FirstMenu()
ThisPage=request.ServerVariables("URL")
%>

<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title></title>
<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 leftmargin="0" topmargin="0" BodyBegin>
<!--#include file="top.asp"-->
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td><table width="100%"  border="0" cellspacing="0" cellpadding="0">
        <tr> 
          <td width="190" valign="top" background="images/left.gif"> <table width="180" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="26" align="center" background="images/index_01.gif">::会员登陆::</td>
              </tr>
              <tr> 
                  <td align="center"> 
				  <!--#include file="login.asp"-->
				  </td>
              </tr>
            </table>
            <table width="180" border="0" cellspacing="0" cellpadding="0">
              <tr> 
                <td height="26" align="center" background="images/index_01.gif">::产品搜索::</td>
              </tr>
              <tr> 
                <td align="center"><table width="156" border="0" align="center" cellpadding="0" cellspacing="0">
                    <form name="form1" method="post" action="search.asp">
                      <tr> 
                        <td width="58" height="8" align="right"></td>
                        <td width="98" height="8"></td>
                      </tr>
                      <tr> 
                        <td width="58" height="26" align="right">分　类：</td>
                        <td width="98" height="26"> <select name="class" id="select2" style="width:80px">
                            <%
								'开始输出分类
								strSQL="Select * From web_product_class Where mn_id=" & strCurrMenu & " Order by c_index"
								Set rs=Server.CreateObject("ADODB.RecordSet")
								rs.open strSQL,conn,1,1
								for i=1 to rs.recordcount
								%>
                            
                            <option value="<%=rs("id")%>"><%=trim(rs("c_name"))%></option>
                            <%
									rs.movenext
								next
								%>
                            
                          </select> </td>
                      </tr>
                      <tr> 
                        <td height="26" align="right">关键字：</td>
                        <td height="26"> <input name="key" type="text" id="key4" size="14" maxlength="50" style="width:80px"> 
                        </td>
                      </tr>
                      <% if showPrice<>"none" then %>
                      
                      <tr> 
                        <td height="26" align="right">价　格：</td>
                        <td height="26"> <input name="price1" type="text" id="price1" size="2" maxlength="5" style="width:30px">
                          到 
                          <input name="price2" type="text" id="price2" size="2" style="width:30px"> 
                        </td>
                      </tr>
                      <%end if%>
                      
                      <tr align="left"> 
                        <td height="30" colspan="2"> <table width="156" height="40" border="0" cellpadding="0" cellspacing="0">
                            <tr> 
                              <td width="117" height="40" align="right"> <input type="submit" name="Submit" value="开始搜索"></td>
                              <td width="39" height="40" valign="bottom">&nbsp;&nbsp;</td>
                            </tr>
                          </table></td>
                      </tr>
                    </form>
                  </table></td>
              </tr>
            </table>
            <table width="180" height="239" border="0" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="26" align="center" background="images/index_01.gif">::热销产品::</td>
              </tr>
              <tr> 
                <td height="180" align="center"> <p><img src="images/cp.gif" width="110" height="83" border="1"></p>
                  <p><img src="images/cp.gif" width="110" height="83" border="1"></p></td>
              </tr>
            </table></td>
          <td align="center" valign="top"> <table width="100%" border="0" cellspacing="0" cellpadding="0">
              
              <tr> 
                <td align="center"><img src=IMAGES/banner.gif ></td>
              </tr>
            </table>
             
            <table width="100%" border="0" cellspacing="0" cellpadding="0">
              <tr>
                <td>&nbsp;</td>
              </tr>
              <tr> 
                <td><img src="images/go.gif" width="22" height="19" hspace="10" align="absmiddle"><strong>产品详细资料</strong></td>
              </tr>
            </table>
            <table width="95%" border="0" align="center" cellpadding="0" cellspacing="0">
              <tr> 
                <td height="10" align="center"><font color="#666666" style="font-size:13px">&nbsp;</font></td>
              </tr>
              <tr> 
                <td height="103" valign="top">
                  <!--Product Begin-->
                  <%
							strSQL="Select * From v_web_product Where id=" & GetVariable("id")
							Set rs=Server.CreateObject("ADODB.RecordSet")
							rs.open strSQL,conn,1,1
							%>
                  <table width="487" border="0" align="center" cellpadding="0" cellspacing="0">
                    <tr> 
                      <td width="16">&nbsp;</td>
                      <td width="490" height="300" valign="top"> <table width="100%" border="0" cellspacing="1" cellpadding="0">
                          <tr> 
                            <td width="36%" align="center" valign="top"><a href="UpFile/<%=trim(rs("p_pic"))%>" target="_blank"><img src="UpFile/<%=trim(rs("p_pic"))%>" alt="点击看大图" width="280" hspace="8" vspace="5" border="0"></a></td>
                          </tr>
                          <tr> 
                            <td> <table width="100%" height="5%" border="0" cellpadding="0" cellspacing="1">
                                <tr align="center"> 
                                  <td height="41" colspan="3"><strong><font color="#006699"><%=trim(rs("p_name"))%></font></strong></td>
                                </tr>
                                <tr> 
                                  <td height="24" align="right"><strong>型号：</strong></td>
                                  <td height="24"> </td>
                                  <td height="24"><strong>类别：<%=trim(rs("c_name"))%></strong></td>
                                </tr>
                                <tr> 
                                  <td width="20%" height="24" align="right"><font color="#FF0000"><strong>价格：</strong></font></td>
                                  <td width="31%" height="24"><font color="#FF0000"><%=trim(rs("p_price"))%><strong> 
                                    元</strong></font></td>
                                  <td width="49%"> 
                                    <%if showShop<>"none" then %>
                                    <a href="javascript:;" onClick="PutWare('<%=trim(rs("id"))%>')"><img src="images/ljgm.gif" width="85" height="28" hspace="10" border="0"></a> 
                                    <%end if%>
                                  </td>
                                </tr>
                                <tr> 
                                  <td height="24" align="right"><strong>生产商：</strong></td>
                                  <td height="24" colspan="2"><%=trim(rs("p_producer"))%></td>
                                </tr>
                              </table></td>
                          </tr>
                          <tr> 
                            <td>&nbsp;</td>
                          </tr>
                          <tr> 
                            <td><strong><font color="#006699">·产品描述</font></strong></td>
                          </tr>
                          <tr> 
                            <td><hr width="98%" size="1" noshade></td>
                          </tr>
                          <tr valign="top"> 
                            <td height="100" align="center"> <table width="96%" border="0" cellspacing="1" cellpadding="0">
                                <tr> 
                                  <td height="96" valign="top"><%=trim(rs("p_detail"))%></td>
                                </tr>
                                <tr> 
                                  <td height="16" align="right"><font color="#888888">更新时间：<%=trim(rs("p_createtime"))%></font></td>
                                </tr>
                              </table></td>
                          </tr>
                        </table>
                        <!--Product End-->
                      </td>
                    </tr>
                  </table></td>
              </tr>
            </table></td>
        </tr>
      </table></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr>
    <td height="3" bgcolor="#0D9DE3"></td>
  </tr>
</table>
<table width="760" border="0" align="center" cellpadding="8" cellspacing="0">
  <tr> 
    <td align="center" bgcolor="F3F3F3">公司地址：未知<br>电话： E-Mail:zfadshu@cn9sky.com<br>Copyright&copy;2005-2006 dddddd All Rights Reserved.<br><br>
      您是本站第 
      <script language="JavaScript" src="admin/count/counter.asp"></script>
      位访问者&nbsp;</td>
  </tr>
</table>
<script language="JavaScript" src="common/init.js"></script><br><script language=Javascript src="common/tranbig5.Js"></script>
</body>
</html>


