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

📄 sublist.asp

📁 全功能网上商城 免费版
💻 ASP
字号:
<!--#include file="Comm/conn.asp" -->
<%
Page=request("page")
pagecount=page
SubLar=request("LarCode")
SubMid=request("MidCode")
Dim pageurl
pageurl="sublist.asp"
%>
<html><head>
<title>分类列表-<%=sitename%>-<%=siteurl%></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" background="images/fig_background.gif">
<div align="center">
  <!--#include file="menu/topbar.asp"-->
 
  <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>
<%
'分大类显示产品
sqlprod="select * from ProdMain where online=true "
if SubLar<>"" then sqlprod = sqlprod + "and LarCode='"&SubLar&"'"
if SubMid<>"" then sqlprod = sqlprod + "and MidCode='"&SubMid&"'"
sqlprod = sqlprod + "order by LarCode,MidCode,AddDate asc"
Set rsprod=Server.CreateObject("ADODB.RecordSet") 
	rsprod.open sqlprod,conn,1,1
    n=0
if rsprod.bof and rsprod.eof then
response.write "<table><tr><td height=100 align=center>您好!目前商城暂时没有 "&SubLar&SubMid&" 类商品</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 + -