<?php include pTemplate("header");?>
     <div id="loadingbar"></div>
     
     <div id="main" class="mainPanel wd txt_left" listshowalias="off"><div class="paste_body">
     <?php include pTemplate("partytree");?> 
     
     <div id="rightMain" class="accountListPanel">
    <div class="con_box">
        <div name="editaccount">
            <form sm="mbrEdit" action="<?php echo SITEURL;?>?mod=system&do=do" method="POST">
                <input type="hidden" name="action" value="add_member">
                <input type="hidden" name="backurl" value="<?php echo SITEURL;?>?mod=system&do=member&c=<?php echo $c;?>">

                <div class="con_head">
                    <div class="right">
                    </div>
                    <span class="top_toolcon">
                        <a href="javascript:history.go(-1);" class="btn  bt_home btn_first">
                            <span class="ico_home">
                            </span>
                            返回
                        </a>
                    </span>
                </div>
                <div class="con_body b_size">
                    <h3 id="addtostruct" class="p_title" style="width:100%;">
                        添加成员到"<?php echo $gBranch;?>"
                    </h3>
                    <div class="formPanel" style="overflow:hidden; _zoom:1; padding-bottom:0;">
                        <div valid="empty" validmsg="姓名" class="tr">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                    *&nbsp;
                                </span>
                                姓名：
                            </label>
                            <input tabindex="1" type="text" name="realname" class="txt" value="">
                            <span un="validMsg">
                            </span>
                        </div>
                        <div valid="empty|aliaslen:63|alias" validmsg="帐号|帐号不能超过63个字符|帐号格式不正确"
                        class="tr">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                    *&nbsp;
                                </span>
                                帐号：
                            </label>
                            <input tabindex="2" type="text" name="username" class="txt" id="alias" value="">
                            <span un="validMsg">
                            </span>
                        </div>
                        <div class="graytext f_size tr tipsInfo">
                            帐号由字母、数字组成，点(.)减号(-)下划线(_)不能放在开头或结尾，也不能连续出现
                        </div>
                        
                        
                        
                        <div valid="same:1" validmsg="两次输入的密码不相同">
                            <div valid="passwd:" validmsg="密码格式错误" class="tr">
                                <label class="colum">
                                    <span class="txt_red middleAlign">
                                        *&nbsp;
                                    </span>
                                    密码：
                                </label>
                                <input tabindex="4" vl="validsame1" type="password" name="password" class="txt"
                                value="">
                                <span un="validMsg">
                                </span>
                            </div>
                            <div class="graytext f_size tr tipsInfo">
                                密码由6-32个字符组成，必须包含字母和数字，且不能和帐号相同
                            </div>
                            <div class="tr">
                                <label class="colum">
                                    <span class="txt_red middleAlign">
                                        *&nbsp;
                                    </span>
                                    确认密码：
                                </label>
                                <input tabindex="5" vl="validsame2" type="password" name="password2" class="txt"
                                value="">
                                <span un="validSameMsg">
                                </span>
                            </div>
                        </div>
                        
                        <div class="tr">
                            <label class="colum">
                                &nbsp;
                            </label>
                            <input type="checkbox" name="cpwd" value="1" id="iscpwdlogin" checked="checked">
                            <label for="iscpwdlogin">
                                首次登录修改初始密码
                            </label>
                        </div>
                        
                        <div class="tr " style="">
                                    <label class="colum">
                                        性别：
                                    </label>
                                    <input type="radio" name="sex" value="0" id="iptGenderF" checked="">
                                    <label for="iptGenderF">
                                        女
                                    </label>
                                    &nbsp;&nbsp;
                                    <input type="radio" name="sex" value="1" id="iptGenderM" >
                                    <label for="iptGenderM">
                                        男
                                    </label>
                                </div>
                        
                        <div class="tr">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                    *&nbsp;
                                </span>
                                手机：
                            </label>
                            <input tabindex="2" type="text" name="phonenum" class="txt" id="alias" value="">
                            <span un="validMsg">
                            </span>
                        </div>
                        
                        
                        <div valid="empty|aliaslen:63|alias" validmsg="帐号|帐号不能超过63个字符|帐号格式不正确" class="tr">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                    *&nbsp;
                                </span>
                                用户组：
                            </label>
                            <select tabindex="3" style="width: 230px;" class="txt" name="groupid">
                            <?php echo $usergroup_option;?>
                            </select>
                            <span un="validMsg">
                            </span>
                        </div>
                        
                        
                        
                        <div class="tr" valid="dlgselect" validmsg="请添加所属部门" style="float:left;width:100%;padding:10px 0 5px 0;">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                    *&nbsp;
                                </span>
                                所属部门：
                            </label>
                            <div class="fill_box_wrap left">
                                <div id="selectedDeptFill" class="fill_box" ids=" 3411683">
                                    <div title="" class="addr_base addr_normal ">
                                        <b addr="" nid="3411683">
                                             <?php echo $gBranch;?>
                                        </b>
                                        <a href="javascript:;" class="addr_del" ck="delSelectedItem" bid="<?php echo $thisBranch['bid'];?>">
                                        </a>
                                        <input type="hidden" name="bid" value="<?php echo $thisBranch['bid'];?>">
                                    </div>
                                </div>
                                <a ck="addDeptDlg" class="btn btnNormal bt_opp_add">
                                    <span class="btnCompose">
                                    </span>
                                    　修改
                                </a>
                                <span un="validMsg">
                                </span>
                            </div>
                        </div>
                        
                        <div class="tr" style="float:left;width:100%;padding:0 0 10px 0;">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                </span>
                                所属群组：
                            </label>
                            <div class="fill_box_wrap left">
                                <div id="selectedGroupFill" class="fill_box left">
                                </div>
                                <a ck="addGroupDlg" class="btn btnNormal bt_opp_add">
                                    <span class="btnCompose">
                                    </span>
                                    　修改
                                </a>
                            </div>
                        </div>
                    </div>
                    <div class="formPanel" style="overflow:hidden; _zoom:1; padding-bottom:0; display:none"
                    valid="off#empty" validmsg="验证码" un="verifycode" v="/cgi-bin/getverifyimage?aid=23000101">
                        <div class="tr">
                            <label class="colum">
                                <span class="txt_red middleAlign">
                                    *&nbsp;
                                </span>
                                验证码：
                            </label>
                            <input type="text" name="verifycode" class="txt" value="">
                            <span un="validMsg">
                            </span>
                        </div>
                        <div class="graytext f_size tr tipsInfo" style="margin-bottom:0;">
                            请按下图输入验证码，看不清请&nbsp;
                            <a ck="changeVCImage" title="点击刷新验证码">
                                刷新验证码
                            </a>
                        </div>
                        <div class="" style="padding:5px 0 0 120px;">
                            <img un="verifyimage" style="height:52px;width:128px;border-radius:0 3px 3px 0;">
                        </div>
                    </div>
                    <div class="formPanel" style="padding-top:20px; overflow:hidden;_zoom:1;">
                        <a href="javascript:;" id="memberdetail">
                            详细信息
                            <span class="arrow">
                            </span>
                        </a>
                        <div id="moredetail" style="display:none;">
                            <div class="addr_line">
                                详细信息
                            </div>
                            <div class="formPanel" style="padding-bottom:0;">
                                
                                <div class="tr" style="position:relative;">
                                    <label class="colum">
                                        生日：
                                    </label>
                                    <input type="text" name="birthday" style="" class="txt" value="" ck="birthformtips">
                                    &nbsp;&nbsp;
                                    <span class="graytext">
                                        格式为：1980-01-01
                                    </span>
                                </div>
                                <div class="tr">
                                    <label class="colum">
                                        职务：
                                    </label>
                                    <input type="text" name="position" style="" class="txt" value="">
                                </div>
                                <div class="tr">
                                    <label class="colum">
                                        编号：
                                    </label>
                                    <input type="text" name="extid" style="" class="txt" value="">
                                </div>
                              
                            </div>
                        </div>
                    </div>
                    <div class="submitColumn" style="padding-left:130px;">
                        <input type="submit" class="btn btnSubmit" value="确定" style="position:static;">
                        &nbsp;&nbsp;
                        <a href="<?php echo SITEURL;?>?mod=system&do=member&c=<?php echo $c;?>">
                            取消
                        </a>
                    </div>
                </div>
            </form>
        </div>
    </div>
    <!--end mainPanel-->
    <textarea id="pageData" style="display:none;">
        ({ structmap : {} })
    </textarea>
</div>
     
     
     
     
     
     
     
     
     </div></div>

      <?php include pTemplate("dgbranch");?>    
      <?php include pTemplate("footer");?>  

</body>
</html>