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

51 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/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. <style>.userct{margin:10px 0;width:100%;height:auto}</style>
  12. <script>
  13. function LoadUser(uid)
  14. {
  15. var loadhtml = $DE('loaddiv').innerHTML;
  16. var ajaxdiv = $DE('userct'+uid);
  17. fetch('sys_admin_user_tj.php?dopost=getone&uid='+uid).then(resp=>{
  18. if (resp.ok) {
  19. return resp.text()
  20. }
  21. throw new Error('载入失败');
  22. }).then((d)=>{
  23. ajaxdiv.innerHTML = d;
  24. }).catch((error) => {
  25. ajaxdiv.innerHTML = errMsg;
  26. });
  27. }
  28. </script>
  29. </head>
  30. <body>
  31. <div id="loaddiv" style="display:none">
  32. <p style="text-align:center"><img src="../static/web/img/loadinglit.gif">正在加载</p>
  33. </div>
  34. <table width="98%" cellpadding="3" cellspacing="1" align="center" class="table maintable mt-3 mb-3">
  35. <tr>
  36. <td bgcolor="#f8f8f8"><a href="sys_admin_user.php">管理员帐号</a> &gt; 编辑绩效统计</td>
  37. </tr>
  38. <tr>
  39. <td>
  40. <?php
  41. $dsql->Execute('me', 'SELECT * FROM `#@__admin` ORDER BY id ASC');
  42. while( $arr = $dsql->GetArray('me') )
  43. {
  44. 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>";
  45. }
  46. ?>
  47. </td>
  48. </tr>
  49. </table>
  50. </body>
  51. </html>