<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:87:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\recruit\index.html";i:1557999376;s:75:"C:\phpStudy\PHPTutorial\WWW\aqm-web\application\admin\view\layout\home.html";i:1557480234;}*/ ?>
<!DOCTYPE html>
<html>
    <head>
        <meta charset="utf-8">
        <meta http-equiv="X-UA-Compatible" content="IE=edge">
        <title>安全猫官网</title>
        <meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
        <!-- Bootstrap 3.3.7 -->
        <link rel="stylesheet" href="<?php echo PLUGINS_SITE_ROOT; ?>/layui/css/layui.css">
        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/css/admin.css">
        <link rel="stylesheet" href="<?php echo ADMIN_SITE_ROOT; ?>/iconfont/iconfont.css">
        <script src="<?php echo PLUGINS_SITE_ROOT; ?>/jquery-2.1.4.min.js"></script>
        <script src="<?php echo ADMIN_SITE_ROOT; ?>/js/admin.js"></script>
        <script type="text/javascript" src="<?php echo PLUGINS_SITE_ROOT; ?>/layui/layui.js"></script>
        <script type="text/javascript">
            var BASESITEROOT = "<?php echo BASE_SITE_ROOT; ?>";
            var ADMINSITEROOT = "<?php echo ADMIN_SITE_ROOT; ?>";
            var BASESITEURL = "<?php echo BASE_SITE_URL; ?>";
            var HOMESITEURL = "<?php echo HOME_SITE_URL; ?>";
            var ADMINSITEURL = "<?php echo ADMIN_SITE_URL; ?>";
            layui.use('layer', function () {
                var layer = layui.layer;
            });
        </script>
    </head>
    <body>
        
<div class="layui-tab layui-tab-card">
    <ul class="layui-tab-title">
        <li>
            <a href="index">管理</a>
        </li>
        <li class="layui-this">
            <a href="add">新增</a>
        </li>
        <div class="tool-btns">
            <a href="javascript:location.reload();" title="刷新当前页面" class="iconfont icon-reload"></a>
        </div>
    </ul>
    <div class="layui-tab-content page-tab-content">
        <table class="layui-table lay-even">
            <colgroup>
                <col width="90">
                <col width="150">
                <col width="200">
                <col width="150">
                <col width="90">
                <col width="200">
                <col width="80">
                <col width="240">
                <col>
            </colgroup>
            <thead>
            <tr>
                <th>id</th>
                <th>招聘岗位</th>
                <th>详情</th>
                <th>地址</th>
                <th>排序</th>
                <th>修改时间</th>
                <th>状态</th>
                <th><?php echo \think\Lang::get('ds_operation'); ?></th>
            </tr>
            </thead>
            <tbody>
            <?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;?>
            <tr>
                <td><?php echo $recruit['id']; ?></td>
                <td><?php echo $recruit['name']; ?></td>
                <td><?php echo $recruit['detail']; ?></td>
                <td><?php echo $recruit['address']; ?></td>
                <td><?php echo $recruit['sort']; ?></td>
                <td><?php echo $recruit['update_time']; ?></td>
                <td><?php if($recruit['status']==1): ?>发布<?php else: ?>撤销<?php endif; ?></td>
                <td>
                    <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>
                    <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>
                </td>
            </tr>
            <?php endforeach; endif; else: echo "" ;endif; ?>
            </tbody>
        </table>
        <?php echo $show_page; ?>
    </div>
</div>
<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>

    </body>
</html>



