⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 glylb.asp

📁 信息管理系统!很简单的课程设计!类似于城市信息交换的网站!
💻 ASP
字号:
<%'注意:防止多次发送,以及防止非法登录
server_v1=Cstr(Request.ServerVariables("HTTP_REFERER"))
server_v2=Cstr(Request.ServerVariables("SERVER_NAME"))
if not mid(server_v1,8,len(server_v2))=server_v2 then
Response.Write "<script language=JavaScript>{window.alert('系统错误,拒绝从非本服务器登陆!');window.history.go(-1);}</script>"
response.end
end if

if session("admin_login")<>true then
	response.Write("<html><link href=../style.css rel=stylesheet type=text/css><body><table height=100% width=100% align=center valign=middle><tr><td align=center valign=center><p align=center>您没有登录或者已经超时!!请点击下面的链接,进入登录界面!!</p><p align=center>--&gt;&gt; <a href=../login/login.asp>登录</a> &lt;&lt;--</p></td></tr></table></body></html>")
	response.end
end if
%>

<!--#include file="../../conn/conn.asp"-->
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="../style.css" rel="stylesheet" type="text/css">
<title>管理员列表</title>
</head>
<%
SQL = "select * from gly_1a order by admin_qx desc,id desc"
set rs = conn.execute(SQL)
%>
<body>
<table width="70%"  border="0" align="center" cellpadding="4" cellspacing="1" bgcolor="#336633">
		<tr bgcolor="#FFFFFF">
				<td height="25" colspan="3" background="../Images/topbg.gif">管理员管理 &gt;&gt; 管理员列表</td>
		</tr>
		<tr align="center" bgcolor="#FFFFFF">
				<td width="10%" height="25">编号</td>
				<td width="45%">管理员名</td>
				<td width="45%">权限</td>
		</tr>
		<%
				while not rs.eof
				%>
		<tr align="center" bgcolor="#FFFFFF">
				<td height="25"><%=rs("id")%></td>
				<td height="25"><%=rs("admin_name")%></td>
				<%
						if rs("admin_qx") then
							qx = "管理员"
						else
							qx = "一般管理员"
						end if
						%>
				<td height="25"><%=qx%></td>
		</tr>
		<%
					rs.movenext
				wend
				rs.close
				set rs = nothing
				conn.close
				set conn = nothing
				%>
</table>
</body>
</html>

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -