<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=<?php echo $cfg_soft_lang; ?>">
<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 language='javascript' src='../static/web/js/webajax.js'></script>
<script language='javascript'>
	//gcontainer,mShowError,mShowWait,mErrCon,mErrDisplay,mWaitDisplay
	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 {
	padding-top:10px;
	width:100%;
	height:60px;
}
</style>
</head>
<body background='../static/web/img/allbg.gif' leftmargin='8' topmargin='8'>
<div id='loaddiv' style='display:none'>
	<p align='center'><img src='../static/web/img/loadinglit.gif'>请稍后，正在载入</p>
</div>
<table width="98%" border="0" align="center" cellpadding="3" cellspacing="1" class="table maintable table-bordered mt-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 height="270" valign="top" bgcolor="#FFFFFF">
  <?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>\r\n<script language='javascript'>LoadUser({$arr['id']});</script>\r\n";
  }
  ?>
  </td>
</tr>
</table>
</body>
</html>