<%@ LANGUAGE=VBScript codepage ="936" %>
<!--#include file="check.asp"-->
<%Response.Expires=0
allow=Request.QueryString("allow")
%>
<html><head><title>IP添加</title><meta http-equiv="Content-Type" content="text/html; charset=gb2312"><link href="jh.css" rel="stylesheet" type="text/css"></head>
<SCRIPT language=JavaScript>
function check(){
var ip1=document.form.ip1.value;
var ip2=document.form.ip2.value;
if(ip1=="" || ip2==""){alert("提示：请输入正确的ip地址！");return false;}
}
</script>
<form name="form" action="jhgl.asp?act=addgvip" method="post" onSubmit="return check(this);">
  <br>
  <table width="80%" border=1 align="center" cellpadding=1 cellspacing=0  bordercolor="#000000" bordercolordark="#FFFFFF">
    <tr> 
      <td colspan="2" align="center" bgcolor="#d7ebff"><font color=red><b>
        <%if allow=1 then%>
        影视允许访问
        <%elseif allow=2 then%>
        影视拒绝访问
        <%else%>
        禁止江湖登陆
        <%end if%>
        </b></font>IP添加</td>
    </tr>
    <tr> 
      <td width="67" align="center" bgcolor="#d7ebff">起始I&nbsp;P</td>
      <td><input type="hidden" name="allow" size="1" value="<%=allow%>">
        <input type="text" name="ip1" size="30" value=""> &nbsp;如202.152.12.1 
      </td>
    </tr>
    <tr> 
      <td width="67" align="center" bgcolor="#d7ebff">结尾I&nbsp;P</td>
      <td> <input type="text" name="ip2" size="30" value=""> &nbsp;如202.152.12.255 
      </td>
    </tr>
    <tr>
      <td align="center" bgcolor="#d7ebff">结束时间</td>
      <td><input name="enddate" type="text" id="enddate"></td>
    </tr>
    <tr>
      <td align="center" bgcolor="#d7ebff">备注说明</td>
      <td><input name="sm" type="text" id="sm" size="40" maxlength="200"></td>
    </tr>
  </table>
  <p align="center"> 
    <input type="submit" name="Submit" value="提 交"> <input  onClick="javascript:window.document.location.href='gviplist.asp'" value="返 回" type=button name="back">
  </p>
  </form>
</body>
</html>
