<?php /*a:2:{s:69:"/www/wwwroot/103.108.66.222_1111/app/backend/view/sys/config/set.html";i:1734163371;s:66:"/www/wwwroot/103.108.66.222_1111/app/backend/view/layout/main.html";i:1734156624;}*/ ?>
<!doctype html>
<html lang="en">
<head>
    <meta charset="utf-8">
    <title><?php echo syscfg('site','sys_name'); ?>后台管理</title>
    <meta property="og:keywords" content="<?php echo syscfg('site','site_seo_keywords'); ?>" />
    <meta property="og:description" content="<?php echo syscfg('site','site_seo_desc'); ?>" />
    <meta name="renderer" content="webkit">
    <meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
    <meta name="viewport" content="width=device-width, initial-scale=1, maximum-scale=1">
    <meta name="apple-mobile-web-app-status-bar-style" content="black">
    <meta name="apple-mobile-web-app-capable" content="yes">
    <meta name="referrer" content="never">
    <meta name="format-detection" content="telephone=no">
    <link rel="shortcut icon" href="/favicon.ico" type="image/x-icon"/>
    <link rel="stylesheet" href="/static/plugins/layui/css/layui.css?v=<?php echo syscfg('site','site_version'); ?>" media="all" />
    <link rel="stylesheet" href="/static/backend/css/comm.css?v=<?php echo syscfg('site','site_version'); ?>" media="all">
    <link rel="stylesheet" href="/static/backend/css/global.css?v=<?php echo syscfg('site','site_version'); ?>" media="all" />
    <!--    <script src="/static/plugins/jquery/jquery-3.7.1.min.js"></script>-->
    <script src="/static/plugins/layui/layui.js?v=<?php echo syscfg('site','site_version'); ?>" charset="utf-8"></script>
    <style>
        .tox-promotion,
        .tox-statusbar__branding {  
            display: none;  
        }
    </style>
    <?php echo token_meta(); ?>
    <script>
        window.Config = <?php echo json_encode($config); ?>;
        window.FormArray = <?php echo isset($formData)?(json_encode($formData)):'""'; ?>,
        window.STATIC ='/static'
        window.PLUGINS = '/static/plugins';
        window.APP = '<?php echo htmlentities($APP); ?>';
        window.CONTROLLER = '<?php echo htmlentities($CONTROLLER); ?>';
        window.ACTION = '<?php echo htmlentities($ACTION); ?>';
        window.ADMIN_PATH = '<?php echo env("ADMIN_PATH", "backend"); ?>';
    </script>
</head>

<body style="padding: 10px;background: #fff">

<div class="fun-container" id="app">

    <blockquote class="layui-elem-quote layui-text">
    <legend><?php echo lang('config'); ?><?php echo lang('list'); ?></legend>
</blockquote>
<div class="layui-tab">
    <ul class="layui-tab-title">
        <li class="layui-this"><?php echo lang('site setting'); ?></li>
        <!--<li class=""><?php echo lang('upload setting'); ?></li>-->
        <!--<li class=""><?php echo lang('water setting'); ?></li>-->
        <!--<li class=""><?php echo lang('other'); ?></li>-->
    </ul>
    <div class="layui-tab-content">
        <!--网站配置-->
        <div class="layui-tab-item layui-show">
            <form class="layui-form" action="<?php echo __u('site'); ?>" lay-filter="form">
                <?php echo form_input('site_name','text',['label'=>"Site name",'verify'=>"required"]); ?>
                <?php echo form_input('site_domain','text',['label'=>"Site Domain",'verify'=>"required|url"]); ?>
                <?php echo form_input('site_email','text',['label'=>"Site Email"]); ?>
                <?php echo form_upload('site_logo',['type'=>'checkbox'],$formData?$formData['site_logo']:''); ?>
                <?php echo form_textarea('site_seo_title',['label'=>'Site title','verify'=>"required"]); ?>
                <?php echo form_textarea('site_seo_keywords',['label'=>'Meta keywords','verify'=>"required"]); ?>
                <?php echo form_textarea('site_seo_desc',['label'=>'Meta description','verify'=>"required"]); ?>
                <?php echo form_textarea('site_copyright',['label'=>'All right','verify'=>"required"],'2023 www.FunAdmin.com Apache2 license'); ?>
                <?php echo form_submitbtn(true,['show'=>1]); ?>
            </form>
        </div>
        <!--上传配置-->
        <div class="layui-tab-item">
            <form class="layui-form " lay-filter="form">
                <?php echo form_select('upload_editor',
                ['tinymce'=>'tinymce','ueditor'=>'ueditor',
                'umeditor'=>"umeditor",'quill '=>'quill',
                'wangeditor'=>'wangeditor','ckeditor'=>"ckeditor",
                'summernote'=>"summernote",'vditor'=>'vditor',
                'codemirror'=>'codemirror', 'jodit'=>"jodit",
                'simditor '=>'simditor',
                ],
                ['label'=>'Editor'],$formData['upload_editor']??''); ?>

                <?php echo form_input('upload_file_type','text',['label'=>"File Type"],'bmp|png|gif|jpg|jpeg|zip|rar|txt|ppt|xls|doc|mp3|mp4'); ?>
                <?php echo form_input('upload_file_max','text',['label'=>"Maxfilesize",'verify'=>'number','tips'=>"M"],'50'); ?>
                <?php echo form_radio('upload_chunk',[1=>'是',0=>'否'],['label'=>'是否分片']); ?>
                <?php echo form_input('upload_chunksize','text', ['label'=>"分片大小",'verify'=>'number']); ?>
                <div class="layui-form-item">
                    <label class="layui-form-label"><?php echo lang('Upload Driver'); ?></label>
                    <div class="layui-input-block">
                        <select name="upload_driver" lay-verify="required" lay-search="">
                            <option value="">--<?php echo lang('Select'); ?>--</option>
                            <option value="local"><?php echo lang('local'); ?></option>
                            <option value="alioss"><?php echo lang('AliOSS'); ?></option>
                            <option value="qiniuoss"><?php echo lang('QiniuOSS'); ?></option>
                            <option value="tencos"><?php echo lang('Tencos'); ?></option>
                            <option value="bos"><?php echo lang('baidu'); ?></option>
                            <option value="obs"><?php echo lang('huawei'); ?></option>
                        </select>
                        <div class="layui-form-mid layui-word-aux">M <?php echo lang('Driver'); ?>：1 M = 1024 KB</div>
                    </div>
                </div>
                <?php echo form_submitbtn(true,['show'=>1]); ?>
            </form>
        </div>
        <div class="layui-tab-item">
            <form class="layui-form " lay-filter="form">
                <?php echo form_radio('upload_water',[0=>'No',1=>'Image',2=>'text'],['label'=>"water"]); ?>
                <?php echo form_radio('upload_water_position',
                [1=>'左上角',2=>'上居中',3=>'右上角',4=>"左居中",5=>"居中",6=>"右居中",7=>"左下角",8=>"下居中",9=>"右下角"],
                ['label'=>"waterposition"]); ?>
                <?php echo form_input('upload_water_alpha','text',['label'=>"wateralpha",'verify'=>'number','tips'=>"0-100"],'50'); ?>
                <?php echo form_input('upload_water_size','text',['label'=>"waterSize",'verify'=>'number','tips'=>""],'50'); ?>
                <?php echo form_color('upload_water_color',['label'=>"watercolor"]); ?>
                <?php echo form_upload('upload_water_thumb',['label'=>'image/text'],$formData['upload_water_thumb']??''); ?>
                <?php echo form_submitbtn(true,['show'=>1]); ?>
            </form>
        </div>
        <div class="layui-tab-item">
            <form class="layui-form " lay-filter="form">
                <?php echo form_radio('app_debug',[1=>'是',0=>'否'],['label'=>'Debug']); ?>
                <?php echo form_input('site_version','text',['label'=>'Version']); ?>
                <?php echo form_input('site_layer_width','text',['label'=>'弹窗宽度'],'50%'); ?>
                <?php echo form_input('site_layer_height','text',['label'=>'弹窗高度'],'100%'); ?>
                <?php echo form_radio('site_layer_offset',[
                'r'=> '右边缘(默认)',
                'auto'=>'坐标始终垂直水平居中',
                't'=>'上边缘',
                'b' =>'下边缘',
                'l'=> '左边缘',
                'rt'=> '右上角',
                'rb'=> '右下角',
                'lt'=> '左上角',
                'lb' =>'左下角',
                ],['label'=>'弹窗位置'],'r'); ?>
                <?php echo form_radio('site_layer_anim',[
                'slideLeft'=>'从右边缘往左(默认)',
                'slideDown'=>'从上边缘往下',
                'slideUp'=>'从下边缘往上',
                'slideRight'=>'从左边缘往右',
                '0'=>'平滑放大',
                '1'=>'从上掉落',
                '2'=>' 从最底部往上滑入',
                '3'=>'从左滑入',
                '4'=>'从左翻滚',
                '5'=>' 渐显',
                '6'=>' 抖动',
                ],['label'=>'弹窗特效'],'slideLeft'); ?>
                <?php echo form_submitbtn(true,['show'=>1]); ?>
            </form>
        </div>


    </div>
</div>




</div>
</body>
</html>
<!--[if lt IE 9]>
<script src="https://cdn.staticfile.org/html5shiv/r29/html5.min.js"></script>
<script src="https://cdn.staticfile.org/respond.js/1.4.2/respond.min.js"></script>
<![endif]-->
<script defer src="/static/require.min.js?v=<?php echo syscfg('site','site_version'); ?>" data-main="/static/js/require-backend<?php echo syscfg('site','app_debug')?'':'.min'; ?>.js?v=<?php echo syscfg('site','site_version'); ?>" charset="utf-8"></script>

<?php if(!empty($formScript)): ?><?php echo $formScript; ?><?php endif; if(!empty($tableScript)): ?><?php echo $tableScript; ?><?php endif; ?>
