📄 adduser.asp
字号:
<!--#include file="security.asp"-->
<%if session("flag")>1 then
response.write "<br><p align=center>您的操作权限不够!</p>"
response.end
end if
%>
<html>
<head>
<meta http-equiv="Content-Language" content="en-us">
<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">
<link rel="stylesheet" type="text/css" href="../css/css.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>
<style type=text/css>
body { background:#799AE1; 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:#428EFF;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>
<body topmargin="1" leftmargin="2">
<div align="center">
<form method="post" action="saveuser1.asp" name="form1" onsubmit="javascript:return check();">
<table width="396" border="0" cellspacing="1" cellpadding="0">
<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" colspan="2" width="392">
<div align="center">
<font size="2">新增管理员</font></div>
</td>
</tr>
<tr>
<td height="30" style="color: black; border-style: none" width="253">
<div align="center">
<font size="2">用 户 名 <input type="text" name="username" size="20">
</font>
</div>
</td>
<td height="30" style="color: black; border-style: none" width="138"> </td>
</tr>
<tr>
<td height="30" style="color: black; border-style: none" width="253">
<div align="center">
<font size="2">初始密码 <input type="password" name="newpin" size="20">
</font>
</div>
</td>
<td height="30" style="color: black; border-style: none" width="138">
<span lang="zh-cn"><font size="2">数字+字母10位以上</font></span></td>
</tr>
<tr>
<td height="30" style="color: black; border-style: none" width="253">
<div align="center">
<font size="2">确认密码 <input type="password" name="re_newpin" size="20">
</font>
</div>
</td>
<td height="30" style="color: black; border-style: none" width="138">
<span lang="zh-cn"><font size="2">数字+字母10位以上</font></span></td>
</tr>
<tr>
<td height="30" style="color: black; border-style: none" width="253">
<p align="center"><span lang="zh-cn"> </span>权限设置 <span lang="zh-cn">
</span><select size="1" name="flag">
<option selected value="4">====无管理权限====</option>
<option value="3">====初级管理员====</option>
<option value="2">====高级管理员====</option>
<option value="1">====超级管理员====</option>
</select></td>
<td height="30" style="color: black; border-style: none" width="138"> </td>
</tr>
</table>
<p><input type="submit" name="Submit" value="确定"> </p>
</form>
<p> </p>
<p align="center">
</div>
<p align="center"><span lang="zh-cn">为了安全后台管理员密码采用MD5加密,<font color="#FF0000">输入</font>密码前请先用记事本将密码记好否则一但忘记将永远无法找回</span></p>
</body>
</html>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -