f71f5e28b8583b0be11dbf82e637c066.php 4.3 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192
  1. <?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:87:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\recruit\index.html";i:1557993261;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="90">
  44. <col width="150">
  45. <col width="200">
  46. <col width="150">
  47. <col width="90">
  48. <col width="200">
  49. <col width="80">
  50. <col width="240">
  51. <col>
  52. </colgroup>
  53. <thead>
  54. <tr>
  55. <th>id</th>
  56. <th>招聘岗位</th>
  57. <th>详情</th>
  58. <th>地址</th>
  59. <th>排序</th>
  60. <th>修改时间</th>
  61. <th>状态</th>
  62. <th><?php echo \think\Lang::get('ds_operation'); ?></th>
  63. </tr>
  64. </thead>
  65. <tbody>
  66. <?php if(is_array($recruit_list) || $recruit_list instanceof \think\Collection || $recruit_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $recruit_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$recruit): $mod = ($kk % 2 );++$kk;?>
  67. <tr>
  68. <td><?php echo $recruit['id']; ?></td>
  69. <td><?php echo $recruit['name']; ?></td>
  70. <td><?php echo $recruit['detail']; ?></td>
  71. <td><?php echo $recruit['address']; ?></td>
  72. <td><?php echo $recruit['sort']; ?></td>
  73. <td><?php echo $recruit['update_time']; ?></td>
  74. <td><?php if($recruit['status']==1): ?>发布<?php else: ?>撤销<?php endif; ?></td>
  75. <td>
  76. <a href="<?php echo url('edit',['id'=>$recruit['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-edit"></i><?php echo \think\Lang::get('ds_edit'); ?></a>
  77. <a class="layui-btn layui-btn-danger layui-btn-xs" href="javascript:dsLayerConfirm('<?php echo url('del',['id'=>$recruit['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>
  78. </td>
  79. </tr>
  80. <?php endforeach; endif; else: echo "" ;endif; ?>
  81. </tbody>
  82. </table>
  83. </div>
  84. </div>
  85. <script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>
  86. </body>
  87. </html>