<!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>修改管理员信息 {#$LA_poweredby#} -  Powered by GV32.COM</title>
<link rel="stylesheet" type="text/css" href="{#$base_weburl#}/templates/adminsys/css/list.css" />
<script language="javascript">
	function submitFun()
	{
		var idadmin_name 		= document.getElementById('admin_name');
		var idadmin_truename 	= document.getElementById('admin_truename');
		var idadmin_email 		= document.getElementById('admin_email');
		var idadmin_pwd 		= document.getElementById('admin_pwd');
		var idreadmin_pwd 		= document.getElementById('readmin_pwd');
		
		var idsuggestionInfo 	= document.getElementById('suggestionInfo');
		
		patn = /^([a-zA-Z0-9_.-])+@([a-zA-Z0-9_-])+(\.[a-zA-Z0-9_-])+/;
		if(idadmin_name.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：帐号不能为空！请输入！';
			idadmin_name.focus();
			return false;
		}else if(idadmin_truename.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：真实姓名不能为空！请输入！';
			idadmin_truename.focus();
			return false;
		}else if(idadmin_email.value=='')
		{
			idsuggestionInfo.innerHTML = ' 提 示：E-mail不能为空！请输入！';
			idadmin_email.focus();
			return false;
		}else if(!patn.test(idadmin_email.value))
		{
			alert ("提示：\n\n电子邮件格式不正确，请输入正确的电子邮件地址！！");
			idadmin_email.focus (); 
			return false; 
		}else if(idreadmin_pwd.value!=idadmin_pwd.value)
		{
			idsuggestionInfo.innerHTML = ' 提 示：确认密码与密码不一致！请重新输入！';
			idreadmin_pwd.focus();
			return false;
		}

	}
</script>
</head>
<body>


<table  cellpadding="0" cellspacing="0" border="0" style="width:100%">

<tr><td><table cellpadding="0" cellspacing="0" border="0" style="width:100%; color:#000000; font-weight:normal; background-color:#3EC3EF;"  >
  <tr>
    <td>&nbsp;<a href="{#$base_weburl#}/adminsys/index.php/adminsys/infolist"><img src="{#$base_weburl#}/uploads/sys/h.gif"  width="15" border="0">管理员列表</a> | 修改管理员</td>
    <td>&nbsp;</td>
    <td align="right"><a href="http://help.gv32.com/type_admin-edit.html" target="_blank" title="点击-在线帮助"><img src="{#$base_weburl#}/images/sys/adminhelp.png"  width="21" border="0" alt="点击-在线帮助"></a>&nbsp;&nbsp;</td>
  </tr>
</table>
</td></tr>

<tr><td>

<form action="{#$actUrl#}" 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>
<input name="admin_id" id="admin_id" value="{#$info.admin_id#}" type="hidden"  style="width:250px;" >
<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>帐&nbsp;&nbsp;&nbsp;&nbsp;号：</strong></td>
<td class="tdd"><input name="admin_name" id="admin_name" value="{#$info.admin_name#}" type="text"  style="width:250px;" disabled="disabled" >不可修改</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>真实姓名：</strong></td>
<td class="tdd"><input name="admin_truename" id="admin_truename" value="{#$info.admin_truename#}" type="text"  style="width:250px;" ></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>Email地址：</strong></td>
<td class="tdd"><input name="admin_email" id="admin_email" value="{#$info.admin_email#}" type="text"  style="width:250px;" ></td>
</tr>


<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>密&nbsp;&nbsp;&nbsp;&nbsp;码：</strong></td>
<td class="tdd"><input name="admin_pwd" id="admin_pwd" value="" type="password" style="width:250px;">此项不填写不修改！</td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td class="td"><strong>确认密码：</strong></td>
<td class="tdd"><input name="readmin_pwd" id="readmin_pwd" value="" type="password" style="width:250px;"></td>
</tr>



<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"><div id="suggestionInfo">&nbsp;</div></td>
</tr>

<tr bgcolor="#f3f3f3" onMouseOut="this.bgColor='#f3f3f3';"; onMouseOver="this.bgColor='#C3E2FF';" >
<td colspan="2"  class="tdcenter"> <input name="submit" id="submit" type="submit" value="修 改" ></td>
</tr>
</table>
</form>
</td></tr>
<tr><td></td></tr>
</table>

 
	
</body>
</html>