📄 man_user_deluserto.asp
字号:
<%
Response.Expires=0
Response.ExpiresAbsolute = Now() - 1
Response.AddHeader "Pragma","No-Cache"
Response.AddHeader "Cache-Control","Private"
Response.CacheControl = "No-Cache"
if not IsArray(Session("info")) then Response.Redirect "err.asp?kind=20"
info=Session("info")
if InStr(Application("maninfo"),"," & info(0) & ",")<>0 then Response.Redirect "manyou.asp"
gradeinfo=Application("gradeinfo")
if gradeinfo(info(1),24)<>true then Response.Redirect "err1.asp?kind=20"
name=Trim(Request.Form("name"))
name=Replace(name," ","")
name=Replace(name,"'","")
name=Replace(name,chr(34),"")
name=Server.HTMLEncode(name)
if name="" then Response.Redirect "err.asp?kind=55"
if InStr(Application("zzbird_name"),"," & name & ",")<>0 then Response.Redirect "err.asp?kind=93"
%>
<!--#INCLUDE FILE="config.asp"-->
<%
if name=zzbird_master then Response.Redirect "err.asp?kind=71"
Set Conn=server.createobject("ADODB.CONNECTION")
Conn.Open Application("zzbird_conn")
Set Rs = Server.CreateObject("ADODB.RECORDSET")
sql="select * from userinfo where user='" & name & "'"
Rs.open sql,Conn,3,3
if Rs.EOF and Rs.BOF then
Rs.Close
Set Rs=Nothing
Conn.Close
Set Conn=Nothing
Response.Redirect "err.asp?kind=34"
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>帐号管理</title>
<style>
<!--
fieldset { font-size: 10pt }
-->
</style>
</head>
<body bgcolor="buttonface" style="border: 3px double buttonface">
<form method="POST" name="man" action="man_user_deluserok.asp">
<table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="46%" id="AutoNumber1" height="62">
<tr>
<td width="100%" height="150">
<fieldset style="padding: 2; width:281; height:142">
<legend><img border="0" src="images/welcome.gif">帐号管理</legend>
<p align="center">
<select size="1" name="D2">
<option selected>“<%=name%>” 的详细资料</option>
<option>永久保留:<%if Rs("lockuser")=true then%>是<%else%>否<%end if%></option>
<option>等 级:<%=Rs("grade")%></option>
<option>锁定等级:<%if Rs("lockgrade")=true then%>是<%else%>否<%end if%></option>
<option>积 分:<%=Rs("value")%></option>
<option>月 积 分:<%=Rs("monthv")%></option>
<option>登陆次数:<%=Rs("times")%></option>
<option>最后登陆:<%=Rs("lasttime")%></option>
<option>最 后 IP:<%=Rs("lastip")%></option>
</select><p align="center">
确定要删除“<font color="#FF0000"><%=name%></font>”的帐号吗?</fieldset>
</td>
</tr>
<tr>
<td width="100%" align="right"><input type="hidden" value="<%=name%>" name="name"><input type="button" value="上一步" name="a1" onclick="javascript:history.back(1)"><input type="submit" value="下一步" name="a2">
<input type="button" value="完成" name="a3" disabled><input type="button" value="取消" name="a4" onclick="window.close()"></td>
</tr>
</table>
</form>
</body>
</html>
<%
Rs.Close
Set Rs=Nothing
Conn.Close
Set Conn=Nothing
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -