<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:96:"C:\phpStudy\PHPTutorial\WWW\aqm-web\public/../application/admin\view\development_case\index.html";i:1557892080;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="100">
                <col width="200">
                <col width="100">
                <col width="200">
                <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><?php echo \think\Lang::get('ds_operation'); ?></th>
            </tr>
            </thead>
            <tbody>
            <?php if(is_array($case_list) || $case_list instanceof \think\Collection || $case_list instanceof \think\Paginator): $kk = 0; $__LIST__ = $case_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$case): $mod = ($kk % 2 );++$kk;?>
            <tr>
                <td><?php echo $case['id']; ?></td>
                <td><?php echo $case['name']; ?></td>
                <td><?php echo $case['sort']; ?></td>
                <td><?php echo $case['type']; ?></td>
                <td><?php echo $case['update_time']; ?></td>
                <td><?php if($case['status']==1): ?>展示<?php else: ?>未展示<?php endif; ?></td>
                <td>
                    <!--<a href="<?php echo url('detail',['id'=>$case['id']]); ?>" class="layui-btn layui-btn-xs"><i class="layui-icon layui-icon-detail"></i><?php echo \think\Lang::get('ds_detail'); ?></a>-->
                    <a href="<?php echo url('edit',['id'=>$case['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'=>$case['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>
    </div>
</div>
<script type="text/javascript" src="<?php echo ADMIN_SITE_ROOT; ?>/js/jquery.edit.js"></script>

    </body>
</html>



