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

📄 sys_lockip.asp

📁 有很多功能的留言版,很容易上手,有自动添加图片、表情。管理员功能也强大
💻 ASP
字号:
<!--#include file="inc/conn.asp" -->
<!--#include file="inc/CallErr.asp" -->
<!--#include file="class/command.asp" -->
<!--#include file="class/SaveSys.asp" -->
<%
Response.Expires = -1
Server.ScriptTimeout = 300
dim ClassSystem,ClassCheck,ClassSys
Set ClassSystem = New System
Set ClassCheck = New CheckUser
Set ClassSys = New SaveSys
ClassSystem.GetWebSys()
ClassCheck.GetUserInfo()
ClassCheck.GetUserCss Request.Querystring("GetStyle")
ClassCheck.CheckUserLogin ClassSystem.ArrRs(2,0),ClassSystem.ArrRs(3,0),ClassCheck.AdminUser,ClassCheck.AdminPass
Input = Request.Querystring("Input")
ClassSys.SetRequest_Method Request.ServerVariables("Request_Method")
Select Case ClassSys.Request_Method
	Case "POST"
		ClassSys.GetSys_GetLockIpInfo Request.Form("Ip"),Request.Form("Author")
		ClassSys.GetSys_CheckLockIpInfo ClassSys.Ip,ClassSys.Author
		ClassSys.UpdateSys_LockIp ClassSys.Ip,ClassSys.Author
		ClassCheck.CallOk 1
End Select
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<script src="script/GetStyle.js"></script>
<title><%=ClassSystem.ArrRs(0,0)%> - <%=ClassSystem.ArrRs(1,0)%></title>
</head>
<BODY LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0 MARGINHEIGHT=0 class="body" Bgproperties="fixed">
<!--#include file=Include/Top_Sys.asp -->
<div class="div"> 
  <table Class=TableTop border=0 cellpadding="0" cellspacing="0">
    <tr> 
    <td class=TableTop_Left rowspan="11">&nbsp;</td>
    <td colspan="2" align="center">&nbsp;</td>
  </tr>
  <tr> 
      <td colspan="2" class=TableTop_Right> 
        <table width="600" border="0" cellpadding="0" cellspacing="0">
          <tr>
            <td><p>=&gt; <strong>用户锁定IP管理</strong></p>
              <p>添加Ip锁定 <a href="?Input=Add"><font color="#0000FF">--&gt; 点击进行添加</font></a></p>
<%
Select Case Input
	Case "Del"
		ClassSys.DelSys_LockIp Request.Querystring("Id")
		ClassCheck.CallOk 1
	Case "Add"	
%>
<form method="POST" action="?type=save" name="form" target="_self" onsubmit="return checkForm()">
  <p>I P 地址: 
    <input name="Ip" type="text" Class=Put id="Ip"  size="20" maxlength="20">
  </p>
  <p>留言名字: 
    <input name="Author" type="text" id="Author"  size="20" maxlength="50" Class=Put>
    (可为空) </p>
  <p> 
    <input type="submit" name="Submit" value="=> 添加锁定" class=put2>
    <input type=reset name="Reset" value="重写" class=put3>
  </p>
</form>
<%
End Select
%>

              <p>&nbsp;</p><p><strong><font color="#FF0000">已存在的锁定IP列表:</font></strong></p>
<%
ClassSys.GetSys_LockIp()
Select Case ClassSys.ShowIp
	Case 1
		for i=0 to ubound(ClassSys.ArrRs,2)
%>
<p>IP地址:<u><%=ClassSys.ArrRs(1,i)%></u>[用户:<%=ClassSys.ArrRs(2,i)%>]&nbsp; 锁定时间:<%=ClassSys.ArrRs(4,i)%> 
  <font color="#FF0000">[操作:<a href="?Input=Del&Id=<%=ClassSys.ArrRs(0,i)%>"><u>解除锁定</u></a>]</font> 
</p>
<%
		Next
	Case Else
		Response.write "--------------- 暂无已锁定的IP记录! ---------------"
End Select
ClassSystem.Closedb()
%></td>
          </tr>
        </table></td>
  </tr></table>
</div>
<!--#Include File="Include/CopyRight.asp" -->
</body>
</html>

⌨️ 快捷键说明

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