<!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=<?php echo SYS_CHARSET ?>" />
<title>用户注册_<?php echo $sys_title ?></title>
<meta name="keywords" content="<?php echo $sys_title ?>" />
<meta name="description" content="<?php echo $sys_title ?>" />
<link rel="stylesheet" type="text/css" href="<?php echo SYS_FRONT_STYLE_PATH?>style/style.css" />
<script type="text/javascript" src="<?php echo SYS_FRONT_STYLE_PATH?>js/common.js"></script>
<script type="text/javascript" src="<?php echo SYS_FRONT_STYLE_PATH?>js/validate.js"></script>

<base target="_self" />
</head>

<body>
<?php include("inc_topbar.tpl.html"); ?>
<div id="wrap">
<!--Content, Left, Right, Middle, Outer, Advertisement--> 
<!--Header-->
<div id="header">
<?php 
include("inc_pagetitle.tpl.html"); 
include("inc_mainmenu.tpl.html"); 
include("inc_submenu.tpl.html"); 
$navigation = '&gt;&gt; 用户注册';
include("inc_navigation.tpl.html"); 
?>
</div>
<!--/Header-->

<!--Content-->
<h1>新用户注册</h1>
<table cellpadding="0" cellspacing="0" class="edit_tb">
  
  <form name="editForm"  method="post" action="reg.php" onSubmit="return Validator.Validate(this,3)">
  	<input type="hidden" name="selectid" id="selectValue" value="">
    <input type="hidden" name="selectValue" id="selectValue" value="">
     <tr> 
      <td width="40%" ></td>
      <td width="60%" ><font color="red"><?php echo $errormsg ?></font></td>
    </tr>
    <tr> 
      <td colspan="2" class="edit_subtitle"><img src="<?php echo SYS_FRONT_STYLE_PATH?>images/edit.gif" align="absmiddle">&nbsp;<span class="edit_subtitle_txt">基本信息</span></td>
    </tr>
    <tr> 
      <td width="40%"  class="edit_td_txt">用户名:</td>
      <td width="60%"  class="edit_td_input">
      	<input type="text" name="username" class="input_text" value="" dataType="LimitB" min="2" max="20"  msg="[2,20]个字符之内">*
      </td>
    </tr>
    <tr> 
      <td width="40%"  class="edit_td_txt">昵称:<br/><span class="input_intro">在网站公开显示的用户的名字</span></td>
      <td width="60%"  class="edit_td_input">
      	<input type="text" name="nickname" class="input_text" value="" dataType="LimitB" min="1" max="30"  msg="[1,30]个字符之内">*
      </td>
    </tr>
    <tr> 
      <td width="40%"  class="edit_td_txt">密 码:</td>
      <td width="60%"  class="edit_td_input">
      	<input type="password" name="password" class="input_password" value=""  dataType="LimitB" min="4" max="12"  msg="[4,12]个字符之内">*
      </td>
    </tr>
    <tr>
      <td width="40%"  class="edit_td_txt">重复密码:</td>
    	<td width="60%"  class="edit_td_input">
      	<input name="userpassword1"  type="password" class="input_password" dataType="Repeat" to="password" msg="两次输入的密码不一致">*
	 		</td>
  	</tr> 
    <tr> 
      <td width="40%"  class="edit_td_txt">电子邮件:</td>
      <td width="60%"  class="edit_td_input">
      	<input type="text" name="email" size="30" class="input_text" value="" dataType="Email" msg="信箱格式不正确">*
      </td>
    </tr> 
    <tr>
      <td width="40%" class="edit_td_txt">是否一次性登录:<br/><span class="input_intro">选择"是",不需要再次登录(前台/后台)</span></td>
      <td width="60%"  class="edit_td_input">
      	<input type='radio' name='only_login' value='0'>否&nbsp;
				<input type='radio' name='only_login' value='1'  checked>是&nbsp;
			</td>
		</tr>
    <tr> 
      <td colspan="2" class="edit_subtitle">
      	<img src="<?php echo SYS_FRONT_STYLE_PATH?>images/edit_detail.gif" align="absmiddle">&nbsp;<span class="edit_subtitle_txt">详细信息</span>
      	<input type="checkbox" id="chk_display_hidden" value="1" onclick="showDisplayHidden('chk_display_hidden','area_display_hidden')">
      </td>
    </tr>
    <tr> 
      <td colspan="2">
      	<table cellpadding="0" cellspacing="0" width="100%" border="0" id="area_display_hidden" style="display:none">	
					<tr> 
			      <td width="40%"  class="edit_td_txt">真实姓名:</td>
			      <td width="60%"  class="edit_td_input">
			      	<input type="text" name="realname" class="input_text" value="" require="false" dataType="LimitB" min="0" max="30"  msg="[0,30]个字符之内">
			      </td>
			    </tr>
			    <tr> 
			      <td width="40%"  class="edit_td_txt">电话:</td>
			      <td width="60%"  class="edit_td_input">
			      	<input type="text" name="tel" class="input_text" value="">
			      </td>
			    </tr>
			    <tr> 
			      <td width="40%"  class="edit_td_txt">传真:</td>
			      <td width="60%"  class="edit_td_input">
			      	<input type="text" name="fax" class="input_text" value="">
			      </td>
			    </tr>
			    <tr> 
			      <td width="40%"  class="edit_td_txt">手机:</td>
			      <td width="60%"  class="edit_td_input">
			      	<input type="text" name="mobile" class="input_text" value="">
			      </td>
			    </tr>
			    
				</table>
      </td>
    </tr>
    <tr> 
      <td width="40%"  class="edit_td_txt"></td>
      <td width="60%"  class="edit_td_input">
      	<input type="text" size="4" name="vcode" id="vcode" value="验证码" onfocus="this.value=''" dataType="LimitB" min="1" max="10"  msg="请填写验证码"/>*&nbsp;<img src="api/imgvcode.php" align="absmiddle" />
      </td>
    </tr> 
    <tr>
      <td><input type="hidden" name="act" value="save"></td>
      <td><input type="submit" name="Submit" value="提交"> <input type="reset" name="Submit2" value="取消"></td>
    </tr>
  </form>
</table>
<br/><br/>
<!--/Content-->

<?php include("inc_footer.tpl.html"); ?>
</div>
</body>
</html>