📄 man_unipok.asp
字号:
<!--#INCLUDE FILE="config.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),25)<>true then Response.Redirect "err1.asp?kind=14"
unip=Trim(Request.Form("unip"))
unip=Replace(unip," ","")
unip=Replace(unip,"'","")
unip=Replace(unip,chr(34),"")
unip=Server.URLEncode(unip)
ly=Trim(Request.Form("liyou"))
ly=Replace(ly," ","")
ly=Replace(ly," ","")
if ly="" then Response.Redirect "err.asp?kind=52"
ly=server.HTMLEncode(ly)
if gradeinfo(info(1),26)=true then
niming=Request.Form("niming")
else
niming="no"
end if
Set Conn=server.createobject("ADODB.CONNECTION")
Conn.Open Application("zzbird_conn")
sql="delete from kickinfo where ip='" & unip & "'"
conn.execute(sql)
Set Rs=server.createobject("adodb.recordset")
sql="select * from manlog where (id is null)"
rs.open sql,conn,1,3
rs.addnew
Rs("who")=""
Rs("manager")=info(0)
Rs("ip")=unip
Rs("kind")=4
Rs("liyou")=ly
if niming="yes" then
Rs("niming")=true
else
Rs("niming")=false
end if
Rs("time")=now
Rs.Update
Rs.Close
Set Rs=Nothing
Conn.Close
Set Conn=Nothing
%>
<!--#INCLUDE FILE="function.asp" -->
<%
if niming="yes" then
ipword=Replace(zzbird_unip,"(manager)"," <img border='0' height='16' width='16' src='images/ICO/0-2.gif'><font color=#008000>(匿名管理员)</font> ")
else
ipword=Replace(zzbird_unip,"(manager)"," <img border='0' height='16' width='16' src='images/ICO/" & info(4) & "-2.gif'><font color=#008000>" & info(0) & "</font> ")
end if
ipword=Replace(ipword,"(ip)","(<font color=#008000>" & unip & "</font>)")
w1=info(0)
w2="大家"
w3="unip"
w4="[<img src='images/sys.gif'>解IP]"& ipword &"(理由:" & ly & ")<font style='font-size: 8pt' color='#808080'>(" & CStr(time) & ")</font>"
w5=info(6)
saveword w1,w2,w3,w4,w5
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>解锁IP</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/ip.gif">解锁IP</legend>
<p>已经成功地把IP <%=unip%> 解锁了。</p>
<%if niming="no" then%>
<p>同时该操作已经以你的名义被记入聊务公开栏。</p>
<%else%>
<p>同时该操作已经以匿名管理员的名义被记入聊务公开栏。</p>
<%end if%>
</fieldset>
</td>
</tr>
<tr>
<td width="100%" align="right"><input type="button" value="上一步" name="a1" onclick="location.href='man_unip.asp';"><input type="submit" value="下一步" disabled name="a2">
<input type="button" value="完成" name="a3" onclick="javascript:window.close();"><input disabled type="button" value="取消" name="a4"></td>
</tr>
</table>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -