国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

48 lines
1.4KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="utf-8">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>绩效统计</title>
  7. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  8. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. <script src="../static/web/js/webajax.js"></script>
  11. <script>
  12. function LoadUser(uid)
  13. {
  14. var loadhtml = $DE('loaddiv').innerHTML;
  15. var ajaxdiv = $DE('userct'+uid);
  16. fetch('sys_admin_user_tj.php?dopost=getone&uid='+uid).then(resp=>{
  17. if (resp.ok) {
  18. return resp.text()
  19. }
  20. throw new Error('载入失败');
  21. }).then((d)=>{
  22. ajaxdiv.innerHTML = d;
  23. }).catch((error) => {
  24. ajaxdiv.innerHTML = errMsg;
  25. });
  26. }
  27. </script>
  28. </head>
  29. <body>
  30. <div id="loaddiv" class="text-center py-2" style="display:none"><img src="../static/web/img/loadinglit.gif"></div>
  31. <table cellpadding="3" cellspacing="1" align="center" class="table maintable my-3">
  32. <tr>
  33. <td bgcolor="#f5f5f5"><a href="sys_admin_user.php">管理员帐号</a> &gt; 绩效统计</td>
  34. </tr>
  35. <tr>
  36. <td class="border-top-0 p-0">
  37. <?php
  38. $dsql->Execute('me', 'SELECT * FROM `#@__admin` ORDER BY id ASC');
  39. while( $arr = $dsql->GetArray('me') )
  40. {
  41. echo "<div id='userct{$arr['id']}'></div><script>LoadUser({$arr['id']});</script>";
  42. }
  43. ?>
  44. </td>
  45. </tr>
  46. </table>
  47. </body>
  48. </html>