<!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">
		    <div class="umw4" onClick="javascript:window.location='index.php?ac=list&fileurl=user'">
                <!--插入按钮控件-->
				<div class="btn btn-l btn-a ub ub-ac " >       
					<div class="ulim">返回</div>       
				</div>
            </div>
	        <h1 class="ut ub-f1 ulev0 ut-s tx-c">登录日志</h1>
		</div>
	    </div>
		<!-- /header -->

	    <div data-role="content">
			<div style="padding:44px 16px 10px 13px;" >
			<table id="table-custom-2" class="ui-body-d ui-shadow table-stripe ui-responsive" data-role="table"  data-mode="columntoggle" data-column-popup-theme="a" data-column-btn-text="选择显示内容" data-column-btn-theme="b">
			<thead>
				<tr class="ui-bar-d">
				    <th data-priority="4">IP</th>
					<th data-priority="5">登录时间</th>
					<th data-priority="5">退出时间</th>
				</tr>
			</thead>
			<tbody>
			<?php
			foreach ($result as $row) {
			?>
			<tr>
				<td><?php echo $row['ip'];?></td>
				<td><?php echo $row['logindate'];?></td>
				<td><?php echo $row['enddate'];?></td>
			</tr>
			<?php }?>
			</tbody>
			</table>
			</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 -->
 
</body>
</html>
