⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 searchtype.asp

📁 全功能网上商城 免费版
💻 ASP
字号:
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<!--#include file="Comm/conn.asp" -->
<%
Page=request("page")
pagecount=page
SubLar=request("LarCode")
SubMid=request("MidCode")
Dim pageurl
pageurl="searchtype.asp"
%>
<html><head>
<title><%=sitename%>-品牌分类列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<meta name="Robots" content="index,follow">
<meta name="Abstract" content="CycooShop">
<meta name="DC.Publisher" content="Cycoo Net Studio">
<link rel="stylesheet" href="shop.css" type="text/css">
</head>
<body bgcolor="#011D32" text="#000000" leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<div align="center">
  <!--#include file="menu/topbar.asp"-->
  <table width="760" border="0" cellpadding="0" cellspacing="0" bgcolor="#FFFFFF">
    <tr> 
      <td height="1" bgcolor="#FFFFFF"></td>
    </tr>
    <tr> 
      <td bgcolor="A5B2C6" height="18" class="new"><table width="100%" border="0" cellspacing="0" cellpadding="0">
          <tr> 
            <td> 
              <!--#include file="menu/searchbar.asp"-->
            </td>
          </tr>
        </table></td>
    </tr>
  </table>
  <TABLE width=760 border=0 align=center cellpadding=0 cellspacing=0 bgcolor="#FFFFFF">
    <TR>
      <td height="315" bgcolor="FFFBF7" align="center" valign="top" width="185"> 
        <table width="90%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height=8></td>
          </tr>
        </table>
        <!--#include file="loginbox.asp"-->
        <table width="90%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height=8></td>
          </tr>
        </table>
        <!--#include file="prodtree.asp"-->
      </TD>
      <td height="100" bgcolor="#CCCCCC" width="1"></td>
      <td height="100" valign="top" align="center" bgcolor="#FfFfFf">
<table width="90%" border="0" cellspacing="0" cellpadding="0">
          <tr>
            <td height=8></td>
          </tr>
        </table>
<%
'获取搜索的类别码

if request("code")<>"" then session("code") = request("code") 
code = session("code")

likecode= "%"+ code+"%"
sqlprod = "select * from ProdMain where online=true and SearchType like '"&likecode&"'"
set rsprod = Server.CreateObject("ADODB.RecordSet")
rsprod.open sqlprod,conn,1,1
if rsprod.bof and rsprod.eof then 
	response.write "<table><tr><td height=100 align=center>您好!目前商城暂时找到你搜索的商品</td></tr></table>"
else
'以下是调用公用的产品显示页面,
%>
<!--#include file="prodlist.asp"-->
<%
end if%>
</TD></TR></TABLE>
  <!--#include file="menu/bottom.asp"-->
</div>
</body>
</html>
<%
set conn=nothing
%>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -