<?php if (!defined('THINK_PATH')) exit(); /*a:2:{s:43:"themes/admin_h/admin\recycle_bin\index.html";i:1615187961;s:61:"D:\jsur\quant-server\public\themes\admin_h\public\header.html";i:1615187961;}*/ ?>
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
     <!-- HTML5 shim for IE8 support of HTML5 elements -->
    <!--[if lt IE 9]>
    <script src="https://oss.maxcdn.com/libs/html5shiv/3.7.0/html5shiv.js"></script>
    <![endif]-->
    <link href="/themes/admin_h/public/assets/css/bootstrap.min.css?v=3.3.6" rel="stylesheet">
    <link href="/static/font-awesome/css/font-awesome.min.css" rel="stylesheet" type="text/css">
    <link href="/themes/admin_h/public/assets/css/animate.css" rel="stylesheet">
    <link href="/themes/admin_h/public/assets/css/style.css?v=4.1.0" rel="stylesheet">
    <!--[if lt IE 9]>
    <script src="https://cdn.bootcss.com/respond.js/1.4.2/respond.min.js"></script>
    <![endif]-->
    <script type="text/javascript">
        //全局变量
        var GV = {
            ROOT: "/",
            WEB_ROOT: "/",
            JS_ROOT: "static/js/",
            APP: '<?php echo \think\Request::instance()->module(); ?>'/*当前应用名*/
        };
    </script>
    <style type="text/css">
        .form-required{
            color:red;
        }
    </style>
    <script src="/themes/admin_h/public/assets/js/jquery-1.10.2.min.js"></script>
    <script src="/static/js/wind.js"></script>
    <script src="/themes/admin_h/public/assets/js/bootstrap.min.js?v=3.3.6"></script>
    <script src="/themes/admin_h/public/assets/js/content.js?v=1.0.0"></script>
    <script>
        Wind.css('artDialog');
        Wind.css('layer');
        $(function () {
            $("[data-toggle='tooltip']").tooltip({
                container:'body',
                html:true,
            });
            $("li.dropdown").hover(function () {
                $(this).addClass("open");
            }, function () {
                $(this).removeClass("open");
            });
        });
    </script>

</head>
<body class="gray-bg">
    <div class="wrapper wrapper-content animated fadeInUp">
        <div class="row">
            <div class="col-sm-12">
                <div class="ibox float-e-margins">
                    <div class="ibox-title">
                        <h5>回收站列表</h5>
                    </div>
                    <div class="ibox-content">
                        <table class="table table-hover">
                            <thead>
                                <tr>
                                    <th>ID</th>
                                    <th>内容名称</th>
                                    <th>内容类型</th>
                                    <th>删除时间</th>
                                    <th>操作人</th>
                                    <th><?php echo lang('ACTIONS'); ?></th>
                                </tr>
                            </thead>
                            <tbody>
                                <?php if(is_array($list) || $list instanceof \think\Collection || $list instanceof \think\Paginator): if( count($list)==0 ) : echo "" ;else: foreach($list as $key=>$vo): ?>
                                    <tr>
                                        <td><?php echo $vo['id']; ?></td>
                                        <td>
                                            <span class="line"><?php echo $vo['name']; ?></span>
                                        </td>
                                        <td><?php echo lang('TABLE_'.strtoupper($vo['table_name'])); ?></td>
                                        <td> <?php echo date('Y-m-d H:i:s',$vo['create_time']); ?></td>
                                        <td><?php echo $vo['user']['user_login']; ?></td>
                                        <td>
                                            <a href="<?php echo url('RecycleBin/restore',array('id'=>$vo['id'])); ?>" class="js-ajax-dialog-btn" data-msg="确定要还原吗？">还原</a>
                                            <a href="<?php echo url('RecycleBin/delete',array('id'=>$vo['id'])); ?>" class="js-ajax-delete"><?php echo lang('DELETE'); ?></a>
                                        </td>
                                    </tr>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </tbody>
                        </table>
                    </div>
                </div>
            </div>
        </div>
    </div>
<script src="/static/js/admin.js"></script>
</body>
</html>