📄 manageshiti.asp
字号:
<!--#include file="conn.asp"-->
<%
if session("admin")="" or session("key")="" then
response.Write("<script>alert('您好!您还没有登陆');window.location.href('login.asp')</script>")
response.end
end if
%>
<%
set rs=server.createobject("adodb.recordset")
cmd="select * from test "
rs.open cmd,conn,1,1
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<style type="text/css">
<!--
.style1 {font-size: 12px}
body {
background-color: #3399CC;
}
.style4 {color: #000000}
-->
</style>
</head>
<body>
<form name="form1" method="post" action="">
<table width="593" border="0" align="left">
<tr bgcolor="#FFCC99">
<td width="37" height="20"><div align="center" class="style1">题号</div></td>
<td width="461"><div align="center" class="style1">试题</div></td>
<td colspan="2"><div align="center" class="style1">管理区域</div></td>
</tr>
<%
while not rs.eof
%>
<tr bgcolor="#FFCCCC">
<td><div align="center"><span class="style1">
<%=rs("id")%>
</span></div></td>
<td><span class="style1">
<%=rs("question")%>
</span></td>
<td width="36"><div align="center" class="style1"><a href="editshiti.asp?id=<%=rs("id")%>" class="style4">编辑</a></div></td>
<td width="41"><div align="center" class="style1"><a href="delshiti.asp?id=<%=rs("id")%>" class="style4">删除</a></div></td>
</tr>
<%
rs.movenext
wend
%>
</table>
</form>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -