📄 bigclass.asp
字号:
<!--#include file="Conn.ASP"-->
<%
IF Session("KEY")="input"THEN
response.redirect "index_face.asp"
response.end
END IF
%>
<html>
<head>
<title>分类管理</title>
<LINK href=style.css rel=stylesheet>
</head>
<body>
<br>
<center>
<table border="0" width="80%" bgcolor="#000000" cellpadding="0" cellspacing="1">
<tr bgcolor="#abb8d6">
<td colspan="6" width="100%" align="center" valign="middle" height="55"><b>系
统 大 类 管 理</b> </td>
</tr>
<tr>
<td align="center" colspan="6" width="100%" height="50" bgcolor="#FFFFFF"><font color="#FF0000">遇到排序不正常请使用“初始化排序”功能。<br>把鼠标移到小类名称上将出现该小类的注释</font></td>
</tr>
<%
Set rs6 = Server.CreateObject("ADODB.Recordset")
sql6 ="SELECT * From BigClass order by BigClassID"
RS6.open sql6,Conn,3,3
%>
<tr align="center">
<td width="6%" bgcolor="#abb8d6">原序</td>
<td width="6%" bgcolor="#abb8d6">新序</td>
<td width="15%" bgcolor="#abb8d6">大类名称</td>
<td width="24%" bgcolor="#abb8d6">首页调用</td>
<td width="25%" bgcolor="#abb8d6">执 行</td>
<td width="24%" bgcolor="#abb8d6">管理员(请用|分隔)</td>
</tr>
<%
i=0
do while not rs6.eof
i=i+1%>
<tr>
<td width="6%" align="center" bgcolor="#FFFFFF"><%=rs6("ID")%></td>
<td width="6%" align="center" bgcolor="#FFFFFF"><%=rs6("BigClassID")%></td>
<td width="15%" align="center" bgcolor="#FFFFFF"><span style="CURSOR: hand" title="<%if rs6("bigClasszs")<>"" then%><%=rs6("bigClasszs")%><%else%>无<%end if%>"><%=rs6("BigClassName")%></span></td>
<td width="24%" align="center" bgcolor="#FFFFFF"><form name="form1" method="post" action="BigClassView.asp?ID=<%=rs6("ID")%>&BigClassName=<%=rs6("BigClassName")%>">
<select name="BigClassView" size="1" style="font-family: 宋体; font-size: 9pt">
<option <%if rs6("BigClassView")="1" then%>selected<%end if%> value="1">是</option>
<option <%if rs6("bigclassview")="0" then%>selected<%end if%> value="0">否</option></select>
<input type="submit" name="Submit2" value="保存" style="font-family: 宋体; font-size: 9pt"></td></form>
<td width="25%" bgcolor="#FFFFFF" align="center"><a href="BigClassedit.asp?ID=<%=rs6("ID")%>&BigClassName=<%=rs6("BigClassName")%>" >编辑</a>
<a href="BigClasskill.asp?ID=<%=rs6("ID")%>&BigClassName=<%=rs6("BigClassName")%>" >删除</a>
<%if i=1 then%>
拉上
<%else%>
<a href="BigClassup.asp?ID=<%=rs6("ID")%>&BigClassID=<%=rs6("BigClassID")%>" >拉上</a>
<%end if%>
<%if i=rs6.recordcount then%>
拉下
<%else%>
<a href="BigClassdown.asp?ID=<%=rs6("ID")%>&BigClassID=<%=rs6("BigClassID")%>" >拉下</a></td>
<%end if%>
<td width="24%" bgcolor="#FFFFFF" align="center"><form name="form1" method="post" action="BigClassMaster.asp?ID=<%=rs6("ID")%>&BigClassName=<%=rs6("BigClassName")%>">
<input type="text" name="Master" value="<%=rs6("BigClassMaster")%>" style="font-family: 宋体; font-size: 9pt" size=10>
<input type="submit" name="Submit2" value="保存" style="font-family: 宋体; font-size: 9pt">
</td></form>
</tr>
<%
RS6.MoveNext
Loop
rs6.close
set rs6=nothing
%>
<tr>
<td colspan="6" height="40" align="center" width="100%" bgcolor="#FFFFFF"><a href="BigClassstart.asp">初始化分类排序</a></td>
</tr>
<tr>
<form method="post" action="BigClassadd.asp" name="type">
<td align="center" colspan="6" width="100%" bgcolor="#abb8d6" height="60">
增加大类:
<input class=text type="text" name="type" size="15" style="font-family: 宋体; font-size: 9pt"> 大类注释:<input class=text type="text" name="bigclasszs" size="15" style="font-family: 宋体; font-size: 9pt">
<input type="hidden" name="howmany" size="15" value=<%=i%>>
<input type="submit" name="Submit" value="添加" style="font-family: 宋体; font-size: 9pt">
<input type="reset" value="重写" name="B1" style="font-family: 宋体; font-size: 9pt">
</td>
</form>
</tr>
</table>
</center>
</body>
</html>
<%conn.close
set conn=nothing%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -