HEX
Server: nginx/1.28.1
System: Linux 10-41-63-61 6.8.0-31-generic #31-Ubuntu SMP PREEMPT_DYNAMIC Sat Apr 20 00:40:06 UTC 2024 x86_64
User: www (1001)
PHP: 7.4.33
Disabled: passthru,exec,system,putenv,chroot,chgrp,chown,shell_exec,popen,proc_open,pcntl_exec,ini_alter,ini_restore,dl,openlog,syslog,readlink,symlink,popepassthru,pcntl_alarm,pcntl_fork,pcntl_waitpid,pcntl_wait,pcntl_wifexited,pcntl_wifstopped,pcntl_wifsignaled,pcntl_wifcontinued,pcntl_wexitstatus,pcntl_wtermsig,pcntl_wstopsig,pcntl_signal,pcntl_signal_dispatch,pcntl_get_last_error,pcntl_strerror,pcntl_sigprocmask,pcntl_sigwaitinfo,pcntl_sigtimedwait,pcntl_exec,pcntl_getpriority,pcntl_setpriority,imap_open,apache_setenv
Upload Files
File: /www/wwwroot/cms.smpolia.com/runtime/temp/1d542775650e92646a2989a25fa91bd2.php
<?php /*a:3:{s:70:"/www/wwwroot/cms.smpolia.com/application/diywap/view/diywap/index.html";i:1663122896;s:69:"/www/wwwroot/cms.smpolia.com/application/admin/view/index_layout.html";i:1663749615;s:62:"/www/wwwroot/cms.smpolia.com/application/admin/view/layui.html";i:1663749615;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>YZNCMS后台管理系统</title>
    <meta name="author" content="YZNCMS">
    <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')); ?>">
    <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">页面列表</div>
    <div class="layui-card-body">
        <blockquote class="layui-elem-quote">H5预览说明:网站运行目录新建一个diywap目录,然后将模块中的uniapp目录文件进行编译打包,放置进入方可预览</blockquote>
        <table class="layui-hide" id="currentTable" lay-filter="currentTable"></table>
    </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 table = layui.yznTable;

    var init = {
        table_elem: '#currentTable',
        table_render_id: 'currentTable',
        add_url: "<?php echo url('add'); ?>",
        edit_url: "<?php echo url('edit'); ?>",
        delete_url: "<?php echo url('del'); ?>",
        modify_url: '<?php echo url("multi"); ?>',
    };

    table.render({
        init: init,
        toolbar: ['refresh', [{
            text: '添加',
            url: init.add_url,
            method: 'open',
            icon: 'iconfont icon-add',
            class: 'layui-btn layui-btn-normal layui-btn-sm',
            extend: 'data-full="true"',
        }], 'delete', ],
        url: '<?php echo url("index"); ?>?sort=listorder',
        cols: [
            [
                { type: 'checkbox', fixed: 'left' },
                { field: 'listorder', width: 60, title: '排序', edit: 'text', search: false },
                { field: 'id', width: 100, title: '页面ID' },
                { field: 'page_name', width: 150, title: '页面名称' },
                { field: 'page_type', width: 90, title: '页面类型', templet: yznTable.formatter.label, selectList: { 1: '首页', 2: '自定义' }, custom: { 1: "blue", 2: "cyan" } },
                { field: 'url', title: 'H5预览链接', templet: '<div><a class="layui-btn layui-btn-primary layui-btn-xs" href="{{d.url}}" target="_blank">{{d.url}}</a></div>',},
                { field: 'create_time', width: 180, title: '添加时间', search: 'range' },
                { field: 'update_time', width: 180, title: '更新时间' },
                {
                    width: 150,
                    title: '操作',
                    templet: yznTable.formatter.tool,
                    operat: [
                        [{
                            text: '设为首页',
                            url: '',
                            method: 'href',
                            class: 'layui-btn layui-btn-xs layui-btn-normal',
                            extend: 'data-request data-table="currentTable"',
                            hidden: function(row) {
                                return row.page_type == '1';
                            },
                            url: function(row) {
                                return '<?php echo url("sethome"); ?>?id=' + row.id;
                            },
                        }],
                        [{
                            text: "<i class='iconfont icon-brush_fill'></i>",
                            title: '编辑信息',
                            url: init.edit_url,
                            method: 'open',
                            class: 'layui-btn layui-btn-success layui-btn-xs',
                            extend: 'data-full="true"',
                        }], 'delete'
                    ]
                }
            ]
        ],
        page: {}
    });
});
</script>

</body>

</html>