📄 managergl.asp
字号:
<%response.expires=0%>
<%
if session("0382")="" then
Response.Write("登录信息过期, 请重新登录!")
response.end
end if
id=request("id")
if id<>0 then
application.lock
onlinemanager=application("onlinemanager")
number=ubound(onlinemanager)
for i=0 to number
if onlinemanager(i)<>"" then
if instr(onlinemanager(i),id)>0 then
for j=i to number-1
onlinemanager(j)=onlinemanager(j+1)
next
redim preserve onlinemanager(number-1)
application("onlinemanager")=onlinemanager
exit for
end if
end if
next
application.unlock
end if
%>
<head>
<title>在线站长管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="style.css" type="text/css">
</head>
<body>
<%
'on error resume next
application.lock
onlinemanager=application("onlinemanager")
sitesums=ubound(onlinemanager)
if sitesums<0 then
response.write("<center><font color=#ff0000>现在还没有在线站长!</font>")
else
%>
<p align="center"><font color=#ff0000 size=+2>在线站长</font></p>
<table border="1" cellpadding="0" cellspacing="0" width="615" bordercolorlight="#000000" bordercolordark="#fdf0f0">
<tr>
<td height="25" width="71" align="center" valign="center" bgcolor="#eeeeee">编号</td>
<td height="25" width="83" align="center" valign="center" bgcolor="#eeeeee">昵称</td>
<td height="25" width="67" align="center" valign="center" bgcolor="#eeeeee">网站名称</td>
<td height="25" width="162" align="center" valign="center" bgcolor="#eeeeee">上站日期</td>
<td height="25" width="162" align="center" valign="center" bgcolor="#eeeeee">前次发信息日期</td>
<td height="25" width="25" align="center" valign="center" bgcolor="#eeeeee">工具</td></tr>
<%
for i=0 to sitesums
if onlinemanager(i)<>"" then
msg=split(onlinemanager(i),"$")
if i mod 2=0 then
color="#eeeeee"
else
color="#ffffff"
end if
%>
<tr>
<td height="25" width="71" align="center" valign="center" bgcolor="<%=color%>"><%=msg(0)%></td>
<td height="25" width="83" align="center" valign="center" bgcolor="<%=color%>"><%=msg(2)%></td>
<td height="25" width="67" align="center" valign="center" bgcolor="<%=color%>"><%=msg(3)%></td>
<td height="25" width="162" align="center" valign="center" bgcolor="<%=color%>"><%=msg(5)%></td>
<td height="25" width="162" align="center" valign="center" bgcolor="<%=color%>"><%=msg(6)%></td>
<td height="25" width="25" align="center" valign="center" bgcolor="<%=color%>">
<p align="center"><a href="javascript:if (confirm('真的要删除该用户吗?')){location.href='managergl.asp?id=<%=msg(0)%>&flag=<%=request("id")%>'}"><img border="0" src="../qqpic/menu.gif" width="16" height="16" alt="删除该用户"></a>
</td></tr>
<%
end if
next
end if
application.unlock
%>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -