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

📄 admin_user_add.asp

📁 电影ASP文件
💻 ASP
字号:
<!--#include file="../film_conn.asp"-->
<!--#include file="session.asp"-->
<!--#include file="../set_url.asp"-->
<%
if session("flag")>1 then
response.write "<br><p align=center>您的操作权限不够!</p>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" type="text/css" href="css/style.css">
<script language="javascript">

function check()

{
  if(document.form1.username.value=="")
    {
      alert("用户名为空");
      return false;
    }
    
  if(document.form1.newpin.value=="")
    {
      alert("密码不能为空");
      return false;
    }
    
  if((document.form1.newpin.value)!=(document.form1.re_newpin.value))
    {
      alert("密码不匹配");
      return false;
    }

}

</script>
</head>
<body bgcolor="#F6F6F6" topmargin="1" leftmargin="2">
<div align="center">
<form method="post" action="admin_user_add_save.asp" name="form1" onsubmit="javascript:return check();">
<table width="40%" border="0" cellspacing="0" cellpadding="0" fpstyle="24,011111100" style="border-style:solid; background-color: white; border-collapse:collapse">
<tr bgcolor="#CCCCCC"><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"><font size="2">新增管理员</font></div></td>
</tr><tr><td height="30" style="color: black; border-style: none"><div align="center">
用 户 名 
<font size="2"> <input type="text" name="username" size="20"></font></div></td></tr>
<tr><td height="30" style="color: black; border-style: none">
<div align="center">初始密码  <font size="2"> <input type="password" name="newpin" size="20"></font> </div></td></tr>
      <tr>
        <td height="30" style="color: black; border-style: none">
        <div align="center">
          确认密码 
          <font size="2"> <input type="password" name="re_newpin" size="20"></font>
        </div>
        </td>
      </tr>
      <tr>
        <td height="30" style="color: black; border-style: none">
        <p align="center">权限设置 <select size="1" name="flag">
        <option selected value="4">====无管理权限====</option>
        <option value="3">====初级管理员====</option>
        <option value="2">====高级管理员====</option>
        <option value="1">====超级管理员====</option>
        </select></td>
      </tr>
    </table>
    <p><input type="submit" name="Submit" value="确定"> </p>
  </form>
  <p> </p>
  <p align="center">
</div>

</body>

</html>

⌨️ 快捷键说明

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