📄 adduser.asp
字号:
<!--#include file="../checkpost.asp"-->
<!--#include file="security.asp"-->
<%if session("flag")>1 then
response.write "<br><p align=center>您的操作权限不够!</p>"
response.end
end if
%>
<HTML>
<HEAD>
<TITLE></TITLE>
<META http-equiv="Content-Type" content="text/html; charset=gb2312">
<LINK href="inc/Admin_STYLE.CSS" rel="stylesheet" type="text/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 leftmargin="0" topmargin="0" marginwidth="0" marginheight="0">
<DIV align="center">
<!--#include file="top1.asp"-->
<form method="post" action="saveuser1.asp" name="form1" onsubmit="javascript:return check();">
<TABLE width="50%" border="0" cellspacing="1" cellpadding="0" class="border">
<TR>
<TD height="25" colspan="2" bgcolor="#429AEF"> <DIV align="center"><strong><font color="#FFFFFF">新增管理员</font></strong></DIV></TD>
</TR>
<TR>
<TD height="30" class="tdbg"> <DIV align="center">用 户 名: </DIV></TD>
<TD class="tdbg">
<font size="2">
<input type="text" name="username" size="20">
</font></TD>
</TR>
<TR>
<TD height="30" class="tdbg"> <DIV align="center">初始密码: </DIV></TD>
<TD height="30" class="tdbg">
<font size="2">
<input type="password" name="newpin" size="20">
</font></TD>
</TR>
<TR>
<TD height="30" class="tdbg"> <DIV align="center">确认密码: </DIV></TD>
<TD height="30" class="tdbg">
<font size="2">
<input type="password" name="re_newpin" size="20">
</font></TD>
</TR>
<TR>
<TD height="30" colspan="2" class="tdbg"> <DIV align="center">权限设置 </DIV></TD>
</TR>
<TR>
<TD height="30" colspan="2" class="tdbg"> <DIV 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>
</DIV></TD>
</TR>
</TABLE>
<P>
<INPUT type="submit" name="Submit" value="确定">
<input name="Cancel" type="button" id="Cancel" value="取消" onClick="window.location.href='adminuser.asp'" style="cursor:hand;">
</P>
</FORM>
<P> </P>
<P align=center></P> </DIV>
</BODY>
</HTML>
⌨️ 快捷键说明
复制代码
Ctrl + C
搜索代码
Ctrl + F
全屏模式
F11
切换主题
Ctrl + Shift + D
显示快捷键
?
增大字号
Ctrl + =
减小字号
Ctrl + -