File: /www/wwwroot/www.elwrky.com/runtime/temp/5745746559e1509beea8227936ee7ed8.php
<?php /*a:3:{s:64:"/www/wwwroot/www.elwrky.com/application/cms/view/tags/index.html";i:1640819545;s:68:"/www/wwwroot/www.elwrky.com/application/admin/view/index_layout.html";i:1640819545;s:61:"/www/wwwroot/www.elwrky.com/application/admin/view/layui.html";i:1640819545;}*/ ?>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
<title><?php echo config('system_name'); ?>后台管理系统</title>
<meta name="author" content="<?php echo config('system_name'); ?>">
<meta name="csrf-token" content="<?php echo think\facade\Request::token('__token__'); ?>">
<link rel="stylesheet" href="/static/libs/layui/css/layui.css">
<link rel="stylesheet" href="/static/admin/css/admin.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
<link rel="stylesheet" href="/static/common/font/iconfont.css?v=<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>">
<link rel="stylesheet" href="/static/admin/css/my.css">
<script src="/static/libs/layui/layui.js"></script>
<script src="/static/libs/jquery/jquery.min.js"></script>
<script type="text/javascript">
//全局变量
var GV = {
'site':<?php echo json_encode($site); ?>,
'image_upload_url': '<?php echo !empty($image_upload_url) ? htmlentities($image_upload_url) : url("attachment/upload/upload", ["dir" => "images"]); ?>',
'file_upload_url': '<?php echo !empty($file_upload_url) ? htmlentities($file_upload_url) : url("attachment/upload/upload", ["dir" => "files"]); ?>',
'ueditor_upload_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) : url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor"]); ?>',
'attachment_select_url': '<?php echo !empty($attachment_select_url) ? htmlentities($attachment_select_url) : url("attachment/attachments/select"); ?>',
};
</script>
</head>
<body class="childrenBody <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
<div class="layui-card">
<div class="layui-card-header">Tags管理</div>
<div class="layui-card-body">
<div class="layui-form">
<table class="layui-hide" id="currentTable" lay-filter="currentTable"></table>
</div>
</div>
</div>
<script type="text/javascript">
layui.config({
version: '<?php echo htmlentities(app('config')->get('version.yzncms_release')); ?>',
base: '/static/libs/layui_exts/'
}).extend({
yzn: 'yzn/yzn',
yznForm: 'yznForm/yznForm',
yznTable: 'yznTable/yznTable',
treeGrid: 'treeGrid/treeGrid',
clipboard: 'clipboard/clipboard.min',
notice: 'notice/notice.min',
iconPicker: 'iconPicker/iconPicker.min',
ztree: 'ztree/ztree',
dragsort: 'dragsort/dragsort.min',
tagsinput: 'tagsinput/tagsinput',
xmSelect: 'xmSelect/xm-select',
selectPage: 'selectPage/selectpage.min',
echarts: 'echarts/echarts',
echartsTheme: 'echarts/echartsTheme',
citypicker: 'citypicker/city-picker',
webuploader: 'webuploader/webuploader',
ueditor: 'ueditor/ueditor.min',
}).use('yznForm');
</script>
<script>
layui.use(['yznTable'], function() {
var yznTable = layui.yznTable;
var init = {
table_elem: '#currentTable',
edit_url: "<?php echo url('edit'); ?>",
delete_url: "<?php echo url('del'); ?>",
modify_url: '<?php echo url("multi"); ?>',
};
yznTable.render({
init: init,
id: 'currentTable',
toolbar: ['refresh','delete',
[{
html:'<a class="layui-btn layui-btn-sm layui-btn-warm" href="<?php echo url("create"); ?>"><i class="iconfont icon-warning"></i> 数据重建</a>'
}],
],
url: '<?php echo url("index"); ?>',
cols: [
[
{ type: 'checkbox', fixed: 'left' },
{ field: 'listorder', width: 70, title: '排序', edit: 'text', search: false },
{ field: 'tag', align: "left", title: 'Tags名称', searchOp: 'like' },
{ field: 'tagdir', align: "left", width: 200, title: '拼音', searchOp: 'like' },
{ field: 'usetimes', width: 100, title: '信息总数', align: "center" },
{ field: 'hits', width: 100, title: '点击量',search: 'between',searchTip:'点击量', align: "center" },
{ field: 'url',width: 60,align:"center", title: 'URL',templet:yznTable.formatter.url,search:false},
{ field: 'create_time', width: 180, title: '创建时间', search: 'range', align: "center" },
{ field: 'update_time', width: 180, title: '更新时间', search: 'range', align: "center" },
{ width:120, title: '操作',templet: yznTable.formatter.tool,operat: ['edit','delete'], align: "center"}
]
],
page: {}
});
});
</script>
</body>
</html>