{include file="page_header.htm"}
{insert_scripts files="../js/utils.js"}
<div id="tabbody-div">
	<form name="theForm" action="member.php" method="post" onsubmit="return validate()">
	<table width="90%">

		<tr>
		<td class="label" valign="top">姓名:</td>
		<td><input name="name" type="text" value="{$user.name}" style="width:300px;" /> <span class="required">&nbsp;</span></td>
		</tr>

		<tr>
		<td class="label" valign="top">用户名:</td>
		<td><input name="user_name" type="text" value="{$user.user_name}" style="width:300px;" /> <span class="required">&nbsp;</span></td>
		</tr>
		<tr>
		<td class="label" valign="top">密码:</td>
		<td><input name="password" type="password" value="" style="width:300px;" /></td>
		</tr>	
		
		<tr>
		<td class="label" valign="top">邮箱:</td>
		<td><input name="email" type="text" value="{$user.email}" style="width:300px;" /></td>
		</tr>

			<tr>
		<td class="label" valign="top">手机:</td>
		<td><input name="mobile" type="text" value="{$user.mobile}" style="width:300px;" /></td>
		</tr>			
		
				
	</table>
	<table width="90%">
		<tr>
			<td class="label"></td>
			<td align="left">	
			<input type="hidden" name="user_id" value="{$user.user_id}" />
				<input type="hidden" name="act" value="{$form_act}" />
				<input name="submit" type="submit" value=" 确定 " class="button" />
				<input name="reset" type="reset" value=" 重置 " class="button" />
			</td>
		</tr>
	</table>
	</form>
  </div>  
{literal}
<script language="JavaScript">
function validate(){
    validator = new Validator("theForm");
	validator.required("name",'姓名不能为空!');
	validator.required("user_name",'用户名不能为空!');
    return validator.passed();
}
</script>
{/literal}
{insert_scripts files="validator.js"}
{include file="page_footer.htm"}