<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
	<title>添加管理员 - GV32开源企业信息管理系统 - GV32.COM -  Powered by GV32.COM</title>
	<style type="text/css">
	::selection{ background-color: #E13300; color: white; }
	::moz-selection{ background-color: #E13300; color: white; }
	::webkit-selection{ background-color: #E13300; color: white; }
	body {
		margin: 20px 15px 0 15px;
		font: 13px/20px normal Helvetica, Arial, sans-serif;
		color: #4F5155;
	}
	a {
		color:#0000FF;
		background-color: transparent;
		font-weight: normal;
	}
	h1 {
		color: #000000;
		background-color: transparent;
		border-bottom: 1px solid #D0D0D0;
		font-size: 19px;
		font-weight:bolder;
		margin: 0 0 14px 0;
		padding: 14px 15px 10px 15px;
		text-align:center;
	}
	code {
		font-family: Consolas, Monaco, Courier New, Courier, monospace;
		font-size: 12px;
		background-color: #f9f9f9;
		border: 0px solid #333333;
		color: #002166;
		display: block;
		margin: 14px 0 14px 0;
		padding: 12px 10px 12px 10px;
		font-weight:bolder;
	}
	p{
		text-align: left;
		font-size: 15px;
		font-weight:bolder;
		padding: 0 0px 0 10px;
		margin: 0px 0 0 0;
		height:10px;
	}
	p.footer{
		text-align: right;
		font-size: 11px;
		line-height: 0px;
		padding: 0 0px 0 90px;
		margin: 30px 0 0 10;
	}
	#container{
		margin: 0 auto;
		width:490px;
		border: 1px solid #000033;
	}
	#suggestionInfo
	{
		text-align:center;
		color:#FF0000;
		width:390px;
		font-size: 15px;
		font-style:normal;
		font-weight:bolder;	
	}
	
	#bodydiv{
		margin: 0 auto;
		width:520px;
	}
	
	#bodydiv .tableborder {
	 border: 1px solid #999;
	}
	#bodydiv th {
	 font-weight: bold;
	 text-align: center;
	 font-size: 12px;
	 background-color: #666;
	 color: #fff;
	 padding: 4px;
	}
	
	#bodydiv .td {
	 font-weight: normal;
	 font-size: 12px;
	 padding: 6px;
	 background-color: #f3f3f3;
	 text-align:right;
	 color: #000000;
	 vertical-align:text-top;
	}
	#bodydiv .tdd {
	 font-weight: normal;
	 font-size: 12px;
	 padding: 6px;
	 background-color: #f3f3f3;
	 text-align:left;
	 color: #000000;
	 vertical-align:text-top;
	}
	#bodydiv .tdcenter {
	 font-weight: normal;
	 font-size: 12px;
	 padding: 6px;
	 background-color: #f3f3f3;
	 text-align:center;
	 color: #000000;
	 vertical-align:text-top;
	}
</style>
<script language="javascript">
	function submitFun()
	{
		var iduser_name 		= document.getElementById('user_name');
		var iduser_truename 			= document.getElementById('user_truename');
		var iduser_email 			= document.getElementById('user_email');
		var iduser_pwd 			= document.getElementById('user_pwd');
		var idreuser_pwd 			= document.getElementById('reuser_pwd');

		var idsuggestionInfo 	= document.getElementById('suggestionInfo');

		if(iduser_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：帐号不能为空！请输入！';
			iduser_name.focus();
			return false;
		}else if(iduser_truename.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：真实姓名不能为空！请输入！';
			iduser_truename.focus();
			return false;
		}else if(iduser_email.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：E-mail不能为空！请输入！';
			iduser_email.focus();
			return false;
		}else if(iduser_pwd.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：密码不能为空！请输入！';
			iduser_pwd.focus();
			return false;
		}else if(idreuser_pwd.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：确认密码不能为空！请输入！';
			idreuser_pwd.focus();
			return false;
		}else if(idreuser_pwd.value!=iduser_pwd.value)
		{
			idsuggestionInfo.innerHTML = ' 提 示：确认密码与密码不一致！请重新输入！';
			idreuser_pwd.focus();
			return false;
		}

	}
</script>
</head>
<body>
<div id="bodydiv"><form action="/index.php/adminsys/adminuser/addinfo" method="post" onsubmit="return submitFun(this)" enctype="multipart/form-data" name="formSub">
<table cellpadding="0" cellspacing="1" border="0" style="width:100%" class="tableborder">
<tr>
<th colspan="2">添加管理员</th>
</tr>

<tr>
<td class="td"><strong>帐&nbsp;&nbsp;&nbsp;&nbsp;号：</strong></td>
<td class="tdd"><input name="user_name" id="user_name" value="" type="text"  style="width:250px;" ></td>
</tr>

<tr>
<td class="td"><strong>真实姓名：</strong></td>
<td class="tdd"><input name="user_truename" id="user_truename" value="" type="text"  style="width:250px;" ></td>
</tr>

<tr>
<td class="td"><strong>Email地址：</strong></td>
<td class="tdd"><input name="user_email" id="user_email" value="" type="text"  style="width:250px;" ></td>
</tr>


<tr>
<td class="td"><strong>密&nbsp;&nbsp;&nbsp;&nbsp;码：</strong></td>
<td class="tdd"><input name="user_pwd" id="user_pwd" value="" type="text" style="width:250px;"></td>
</tr>

<tr>
<td class="td"><strong>确认密码：</strong></td>
<td class="tdd"><input name="reuser_pwd" id="reuser_pwd" value="" type="text" style="width:250px;"></td>
</tr>



<tr>
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>

<tr>
<td colspan="2"  class="tdcenter"> <input name="submit" id="submit" type="submit" value="添 加" ></td>
</tr>
</table>
</form>
	</div>
	
</body>
</html>