📄 3-1sort.asp
字号:
<%PageName="1-1sort"%>
<!--#include file="function.asp"-->
<%CheckAdmin1%>
<!--#include file="conn.asp"-->
<!--#include file="top.asp"-->
<%
dim i
i=0
MaxList=80
set rs=server.createobject("adodb.recordset")
sql="select * from class order by classid"
rs.open sql,conn,1,1
i=request("id")
if i="" then i=rs("Classid")
%>
<div align="center">
<center>
<table border="1" width="90%" cellspacing="0" cellpadding="0" class="TableLine" bordercolorlight="#CC0066">
<tr>
<td width="100%" height="20" bgcolor="#CC0066" align=center><font color="white"><b>三 级 分 类 管 理</b></font></td>
</tr>
<tr>
<td width="100%" height="22" bgcolor="#FFAAD5" align=center>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<form method="POST" action="SClassSave.asp?act=add&Classid=<%=rs("Classid")%>" align="center">
<tr>
<td width="20%"> <b>↓所属大类</b></td>
<td width="80%"><b>↓请先进入二级分类列表,然后选择三级分类进行管理</b></td>
<td width="0%"><b></td>
</tr>
</form>
</table>
</div>
</td>
</tr>
<%
do while not rs.eof
i=i+1
%>
<tr>
<td width="100%" height="25" align=left>
<div align="center">
<table border="0" cellpadding="0" cellspacing="0" width="100%">
<form method="POST" action="SClassSave.asp?act=add&Classid=<%=rs("Classid")%>" align="center">
<tr>
<td width="20%"> <a href=3-2sort.asp?id=<%=rs("Classid")%>><%=rs("Class")%></a></td>
<td width="80%"><a href=3-2sort.asp?id=<%=rs("Classid")%>><---进入此类所属的二级分类-->进行三级分类管理</a></td>
<td width="0%"></td>
</tr>
</form>
</table>
</div>
</td>
</tr>
<%
if (i mod (MaxList/1)=0) and i>=(MaxList/1) then
%>
<%
end if
if i>=MaxList then exit do
rs.movenext
loop
rs.close
%>
</table>
</center>
</div>
<%
set rs=nothing
conn.close
set conn=nothing
%></body></html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -