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/ly.fwmnzf.com/runtime/temp/f5bf7d403320e94206699577075666cf.php
<?php /*a:3:{s:67:"/www/wwwroot/crm.jmfdbn.com/application/cms/view/category/edit.html";i:1619409779;s:68:"/www/wwwroot/crm.jmfdbn.com/application/admin/view/index_layout.html";i:1620206728;s:61:"/www/wwwroot/crm.jmfdbn.com/application/admin/view/layui.html";i:1619409779;}*/ ?>
<!DOCTYPE html>
<html>

<head>
    <meta charset="utf-8">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <title>报表管理系统</title>
    <meta name="author" content="YZNCMS">
    <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", "module" => request()->module()]); ?>',
        'file_upload_url': '<?php echo !empty($file_upload_url) ? htmlentities($file_upload_url) :  url("attachment/upload/upload", ["dir" => "files", "module" => request()->module()]); ?>',
        'jcrop_upload_url': '<?php echo !empty($jcrop_upload_url) ? htmlentities($jcrop_upload_url) :  url("attachment/Attachments/cropper"); ?>',
        'ueditor_upload_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) :  url("attachment/upload/upload", ["dir" => "images","from"=>"ueditor", "module" => request()->module()]); ?>',
        'ueditor_grabimg_url': '<?php echo !empty($ueditor_upload_url) ? htmlentities($ueditor_upload_url) :  url("attachment/Attachments/geturlfile"); ?>',
        'image_select_url': '<?php echo !empty($image_select_url) ? htmlentities($image_select_url) :  url("attachment/Attachments/select"); ?>',
        'filter_word_url': '<?php echo !empty($filter_word_url) ? htmlentities($filter_word_url) :  url("admin/ajax/filterWord"); ?>',
    };
    </script>
</head>

<body class="childrenBody <?php echo defined('IS_DIALOG') && IS_DIALOG ? 'is-dialog' : ''; ?>">
    
<form class="layui-form" method="post">
    <div class="layui-tab">
        <ul class="layui-tab-title">
            <li class="layui-this">基本设置</li>
            <li>选项设置</li>
            <li id="modeTab">模板设置</li>
            <li>权限设置</li>
        </ul>
        <div class="layui-tab-content">
            <div class="layui-tab-item layui-show">
                <div class="layui-form-item">
                    <label>上级菜单</label>
                    <div class="w300">
                        <select name="parentid">
                            <option value="0">作为顶级栏目</option>
                            <?php echo $category; ?>
                        </select>
                    </div>
                </div>
                <div class="layui-form-item">
                    <label>栏目标题 </label>
                    <div class="w300">
                        <input type="text" name="catname" autocomplete="off" lay-verify="required" placeholder="栏目名称" class="layui-input" value="<?php echo htmlentities($data['catname']); ?>">
                    </div>
                </div>
                <div class="layui-form-item">
                    <label>唯一标识</label>
                    <div class="w300">
                        <input type="text" name="catdir" autocomplete="off" placeholder="唯一标识" class="layui-input" value="<?php echo htmlentities($data['catdir']); ?>">
                    </div>
                    <div class="layui-form-mid layui-word-aux">留空自动生成拼音,英文数字组成</div>
                </div>
                <div class="layui-form-item web_link">
                    <label>链接地址</label>
                    <div>
                        <div class="layui-input-inline w300">
                            <input type="text" name="url" autocomplete="off" placeholder="自定义链接地址" class="layui-input" id="url" value="<?php echo htmlentities($data['url']); ?>">
                        </div>
                        <div class="layui-input-inline">
                            <select lay-filter="fasttype">
                                <option data-url="">常用内部链接</option>
                                <option data-url="cms/index/index">首页</option>
                                <?php if(isset(cache("Cms_Config")['site_url_mode']) && 1==cache("Cms_Config")['site_url_mode']): ?>
                                <option data-url="cms/index/lists?catid=2">列表页/单页</option>
                                <option data-url="cms/index/shows?catid=2&id=1">详情页</option>
                                <?php else: ?>
                                <option data-url="cms/index/lists?catdir=Introduction">列表页/单页</option>
                                <option data-url="cms/index/shows?catdir=Introduction&id=1">详情页</option>
                                <?php endif; if(isModuleInstall('formguide')): ?>
                                <option data-url="formguide/index/index?id=2">表单页</option>
                                <?php endif; ?>
                            </select>
                        </div>
                    </div>
                    <div style="clear: both;"></div>
                    <div class="layui-form-mid layui-word-aux">有值时生效,内部链接格式:模块/控制器/操作?参数=参数值&...,外部链接则必须http://开头</div>
                </div>
                <div class="layui-form-item web_seo">
                    <label>栏目简介</label>
                    <div class="w300">
                        <textarea name="description" placeholder="栏目简介" class="layui-textarea"><?php echo htmlentities($data['description']); ?></textarea>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label>栏目图片</label>
                    <div class="layui-form-field-label">
                        <div class="js-upload-image">
                            <?php echo \util\Form::images('image','',$data['image']) ?>
                        </div>
                    </div>
                </div>
                <div class="layui-form-item layui-form-text">
                    <label>栏目图标</label>
                    <div class="layui-form-field-label">
                        <div class="js-upload-image">
                            <?php echo \util\Form::images('icon','',$data['icon']) ?>
                        </div>
                    </div>
                </div>
            </div>
            <div class="layui-tab-item">
                <div class="layui-form-item">
                    <label>在导航显示</label>
                    <div class="w300">
                        <input type="radio" name="status" value="1" title="显示" <?php if($data['status'] == '1'): ?>checked<?php endif; ?>>
                        <input type="radio" name="status" value="0" title="隐藏" <?php if($data['status'] == '0'): ?>checked<?php endif; ?>>
                    </div>
                </div>
                    <div class="layui-form-item">
                        <label>显示排序</label>
                        <div class="w300">
                            <input type="text" name="listorder" autocomplete="off" placeholder="显示排序" class="layui-input" value="<?php echo htmlentities($data['listorder']); ?>">
                        </div>
                    </div>
                    <div class="layui-form-item web_seo">
                        <label>网页标题</label>
                        <div class="w300">
                            <input type="text" name="setting[meta_title]" autocomplete="off" placeholder="针对搜索引擎设置的标题" class="layui-input" value="<?php echo htmlentities($setting['meta_title']); ?>">
                        </div>
                    </div>
                    <div class="layui-form-item web_seo">
                        <label>网页关键词</label>
                        <div class="w300">
                            <input type="text" name="setting[meta_keywords]" autocomplete="off" placeholder="关键字中间用半角逗号隔开" class="layui-input" value="<?php echo htmlentities($setting['meta_keywords']); ?>">
                        </div>
                    </div>
                    <div class="layui-form-item web_seo">
                        <label>网页描述</label>
                        <div class="w300">
                            <textarea name="setting[meta_description]" placeholder="针对搜索引擎设置的网页描述" class="layui-textarea"><?php echo htmlentities($setting['meta_description']); ?></textarea>
                        </div>
                    </div>
                </div>
                <div class="layui-tab-item">
                    <div class="layui-form-item web_list">
                        <label>栏目首页模板</label>
                        <div class="w300">
                            <select name="setting[category_template]">
                                <option value="category.<?php echo config('template.view_suffix'); ?>" selected>默认栏目首页:category.<?php echo config('template.view_suffix'); ?></option>
                                <?php if(is_array($tp_category) || $tp_category instanceof \think\Collection || $tp_category instanceof \think\Paginator): $i = 0; $__LIST__ = $tp_category;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <option value="<?php echo htmlentities($vo); ?>" <?php if($setting['category_template'] == $vo): ?>selected<?php endif; ?>><?php echo htmlentities($vo); ?> </option>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </select>
                        </div>
                        <div class="layui-form-mid layui-word-aux">新增模板以category_xx.<?php echo config('template.view_suffix'); ?>形式,【含有子栏目时生效】</div>
                    </div>
                    <div class="layui-form-item web_list">
                        <label>栏目列表页模板</label>
                        <div class="w300">
                            <select name="setting[list_template]">
                                <option value="list.<?php echo config('template.view_suffix'); ?>" selected>默认栏目列表页:list.<?php echo config('template.view_suffix'); ?></option>
                                <?php if(is_array($tp_list) || $tp_list instanceof \think\Collection || $tp_list instanceof \think\Paginator): $i = 0; $__LIST__ = $tp_list;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <option value="<?php echo htmlentities($vo); ?>" <?php if($setting['list_template'] == $vo): ?>selected<?php endif; ?>><?php echo htmlentities($vo); ?> </option>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </select>
                        </div>
                        <div class="layui-form-mid layui-word-aux">新增模板以list_xx.<?php echo config('template.view_suffix'); ?>形式,【没有子栏目时生效】</div>
                    </div>
                    <div class="layui-form-item web_list">
                        <label>内容页模板</label>
                        <div class="w300">
                            <select name="setting[show_template]">
                                <option value="show.<?php echo config('template.view_suffix'); ?>" selected>默认内容页:show.<?php echo config('template.view_suffix'); ?></option>
                                <?php if(is_array($tp_show) || $tp_show instanceof \think\Collection || $tp_show instanceof \think\Paginator): $i = 0; $__LIST__ = $tp_show;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                                <option value="<?php echo htmlentities($vo); ?>" <?php if($setting['show_template'] == $vo): ?>selected<?php endif; ?>><?php echo htmlentities($vo); ?> </option>
                                <?php endforeach; endif; else: echo "" ;endif; ?>
                            </select>
                        </div>
                        <div class="layui-form-mid layui-word-aux">新增模板以show_xx.<?php echo config('template.view_suffix'); ?>形式</div>
                    </div>
                    <div class="layui-form-item web_list">
                        <label>模板应用到子栏目</label>
                        <div class="w300">
                            <input type="radio" name="template_child" value="1" title="是">
                            <input type="radio" name="template_child" value="0" title="否" checked>
                        </div>
                    </div>
                </div>
                <div class="layui-tab-item">
                    <?php if(isModuleInstall('member')): ?>
                    <div class="layui-form-item web_list">
                        <label>会员组权限</label>
                        <table class="layui-table" style="max-width: 250px;">
                          <colgroup>
                            <col width="150">
                            <col width="100">
                          </colgroup>
                          <thead>
                            <tr>
                              <th>会员组名称</th>
                              <th>允许投稿</th>
                            </tr> 
                          </thead>
                          <tbody>
                            <?php if(is_array($Member_Group) || $Member_Group instanceof \think\Collection || $Member_Group instanceof \think\Paginator): $i = 0; $__LIST__ = $Member_Group;if( count($__LIST__)==0 ) : echo "" ;else: foreach($__LIST__ as $key=>$vo): $mod = ($i % 2 );++$i;?>
                            <tr>
                              <td><?php echo htmlentities($vo['name']); ?></td>
                              <td><input type="checkbox" name="priv_groupid[]" value="add,<?php echo htmlentities($vo['id']); ?>" title="允许" lay-skin="primary" <?php  echo model("cms/CategoryPriv")->check_category_priv($privs,'add',$vo['id'],0); ?>></td>
                            </tr>
                            <?php endforeach; endif; else: echo "" ;endif; ?>
                          </tbody>
                        </table>
                    </div>
                    <?php endif; ?>
                </div>
            </div>
            <input type="hidden" name="modelid" value="<?php echo htmlentities($data['modelid']); ?>">
            <input type="hidden" name="type" value="2">
            <input name="id" type="hidden" value="<?php echo htmlentities($data['id']); ?>">
            <div class="layui-form-item layer-footer">
                <div>
                    <button class="layui-btn" lay-submit>立即提交</button>
                    <button type="reset" class="layui-btn layui-btn-primary">重置</button>
                </div>
            </div>
        </div>
</form>

    
    <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',
	notice: 'notice/notice',
	iconPicker: 'iconPicker/iconPicker',
	tableSelect: 'tableSelect/tableSelect',
	ztree: 'ztree/ztree',
	dragsort: 'dragsort/dragsort',
	tagsinput: 'tagsinput/tagsinput',
	xmSelect: 'xmSelect/xm-select',
	selectPage: 'selectPage/selectpage',
	echarts: 'echarts/echarts',
	echartsTheme: 'echarts/echartsTheme',
	citypicker: 'citypicker/city-picker',
	webuploader: 'webuploader/webuploader',
	ueditor: 'ueditor/ueditor.min',
}).use('yznForm');
</script>
    
    
<script type="text/javascript">
layui.use(['form','yznForm'], function() {
    var form = layui.form,
    yznForm = layui.yznForm;

    yznForm.listen();
    form.on('select(fasttype)', function(data) {
        $('#url').val($(data.elem).find("option:selected").attr("data-url"));
    });
});
</script>

</body>

</html>