📄 class.asp
字号:
<!--#include file="islogin.asp"-->
<!--#include file="conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../css/css.css" rel="stylesheet" type="text/css">
<title></title>
<style type="text/css">
<!--
@import url("../style/admin.css");
.STYLE2 {
color: #FFFFFF;
font-weight: bold;
}
.STYLE3 {color: #FF0000}
body {
background-color: #FFFFFF;
}
-->
</style></head>
<body>
<br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
<tr>
<td height="25" class="header"><strong class="header">[文章类别管理]分类如下:</strong></td>
</tr>
<tr>
<td bgcolor="#FFFFFF">
<table width="100%" border="0" align="center" cellpadding="3" cellspacing="0" class="table_1_inc">
<tr>
<td width="55" align="center"><strong>ID</strong></td>
<td width="118"><strong>类型名称</strong></td>
<td><strong>路径/html文件夹下的子文件夹</strong></td>
<td width="100"><strong>排序</strong></td>
<td width="55" align="center"><strong>修改</strong></td>
<td width="55" align="center"><strong>删除</strong></td>
</tr>
<%
class_big=request("class_big")
set rs=server.createobject("adodb.recordset")
sql="select * from class where class_big='"&class_big&"' order by so desc,id"
rs.open sql,conn,1,1
do while not rs.eof%>
<tr <%if (rs("id") mod 2)=1 then%>bgcolor="#F8F8FA"<%end if%> >
<td align="center"><%=rs("id")%></td>
<td><a href="article.asp?class_id=<%=rs("id")%>&class_name=<%=rs("name")%>"><%=rs("name")%></a></td>
<td><%=rs("id")%></td>
<td><%=rs("so")%></td>
<td align="center">修改</td>
<td align="center">删除</td>
</tr>
<%
rs.movenext
loop
rs.close
set rs=nothing
conn.close
set conn=nothing
%>
<form action="Class_do.asp?action=add&class_big=<%=request("class_big")%>" method="post" name="form1">
</form>
</table></td>
</tr>
<tr>
<td bgcolor="#FFFFFF"></form></td>
</tr>
</table>
<br>
<table width="100%" border="0" align="center" cellpadding="0" cellspacing="0" class="table_1">
<tr class="table_1_top">
<td height="30" align="center" class="tableborder">注意:删除文章类别其目录下的文件也都会删除,<span class="STYLE3">操作前请备份</span>~</td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -