zipname.asp

来自「聊天室源码呵呵你好用~~~~~~2.0版本」· ASP 代码 · 共 90 行

ASP
90
字号
<%@ LANGUAGE=VBScript%>
<%Response.Expires=0
Server.ScriptTimeout=300
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
zipname=Trim(Request.Form("zipname"))
zipname=Server.HTMLEncode(zipname)
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
j=5
delok=0
for i=5 to countud step 8
 if input(i)=zipname 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><%=zipname%></b></font>,不能删除! <a href="zip.asp">【返回】</a></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="zip.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 + =
减小字号Ctrl + -
显示快捷键?