www.gusucode.com > 星云DJ舞曲 4.5a源码程序 > admin/admin_killipmana.asp

    <%call CheckAdmin3%>
<!--#include file="const.asp"-->
<html>
<head>
<title>封锁IP管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link href="Admin_Style.css" rel="stylesheet" type="text/css">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" id="AutoNumber2">
  <tr class="topbg"> 
    <td height="22" colspan="2" align="center"><strong>IP 封 锁 管 理</strong></td>
  </tr>
</table>
  <table width="100%" border="0" align="center" cellpadding="2" cellspacing="1" class="border" id="AutoNumber3">
<form method="POST" action="admin_killipsave.asp">
    <tr class="tdbg"> 
            <td width="8%" align="center">ID</td>
            <td width="40%" align="center">IP</td>
            <td width="8%" align="center">删除</td>
    </tr>
<%
set rs=server.createobject("adodb.recordset")
sql="select * from killip order by id desc"
rs.open sql,conn,1,1
do while not rs.eof
%>
    <tr class="tdbg"> 
            <td width="8%" align="center"><%=rs("ID")%> </td>
            <td width="40%" align="center"><%=rs("ip")%> </td>
            <td width="8%" align="center"><input onclick="javascript:window.open('admin_killipSave.asp?act=del&id=<%=rs("ID")%>','_self','')" type="button" value="删除" name="button3"></td>
    </tr>
<%
rs.movenext
loop
rs.close
set rs=nothing
%>
    <tr class="tdbg"> 
      <td height="22" colspan="7" align="center" class="title">
<b>添 加 被 封 锁 IP</b>
        </td>
    </tr>
    <tr class="tdbg"> 
<form method="POST" action="admin_killipsave.asp" id=form1 name=form1>
<td width="40%" align="right">IP:</td>
<td width="60%"><input type="text" name="IP" size="20"></td>
    </tr>
    </tr>
    <tr class="tdbg"> 
<td colspan=2 align=center>
<input type="hidden" value="add" name="act">
<input type="submit" value=" 添 加 " name="cmdok">&nbsp; 
<input type="reset" value=" 取 消 "  name="cmdcancel">
</td>
    </tr>
</form>
  </table>
</body> 
</html>