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

📄 psort.asp

📁 购物系统时尚版.强大的后台文章编辑器的功能
💻 ASP
字号:
<%
dim key,toppath,dbpath
key="a1"
toppath=""
dbpath=""
%>
<!--#include file="db_conn.asp" -->
<!--#include file="include/shopsub.asp" -->
<html>

<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="css/main.css" rel="stylesheet" type="text/css">
<title>商品分类-类别列表</title>
</head>

<body topmargin="1">

<!--#include file="top.asp" -->

<div align="center">
	<table border="0" width="760" id="table3" cellspacing="0" cellpadding="0">
		<tr>
			<td height="25">当前位置:<a href="index.asp">首页</a>&gt;&gt;&gt;商品类别</td>
		</tr>
	</table>
	<table border="1" width="760" id="table1" cellpadding="0" style="border-collapse: collapse" bordercolor="#CCCC99" cellspacing="0">
		<tr>
			<td>
			<table border="0" width="100%" id="table2" cellspacing="0" cellpadding="0">
				<tr>
					<td height="30" width="101%" background="images/bg_sort.gif" bgcolor="#E0F0FC">
					◆商品分类 <%=flagname%></td>
				</tr>
				<%
sql="select id,txt_big_class from big_class"
set rs=conn.execute (sql)
if rs.eof then
response.write "<span>&nbsp;&nbsp;暂时没有任何数据</span>"
else
while not rs.eof
set id=rs(0)
set txt_big_class=rs(1)
response.write "<tr>"
response.write "<td colspan=3 height=25 bgcolor=#F5F5F5 class=gray>&nbsp;<img border=0 src=images/ring01.gif>&nbsp;<a href=big_class.asp?bid="&id&" target=_blank>"&txt_big_class&"</a></td>"
response.write "</tr>"

%>
				<tr>
					<td>
					<table border="0" width="760" cellspacing="0" cellpadding="0">
					<%
					response.write "<tr>"
					sql2="select id,txt_small_class from small_class where iid="&id
					set rs2=conn.execute (sql2)
					if rs2.eof then
					response.write "<span class=gray>&nbsp;&nbsp;暂时没有任何数据</span>"
					else
					i=1
					while not rs2.eof
					set idd=rs2(0)
					set txt_small_class=rs2(1)
					response.write "<td width=136 class=gray>&nbsp;·&nbsp;<a href=small_class.asp?bid="&id&"&sid="&idd&" target=_blank>"&txt_small_class&"</a></td>"
                    if i mod 5=0 then
					response.write "</tr>"
					end if
					rs2.movenext
					i=i+1
					wend
					rs2.close
					set rs2=nothing
					end if
					%>
					</table>
					</td>
				</tr>
<%
rs.movenext
wend
rs.close
set rs=nothing
end if%>	
			</table>
			</td>
		</tr>
	</table>
	<br>
</div>
<!--#include file="end.asp" -->
</body>

</html>

⌨️ 快捷键说明

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