<!DOCTYPE html>
<html>
	<head>
	<meta charset="utf-8">
	<meta name="viewport" content="width=device-width, initial-scale=1">
	<title>天生创想OA 手机版V2.0</title>
	<link rel="stylesheet" href="themes/jquery/css/themes/default/jquery.mobile-1.4.0.min.css">
	<link rel="stylesheet" href="themes/css/list.css">
	<link rel="stylesheet" href="themes/css/ui-box.css">
	<script src="themes/jquery/js/jquery.js"></script>
	<script src="themes/jquery/js/jquery.mobile-1.4.0.min.js"></script>
</head>
<body class="um-vp c-wh" ontouchstart>
	<div data-role="page" data-quicklinks="true" class="ub ub-ver ">
      <div data-role="header" id="header" data-position="fixed" data-fullscreen="true" data-tap-toggle="false" >
		<div class="uh c-org c-m1 t-wh ub">	
	        <h1 class="ut ub-f1 ulev0 ut-s tx-c">个人信息</h1>
		</div>
	    </div>
		<!-- /header -->

	    <div data-role="content" id="content">
			<div style="padding:10px 16px 10px 13px;">
			<div class="us">
			<ul class="ubb ub b-gra t-bla ub-ac lis">	 
					<li class="lis-th ub-img im" style="background-image:url(../<?php echo $user['pic'];?>)"></li> 
					<ul class="ub-f1 ub ub-ver">
						<li class='ulev1' ><?php echo $user['name'];?></li>	   
						<li class="ulev-1 umh4 t-gra">OA账号:<?php echo $user['username'];?></li> 
						<li class="ub-f1">
						<?php echo get_realdepaname($user['departmentid'])?>
						<?php if($user['positionid']!=''){?>
							(<?php echo get_postname($user['positionid'])?>)
						<?php }?>
						</li> 
					</ul>
				</ul>
			</div>
			<ul data-role="listview" data-inset="true">
				<li>
				<a href="index.php?ac=list&fileurl=user&do=views"><img class="ui-li-icon ui-corner-none" src="themes/jquery/img/40.png">我的资料</a></li>
				<li><a href="index.php?ac=list&fileurl=user&do=pwd"><img class="ui-li-icon" src="themes/jquery/img/30.png">密码设置</a></li>
			</ul>
			<ul data-role="listview" data-inset="true">
				<li>
				<a href="index.php?ac=list&fileurl=user&do=user"><img class="ui-li-icon ui-corner-none" src="themes/jquery/img/25.png">内部通迅录</a></li>
				<li><a href="index.php?ac=list&fileurl=user&do=web"><img class="ui-li-icon" src="themes/jquery/img/20.png">我的收藏</a></li>
				<li><a href="index.php?ac=list&fileurl=user&do=log"><img class="ui-li-icon" src="themes/jquery/img/46.png">登录日志</a></li>
			</ul>
			 <input value="安全退出" type="button" data-theme="b" onClick="javascript:window.location='login.php?do=logout'">
		   </div>
			
	    </div><!-- /content -->

	    <div data-role="footer" data-position="fixed" data-tap-toggle="false">
				 <div class="ub c-bla c-m12 tab-b t-wh">
				 	
				 	<div class="ub-f1 ub ub-ver" onClick="javascript:window.location='index.php'">
						<div class="ub-f1 ub-img5 tp-home"></div>
						<div class="uinn ulev-2 tx-c">桌面</div>
					</div>
					
					<div class="ub-f1 ub ub-ver"  onClick="javascript:window.location='index.php?ac=list&fileurl=news'">
						<div class="ub-f1 ub-img5 tp-menu"></div>
						<div class="uinn ulev-2 tx-c">信息</div>
					</div>
					<div class="ub-f1 ub ub-ver" onClick="javascript:window.location='index.php?ac=list&fileurl=sms'">
						<div class="ub-f1 ub-img5 tp-talk"></div>
						<div class="uinn ulev-2 tx-c">微消息</div>
					</div>
					<div class="ub-f1 ub ub-ver tab-act" onClick="javascript:window.location='index.php?ac=list&fileurl=user'">
						<div class="ub-f1 ub-img5 tp-infoon"></div>
						<div class="uinn ulev-2 tx-c">我</div>
					</div>
				 </div>
	    </div><!-- /footer -->
	</div><!-- /page -->
<script type="text/javascript"> 
    window.onload = function(){ 
        var heg=document.getElementById("header").offsetHeight;
		var content=document.getElementById("content"); 
		content.style.cssText="margin-top:"+heg+"px;";
		
    } 
</script> 
</body>
</html>
