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

📄 man_user_addlockuserok.asp

📁 基于ASP开发的聊天室源码
💻 ASP
字号:
<%
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"
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,1,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

if Rs("lockuser")=true then
Rs.Close
Set Rs=Nothing
Conn.Close
Set Conn=Nothing
Response.Redirect "err.asp?kind=91"
end if

Rs("lockuser")=true
Rs.Update
Rs.Close
Set Rs=Nothing
Conn.Close
Set Conn=Nothing
%>
<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">
<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">添加永久保留的帐号<p align="center">用户“<font color="#E30000"><%=name%></font>”的帐号已经被设置为永久保留</p>
      </fieldset>
    </td>
  </tr>
  <tr>
    <td width="100%" align="right"><input type="button" value="上一步" name="a1" onclick="javascript:history.back(1)"><input type="button" disabled value="下一步" name="a2">
    <input type="button" value="完成" name="a3" onclick="window.close()"><input type="button" value="取消" name="a4" disabled></td>
  </tr>
</table>
</body>
</html>

⌨️ 快捷键说明

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