<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset={sys_charset}">
<title>add user</title>
<link href="{adminStylePath}style/common.css" rel="stylesheet" type="text/css">
<link href="{sys_dir}plugins/kindeditor/themes/default/default.css"  rel="stylesheet" type="text/css" />
<script language="javascript" src="{adminStylePath}js/validate.js"></script>
<script language="javascript" src="{adminStylePath}js/common.js"></script>
<script type="text/javascript" src="{sys_dir}plugins/kindeditor/kindeditor.js"></script>
<script type="text/javascript" src="{sys_dir}plugins/kindeditor/lang/zh_CN.js"></script>
<script language="javascript">
    KindEditor.ready(function(K) {
        var editor = K.editor({
            allowFileManager : false
        });
        K('#btn_upfile').click(function() {
            editor.loadPlugin('image', function() {
                editor.plugin.imageDialog({
                    imageUrl : K('#fileurl').val(),
                    clickFn : function(url, title, width, height, border, align) {
                        K('#fileurl').val(url);
                        editor.hideDialog();
                    }
                });
            });
        });
    });

</script>
</head>

<body>
<table class="nav_table" cellpadding="0" cellspacing="0">	
	<tr>
		<td class="nav_td">{menu_nav}</td>
	</tr>	
</table>
<table class="toolbar_table" cellpadding="0" cellspacing="0">
	<tr>
		<td class="toolbar_td">{toolbar}</td>
	</tr>

</table>

<div class="line_space"><img src="{adminStylePath}images/blank.gif"></div>

<table cellpadding="0" cellspacing="0" class="edit_tb">
  
  <form name="editForm" method="post" action="">
  	<input type="hidden" name="selectid" id="selectValue" value="">
    <input type="hidden" name="selectValue" id="selectValue" value="">
	<input type="hidden" name="boss_uid" id="boss_uid" value="{boss_uid}">
    <tr> 
      <td colspan="2" class="edit_subtitle"><img src="{adminStylePath}images/edit.gif" align="absmiddle">&nbsp;<span class="edit_subtitle_txt">基本信息</span></td>
    </tr>
	<tr> 
	  <td width="30%"  class="edit_td_txt">用户组:</td>
	  <td width="70%"  class="edit_td_input">
		<select name="user_class_id" class="input_select">
			  <option value="">---选择---</option>
			  {list_class}
		  </select> 
	  </td>
	</tr>
    <tr> 
      <td width="30%"  class="edit_td_txt">用户名:</td>
      <td width="70%"  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="30%"  class="edit_td_txt">昵称:</td>
      <td width="70%"  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="30%"  class="edit_td_txt">密 码:</td>
      <td width="70%"  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="30%"  class="edit_td_txt">重复密码:</td>
    	<td width="70%"  class="edit_td_input">
      	<input name="userpassword1"  type="password" class="input_password" dataType="Repeat" to="password" msg="两次输入的密码不一致">*
	 		</td>
  	</tr> 
    <tr> 
      <td width="30%"  class="edit_td_txt">电子邮件:</td>
      <td width="70%"  class="edit_td_input">
      	<input type="text" name="email" size="30" class="input_text" value="" dataType="Email" msg="信箱格式不正确">*
      </td>
    </tr> 
    <tr> 
      <td width="30%" class="edit_td_txt">图片:</td>
      <td width="70%" class="edit_td_input">
      	<input type="text" name="fileurl" id="fileurl" class="input_text" size="40" value="" require="false" dataType="LimitB" min="0" max="255"  msg="[0,255]个字符之内">
        <input name="btn_upfile" type="button" value="上传图片" id="btn_upfile">
      </td>
    </tr> 
    <tr> 
      <td colspan="2" class="edit_subtitle">
      	<img src="{adminStylePath}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="30%"  class="edit_td_txt">真实姓名:</td>
			      <td width="70%"  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="30%"  class="edit_td_txt">电话:</td>
			      <td width="70%"  class="edit_td_input">
			      	<input type="text" name="tel" class="input_text" value="">
			      </td>
			    </tr>
			    <tr> 
			      <td width="30%"  class="edit_td_txt">传真:</td>
			      <td width="70%"  class="edit_td_input">
			      	<input type="text" name="fax" class="input_text" value="">
			      </td>
			    </tr>
			    <tr> 
			      <td width="30%"  class="edit_td_txt">手机:</td>
			      <td width="70%"  class="edit_td_input">
			      	<input type="text" name="mobile" class="input_text" value="">
			      </td>
			    </tr>
			    <tr> 
			      <td width="30%"  class="edit_td_txt">语言风格:</td>
			      <td width="70%"  class="edit_td_input">
			      	<select name="style_id" class="input_select">
				    	  <option value="">---选择---</option>
				    	  {list_style}
				      </select> 
			      </td>
			    </tr> 
			    <tr> 
			      <td width="30%" class="edit_td_txt">是否一次性登录:</td>
			      <td width="70%"  class="edit_td_input">{list_only_login}</td>
			    </tr>  
			    <tr style="display:none"> 
			      <td width="30%"  class="edit_td_txt">管理频道分类:</td>
			      <td width="70%"  class="edit_td_input">
			      	<select name="channel_id" class="input_select">
				    	  <option value="">---选择---</option>
				    	  {list_channel}
				      </select> 
			      </td>
			    </tr>
				</table>
      </td>
    </tr>
  </form>
</table>

</body>
</html>

