<!DOCTYPE html>
<html>
<head>
  <meta charset="<?php echo $cfg_soft_lang; ?>">
  <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  <title>绩效统计</title>
  <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  <link rel="stylesheet" href="../static/web/css/admin.css">
  <script src="../static/web/js/webajax.js"></script>
	<script>
	function LoadUser(uid)
	{
		var loadhtml = $DE('loaddiv').innerHTML;
		var ajaxdiv = $DE('userct'+uid);
		fetch('sys_admin_user_tj.php?dopost=getone&uid='+uid).then(resp=>{
			if (resp.ok) {
				return resp.text()
			}
			throw new Error('载入失败');
		}).then((d)=>{
			ajaxdiv.innerHTML = d;
		}).catch((error) => {
			ajaxdiv.innerHTML = errMsg;
		});
	}
	</script>
	<style>
.userct {
	margin:10px 0;
	width:100%;
	height:auto;
}
	</style>
</head>
<body>
<div id="loaddiv" style="display:none">
	<p style="text-align:center"><img src="../static/web/img/loadinglit.gif">请稍后，正在载入</p>
</div>
<table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  <tr>
    <td height="26" background="../static/web/img/tbg.gif"> <a href="sys_admin_user.php" style="padding-left:10px">管理员帐号</a> &gt; 编辑绩效统计</td>
  </tr>
  <tr>
    <td>
    <?php
    $dsql->Execute('me', 'Select * From `#@__admin` order by id asc');
    while( $arr = $dsql->GetArray('me') )
    {
  	  echo "<div id='userct{$arr['id']}' class='userct'><p align='center'><img src='../static/web/img/loadinglit.gif'>请稍后，正在载入</p></div><script>LoadUser({$arr['id']});</script>";
    }
    ?>
    </td>
  </tr>
</table>
</body>
</html>