<?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&c=edit" style="font-size:12px">编辑</a>
        </div>
                
                </h3>
                
            <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">
                        <span class="addrtitle">
                          <?php echo $userinfo['realname'];?>
                        </span>
                    </div>
                </section>
                
                <section>
                    <div class="settingDiv_l">
                        性别
                    </div>
                    <div class="settingDiv_r">
                    <?php if($userinfo['sex']==0) { ?>
                   女
                    <?php } else { ?>
                   男
                    <?php } ?>
                        
                    </div>
                </section>
                
                <section>
                    <div class="settingDiv_l">
                        手机
                    </div>
                    <div class="settingDiv_r">
                      <?php if($userinfo['phonenum']==0 ) { ?>
                     <span class="addrtitle">
                            未设置
                        </span>
                       <?php } else { ?> 
                        <?php echo $userinfo['phonenum'];?>
                        <?php } ?>
                    </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"><?php echo $userinfo['sms_balance'];?> 条</span>
                    </div>
                </section>
                
                <section>
                    <div class="settingDiv_l">已发短信数</div>
                    <div class="settingDiv_r">
                        <span class="addrtitle"><?php echo $userinfo['h_send_sms'];?> 条</span>
                    </div>
                </section>
                
                <div class="bd_sep">
                </div>
                
                <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">
                        <span un="struct" class="belong_qz">
                            <span class="addrtitle">
                                未设置
                            </span>
                        </span>
                    </div>
                </section>
               
            </div>
        </div>
</div>
    
    
	<div class="content_table">
						<div class="clr"></div>
                        
	</div>

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

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

</body>
</html>