国内流行的内容管理系统(CMS)多端全媒体解决方案 https://www.dedebiz.com
Nelze vybrat více než 25 témat Téma musí začínat písmenem nebo číslem, může obsahovat pomlčky („-“) a může být dlouhé až 35 znaků.

46 řádky
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. var loadhtml = $DE('loaddiv').innerHTML;
  14. var ajaxdiv = $DE('userct'+uid);
  15. fetch('sys_admin_user_tj.php?dopost=getone&uid='+uid).then(resp=>{
  16. if (resp.ok) {
  17. return resp.text()
  18. }
  19. throw new Error('加载失败');
  20. }).then((d) => {
  21. ajaxdiv.innerHTML = d;
  22. }).catch((error) => {
  23. ajaxdiv.innerHTML = errMsg;
  24. });
  25. }
  26. </script>
  27. </head>
  28. <body>
  29. <table align="center" class="table maintable my-3">
  30. <tr>
  31. <td bgcolor="#f5f5f5"><a href="sys_admin_user.php">管理员帐号</a> - 管理员绩效统计</td>
  32. </tr>
  33. <tr>
  34. <td>
  35. <div id="loaddiv" class="text-center" style="display:none"><img src="../static/web/img/loadinglit.gif"></div>
  36. <?php
  37. $dsql->Execute('me', 'SELECT * FROM `#@__admin` ORDER BY id ASC');
  38. while ($arr = $dsql->GetArray('me')) {
  39. echo "<div id='userct{$arr['id']}' class='container-fluid'></div><script>LoadUser({$arr['id']});</script>";
  40. }
  41. ?>
  42. </td>
  43. </tr>
  44. </table>
  45. </body>
  46. </html>