<extend name="Public/base"/>

<block name="body">
<div class="tabcon1711">
    <form action="{:U()}" method="post" class="form-horizontal form_info_ml">
        
        <div class="cf main-place top_nav_list navtab_list">
            <h3 class="page_title">新增管理员</h3>
            <p class="description_text"></p>
        </div>
        
        <table  border="0" cellspacing="0" cellpadding="0">
          <tbody>
            <tr>
              <td class="l"><i class="mustmark">*</i>账号</td>
              <td class="r">
                <input name="username" type="text" class="">
               <!--  <input type="hidden" class="" name="username" value="{$list.username}" > -->
                <span class="notice-text">管理员账号用于管理后台登录</span>
              </td>
            </tr>
            <tr>
              <td class="l"><i class="mustmark">*</i>真实姓名</td>
              <td class="r">
                <input name="real_name" type="text" class="">
                <!--  <input type="hidden" class="" name="username" value="{$list.username}" > -->
                <span class="notice-text">管理员真实姓名</span>
              </td>
            </tr>
            <tr>
              <td class="l"><i class="mustmark">*</i>密码</td>
              <td class="r">
                <input name="password" type="password" class="">
                <span class="notice-text">管理员密码不能少于6位</span>
              </td>
            </tr>
            <tr>
              <td class="l"><i class="mustmark">*</i>确认密码</td>
              <td class="r">
                <input name="repassword" type="password" class="">
                <span class="notice-text">再次输入确认密码</span>
              </td>
            </tr>
            <tr>
              <td class="l"><i class="mustmark">*</i>二级密码</td>
              <td class="r">
                <input name="second_pwd" type="password" class="">
                <span class="notice-text">用于账号验证,修改用户平台币操作</span>
              </td>
            </tr>
            <tr>
              <td class="l"><i class="mustmark">*</i>角色类型</td>
              <td class="r">
                <select name="auth" id="authid">
                <volist name="lists" id="sd">
                    <option value="{$sd['id']}">{$sd['title']}</option>
                </volist>
            </select>
                <span class="notice-text">角色类型不同,管理权限也不同</span>
              </td>
            </tr>
            <tr>
              <td class="l"><i class="mustmark">*</i>邮箱</td>
              <td class="r">
                <input name="email" type="text" class="">
                <span class="notice-text">管理员邮箱,用于找回密码等安全操作</span>
              </td>
            </tr>
            <tr>
              <td class="l">手机</td>
              <td class="r">
                <input name="mobile" type="text" class="">
                <span class="notice-text">管理员手机号码,用于找回密码等安全操作</span>
              </td>
            </tr>
<!--            <tr>-->
<!--              <td class="l noticeinfo">离职状态</td>-->
<!--              <td class="r table_radio table_radio2">-->
<!--                    <span class="table_btn">-->
<!--                         <label>-->
<!--                             <input type="radio" class="inp_radio" value="1" name="work_status" <if condition="$data['work_status'] eq 1"> checked</if>> 离职-->
<!--                         </label>-->
<!--                         <label>-->
<!--                             <input type="radio" class="inp_radio" value="0" name="work_status" <if condition="$data['work_status'] eq 0"> checked</if> > 未离职-->
<!--                         </label></span>-->
<!--                <span class="notice-text" style="line-height:1.4;width:68%;">离职状态,市场专员离职发放后自动标志未离职</span>-->

<!--              </td>-->
<!--            </tr>-->
          </tbody>
        </table>
        
        <div class="form-item cf">
            <button class="submit_btn ajax-post mlspacing" id="submit" type="submit" target-form="form-horizontal">
                保存
            </button>
            <a class="submit_btn " alt="返回上一页" title="返回上一页" href="javascript:window.history.back(-1);" >
                返回
            </a>
        </div>  
        
    </form>
</div>

		<div class="common_settings">
			<span class="plus_icon"><span><img src="__IMG__/zwmimages/icon_jia.png"></span></span>
			<form class="addShortcutIcon">
				<input type="hidden" name="title" value="{$m_title}">
				<input type="hidden" name="url" value="User/index">
			</form>
			<a class="ajax-post add-butn <notempty name='commonset'>addSIsetted</notempty>" href="javascript:;" target-form="addShortcutIcon" url="{:U('Think/addShortcutIcon')}"><img src="__IMG__/zwmimages/icon_jia.png"><span><notempty name='commonset'>已添加<else />添加至常用设置</notempty></span></a>
		</div>

</block>

<block name="script">
    <script type="text/javascript">
        //导航高亮
        highlight_subnav('{:U('User/index')}');
    </script>
</block>