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

📄 listdel.asp

📁 聊天室源码呵呵你好用~~~~~~2.0版本
💻 ASP
字号:
<%@ LANGUAGE=VBScript%>
<%Response.Expires=0
Server.ScriptTimeout=600
if Session("a_c_user_name")="" then
 Response.write "<b>[操作失败]</b><p>您尚未登录(或已经超时退出),不能进行此操作!"
 Response.end
end if
if Session("a_c_user_level")<10 then
 Response.Write "<b>[操作失败]</b><p>您没有帐号列表删除的权限!"
 Response.End
end if
username=Request.QueryString("username")
dim newinput(),show(8)
Application.Lock
input=Application("a_c_reg_data")
countud=Application("a_c_reg_num")
countudnum=(countud-4)/8
for i=0 to 4
 Redim Preserve newinput(i)
 newinput(i)=input(i)
next
delok=0
j=5
for i=5 to countud step 8
 if input(i)=username then
  show(1)=input(i)
  show(2)=input(i+1)
  show(3)=input(i+2)
  show(4)=input(i+3)
  show(5)=input(i+4)
  show(6)=input(i+5)
  show(7)=input(i+6)
  show(8)=input(i+7)
  delok=1
  Application("a_c_reg_num")=Application("a_c_reg_num")-8
 else
  Redim Preserve newinput(j),newinput(j+1),newinput(j+2),newinput(j+3),newinput(j+4),newinput(j+5),newinput(j+6),newinput(j+7)
  newinput(j)=input(i)
  newinput(j+1)=input(i+1)
  newinput(j+2)=input(i+2)
  newinput(j+3)=input(i+3)
  newinput(j+4)=input(i+4)
  newinput(j+5)=input(i+5)
  newinput(j+6)=input(i+6)
  newinput(j+7)=input(i+7)
  j=j+8
 end if
next
Application("a_c_reg_data")=newinput
Application.UnLock%><html>
<head>
<title>帐号列表</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type='text/css'>
<!--
.p9 {line-height: 150%; font-size: 9pt;}
.p12 {line-height: 150%; font-size: 12pt;}
td {line-height: 150%; font-size: 9pt;}
body {line-height: 150%;font-size : 12pt;}
A  {text-decoration: none;}
A:Hover  {text-decoration : none;}
a:visited {  color: #0000FF}
-->
</style>
</head>
<body bgcolor="FFFFFF">
<h1 align="center"><font color="0099FF">【帐号列表】</font></h1>
<hr noshade size="1" color=009900>
<%if delok=0 then%><p>找不到用户名:<font color="FF0000"><b><%=username%></b></font>,不能删除!</p><%end if%>
<%if delok=1 then%>
<p><b>[删除帐号完成]</b></p>
<blockquote>
<p>用户名:<font color="FF0000"><%=show(1)%></font><br>
密 码:<font color="FF0000"><%=show(2)%></font><br>
等 级:<font color="FF0000"><%=show(3)%></font><br>
次 数:<font color="FF0000"><%=show(4)%></font><br>
经验值:<font color="FF0000"><%=show(5)%></font><br>
首 次:<font color="FF0000"><%=show(6)%></font><br>
末 次:<font color="FF0000"><%=show(7)%></font><br>
IP地址:<font color="FF0000"><%=show(8)%></font></p>
<p><a href="listok.asp">【返回帐号列表】</a></p>
</blockquote><%end if%>
<hr noshade size="1" color=009900>
<div align="center" class="p9"><script src="use.asp"></script> <script src="sn.asp"></script><br><script src="copyright.asp"></script></div>
</body>
</html>

⌨️ 快捷键说明

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