<%/5Q5z2qy+28ZZ33PFlsTv/ltZtg2/hq/gYO6%>
<!-- #include virtual="/md5.asp" -->
<!-- #include virtual="/asp/sqlstr.asp" -->
<!-- #include virtual="/asp/opendb.asp" -->
<!-- #include virtual="/asp/bgsub.asp" -->
<!-- #include virtual="/electron_doc/public/public.asp" -->
<!-- #include virtual="/asp/keepformat.asp" -->
<%Ki1TQoT+gBwt0l8786ejnEJaWywAk7a2p/aY07KlxZTtp9qW66aGtLeB7LrewaT+mcG8686YnKmp+pbHqeKDgbiKib/QgPvkhIa+odyMpfaay+q825Too9mS6f/7zs74mMHotsyQseOD2PmvyIf7sMqB+umJmqK0lJeuscyb96ail5ehofKez6Hqi4nsttGJ9KOBjIi9vYvntM6UkKWlk5PArP2T2Lm73oTju8aRs725jIy61ofq9ZXMyP39rMCH+sjL/YfMt+SI2bf8nZ/6oMef4rWxhOi51Muk7onVqP6Yyc34nsCr4ZvduuSA2u6jz4H9p92Wse2L27nvg8/u85XLoOqQ1rHvi9H67Ojdu+WOxL74hMik6Y7QtO7al/u1yZPpooXZv++N27f72seh/5TepOKe0r7zlMqu9N/JzfiewKvhm92h7YHMofuCyf2w3JLutM6Fov6YyKr8kNz94IbYs/mDxbn1mdS545rR+uzo3bvljsS++ITIpOmM1qnzlpTvtc2H66fay6Hxl8Oj+YOUv++H2qbqmtCq8IvYtP2Rwun/+86u996O5rvHi/uxy5Hqu9OB7e/E2fC72oDn+PzJyYTopN2N6qbK26XoiMOvuJOQ6rbNm+KpgNO76oTOpv6SkLumxZvkusCc57HIg6i1gp+/jY64w5njrMqb4buc1K/5hN7/4pzKrfaQ2P+00p266Y/Tu/CQwKe215r2r5uD7rTbhfmq18au4puDsayMvr2L8KrQn/mo0oiv55zKt+3M0eT0jtKp/4bN+ufH9fbAu+Gb1LLjmcPkvtmChrPfjuP8nMXB9A==%>
<%Wr6l5rRKdlUv2FCJbxHTWtz42K9RkDXifSABHHokTwV/ORIBKnYQQSY7HgNrN10HfTFcEHdqSnh7N1sQOXQODHYsVx5yPxhEP2UNRip6EUQodAkeNWsGVjtmQQxgPFoXejZaETosKB1nKUxOZSlFFnomW0RneBdaPG5HDXctVgBnPhdfPmQfRWwmXAZ9LEQWenhWS2J7UgJqN0sHdz1HHWY3Xw1heFNLYFJRHGZ3EV4yY0oGfi0IVDJjBBcvHR5CJHQWdh5NKHgGZgxcO3ALWz5eNmUAYBxQPHFFCHJlThB1JkAIXgJkNUgFYzBmOF0OWBJoMklUdGtCXXRrb1owYAdWcS1IGGI4PAlzKVRLIXEWR3MiRA9uOF8HAzZMFmt0D0N3JkALajxbAwcyUgsifhhIKkoicRREOlowYAdMN2cCYgpZPFwgbABNeWQDU3hnGk0hcHRBQQxgLFUFYi5CUy1gAEsnMBsYYj5FE2ohCFszYgxGLnYaGDMuTRNsMkgUbzlACyA9Chc3BQYwSxFrJEITaTMUXCdxDFZ3agJRPXANGjEsk3jDR4hH7X6zb6Uh+xSgZ75R7BjeD7RSjET4A8JVk3LYRm1wUFR/aW1YWBV5NUwcezdbSjR5GVI+KQIBJ2sBTCxjHh80IiYTE14yfgdXMHwQAW08UWNgVjprBhl5ICQR%>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=gb2312">
<link rel="stylesheet" href="css/css.css">
<title>增加用户</title>
</head>
<body bgcolor="#ffffff" topmargin="5" leftmargin="5">
<%zOheCoh5l91dlKh3fiL3BYxnaC/kmFIvNwI=%>
<center>
<table>
<tr>
<td><b>增加用户</b>&nbsp;&nbsp;&nbsp;&nbsp;</td>
<form method="post" action="deptcontrol.asp">
<td>
<input type="submit" name="submit" value="部门名称管理">
</td>
</form>
<form method="post" action="userlevelcontrol.asp">
<td>
<input type="submit" name="submit" value="职位名称管理">
</td>
</form>
</tr>
</table>
</center>
<%cTih2sVyk2YwbVFNnLhT5XCVMd4q9hR+C1o2cQw+PWEJWj8gSxN3IUxbe0lKGnIvUx9vJV8FfiVJBnt5AlggagZKNyZMHHouThRueVICajdLB3c9Rx1mPVEeY35eb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UTc1HgMqYQBaPQ8MOjoi7gG+To11ywXfMOo+/ivlMY12rFDierB0sm2pOoZ9eUxMehxNZD5FCG4jCkcrZxtJJTpdB3Y9OQwMOkAaZ3gSQiV0QBBpM1QPZHNYCGA9QQ19YEVYMmIFVH9sRxlzL0MPdS5UBS44PAkJP1UFYjMUaQVdPWwxfBRFPw0OODh0GFN6N01PNW8UXTF8Wwd8Jk4FaTlSB2s3Sl12KEUVeCUCTyN/GVQ5dRlSeW9rXl5oElw5OxBcMGMPUy4xEg1iL0kbMngCWCN1EktiKksRajAZUylzCFkxYw8NJjkWCXM9WBRpJAVPNW8URS1/EwUsHh0rK2YcDWskSBkwfARXci5IGX5tVWdkUlIEa3QTQz4hWhYxaw1UfSNEHzZnAUpjLlRFLn4RDnMkSBkdKA==%>
<center>
<br><br>
<center><font color="red" size="+1">用户名为<%AkxDzwVDmlURJhkNFWUU5R3QzCiZgI24WQhgMl5I%>的用户已经存在，请选择其他用户名</font><br><br>
<input type="button" onclick="history.go( -1 );return true;" value="返回"></center>
</center>
<%k6phdv6+ZPO6ImrW8jq1dY/nSrGye8tx3ZD9/5vA/OuSzLb6hNSv9NTm5dPT5Z/RtKufgKvduvaa16q19aTZiaDqkMqx54DZ8Oeb17v2kc+r8dSb87/Fjeumy9i/4YXf+rDKkOuw3JPu/YHNoeyJ06z2k4Wsxa3+gtiitZyBhbCwhobKsuHIyuOv14SttJ3xidqAy7Cn25f7ttGP67GRjqG+lYavsraDg7W1+YHS+/nQnOS3noeuwrrps/iDlO2zyYX7q9CLq7SbhK+8lYiMubmPj8O76MHD6qbejaS9lPiA04nCua7Jl/OpiZa5po2et6qum5utreGZyuPhyIT8r4afttqi8avgm4zwvNCd8KrTmLiniJe8r4abn6qqnJzQqPvS0Pm1zZ63rofrk8Ca0aq9wY3hrMmT7LbTxez13MHh/PjNzfv7p8GQ9+aq7YHdoeqGkeulwNbS5+fR0Z3xupPepKqe0r7zjNatvNab96nUjui11ozmrYyR+aLEn/TlnsSu/oXepP6Dnr6Mj7m5j/W73tz3m9ek6JTJ1p/goNuX5rvNkPbfofvkpP+l74uU+7bQgqvhm8G67IvS+cvI/v7Is//H1rD/k8Lrp9+MqfWTwqW2jry/iYm//6T+tNDSqeXdyuGX+pbquJOFgbS0goLOounAjff5zZz6sdCG4bm9iIi+vuiHmPS5wtO0/prHq+bT0uv0id6y4+fS0uTk0rjoj975tNKB5LnRje+k34Hmqq6bm62tm/Gvypmwy6vnnuSf0rT5ueiH1+/401qHCrhBuCSBapUWzCDqbsBMszjcQOhkmxD0H7tWrTGCn7Dqkdz7oMyA6qfHiPWjxZS0hoWzs4WF2b/uiZjyoceL59XW4ODW1pr2vZTIrv+Ymv2t0Ifnttjq6d/f6em13Y7r9J/HrPKYzO37/8rK/PzKseuR3rjpk8nutNOIjLm5j4/VsPyQoqGXl6Gh/ZvKrbzWhuKw0Jvmq8OS6NrZ7+/ZteSJlvavq54=%>
<br><br>
<center>
<font color="red" size="+1">用户名为<%XBdsTMAdDJsRJhkNFWUU5R3QzCiZgI24tOWN37Ol%>的用户注册成功！</font>
</center>
<br><br>
<%5Jamscz4cMI044ruoM4tegKx5L49BfkQWwEFMA==%>
<div align="center">
<table widht="80%" border="0">
<tr><td>
<center><b><font color="red" size="+1">出错了</font></b></center><br><br>
<font color="#ee0000" size="+1"><%IvpH0BgKgSbhh3Oc6bOOJ5JYQMik7erm%></font>
<center><input type="button" value="返回" onclick="history.go( -1 );return true;"></center>
</td></tr></table>
</div>
<%RitcGxX1oaIdRDXtKiWbfFy78z+k2WSeKRw=%>
<br>
<center>
<script Language="JavaScript">
function maxlength(str,minl,maxl)
{
	if(str.length <= maxl && str.length >= minl)
	{
		return true;
	}
	else
	{
		return false;
	}
}

function form_check()
{
	var l1=maxlength(document.form2.username.value,1,10);
	if(!l1)
	{
		window.alert("用户名的长度不能超过5个汉字或10个英文字符！");
		document.form2.username.focus();
		return (false);
	}
	
	var l2=maxlength(document.form2.password.value,1,20);
	if(!l2)
	{
		window.alert("密码的长度大于1位小于20位");
		document.form2.password.focus();
		return (false);
	}

	var a1=document.form2.password.value;
	var a2=document.form2.repassword.value;
	if(a1!=a2)
	{
		window.alert("两次输入的密码应相同");
		document.form2.repassword.focus();
		return (false);
	}

	var l3=maxlength(document.form2.name.value,1,20);
	if(!l3)
	{
		window.alert("姓名的长度不能超过5个汉字或10个英文字符！");
		document.form2.name.focus();
		return (false);
	}
}
</script>
<form action="adduser.asp" method=post name="form2" onsubmit="return form_check();">
<table border="1" cellspacing="0" cellpadding="0" bordercolorlight="#c0c0c0" bordercolordark="#FFFFFF">
<tr>
<td>
用户名：</td><td><input type=text name="username" size=20 maxlength="10"><font color=red>*</font>
</td>
</tr>
<tr>
<td>
密码：</td><td><input type="password" name="password" size=20 maxlength="20"><font color=red>*</font>
</td>
</tr>
<tr>
<td>
密码确认：</td><td><input type="password" name="repassword" size=20 maxlength="20"><font color=red>*</font>
</td>
</tr>
<tr>
<td>
姓名：</td><td><input type="text" name="name" size=20 maxlength="10"><font color=red>*</font>
</td>
</tr>
<tr>
<td>
部门：</td><td>
<select size=1 name="userdept">
<%jm23V3HiQT0v2FCJbxHTWtz42K9RkDXihtv654HftP6Ewun60Y3rut3A5fiQzKb8hsqn64yRsYOAzKDrwo/1943XrOWJxOO/xJ72vdGB6r/Tj/LlzpD9rcCduvebx6Hsgc2h6sHX0+ac0re1ntK+7YHdoL+cg+yhx5W854vEuaSgle6ihdWs9pGO9LrfzKb2kcDl6+/apPOTwKyz1IT55p3R9qzKk7rkg9jxoMaNpOmTgum51uTn%>
<option value="<%HDyO8mcXDYmhxMekndyWOxjk5Ben+mNF%>"><%r1stoTiOb5GhxMekndyWOxjk5Ben+mNF%></option>
<%j1fq2sDjK6y/3Q8YYUtH+p2kBDsTUIgEtf2RwK2fnA==%>
</select><font color=red>*</font>
</td>
</tr>
<tr>
<td>
职位:</td><td><select name="userlevel" size=1>
<option value="总管">总管</option>
<%hkCsT6YQ9JAv2FCJbxHTWtz42K9RkDXiJntaRyF/FF4kYklacS1LGn1gRVgwbAZcJmoHSywxESMgbABLYi9VVy13DEUpZEMfZD5WHXEhSh9zL1JFbjBdDWA9Glc7ZwFMIW0BSmF3c0Y8chcVPnIeTSF9AB88I0wBZzUcVix2DV4yexdEb11eE2l4HlE9bEUJcSIHWz1sCxggEhFZOG4LUXgpTwQtYBoLZzdYRy9+EwxrO0ZZIm5JFHIrLxo=%>
<option value="<%7luZPW33uEHpWLXmpUKkReT5z47Zn9WZ%>"><%deE1YZY4PV7pWLXmpUKkReT5z47Zn9WZ%></option>
<%nWkfn2Wtu9S/3Q8YYUtH+p2kBDsTUIgEE1s3Zgs5Og==%>
</select><font color=red>*</font>
</td>
</tr>
<tr>
<td colspan="2" align=center>
<font color=red>*</font>必须填&nbsp;&nbsp;<input type="submit" name="submit" value="增加">
</td>
</tr>
</table>
</form>
</center>
<%0zbZtj/z3T0P5y8HfzWoPl2UqHd+IvcFlc2m+JLG5/H1wA==%>
</body>
</html>