62c3b05c6ca4b70b3dcc76e40c09e0c4.php 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. <?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:91:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\leader_team\index.html";i:1557999551;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
  2. <!DOCTYPE html>
  3. <html>
  4. <head>
  5. <meta charset="utf-8">
  6. <meta http-equiv="X-UA-Compatible" content="IE=edge">
  7. <title>安全猫官网</title>
  8. <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
  9. <!-- Bootstrap 3.3.7 -->
  10. <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
  11. <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
  12. <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
  13. <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
  14. <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
  15. <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
  16. <script type="text/javascript">
  17. var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
  18. var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
  19. var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
  20. var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
  21. var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
  22. layui.use('layer', function () {
  23. var layer = layui.layer;
  24. });
  25. </script>
  26. </head>
  27. <body>
  28. <div class="layui-tab layui-tab-card">
  29. <ul class="layui-tab-title">
  30. <li>
  31. <a href="index">管理</a>
  32. </li>
  33. <li class="layui-this">
  34. <a href="add">新增</a>
  35. </li>
  36. <div class="tool-btns">
  37. <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
  38. </div>
  39. </ul>
  40. <div class="layui-tab-content page-tab-content">
  41. <table class="layui-table lay-even">
  42. <colgroup>
  43. <col width="50">
  44. <col width="90">
  45. <col width="60">
  46. <col width="60">
  47. <col width="90">
  48. <col width="100">
  49. <col width="150">
  50. <col width="180">
  51. <col width="100">
  52. <col width="160">
  53. <col>
  54. </colgroup>
  55. <thead>
  56. <tr>
  57. <th>id</th>
  58. <th>姓名</th>
  59. <th>性别</th>
  60. <th>年龄</th>
  61. <th>职位</th>
  62. <th>部门</th>
  63. <th>简介</th>
  64. <th>修改时间</th>
  65. <th>图片</th>
  66. <th><?php echo \think\Lang::get('ds_operation'); ?></th>
  67. </tr>
  68. </thead>
  69. <tbody>
  70. <?php if(is_array($leaderteam_list) || $leaderteam_list instanceof \think\Collection || $leaderteam_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $leaderteam_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$leaderteam): $mod = ($kk % 2 );++$kk;?>
  71. <tr>
  72. <td><?php echo $leaderteam['id']; ?></td>
  73. <td><?php echo $leaderteam['name_ch']; ?></td>
  74. <td><?php echo $leaderteam['gender']; ?></td>
  75. <td><?php echo $leaderteam['age']; ?></td>
  76. <td><?php echo $leaderteam['position']; ?></td>
  77. <td><?php echo $leaderteam['department']; ?></td>
  78. <td><?php echo $leaderteam['info']; ?></td>
  79. <td><?php echo $leaderteam['update_time']; ?></td>
  80. <td><img src="<?php echo $leaderteam['img_url']; ?>" alt=""></td>
  81. <td>
  82. <a href="<?php echo url('edit',['id'=>$leaderteam['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
  83. <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$leaderteam['id']]); ?>','<?php echo \think\Lang::get('ds_confirm_cancel'); ?>')"><i class="layui-icon layui-icon-delete"></i><?php echo \think\Lang::get('ds_del'); ?></a>
  84. </td>
  85. </tr>
  86. <?php endforeach; endif; else: echo "" ;endif; ?>
  87. </tbody>
  88. </table>
  89. <?php echo $show_page; ?>
  90. </div>
  91. </div>
  92. <script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
  93. </body>
  94. </html>