国内流行的内容管理系统(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.

57 lines
1.6KB

  1. <!DOCTYPE html>
  2. <html>
  3. <head>
  4. <meta charset="<?php echo $cfg_soft_lang;?>">
  5. <meta http-equiv="X-UA-Compatible" content="IE=Edge,chrome=1">
  6. <title>绩效统计</title>
  7. <link rel="stylesheet" href="../static/web/css/bootstrap.min.css">
  8. <link rel="stylesheet" href="../static/web/font/css/font-awesome.min.css">
  9. <link rel="stylesheet" href="../static/web/css/admin.css">
  10. <script src="../static/web/js/webajax.js"></script>
  11. <style>
  12. .userct {
  13. margin:10px 0;
  14. width:100%;
  15. height:auto;
  16. }
  17. </style>
  18. <script>
  19. function LoadUser(uid)
  20. {
  21. var loadhtml = $DE('loaddiv').innerHTML;
  22. var ajaxdiv = $DE('userct'+uid);
  23. fetch('sys_admin_user_tj.php?dopost=getone&uid='+uid).then(resp=>{
  24. if (resp.ok) {
  25. return resp.text()
  26. }
  27. throw new Error('载入失败');
  28. }).then((d)=>{
  29. ajaxdiv.innerHTML = d;
  30. }).catch((error) => {
  31. ajaxdiv.innerHTML = errMsg;
  32. });
  33. }
  34. </script>
  35. </head>
  36. <body>
  37. <div id="loaddiv" style="display:none">
  38. <p style="text-align:center"><img src="../static/web/img/loadinglit.gif">正在加载</p>
  39. </div>
  40. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  41. <tr>
  42. <td bgcolor="#f8f8f8"><a href="sys_admin_user.php">管理员帐号</a> &gt; 编辑绩效统计</td>
  43. </tr>
  44. <tr>
  45. <td>
  46. <?php
  47. $dsql->Execute('me', 'Select * From `#@__admin` order by id asc');
  48. while( $arr = $dsql->GetArray('me') )
  49. {
  50. 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>";
  51. }
  52. ?>
  53. </td>
  54. </tr>
  55. </table>
  56. </body>
  57. </html>