📄 gl.asp
字号:
<%
if session("username")="" or session("password")="" then
session.timeout=5
response.write "<script language='javascript'>"
response.write "alert('账号或密码错误!');"
response.write "history.go(-1);"
response.write "</script>"
response.end
end if
%>
<!--#include file="../conn.asp"-->
<%
dim rs,rs1
set rs=server.createobject("adodb.recordset")
sql="select * from admin where id= 2"
rs.open sql,conn,3,2
%>
<html>
<head>
<title>本站管理员列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="../css.css">
</head>
<body bgcolor="#7bb5de" text="#000000">
<div align="center">
<table width="919" border="0" height="210">
<tr>
<td height="53">
<div align="center">本站管理员列表</div>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" width="100%" bgcolor="#F6F6EC" style="border-collapse: collapse" cellpadding="0">
<tr bgcolor="#7bb5de">
<td width="7%" align="center" height="28"> <font color="#BB0000" face="Arial"><strong>ID</strong></font></td>
<td width="7%" align="center" height="28"> <font color="#BB0000"><strong>用户名</strong></font></td>
<td width="7%" align="center" height="28"> <font color="#BB0000"><strong>密码</strong></font></td>
<td width="7%" align="center" height="28"> <font color="#BB0000"><strong>姓名</strong></font></td>
<td width="7%" align="center" height="28">
<div align="center"><font color="#BB0000"><b>银行</b></font></div>
</td>
<td width="7%" align="center" height="28">
<div align="center"><b><font color="#BB0000">银行卡</font></b></div>
</td>
<td width="7%" align="center" height="28">
<div align="center"><b><font color="#BB0000" face="Arial">E-mail</font></b></div>
</td>
<td width="7%" align="center" height="28">
<div align="center"><b><font color="#BB0000" face="Arial">QQ</font></b></div>
</td>
<td width="7%" align="center" height="28">
<div align="center"><font color="#BB0000"><b>地址</b></font></div>
</td>
<td width="7%" align="center" height="28">
<div align="center"><b><font color="#BB0000">邮编</font></b></div>
</td>
<td width="10%" align="center" height="28"><font color="#BB0000"><b>最后登陆时间</b></font></td>
<td width="20%" align="center" height="28"><b> <font color="#BB0000">操作</font></b></td>
</tr>
<%do while not rs.eof%>
<tr bgcolor="#7bb5de">
<td height="23" style="border-bottom: 1px solid #C9D8AD" width="7%">
<p align="center"><%=rs("id")%>
</td>
<td style="border-bottom: 1px solid #C9D8AD" width="7%">
<p align="center"><%=rs("username")%>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<p align="center"><%=rs("password")%>
</td>
<td style="border-bottom: 1px solid #C9D8AD" width="7%">
<p align="center"><%=rs("name")%>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<div align="center"><%=rs("bank")%></div>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<div align="center"><%=rs("card")%></div>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<div align="center"><%=rs("email")%></div>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<div align="center"><%=rs("qq")%></div>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<div align="center"><%=rs("address")%></div>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="7%">
<div align="center"><%=rs("postcard")%></div>
</td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="10%">
<%=rs("logintime")%> </td>
<td align="center" style="border-bottom: 1px solid #C9D8AD" width="20%">
<%
key=rs("key")
if key=0 then%>
<a href="kaigong.asp">开工</a>
<%else%>
<font color="#FF0000"><a href="tinggong.asp">停工</a></font>
<%End if%>
</td>
</tr>
<% i=i+1
if i>=MaxPerPage then exit do
rs.movenext
loop
%>
</table>
</td>
</tr>
</table>
</div>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -