📄 article_add_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 {font-size: 14}
.STYLE3 {font-family: Arial, Helvetica, sans-serif}
body {
background-color: #FFFFFF;
}
-->
</style></head>
<body>
<br>
<table width="90%" border="0" align="center" cellpadding="20" cellspacing="0" bgcolor="#FFFFFF" class="header">
<tr>
<td align="center"><span style="font-weight: bold"><font style="line-height:150%">
<%
set rs =server.createobject("adodb.recordset")
set rs1=server.createobject("adodb.recordset")
sql="select * from class_big order by id desc"
rs.open sql,conn,1,1
if rs.bof and rs.eof then
response.write "没有任何分类"
else
do while not rs.eof
%>
<span class="STYLE3">
<%
sql2="select * from class where class_big='"&rs("class_big") &"'"
rs1.open sql2,conn,1,1
do while not rs1.eof
%>
<a href="article_add.asp?class_id=<%=rs1("id")%>" style="color:#FFFFFF"><%=rs1("name")%></a>
<%
rs1.movenext
loop
rs1.close
%>
</span>
<%
rs.movenext
loop
end if
rs.close
conn.close
set conn=nothing
%>
</font></span></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -