📄 classid.asp
字号:
<% anclassid = trim(request("anclassid"))
if not isNumeric (anclassid) then
response.write "参数必须为数字型!"
response.end
end if
anclassid=int(request("anclassid"))%>
<div align="center">
<table border="0" width="760" cellspacing="0" cellpadding="0" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF" height="30">
<tr>
<td align="center">
<table border="1" width="100%" cellspacing="0" cellpadding="0" bordercolorlight="#C0C0C0" bordercolordark="#FFFFFF">
<tr> <%sql="select * from shop_nclass where anclassid="&anclassid&" order by nclassidorder"
rs.open sql,conn,3,3
if rs.eof then
response.write "暂且没有分类"
else
i=1
do while not rs.eof
%>
<td height="25" bgcolor="#FFFFFF" width="150">
<font color="#000000"><a href="nsort.asp?nclassid=<%=rs("nclassid")%>&anclassid=<%=request("anclassid")%>"> <%=rs("nclass")%></a></font></td>
<%if i = 5 then
response.write "</tr><tr>"
i=0
end if
i=i+1
rs.movenext
loop
end if
rs.close
%>
</tr>
</table>
</td>
</tr>
</table></div>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -