show_lockip.asp

来自「在线作业系统,功能未完全!」· ASP 代码 · 共 42 行

ASP
42
字号
<%@LANGUAGE="VBSCRIPT" CODEPAGE="936"%>
<%const need_purview=3%>
<!--#include file="../localhost.asp"-->
<!--#include file="../purview.asp"-->
<!--#include file="conn.asp"-->
<!--#include file="show_error.asp"-->
<%
call opendb()
set rs=conn.execute("select * from lockip")
if rs.eof then
	call closers()
	call closedb()
	response.write "当前没有封锁的IP"
	response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<title>无标题文档</title>
<link href="../eric.css" rel="stylesheet" type="text/css">
</head>

<body>
<table width="600" border="0" align="center" cellpadding="4" cellspacing="1" id="table_01">
  <tr>
    <td class="white_bold_blue">封锁IP管理:</td>
    <td class="white_bold_blue">操作:</td>
    <td class="white_bold_blue">&nbsp;</td>
  </tr>
  <%do while not rs.eof%>
  <tr>
    <td><%=rs("ip")%></td>
    <td><%response.write "<a href='admin_check.asp?action=delete_lockip&id=" & rs("id") & "'>删除</a>"%></td>
    <td>&nbsp;</td>
  </tr>
  <%rs.movenext
  loop%>
</table>
</body>
</html>

⌨️ 快捷键说明

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