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

📄 wanba.asp

📁 网上流行的MOVE站点
💻 ASP
字号:
<!--#include file="security.asp"-->
<!--#include file="articleconn.asp"-->
<html>
<%if session("flag")>1 then
    response.write "<script>alert('您的操作权限不够!');history.back();</script>"
    response.end
end if
%>
<head>
<meta http-equiv="Content-Language" content="zh-cn">
<meta name="GENERATOR" content="Microsoft FrontPage 5.0">
<meta name="ProgId" content="FrontPage.Editor.Document">
<title>用户管理</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<style type=text/css>
body  { background:#336699; margin:0px; font:9pt 宋体; }
table  { border:0px; }
td  { font:normal 12px 宋体; }
img  { vertical-align:bottom; border:0px; }
a  { font:normal 12px 宋体; color:#000000; text-decoration:none; }
a:hover  { color:#000000;text-decoration:underline; }
.sec_menu  { border-left:1px solid white; border-right:1px solid white; border-bottom:1px solid white; overflow:hidden; background:#D6DFF7; }
.menu_title  { }
.menu_title span  { position:relative; top:2px; left:8px; color:#215DC6; font-weight:bold; }
.menu_title2  { }
.menu_title2 span  { position:relative; top:2px; left:8px; color:#428EFF; font-weight:bold; }
</style>
<script language="javascript">

function check()

{
  if(document.form1.username.value=="")
    {
      alert("请输入授权网吧IP地址!");
      document.form1.username.focus();
      return false;
    }
    if(document.form1.username.value.length < 11)
    {
      alert("请输入的IP地址格式不正确!");
      document.form1.username.focus();
      return false;
    }
    
  if(document.form1.newpin.value=="")
    {
      alert("网吧名称必须填写正确!");
      document.form1.newpin.focus();
      return false;
    }

}

</script>
</head>

<%
   Set rs=Server.CreateObject("Adodb.RecordSet")   
   sql="select * from okip order by id"
   rs.Open sql,conn,1,1
%>
<body topmargin="1" leftmargin="2">

<p> </p>
<div align="center">
  <center>
  <table width="600" border="0" cellspacing="1" cellpadding="4">
    <tr bgcolor="#fff000">
      <td align="center" height="25" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        网吧 I P</div>
      </td>
      <td height="25" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        网吧名称</div>
      </td>
      <td align="center" height="25" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      开始时间</td>
      <td align="center" height="25" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      到期时间</td>
      <td height="25" style="font-weight: bold; color: maroon; border-left-style: none; border-right-style: none; border-top-style: none; border-bottom: .75pt solid gray; background-color: silver">
      <div align="center">
        操 作</div>
      </td>
    </tr>
    <%do while not rs.EOF %>
    <form method="post" action="asavewanbaip.asp" style="margin: 0">
      <input type="hidden" name="id" value="<%=rs("id")%>" size="12">
      <tr bgcolor="#145f74">
        <td height="25" style="color: black; border-style: none" bgcolor="#F0F0F0" align="center">
        <input type="text" name="manager" value="<%=rs("okip")%>" size="16"></td>
        <td height="25" style="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <input name="newpin" size="12" value="<%=rs("testok")%>"></td>
        <td height="25" style="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <input name="startimes" size="22" value="<%=rs("startimes")%>"></td>
        <td height="25" wstyle="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <input name="endtimes" size="22" value="<%=rs("endtimes")%>"></td>
        <td height="25" style="font-weight: normal; color: black; border-style: none; background-color: #F0F0F0" align="center">
        <input type="submit" name="Submit" value="修改">&nbsp;
        <input type="submit" name="Submit" value="删除"> </td>
      </tr>
    </form>
    <%  
     rs.MoveNext
     
     loop
  %>
  </table>
  </center>
</div><br><br>
<%
  rs.Close
  set rs=Nothing
  
  conn.Close
  set conn=Nothing
%>
<div align="center">
  <center>
  <table border="0" cellpadding="0" cellspacing="0" style="border-collapse: collapse" bordercolor="#111111" width="500" id="AutoNumber1">
    <tr>
      <td width="100%">
      <p align="center"><font color=ffffff>添加IP后属于该IP的网吧的用户将可以免费免注册看电影</td>
    </tr>
  </table>
  </center>
</div><br>
<div align="center">
  <form method="post" action="savewanbaip1.asp" name="form1" onsubmit="javascript:return check();">
  <center>
  <table width="300" border="0" cellspacing="1" cellpadding="4">
    <tr bgcolor="#f3f3f3">
      <td align="center" height="25">
      网吧 I P</td><td align="center"><input type="text" name="username" size="25"></td>
    </tr>
    <tr bgcolor="#f3f3f3">
      <td align="center" height="25">
      网吧名称</td><td align="center"><input name="newpin" size="25"></td>
    </tr>
    <tr bgcolor="#f3f3f3">
      <td align="center" height="25">
      到期时间</td><td align="center"><input name="endtimes" size="25" value="<%=now()%>"></td>
    </tr>
  </table>
  <table width="300" align="center" border="0" cellspacing="1" cellpadding="4">
<tr bgcolor="#f3f3f3">
      <td align="center" height="25">
      <input type="submit" name="Submit" value="开始添加"><input type="reset" name="Submit2" value="重新填写"></td>
    </tr>
</table>
  </center>
</form>
</div>
</body>
</html>
</body>
</html>

⌨️ 快捷键说明

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