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

%>

<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><%=request("classname")%></strong></td>
              </tr>
              <tr>
                <td>&nbsp;</td>
              </tr>
            </table>
			<%
			if GetVariable("id")="" then 
				ShowMsg "You visted information can't being！"
			end if
			'新闻阅读次数＋1
			conn.execute "Update web_news Set nHits=nHits + 1 Where id=" & GetVariable("id"),0,1
			'读新闻
			strSQL="Select * From web_news Where id=" & GetVariable("id")
			Set rs=Server.CreateObject("ADODB.RecordSet")
			rs.open strSQL,conn,1,1
			if rs.recordcount<=0 then 
				ShowMsg "Can Not Fund!"
			end if
			
			%>
            <TABLE width="97%" 
                          border=0 align="center" cellPadding=0 cellSpacing=0>
              <TBODY>
                <TR> 
                  <TD width="65%" height="45" align="center" class="fs-13px"><strong><%=trim(rs("nTitle"))%></strong></TD>
                </TR>
                <TR> 
                  <TD height="25"><hr></TD>
                </TR>
                <TR> 
                  <TD height="200" valign="top" class="fs-14px"><%=trim(rs("nHtmlText"))%></TD>
                </TR>
                <TR> 
                  <TD height="33" align="right"><font color="#8F8F8F">发布时间:<%=trim(rs("nTime"))%> 
                    阅读:<%=trim(rs("nHits"))%>次 来源:<%=trim(rs("nOriginal"))%></font></TD>
                </TR>
                <TR> 
                  <TD height="13" align="right">&nbsp;</TD>
                </TR>
              </TBODY>
            </TABLE>
            <p><br>
            </p>
            </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>


