1787570166428875128c56e683b21208.php 6.0 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485868788
  1. <?php /*a:3:{s:59:"/data/web/mall.valimart.net/app/admin/view/admin/admin.html";i:1657785096;s:61:"/data/web/mall.valimart.net/app/admin/view/public/header.html";i:1657785098;s:66:"/data/web/mall.valimart.net/app/admin/view/public/admin_items.html";i:1657785098;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title><?php echo htmlentities((isset($html_title) && ($html_title !== '')?$html_title:config('ds_config.site_name'))); ?><?php echo htmlentities(lang('system_backend')); ?></title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <link rel="stylesheet" href="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/css/admin.css">
  10. <link rel="stylesheet" href="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.css">
  11. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery-2.1.4.min.js"></script>
  12. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.validate.min.js"></script>
  13. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/jquery.cookie.js"></script>
  14. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/common.js"></script>
  15. <script src="<?php echo htmlentities(ADMIN_SITE_ROOT); ?>/js/admin.js"></script>
  16. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery-ui.min.js"></script>
  17. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/js/jquery-ui/jquery.ui.datepicker-zh-CN.js"></script>
  18. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/perfect-scrollbar.min.js"></script>
  19. <script src="<?php echo htmlentities(PLUGINS_SITE_ROOT); ?>/layer/layer.js"></script>
  20. <script type="text/javascript">
  21. var BASESITEROOT = "<?php echo htmlentities(BASE_SITE_ROOT); ?>";
  22. var ADMINSITEROOT = "<?php echo htmlentities(ADMIN_SITE_ROOT); ?>";
  23. var BASESITEURL = "<?php echo htmlentities(BASE_SITE_URL); ?>";
  24. var HOMESITEURL = "<?php echo htmlentities(HOME_SITE_URL); ?>";
  25. var ADMINSITEURL = "<?php echo htmlentities(ADMIN_SITE_URL); ?>";
  26. </script>
  27. </head>
  28. <body>
  29. <div id="append_parent"></div>
  30. <div id="ajaxwaitid"></div>
  31. <div class="page">
  32. <div class="fixed-bar">
  33. <div class="item-title">
  34. <div class="subject">
  35. <h3><?php echo htmlentities(lang('ds_admin')); ?></h3>
  36. <h5></h5>
  37. </div>
  38. <?php if($admin_item): ?>
  39. <ul class="tab-base ds-row">
  40. <?php if(is_array($admin_item) || $admin_item instanceof \think\Collection || $admin_item instanceof \think\Paginator): if( count($admin_item)==0 ) : echo "" ;else: foreach($admin_item as $key=>$item): ?>
  41. <li><a href="<?php echo htmlentities($item['url']); ?>" <?php if($item['name'] == $curitem): ?>class="current"<?php endif; ?>><span><?php echo htmlentities($item['text']); ?></span></a></li>
  42. <?php endforeach; endif; else: echo "" ;endif; ?>
  43. </ul>
  44. <?php endif; ?>
  45. </div>
  46. </div>
  47. <table class="ds-default-table">
  48. <thead>
  49. <tr class="space">
  50. <th colspan="15" class="nobg"><?php echo htmlentities(lang('ds_list')); ?></th>
  51. </tr>
  52. <tr class="thead">
  53. <th><?php echo htmlentities(lang('admin_index_username')); ?></th>
  54. <th class="align-center"><?php echo htmlentities(lang('admin_index_last_login')); ?></th>
  55. <th class="align-center"><?php echo htmlentities(lang('admin_index_login_times')); ?></th>
  56. <th class="align-center"><?php echo htmlentities(lang('gadmin_name')); ?></th>
  57. <th class="align-center"><?php echo htmlentities(lang('ds_handle')); ?></th>
  58. </tr>
  59. </thead>
  60. <tbody>
  61. <?php if(!(empty($admin_list) || (($admin_list instanceof \think\Collection || $admin_list instanceof \think\Paginator ) && $admin_list->isEmpty()))): if(is_array($admin_list) || $admin_list instanceof \think\Collection || $admin_list instanceof \think\Paginator): if( count($admin_list)==0 ) : echo "" ;else: foreach($admin_list as $key=>$v): ?>
  62. <tr class="hover">
  63. <td><?php echo htmlentities($v['admin_name']); ?></td>
  64. <td class="align-center"><?php echo htmlentities(date('Y-m-d H:i:s',!is_numeric($v['admin_login_time'])? strtotime($v['admin_login_time']) : $v['admin_login_time'])); ?></td>
  65. <td class="align-center"><?php echo htmlentities($v['admin_login_num']); ?></td>
  66. <td class="align-center"><?php echo htmlentities($v['gname']); ?></td>
  67. <td class="w150 align-center">
  68. <?php if(!(empty($v['admin_is_super']) || (($v['admin_is_super'] instanceof \think\Collection || $v['admin_is_super'] instanceof \think\Paginator ) && $v['admin_is_super']->isEmpty()))): ?>
  69. <?php echo htmlentities(lang('admin_index_sys_admin_no')); else: ?>
  70. <a href="javascript:dsLayerConfirm('<?php echo url('admin/admin_del',['admin_id'=>$v['admin_id']]); ?>','<?php echo htmlentities(lang('ds_ensure_del')); ?>')" class="dsui-btn-del"><i class="iconfont"></i><?php echo htmlentities(lang('admin_index_del_admin')); ?></a>
  71. <a href="javascript:dsLayerOpen('<?php echo url('admin/admin_edit',['admin_id'=>$v['admin_id']]); ?>','<?php echo htmlentities(lang('ds_edit')); ?>-<?php echo htmlentities($v['admin_name']); ?>')" class="dsui-btn-edit"><i class="iconfont"></i><?php echo htmlentities(lang('ds_edit')); ?></a>
  72. <?php endif; ?>
  73. </td>
  74. </tr>
  75. <?php endforeach; endif; else: echo "" ;endif; else: ?>
  76. <tr class="no_data">
  77. <td colspan="10"><?php echo htmlentities(lang('ds_no_record')); ?></td>
  78. </tr>
  79. <?php endif; ?>
  80. </tbody>
  81. </table>
  82. <?php echo $show_page; ?>
  83. </div>