<?php include pTemplate("header");?>
     <div id="loadingbar"></div>
     
     <div id="main" class="mainPanel wd txt_left">
    <div class="company">
        <aside class="left_panel" un="leftNavBar">
            <ul class="sidetd">
                <?php echo $left_menu_html;?>
            </ul>
        </aside>
        <div class="right_panel">
	
    <div name="showaccount" class="con_box">

    <div class="con_body b_size">
            <h3 class="p_title" style="position:relative">
               编辑： <?php echo $userinfo['realname'];?>
                <div style="position:absolute; right:20px; top:1px;">
        <a href="<?php echo SITEURL;?>?mod=system&do=setinfo" style="font-size:12px">返回</a>
        </div>
                </h3>
                
              <div id="pswhide" class="" style="display:none">
              
              <section>
                    <div class="settingDiv_l">
                         密码
                    </div>
                    <div class="settingDiv_r">
                        <div>
                           <input tabindex="2" vl="validsame1" type="password" name="password" class="txt" value="">
                          
                        </div>
                    </div>
                </section>
               	<section>
                    <div class="settingDiv_l">
                         确认密码
                    </div>
                    <div class="settingDiv_r">
                        <div>
                            <input tabindex="3" vl="validsame2" type="password" name="password2" class="txt" value="">
                          
                        </div>
                    </div>
                </section>
        </div>
        
             <form sm="mbrEdit" action="<?php echo SITEURL;?>?mod=system&do=do" method="POST">
                <input type="hidden" name="uid" value="<?php echo $userinfo['uid'];?>">
                <input type="hidden" name="action" value="member_edit">
                <input type="hidden" name="authcode" value="<?php echo $userinfo['uidauthcode'];?>">
                <input type="hidden" name="backurl" value="<?php echo SITEURL;?>?mod=system&do=setinfo">
            <div class="formPanel" style="padding:0;">
                <div class="mbr_de_pic">
                	<?php if($userinfo['sex']==0) { ?>
                    <img src="<?php echo SITEURL;?><?php echo AVATAR_120;?>" alt="<?php echo $userinfo['realname'];?>">
                    <?php } else { ?>
                     <img src="<?php echo SITEURL;?><?php echo AVATAR_120;?>" alt="<?php echo $userinfo['realname'];?>">
                    <?php } ?>
                    <a href="<?php echo SITEURL;?>?mod=system&do=setinfo&c=avatar" class="pic_edit" style="">修改头像</a>
                </div>
                
                <section>
                    <div class="settingDiv_l">
                       系统帐号
                    </div>
                    <div class="settingDiv_r">
                        <div>
                           <?php echo $userinfo['username'];?>
                        </div>
                    </div>
                </section>
                
                <section>
                    <div class="settingDiv_l">
                        修改密码
                    </div>
                    <div class="settingDiv_r">
                        <div>
                          <a ck="pswShow">
                                    修改
                                </a>
                          
                        </div>
                    </div>
                </section>
                
                 <div id="pswcontainer">
                 
                 </div>
                 
                 <section>
                    <div class="settingDiv_l">
                       真实姓名
                    </div>
                    <div class="settingDiv_r">
                        <span class="addrtitle">
                           <input type="text" name="realname" class="txt" value="<?php echo $userinfo['realname'];?>" >
                           &nbsp;&nbsp;
                         
                        </span>
                    </div>
                </section>
                
                <section>
                    <div class="settingDiv_l">
                        性别
                    </div>
                    
                    <div class="settingDiv_r">
                    
                    <input type="radio" name="sex" value="0" <?php if($userinfo['sex']==0) { ?>checked=""<?php } ?>>
                    <label for="iptGenderF">女</label>&nbsp;&nbsp;
                    <input type="radio" name="sex" value="1" <?php if($userinfo['sex']==1) { ?>checked=""<?php } ?>>
                    <label for="iptGenderM">男</label>
                    </div>
                </section>
                
                
                <section>
                    <div class="settingDiv_l">
                        手机
                    </div>
                    <div class="settingDiv_r">
                      <input type="text" name="phonenum" class="txt" value="<?php echo $userinfo['phonenum'];?>">
                           &nbsp;
                      	<a href="#" title="">
	                     	<span class="mobile_check_no"></span> <!-- class : mobile_check_yes -->
	                    </a>
                    </div>
                </section>
                <section>
                    <div class="settingDiv_l">
                        用户组
                    </div>
                    <div class="settingDiv_r">

                             <?php echo $usergroup['groupname'];?>

                    </div>
                </section>
                <section>
                    <div class="settingDiv_l">
                        所属部门
                    </div>
                    <div class="settingDiv_r">
                        <span class="belong_qz" id="belongToDept" un="struct" ids="3411681">
                            <span>
                               <?php echo $gBranch;?>
                            </span>
                        </span>
                    </div>
                </section>
                <div class="bd_sep">
                </div>
                <section>
                    <div class="settingDiv_l">
                        生日
                    </div>
                    <div class="settingDiv_r">
                        <span class="addrtitle">
                           <input type="text" name="birthday" style="" class="txt" value="" ck="birthformtips">
                           &nbsp;&nbsp;
                           <span class="graytext">格式为：1980-01-01</span>
                        </span>
                    </div>
                </section>
                <section>
                    <div class="settingDiv_l">
                        职务
                    </div>
                    <div class="settingDiv_r">
                        <span class="addrtitle">
                            未设置
                        </span>
                    </div>
                </section>
                <section>
                    <div class="settingDiv_l">
                        编号
                    </div>
                    <div class="settingDiv_r">
                        <?php echo $userinfo['uid'];?>
                    </div>
                </section>
                
                <div class="bd_sep">
                </div>
                <section>
                    <div class="settingDiv_l">
                        所属群组
                    </div>
                    <div class="settingDiv_r">
                        <span un="struct" class="belong_qz">
                            <span class="addrtitle">
                                未设置
                            </span>
                        </span>
                    </div>
                </section>
                
            </div>
            
            
            <div class="submitColumn" style="padding-left:130px; margin-top:50px;">
                        <input type="submit" class="btn btnSubmit" value="确定" style="position:static;">
                        &nbsp;&nbsp;
                        <a href="javascript:history.go(-1);">
                            取消
                        </a>
                    </div>
            </form>
            
        </div>
</div>
    
    
	<div class="content_table">
						<div class="clr"></div>
                        
	</div>

	
</div>
    </div>
</div>

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

</body>
</html>