
<!--#include file="../../p_inc/Include_func.asp"-->
<!--#include file="../inc/public.asp"-->
<!--#include file="../inc/openconn.asp"-->

<SCRIPT language=JavaScript>
function test()
{
	
		if(form1.username.value.length == 0)
	{
		alert("用户登陆帐号不可为空!") ;
		form1.username.focus() ;
		return false;
	}
	
	if(form1.password.value.length == 0)
	{
		alert("用户密码不可为空!") ;
		form1.password.focus() ;
		return false;
	}
	
		if(form1.password_2.value.length == 0)
	{
		alert("密码重复不可为空!") ;
		form1.password_2.focus() ;
		return false;
	}
		if(form1.str_pass.value!=form1.str_pass2.value)
	{
		alert("密码和密码重复不同!") ;
		form1.str_pass2.focus() ;
		return false;
	}
	return true;
};
function check()
{if (document.form1.all_check.checked)
for(i=0;i<document.form1.str_manage.length;i++)
  document.form1.str_manage[i].checked=true;
else
for(i=0;i<document.form1.str_manage.length;i++)
  document.form1.str_manage[i].checked=false;

}

</SCRIPT>

<html>
<head>
<%
If request.Cookies(Sky_Admin_Cookies_1)("admin_u")="" or request.Cookies(Sky_Admin_Cookies_1)("admin_p")="" or request.Cookies(Sky_Admin_Cookies_1)("admin_m")="" then
	response.write "<script language='javascript'>"
	response.write"this.location.href='./login.asp';</SCRIPT>" 
response.end
end if
%>
<title>系统授权</title>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="../css/style.css">
</head>
<body leftmargin="2" topmargin="0" marginwidth="0" marginheight="0">
<table width="98%" border="0" align="center" cellpadding="0" cellspacing="0">
  <tr> 
    <td width="24%"><img src="../images/admin.png" width="200" height="66"></td>
    <td width="76%" valign="bottom"><div align="right"><%=Copyright%></div></td>
  </tr>
  <tr> 
    <th height="22" colspan="2" class="tableHeaderText">&nbsp;&nbsp;::: 系统授权 
      --&gt; 授权登陆</th>
  </tr>
  <tr> 
    <td height="1" colspan="2"></td>
  </tr>
</table>
<br>
<table width="98%" border="1"  align=center cellpadding="0" cellspacing="1" class="tableBorder">
  <form action="add_save.asp" method="POST" name="form1" id="form1"  onSubmit="return test();">
    <tr> 
      <td height=25 class=forumRow><div align="right">授权用户帐号：</div></td>
      <td class=forumRow >&nbsp; <input name="username" type="text" id="zt2" size="20"> 
        <font color="#FF6600">*（填写在绿网官方注册的授权帐号）<a href="http://upda.58119.com/svrFolder/web/" target="_blank">如果没有请点这注册</a></font></td>
    </tr>
    <tr> 
      <td height=25 class=forumRow><div align="right">用户密码：</div></td>
      <td bgcolor="#F6F6F6" class=forumRow >&nbsp; <input name="password" type="password" id="zt"  size="20"> 
        <font color="#FF6600">*（写在绿网官方注册的授权密码）</font></td>
    </tr>
    <tr> 
      <td height=25 class=forumRow ><div align="right">重复密码：</div></td>
      <td bgcolor="#F6F6F6" class=forumRow>&nbsp; <input name="password_2" type="password" id="password_2"  size="20"> 
        <font color="#FF6600">*（初始化为888888）</font></td>
    </tr>
    <tr> 
      <td height=25 class=forumRow><div align="right">授权类别：</div></td>
      <td bgcolor="#F6F6F6" class=forumRow>&nbsp; 
		<select name="lev" id="lev">
            <option value="" style="color:#999;">请选择类型</option>
            <option value="1">免费用户</option>
            <option value="2">开源用户</option>
            <option value="3">VIP用户</option>
        </select>
		         <script type="text/javascript">document.getElementById("lev").value="<%=lev%>";</script>
					<font color="#FF6600">&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;*选择你注册授权时的类型!</font>
		</td>
    </tr>
    <tr> 
      <td height=25 class=forumRow><div align="right">授权域名：</div></td>
      <td bgcolor="#F6F6F6" class=forumRow>&nbsp; <input name="dns" type="text" id="dns" size="20">
		<font color="#FF6600">*输入你的域名,如:www.58119.com 不要http://</font></td>
    </tr>

    <tr> 
      <td width="16%" height=39 class=forumRow><div align="center">&nbsp; </div></td>
      <td width="84%"class=forumRow> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <input name="Submit" type="submit" value=" 添加 "> &nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp; 
        <input name="Submit2" type="reset" value=" 清空 "></td>
    </tr>
  </form>
</table>
<br>
<div align="center"><br>
</div>
</body>
</html>
