📄 man_unip.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),25)<>True Then Response.Redirect "err1.asp?kind=14"
%>
<!--#INCLUDE FILE="config.asp" -->
<%
Set Conn=server.createobject("ADODB.CONNECTION")
Conn.Open Application("zzbird_conn")
Set Rs=server.createobject("adodb.recordset")
sql="select * from kickinfo where ip<>'0.0.0.0' and DateDiff('s',time,now())<" & zzbird_ip_long * 60
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 "err1.asp?kind=12"
Else
Dim ip
Set ip=Rs("ip")
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>解锁IP</title>
<style>
<!--
fieldset { font-size: 10pt }
-->
</style>
<script language="JavaScript">
function checksay()
{
if(document.man.unip.value==""){alert("请选择一个解锁对象!");return false;}
}
</script>
</head>
<body bgcolor="buttonface" style="border: 3px double buttonface">
<form method="POST" name="man" action="man_unipok.asp" onsubmit='return(checksay());'>
<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>
解锁对象:<select size="1" name="unip">
<option value="" selected>请选择</option>
<%
Do While Not Rs.Eof
Response.Write "<option value='" & ip & "'>" & ip & "</option>"
rs.movenext
Loop
%>
</select><br>
解锁理由:<select size="1" name="D1" onchange="javascript:document.man.liyou.value=this.value;">
<option value="" selected>自由填写</option>
<option value="对方已经改过,请求恢复。">已经改过</option>
<option value="此IP为网吧IP,封锁后整个网吧都上不了了。">网吧IP</option>
<option value="需要吗?不需要吗?需要吗?不需要吗?给我一个不解封的理由先?">大话理由</option>
</select><br>
<input type="text" name="liyou" size="25"><br>
<br> 匿名管理:
<%If gradeinfo(info(1),26)=True Then%>
<input type="radio" value="yes" name="niming">是 <input type="radio" checked name="niming" value="no">否
<%Else%>
<input type="radio" disabled value="yes" name="niming">是 <input type="radio" disabled checked name="niming" value="no">否 (你无权使用)
<%End If%>
</fieldset>
</td>
</tr>
<tr>
<td width="100%" align="right"><input type="button" value="上一步" name="a1" disabled><input type="submit" value="下一步" name="a2">
<input type="button" value="完成" name="a3" disabled><input type="button" value="取消" name="a4" onclick="javascript:window.close();"></td>
</tr>
</table>
</form>
</body>
</html>
<%
Rs.Close
Set Rs=Nothing
Conn.Close
Set Conn=Nothing
End If
%>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -