📄 psort.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>>>>商品类别</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> 暂时没有任何数据</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> <img border=0 src=images/ring01.gif> <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> 暂时没有任何数据</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> · <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 + -