814 lines
69 KiB
PHP
814 lines
69 KiB
PHP
|
<?php if (!defined("RUNTIME")) exit(); /*a:5:{s:65:"C:\lewis\phpstudy_pro\WWW\foxcms\app\admin\view\config\index.html";i:1732932220;s:59:"C:\lewis\phpstudy_pro\WWW\foxcms\app\admin\view\foxcms.html";i:1732932220;s:56:"C:\lewis\phpstudy_pro\WWW\foxcms\app\admin\view\css.html";i:1732932220;s:64:"C:\lewis\phpstudy_pro\WWW\foxcms\app\admin\view\footed-copy.html";i:1732932220;s:59:"C:\lewis\phpstudy_pro\WWW\foxcms\app\admin\view\script.html";i:1732932220;}*/ ?>
|
|||
|
<!DOCTYPE html>
|
|||
|
<html lang="cn">
|
|||
|
<head>
|
|||
|
<meta charset="UTF-8" />
|
|||
|
<meta http-equiv="X-UA-Compatible" content="IE=edge" />
|
|||
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|||
|
<title><?php echo xn_cfg('base.sys_name'); ?></title>
|
|||
|
<link rel="stylesheet" href="<?php echo htmlentities($staticPath); ?>css/foxui-1.32.min.css" />
|
|||
|
<link rel="stylesheet" href="<?php echo htmlentities($staticPath); ?>css/common.min.css" />
|
|||
|
<link rel="stylesheet" href="<?php echo htmlentities($staticPath); ?>css/admin_common.css" />
|
|||
|
|
|||
|
|
|||
|
</head>
|
|||
|
<body>
|
|||
|
<div class="foxcms-container basic-set-page-container apply-page-container">
|
|||
|
<div class="foxcms-header">
|
|||
|
<div class="foxcms-logo">
|
|||
|
<img style="width: 100px;" src="/static/images/foxcms_logo.svg">
|
|||
|
</div>
|
|||
|
<div class="foxcms-modal">
|
|||
|
<?php if($clickName): ?>
|
|||
|
<p><?php echo htmlentities($clickName); ?></p>
|
|||
|
<?php else: ?>
|
|||
|
<button class="foxui-text" onclick="window.history.go(-1)">
|
|||
|
<i class="foxui-icon-fanhui-o"></i>
|
|||
|
<span>返回</span>
|
|||
|
</button>
|
|||
|
<?php endif; ?>
|
|||
|
</div>
|
|||
|
<div class="foxcms-bar">
|
|||
|
<div class="foxcms-bar-left">
|
|||
|
<ul class="foxui-breadcrumb">
|
|||
|
<?php if(is_array($breadcrumb) || $breadcrumb instanceof \think\Collection || $breadcrumb instanceof \think\Paginator): if( count($breadcrumb)==0 ) : echo "" ;else: foreach($breadcrumb as $key=>$vo): ?>
|
|||
|
<li class="foxui-breadcrumb-item">
|
|||
|
<a href="<?php echo htmlentities($vo['url']); ?>"><?php echo htmlentities($vo['title']); ?></a>
|
|||
|
</li>
|
|||
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<div class="foxcms-bar-right">
|
|||
|
|
|||
|
<div class="foxui-dropdown lang-select">
|
|||
|
<?php if(sizeof($otherLangs) > 0): ?>
|
|||
|
<button class="foxui-dropdown-handle foxui-dropdown-icon lang-btn" data-trigger="hover" data-lang="<?php echo htmlentities($curlang['lang']); ?>"><?php echo htmlentities($curlang['name']); ?></button>
|
|||
|
<div class="foxui-dropdown-menu">
|
|||
|
<ul class="foxui-dropdown-slide">
|
|||
|
<?php foreach($otherLangs as $key=>$vo): ?>
|
|||
|
<li class="foxui-dropdown-item" data-id="<?php echo htmlentities($vo['id']); ?>" data-lang="<?php echo htmlentities($vo['lang']); ?>" onclick="langHandover(this)"><?php echo htmlentities($vo['name']); ?></li>
|
|||
|
<?php endforeach; ?>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<?php else: ?>
|
|||
|
<button class="foxui-dropdown-handle foxui-dropdown-icon lang-btn display-none" data-trigger="hover" data-lang="<?php echo htmlentities($curlang['lang']); ?>"><?php echo htmlentities($curlang['name']); ?></button>
|
|||
|
<?php endif; ?>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="item icon index">
|
|||
|
<i class="foxui-icon-shouye-o"></i>
|
|||
|
</div>
|
|||
|
<div class="item role">
|
|||
|
<div class="foxui-dropdown">
|
|||
|
<button class="foxui-text foxui-dropdown-handle foxui-dropdown-icon" data-trigger="hover" id="barService">
|
|||
|
<i class="foxui-icon-kefu-o"></i>
|
|||
|
</button>
|
|||
|
</div>
|
|||
|
<div class="foxui-dropdown dropdown">
|
|||
|
<button class="foxui-text foxui-dropdown-handle foxui-dropdown-icon" data-trigger="hover"><?php echo session("admin_auth.nickname"); ?></button>
|
|||
|
<div class="foxui-dropdown-menu">
|
|||
|
<ul class="foxui-dropdown-slide">
|
|||
|
<li class="foxui-dropdown-item" data-id="1">个人中心</li>
|
|||
|
<li class="foxui-dropdown-item" data-id="2">修改密码</li>
|
|||
|
<li class="foxui-dropdown-item" data-id="3">更新缓存</li>
|
|||
|
<li class="foxui-divided" data-id="4"></li>
|
|||
|
<li class="foxui-dropdown-item" data-id="5">退出系统</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="item icon logout">
|
|||
|
<a onclick="logout()"><i class="foxui-icon-tuichu-o"></i></a>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="foxcms-main">
|
|||
|
<div class="foxcms-nav">
|
|||
|
<ul>
|
|||
|
<?php if(is_array($menu) || $menu instanceof \think\Collection || $menu instanceof \think\Paginator): if( count($menu)==0 ) : echo "" ;else: foreach($menu as $key=>$vo): ?>
|
|||
|
<li>
|
|||
|
<a class="<?php if($pid == $vo['id']): ?>active<?php endif; ?>" href="<?php echo htmlentities($vo['name']); ?>">
|
|||
|
<i class="foxui-<?php echo htmlentities($vo['icon']); ?>"></i>
|
|||
|
<span><?php echo htmlentities($vo['title']); ?></span>
|
|||
|
</a>
|
|||
|
</li>
|
|||
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<?php if(sizeof($chileMenus) > 0): ?>
|
|||
|
<div class="foxcms-menu-nav" style="<?php echo htmlentities($fox_menu); ?>">
|
|||
|
<div class="foxcms-menu-nav-inner" id="foxMenuFrame">
|
|||
|
|
|||
|
<ul class="foxui-menu foxui-type-vertical">
|
|||
|
<?php if(is_array($chileMenus) || $chileMenus instanceof \think\Collection || $chileMenus instanceof \think\Paginator): if( count($chileMenus)==0 ) : echo "" ;else: foreach($chileMenus as $key=>$cm): if(empty($cm['_data']) != true): ?>
|
|||
|
<li class="foxui-menu-submenu">
|
|||
|
<div class="foxui-menu-handle foxui-menu-icon is-active">
|
|||
|
<span><?php echo htmlentities($cm['title']); ?></span>
|
|||
|
</div>
|
|||
|
<div class="foxui-menu-menu" style="display: block">
|
|||
|
<ul class="foxui-menu-slide">
|
|||
|
<?php if(is_array($cm['_data']) || $cm['_data'] instanceof \think\Collection || $cm['_data'] instanceof \think\Paginator): if( count($cm['_data'])==0 ) : echo "" ;else: foreach($cm['_data'] as $key=>$ccm): if(empty($ccm['_data']) != true): ?>
|
|||
|
<li class="foxui-menu-submenu">
|
|||
|
<div class="foxui-menu-handle foxui-menu-icon is-active">
|
|||
|
<span><?php echo htmlentities($ccm['title']); ?></span>
|
|||
|
</div>
|
|||
|
<div class="foxui-menu-menu" style="display: block">
|
|||
|
<ul class="foxui-menu-slide">
|
|||
|
<?php if(is_array($ccm['_data']) || $ccm['_data'] instanceof \think\Collection || $ccm['_data'] instanceof \think\Paginator): if( count($ccm['_data'])==0 ) : echo "" ;else: foreach($ccm['_data'] as $key=>$cccm): if($clickId == $cccm['id']): ?>
|
|||
|
<li class="foxui-menu-item is-active"><?php echo htmlentities($cccm['title']); ?></li>
|
|||
|
<?php else: ?>
|
|||
|
<li class="foxui-menu-item">
|
|||
|
<a href="<?php echo htmlentities($cccm['name']); ?>?columnId=<?php echo htmlentities($cccm['id']); ?>"><?php echo htmlentities($cccm['title']); ?></a>
|
|||
|
</li>
|
|||
|
<?php endif; ?>
|
|||
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<?php else: ?>
|
|||
|
<li class="foxui-menu-item <?php if($clickId == $ccm['id']): ?>is-active<?php endif; ?>">
|
|||
|
<a href="<?php echo htmlentities($ccm['name']); ?>?columnId=<?php echo htmlentities($ccm['id']); ?>"><?php echo htmlentities($ccm['title']); ?></a>
|
|||
|
</li>
|
|||
|
<?php endif; ?>
|
|||
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<?php else: ?>
|
|||
|
<li class="foxui-menu-item <?php if($clickId == $cm['id']): ?>is-active<?php endif; ?>">
|
|||
|
<a href="<?php echo htmlentities($cm['name']); ?>?columnId=<?php echo htmlentities($cm['id']); ?>"><?php echo htmlentities($cm['title']); ?></a>
|
|||
|
</li>
|
|||
|
<?php endif; ?>
|
|||
|
<?php endforeach; endif; else: echo "" ;endif; ?>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
<div class="foxcms-menu-nav-fold">
|
|||
|
<i class="foxui-icon-zuizuo"></i>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<?php endif; ?>
|
|||
|
<div class="foxcms-article foxui-scroll-container has-content-footer">
|
|||
|
<div class="foxcms-content">
|
|||
|
|
|||
|
|
|||
|
|
|||
|
|
|||
|
<div class="foxcms-content-inner">
|
|||
|
<!-- page content -->
|
|||
|
<div class="basic-set-content">
|
|||
|
<div class="section section-panel">
|
|||
|
<input name="bcid" value="<?php echo htmlentities($bcid); ?>" type="hidden"/>
|
|||
|
<input name="id" value="<?php echo htmlentities($basic['id']); ?>" type="hidden"/>
|
|||
|
<div class="section-title">网站状态</div>
|
|||
|
<div class="section-main">
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label class="foxui-required">网站状态:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-radio-group status">
|
|||
|
<div class="foxui-radio <?php if(($base['status']) == 1): ?> is-checked <?php endif; ?>">
|
|||
|
<span class="foxui-radio-input">
|
|||
|
<i class="foxui-radio-icon"></i>
|
|||
|
<input type="radio" value="1" name="status"/>
|
|||
|
</span>
|
|||
|
<span class="foxui-radio-label">启用</span>
|
|||
|
</div>
|
|||
|
<div class="foxui-radio <?php if(($base['status']) == 0): ?> is-checked <?php endif; ?>">
|
|||
|
<span class="foxui-radio-input">
|
|||
|
<i class="foxui-radio-icon"></i>
|
|||
|
<input type="radio" value="0"/>
|
|||
|
</span>
|
|||
|
<span class="foxui-radio-label" name="status">禁用</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="input-box-sub">
|
|||
|
<div class="foxui-textarea">
|
|||
|
<textarea id="status_desc" maxlength="60" autocomplete="off" rows="2" placeholder="网站升级维护中,预计下周一恢复"name="status_desc"><?php echo htmlentities($base['status_desc']); ?></textarea>
|
|||
|
<span class="foxui-textarea-count">0/60</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-title margin-top-46">后台路径</div>
|
|||
|
<div class="section-main">
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label>后台管理路径:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-input-prepend">
|
|||
|
<div class="foxui-prepend-inner is-grey"><?php echo htmlentities($domain); ?></div>
|
|||
|
<input placeholder="请输入网址" required value="<?php echo htmlentities($admin_path); ?>" name="admin_path" />
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div style="font-size:16px; border: 1px solid #dcdfe6; height: 40px;line-height: 40px;border-radius: 0 4px 4px 0;padding: 0 10px;color: #909399;background-color: #f2f6fc;">.php</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-title margin-top-46">网站设置</div>
|
|||
|
<div class="section-main">
|
|||
|
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label class="foxui-required">站点根网址:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-input-prepend">
|
|||
|
<div class="foxui-prepend-inner">
|
|||
|
<div class="foxui-select">
|
|||
|
<div class="foxui-select-handle foxui-select-icon">
|
|||
|
<input name="url_prefix" class="foxui-select-input" readonly="readonly" value="<?php echo htmlentities((isset($basic['url_prefix']) && ($basic['url_prefix'] !== '')?$basic['url_prefix']:'http://')); ?>"/>
|
|||
|
</div>
|
|||
|
<div class="foxui-select-menu">
|
|||
|
<ul class="foxui-select-slide">
|
|||
|
<li class="foxui-select-item" data-id="1">http://</li>
|
|||
|
<li class="foxui-select-item" data-id="2">https://</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<input class="foxui-size-small" placeholder="请输入网站地址" required value="<?php echo htmlentities($basic['url']); ?>" name="url"/>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['url_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<?php if($templateType == 2 || $templateType == 3): ?>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['mobile_domain_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<?php endif; ?>
|
|||
|
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label class="foxui-required">网站名称:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-input-suffix">
|
|||
|
<input class="foxui-size-small" maxlength="15" placeholder="请输入网站名称" value="<?php echo htmlentities($basic['name']); ?>" name="name"/>
|
|||
|
<i class="foxui-suffix-icon foxui-suffix-count">0/15</i>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['name_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label class="foxui-required">首页标题:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-input-suffix">
|
|||
|
<input class="foxui-size-small" maxlength="30" placeholder="请输入首页标题" value="<?php echo htmlentities($basic['title']); ?>" name="title"/>
|
|||
|
<i class="foxui-suffix-icon foxui-suffix-count">0/30</i>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['title_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label class="foxui-required">首页关键词:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-input-suffix">
|
|||
|
<input class="foxui-size-small" maxlength="50" placeholder="请输入首页关键词" value="<?php echo htmlentities($basic['keyword']); ?>" name="keyword"/>
|
|||
|
<i class="foxui-suffix-icon foxui-suffix-count">0/15</i>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['keyword_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group foxui-align-items-start">
|
|||
|
<div class="input-label">
|
|||
|
<label>站点描述:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-textarea">
|
|||
|
<textarea autocomplete="off" rows="2" placeholder="请输入站点描述"name="description"><?php echo htmlentities($basic['description']); ?></textarea>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['description_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<!--<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label>网站默认风格:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-select">
|
|||
|
<div class="foxui-select-handle foxui-select-icon">
|
|||
|
<input class="foxui-select-input foxui-size-small" readonly="readonly" placeholder="请选择网站风格(不选则为默认)" value="<?php echo htmlentities($basic['default_style']); ?>" name="default_style"/>
|
|||
|
<i class="foxui-icon-close-circle"></i>
|
|||
|
</div>
|
|||
|
<div class="foxui-select-menu">
|
|||
|
<ul class="foxui-select-slide">
|
|||
|
<li class="foxui-select-item" data-id="1">default</li>
|
|||
|
<li class="foxui-select-item" data-id="2">simplicity</li>
|
|||
|
<li class="foxui-select-item" data-id="3">fashion</li>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['default_style_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>-->
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label>主页连接:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<input class="foxui-size-small" placeholder="请输入主页地址" required value="<?php echo htmlentities($basic['homepage_url']); ?>" name="homepage_url"/>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['homepage_url_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section-main-item foxui-images-fluid">
|
|||
|
<div class="foxui-input-group foxui-align-items-start">
|
|||
|
<div class="input-label">
|
|||
|
<label>网站LOGO:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-images foxui-images-fluid">
|
|||
|
<div class="foxui-images-card web_logo">
|
|||
|
<ul class="foxui-images-list">
|
|||
|
<?php if($basic['web_logo'] != ""): ?>
|
|||
|
<li class="foxui-images-item foxui-animate-fadeInDown">
|
|||
|
<div class="content">
|
|||
|
<img src="<?php echo htmlentities($basic['web_logo']); ?>" />
|
|||
|
<span class="replace">替换</span>
|
|||
|
<i class="foxui-icon-cuowu-f delete"></i>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<?php endif; ?>
|
|||
|
<div class="foxui-images-handle">
|
|||
|
<div class="foxui-images-handle-inner">
|
|||
|
<i class="foxui-icon-jiahao-o"></i>
|
|||
|
<span class="text">添加图片</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<p class="input-box-info">
|
|||
|
LOGO尺寸比例建议根据前端网站模板的LOGO制作,避免造成错位或变形
|
|||
|
</p>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['web_logo_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group foxui-align-items-start">
|
|||
|
<div class="input-label">
|
|||
|
<label>URL图标:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-images">
|
|||
|
<div class="foxui-images-card web_icon">
|
|||
|
<ul class="foxui-images-list">
|
|||
|
<?php if($basic['web_icon'] != ""): ?>
|
|||
|
<li class="foxui-images-item foxui-animate-fadeInDown">
|
|||
|
<div class="content">
|
|||
|
<img src="<?php echo htmlentities($basic['web_icon']); ?>" />
|
|||
|
<span class="replace">替换</span>
|
|||
|
<i class="foxui-icon-cuowu-f delete"></i>
|
|||
|
</div>
|
|||
|
</li>
|
|||
|
<?php endif; ?>
|
|||
|
<div class="foxui-images-handle">
|
|||
|
<div class="foxui-images-handle-inner">
|
|||
|
<i class="foxui-icon-jiahao-o"></i>
|
|||
|
<span class="text">添加图片</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</ul>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<p class="input-box-info">
|
|||
|
浏览器地址栏Favicon图标
|
|||
|
<span class="example" id="faviconExample" style="margin-left: -12px;"><i class="foxui-icon-wenti-o"></i>示例</span>
|
|||
|
</p>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['web_icon_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label>文档HTML保存路径:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<input class="foxui-size-small" placeholder="请输入路径" value="<?php echo htmlentities($basic['html_save_path']); ?>" name="html_save_path"/>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['html_save_path_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group foxui-align-items-start">
|
|||
|
<div class="input-label">
|
|||
|
<label>网站版权信息:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<div class="foxui-textarea">
|
|||
|
<textarea autocomplete="off" rows="2" placeholder="请输入版板信息"name="copyright"><?php echo htmlentities($basic['copyright']); ?></textarea>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['copyright_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label>网站备案号:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<input class="foxui-size-small" placeholder="请输入网站备案号"value="<?php echo htmlentities($basic['aq']); ?>" name="aq"/>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['aq_call']); ?></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-main-item foxui-images-fluid">
|
|||
|
<div class="foxui-input-group foxui-align-items-start">
|
|||
|
<div class="input-label">
|
|||
|
<label>公安备案号:</label>
|
|||
|
</div>
|
|||
|
<div class="input-box">
|
|||
|
<input class="foxui-size-small" placeholder="请输入公安备案号"value="<?php echo htmlentities($basic['police_aq']); ?>" name="police_aq"/>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<div class="call-field">
|
|||
|
<span class="foxui-tag foxui-light-info"><?php echo htmlentities($basic['police_aq_call']); ?></span>
|
|||
|
</div>
|
|||
|
<p class="input-box-info">
|
|||
|
根据国内相关法规,网站完成工信部ICP备案后,通常需要进行公安备案 <a href="//www.foxcms.cn/help/problem/gonganbeian/10.html" target="_blank"><i class="foxui-icon-wenti-o"></i>操作指南</a>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
<!--动态标签start-->
|
|||
|
<div class="field">
|
|||
|
<?php echo variateFieldTag("basic", $id); ?>
|
|||
|
</div>
|
|||
|
<!--动态标签end-->
|
|||
|
|
|||
|
<div class="foxui-tabs-header foxui-margin-bottom-24" style="height:28px;"></div>
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group foxui-align-items-start copyright_mark">
|
|||
|
<div class="input-label">
|
|||
|
<label>系统版权标识:</label>
|
|||
|
</div>
|
|||
|
<div class="block-box foxui-radio-group foxui-display-flex foxui-flex-column">
|
|||
|
<div class="foxui-radio foxui-margin-left-0 foxui-margin-bottom-12 <?php if($base['copyright_mark'] == 1): ?>is-checked<?php endif; ?>">
|
|||
|
<span class="foxui-radio-input">
|
|||
|
<i class="foxui-radio-icon"></i>
|
|||
|
<input type="radio" value="1">
|
|||
|
</span>
|
|||
|
<span class="foxui-radio-label">本站使用 <a href="//www.foxcms.cn" target="_blank"><span style="color: black;font-weight: bold;">黔狐FoxCMS <?php echo htmlentities($version); ?></span></a> 搭建</span>
|
|||
|
</div>
|
|||
|
<div class="foxui-radio foxui-margin-left-0 foxui-margin-bottom-12 <?php if($base['copyright_mark'] == 2): ?>is-checked<?php endif; ?> ">
|
|||
|
<span class="foxui-radio-input">
|
|||
|
<i class="foxui-radio-icon"></i>
|
|||
|
<input type="radio" value="2">
|
|||
|
</span>
|
|||
|
<span class="foxui-radio-label">Powered by <a href="//www.foxcms.cn" target="_blank"><span style="color: black;font-weight: bold;">FoxCMS <?php echo htmlentities($version); ?> ©</span></a> 2021-<?php echo htmlentities($by_time); ?> FoxCMS.cn</span>
|
|||
|
</div>
|
|||
|
<div class="foxui-radio foxui-margin-left-0 foxui-margin-bottom-12 <?php if($base['copyright_mark'] == 3): ?>is-checked<?php endif; ?>" style="display: flex;">
|
|||
|
<span class="foxui-radio-input">
|
|||
|
<i class="foxui-radio-icon"></i>
|
|||
|
<input type="radio" value="3">
|
|||
|
</span>
|
|||
|
<span class="foxui-radio-label" style="display: flex; padding-left: 4px;">
|
|||
|
<span>本站使用</span>
|
|||
|
<a href="//www.foxcms.cn" target="_blank" style="padding-left: 3px;">
|
|||
|
<span style="color: black;font-weight: bold;display: flex;">
|
|||
|
<?php echo '<?'; ?>
|
|||
|
xml version="1.0" encoding="UTF-8"?>
|
|||
|
<!DOCTYPE svg PUBLIC "-//W3C//DTD SVG 1.1//EN" "http://www.w3.org/Graphics/SVG/1.1/DTD/svg11.dtd">
|
|||
|
<!-- Creator: CorelDRAW 2019 (64-Bit) -->
|
|||
|
<svg xmlns="http://www.w3.org/2000/svg" xml:space="preserve" width="20px" height="100%" version="1.1" style="shape-rendering:geometricPrecision; text-rendering:geometricPrecision; image-rendering:optimizeQuality; fill-rule:evenodd; clip-rule:evenodd"
|
|||
|
viewBox="0 0 44.31 43.24"
|
|||
|
xmlns:xlink="http://www.w3.org/1999/xlink">
|
|||
|
<defs>
|
|||
|
<style type="text/css">
|
|||
|
<![CDATA[
|
|||
|
.fil0 {fill:#FEFEFE}
|
|||
|
.fil1 {fill:#332C2B}
|
|||
|
]]>
|
|||
|
</style>
|
|||
|
</defs>
|
|||
|
<g id="图层_x0020_1">
|
|||
|
<metadata id="CorelCorpID_0Corel-Layer"/>
|
|||
|
<path class="fil0" d="M9.61 14.29c-1.3,-2.75 -3.32,-4.33 -4.98,-6.13l-3.16 -1.65c0,0 -0.59,0.38 -0.83,1.19 -0.25,0.82 -0.4,3.01 -0.43,4.15 -0.04,1.14 1.03,4.57 1.03,4.57 0,0 0.93,2.6 2.47,4.21 1.54,1.62 3.18,2.56 3.18,2.56l0.45 0.14 0.07 0.3c0,0 -0.22,2.05 -0.37,2.61 -0.15,0.56 -0.94,2.04 -1.11,2.18 -0.17,0.15 -0.8,0.6 -0.69,0.8 0.1,0.2 0.93,0.33 0.93,0.33l1.85 0.07 -1.48 1.19 -1.34 0.6 0.22 0.52c0,0 2.19,1.7 3.01,2.27 0.82,0.57 3.69,1.49 4.31,1.73 0.62,0.24 5.5,1.02 5.5,1.02l0.05 0.29 -0.43 0.73 -0.43 0.14 -0.62 0.28 -1.51 0.49 -0.6 0.13 -0.25 -0.25 -0.43 -0.1c0,0 -0.59,-0.06 -0.64,-0.03 -0.06,0.03 -0.3,0.43 -0.3,0.43 0,0 -0.1,-0.18 -0.23,-0.4 -0.13,-0.23 -0.68,-0.54 -0.83,-0.55 -0.15,-0.02 -0.38,0.17 -0.38,0.17l0.01 0.25 0.1 0.38c0,0 -0.77,0.08 -0.94,0.11 -0.17,0.04 -0.46,0.4 -0.64,0.6 -0.19,0.21 -0.29,0.85 -0.3,1.17 0,0.32 0.2,0.39 0.35,0.85 0.15,0.46 0.72,0.67 1.05,0.86 0.33,0.18 1.91,0.04 1.91,0.04l0.89 -0.25 0.91 -0.58 1.54 -0.49 1.39 -0.53 -0.01 0.53 0.12 0 0.06 0.82 1.2 0.24 2.02 0.25c0,0 1.79,0.05 3.39,-0.07 1.59,-0.11 4.07,-0.89 4.07,-0.89l1.46 -0.54 0.06 -0.1 -0.37 -1.96 -0.08 -1.07 0.51 -2.95 0.88 -0.47c-0.1,0.19 -0.19,0.39 -0.29,0.59 -0.22,1.78 -0.25,2.91 0.36,3.28l0.27 0.19 0.21 -0.33c-0.21,-0.16 -0.5,-0.49 -0.61,-1.09 -0.17,-0.97 -0.02,-1.9 0.14,-2.16 0.16,-0.26 0.49,-0.86 0.66,-0.85 0.15,0.01 0.19,-0.31 0.37,-0.55 0,0 3.19,-2.02 3.35,-2.16 0.15,-0.13 2.21,-2.12 2.21,-2.12 0,0 0,0 1.14,-1.27 1.14,-1.28 1.5,-2.87 1.5,-2.87l-0.21 0c0,0 -0.32,-0.01 -0.96,0.05 -0.65,0.06 -1.14,-0.02 -1.59,-0.15 -0.46,-0.14 -1.35,-0.79 -1.35,-0.79 0,0 1.64,-0.38 1.94,-0.55 0.3,-0.17 1.3,-1.05 1.3,-1.05l-0.11 -0.31c0,0 -0.7,-0.31 -1.2,-0.62 -0.49,-0.31 -1.5,-1.41 -1.84,-1.91 -0.35,-0.5 -1.01,-1.66 -1.01,-1.66 0,0 1.12,-1.36 1.5,-1.97 0.38,-0.6 1.23,-2.17 1.48,-4.47 0.26,-2.29 -0.13,-4.45 -0.62,-6.57 -0.48,-2.13 -2.5,-4.7 -2.5,-4.7l-0.33 -0.13 -0.19 0.01c0,0 -1.85,1.4 -2.84,3.88 -0.28,0.72 -1.51,3.54 -1.78,5.52 -0.03,0.23 -0.37,1.04 0.28,1.51 1.04,0.74 2.1,1.59 3.24,3.43 0.66,1.06 1.1,2.03 1.1,2.03 -7.47,-8.07 -14.13,1.38 -12.05,7.89 0.08,0.25 -1.2,0.44 -1.41,0.45 -0.52,-1.93 -0.9,-3.12 -1.78,-4.85 -3.51,-6.13 -8.98,-4.46 -11.61,0.19 -0.07,-1.67 1.11,-4.47 1.62,-6.08zm22.68 23.13c0.09,0.01 0.44,0.07 0.94,0.26 0.59,0.23 1.7,0.14 2.42,0.19 0.72,0.05 1.81,-0.38 1.81,-0.38 0,0 0.07,-0.11 -0.48,-0.68 -0.55,-0.56 -0.27,-3.59 -0.27,-3.59 0,0 -1.42,0.7 -1.84,0.96 -0.43,0.26 -1.97,0.5 -1.97,0.5l-0.27 -0.03 -0.34 2.77zm6.39 -4.73c0.68,-1.06 0.78,-1.55 1.89,-2.02l0.05 -0.34 -0.26 0.03c0,0 0.8,-1.56 1.18,-1.82 0.38,-0.27 1.14,-0.68 1.4,-0.66 0.26,0.02 0.88,0.36 0.96,0.59 0.09,0.22 -0.01,0.73 -0.02,0.99 -0.02,0.26 -0.53,1.23 -0.53,1.23l-0.13 0.15c0,0 -0.01,0.1 0.03,0.27 0.04,0.16 0.14,0.39 0.19,0.5 0.1,0.23 0.45,0.71 0.59,1.71 0.13,0.99 -0.16,2.08 -0.41,2.63 -0.6,1.32 -2.83,2.02 -3.86,1.07 -0.48,-0.45 -1.14,-1.11 -1.24,-1.9 -0.12,-0.94 -0.11,-1.54 0.16,-2.43z"/>
|
|||
|
<g>
|
|||
|
<path class="fil1" d="M22.99 41.14l-0.05 0.02 -0.04 0.02 0 0 -0.07 0.02 -0.01 0.01 0.01 -0.01 0.07 -0.02 0 0 0.04 -0.02 0.05 -0.02 0.01 0 -0.01 0 0.01 0 -0.01 0zm0 0l-0.05 0.02 -0.04 0.02 0 0 -0.07 0.02 -0.01 0.01 0.17 -0.07zm-15.04 -35.28c0.89,0.21 2.15,0.78 2.95,1.26 0.89,0.53 1.15,0.77 1.85,1.33 0.12,0.1 0.15,0.14 0.27,0.25 0.12,0.11 0.18,0.11 0.28,0.26l0.36 -0.27c2.22,-1.66 4.45,-2.42 7.43,-2.42 1.07,0 1.84,0.09 2.83,0.28 0.2,0.04 0.73,0.13 0.87,0.2 0.71,-1.34 0.67,-1.37 1.61,-2.63 0.5,-0.68 1.16,-1.31 1.79,-1.87l1.15 -0.78c-0.24,-0.06 -0.61,-0.19 -0.83,-0.26 -1.61,-0.51 -3.98,-0.89 -5.68,-0.89 -2.63,0 -3.86,0.15 -6.28,0.78 -1.93,0.51 -3.75,1.38 -5.46,2.4 -0.79,0.46 -1.93,1.29 -2.65,1.93 -0.13,0.11 -0.41,0.31 -0.49,0.43zm3.37 32.96l0 0 -0.02 0 -0.01 0 -0.01 0 -0.01 0.01 -0.01 0 -0.01 0 -0.02 0 0 0 -0.01 0.01 -0.02 0 0 0 -0.02 0 0 0 -0.01 0 -0.02 0.01 0 0 -0.01 0 -0.02 0 0 0 -0.02 0.01 -0.04 0.01 -0.02 0 0 0 -0.01 0c-0.36,0.1 -0.64,0.28 -0.83,0.54l0 0c-0.36,0.5 -0.48,1.02 -0.36,1.57l0 0c0.11,0.54 0.39,0.97 0.82,1.29l0 0c0.43,0.31 1.02,0.46 1.79,0.44l0 0c0.4,-0.01 0.75,-0.06 1.07,-0.17l0 0c0.03,-0.01 0.06,-0.02 0.09,-0.03l0 0c0.21,-0.08 0.38,-0.17 0.55,-0.28l0 0c0.01,-0.11 0.01,-0.16 0,-0.27 -0.24,0.14 -0.62,0.32 -0.77,0.38l0 0c-0.03,0.01 -0.06,0.02 -0.08,0.03l0 0c-0.28,0.09 -0.6,0.14 -0.96,0.15l0 0c-0.68,0.01 -1.21,-0.12 -1.6,-0.4l0 0c-0.38,-0.28 -0.63,-0.66 -0.73,-1.15l0 0c-0.11,-0.49 0,-0.96 0.32,-1.4l0 0c0.17,-0.24 0.42,-0.4 0.74,-0.48l0.01 -0.01 0.01 0 0.01 0 0.04 -0.01 0.01 0 0.01 0 0.01 0 0.01 -0.01 0 0 0.02 0 0.01 0 0 0 0.01 -0.01 0.01 0 0.01 0 0.02 0 0 0 0.01 0 0.01 0 0 0 0.02 -0.01 0.01 0 0 0 0.02 0 0 0c0.18,-0.02 0.39,-0.03 0.6,-0.01l0.01 0 0.04 0c-0.24,-0.33 -0.52,-0.84 -0.02,-0.84l0 0c0.01,0 0.02,0 0.04,0.01l0 0c0.14,0 0.3,0.07 0.47,0.19l0 0c0.17,0.12 0.26,0.27 0.36,0.44l0 0c0.02,0.02 0.11,0.23 0.19,0.38l0.08 -0.01 0.03 0 0.57 -0.13c-0.03,-0.04 -0.06,-0.08 -0.09,-0.12l0 0 -0.29 0.05 -0.03 0c-0.01,-0.03 -0.01,-0.08 0,-0.12l0 0c0.01,-0.09 0.05,-0.13 0.1,-0.14l0 0c0.08,0.03 0.16,0.07 0.23,0.15l0 0c0.08,0.09 0.15,0.22 0.22,0.4l0 0c0.21,0.55 0.34,1.51 0.39,2.87l0 0c-0.02,0.22 -0.3,0.28 -0.43,0.35 -0.07,0.03 -0.18,0.06 -0.18,0.06 0.23,0.2 0.29,0.21 0.65,0.2l0 0c0.37,-0.02 0.65,-0.18 0.85,-0.48l0 0c0.13,-0.2 0.22,-0.4 0.27,-0.62l0.34 -0.1c0.55,-0.16 1.28,-0.45 1.82,-0.68l0 0 0 -0.03 0.06 0.22 0 0c0.07,0.16 0.13,0.15 0.28,0.15l0.02 0c-0.09,-1.13 0.81,-2.98 1.27,-4.05l0.17 0c-1.12,2.22 -1.49,3.51 -1.28,4.86 0.46,0.09 0.87,0.18 1.29,0.26 -0.03,-0.01 -0.06,-0.02 -0.09,-0.02 0,-0.01 0,-0.02 0,-0.03l0 0c0.01,-1.37 0.68,-3.08 2.03,-5.11l0.28 -0.02c-1.37,2.03 -2.07,3.8 -2.1,5.16l0 0c0.01,0.01 0.03,0.03 0.04,0.05 0.52,0.09 1.08,0.16 1.77,0.2 0.31,-0.58 0.85,-1.05 1.52,-1.32l0.01 -0.01 0.07 -0.02 0 0 0.04 -0.02 0.05 -0.02 0.01 0c0.38,-0.13 0.79,-0.21 1.22,-0.21 1.08,0 2.03,0.46 2.61,1.17l0.01 -0.01 0.06 -0.01 0.01 0c1.04,-0.24 2.11,-0.56 3.1,-0.97 -0.02,-0.18 -0.06,-0.33 -0.07,-0.37l0 0c-0.01,-0.01 -0.01,-0.01 -0.01,-0.01l0 0c-0.52,-2.01 -0.49,-3.62 -0.04,-5.62l0.25 -0.11c-0.48,2.03 -0.52,3.63 0,5.65l0 0c0.02,0.04 0.06,0.19 0.08,0.38 0.43,-0.18 0.84,-0.37 1.23,-0.58 0,-0.64 0.08,-1.28 0.11,-1.91l0 0c0.01,-0.03 0.01,-0.05 0.01,-0.08 -0.06,-0.03 -0.12,-0.06 -0.18,-0.1 -0.35,-0.22 -0.56,-0.69 -0.58,-1.34 0.04,-1.23 0.13,-2.1 0.45,-2.54l0.09 -0.04 0.22 -0.12c-0.5,0.36 -0.57,1.17 -0.62,2.71 0.02,0.64 0.2,1.07 0.55,1.3l0 0c0.2,0.12 0.41,0.19 0.62,0.2 0.17,-0.01 0.35,-0.06 0.53,-0.15l0 0 0 0c0.12,-0.06 0.18,-0.11 0.23,-0.19l0 0 0 0c0,-0.02 0.01,-0.03 0.02,-0.04l0 -0.01 0 0c0.04,-0.09 0.07,-0.22 0.09,-0.33 1.35,0.25 3,0.23 4.32,-0.03 0.39,0.55 0.83,0.83 1.31,0.83 0.26,0 0.5,-0.08 0.72,-0.25l0 0c0.23,-0.17 0.43,-0.43 0.61,-0.78l0 0c-0.19,-0.03 -0.37,-0.09 -0.54,-0.19l0 0c-0.26,-0.16 -0.5,-0.4 -0.72,-0.72l0 0c-0.43,-0.62 -0.66,-1.36 -0.7,-2.23l0 0c-0.01,-0.12 -0.01,-0.23 -0.01,-0.34l0 0c0,-0.73 0.15,-1.37 0.46,-1.9l0 0c0.15,-0.28 0.33,-0.5 0.54,-0.65l0 0c-0.23,-0.16 -0.47,-0.23 -0.72,-0.23l0 0c0,0 -0.01,0 -0.01,0l0 0c-0.54,0 -0.99,0.35 -1.35,1.06l0 0c-0.08,0.18 -0.16,0.38 -0.23,0.58l0
|
|||
|
</g>
|
|||
|
</g>
|
|||
|
</svg>
|
|||
|
<span style="height: 100%; margin-left: 2px;color: black;">黔狐建站</span>
|
|||
|
</span>
|
|||
|
</a>
|
|||
|
<span style="height: 100%; margin-left: 2px;">智能创建</span>
|
|||
|
|
|||
|
</span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-main-item">
|
|||
|
<div class="foxui-input-group">
|
|||
|
<div class="input-label">
|
|||
|
<label>版权背景颜色:</label>
|
|||
|
</div>
|
|||
|
<div class="foxui-color">
|
|||
|
<div class="foxui-color-handle is-alpha">
|
|||
|
<span class="foxui-color-show" style="background-color: <?php echo htmlentities($base['copyright_color']); ?>;"></span>
|
|||
|
<i class="foxui-icon-close" style="display: none"></i>
|
|||
|
<span class="foxui-color-background"></span>
|
|||
|
<input class="foxui-color-input" value="<?php echo htmlentities($base['copyright_color']); ?>" name="copyright_color">
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="section-main-item foxui-images-fluid">
|
|||
|
<div class="foxui-input-group foxui-align-items-start">
|
|||
|
<label class="input-label">去除版权标识:</label>
|
|||
|
<div class="foxui-switch <?php if($copyrightInfo->is_copyright != 1): ?>is-disabled<?php else: if($base['copyright_remove_mark'] == 1): ?>is-checked<?php endif; ?><?php endif; ?>" data-name="copyright_remove_mark">
|
|||
|
<input type="checkbox" value="" class="foxui-switch-input"/>
|
|||
|
<span class="foxui-switch-core"></span>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
<?php if($copyrightInfo->is_copyright == 1): ?>
|
|||
|
<p class="input-box-info">
|
|||
|
<span style="color: #7de57d; margin-right: 5px;"><i class="foxui-icon-zhengque-f" style="font-size: 16px"></i>已获得版权标识去除许可</span>
|
|||
|
授权码: <span><?php echo htmlentities($copyrightInfo->copyright_code); ?></span>
|
|||
|
</p>
|
|||
|
<?php else: ?>
|
|||
|
<p class="input-box-info" style="margin-bottom: 0px;">
|
|||
|
请务必遵守<a href="//www.foxcms.cn/system/statement/" target="_blank">《FoxCMS授权许可协议》</a>,如果去除请购买版权标识修改许可 <a href="//www.foxcms.cn/price/" target="_blank">立即购买</a>
|
|||
|
</p>
|
|||
|
<?php endif; ?>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="foxcms-content-footer">
|
|||
|
<button class="is-long foxui-size-small foxui-solid-primary" id="save">保存</button>
|
|||
|
</div>
|
|||
|
|
|||
|
<div class="foxcms-content-copy">
|
|||
|
<p>
|
|||
|
<span>Copyright © 2021-<?php echo isset($nowtime) ? htmlentities($nowtime) : '现在'; ?></span>
|
|||
|
<strong>FOXCMS</strong>
|
|||
|
<span>版权所有</span>
|
|||
|
</p>
|
|||
|
</div>
|
|||
|
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</div>
|
|||
|
</body>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/jquery-3.6.0.min.js"></script>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/tinymce/tinymce.min.js"></script>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/echarts.min.js"></script>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/foxui-1.32.min.js"></script>
|
|||
|
<script>
|
|||
|
//全局上传文件端口
|
|||
|
var UPLOAD_FILE_URL = "<?php echo url('upload_files/upload'); ?>";
|
|||
|
//图片粘贴下载
|
|||
|
var UPIMG_URL = "<?php echo url('upload_files/upimg'); ?>";
|
|||
|
var SERVER_URL = "/";
|
|||
|
//配置的后台路径
|
|||
|
var ADMIN_PATH = "/" + "<?php echo config('adminconfig.admin_path'); ?>";
|
|||
|
//静态文件路径
|
|||
|
var STATIC_PATH ="<?php echo config('adminconfig.static_path'); ?>";
|
|||
|
//退出地址
|
|||
|
var LOGOUT_PATH = "<?php echo logout_url(); ?>";
|
|||
|
//栏目模型地址
|
|||
|
var GETCOLUMMODELS_PATH = "<?php echo getColumModels_url(); ?>";
|
|||
|
//个人中心
|
|||
|
var ADMINEDIT_PATH = "<?php echo adminEdit_url(); ?>";
|
|||
|
//更新缓存
|
|||
|
var LOGINCLEARCACHE_PATH = "<?php echo loginClearCache_url(); ?>";
|
|||
|
//修改密码
|
|||
|
var ADMINUPDATEPASSWORD_PATH = "<?php echo adminUpdatePassword_url(); ?>";
|
|||
|
//循环生成静态html
|
|||
|
var SEOALLSITE_PATH = "<?php echo seoAllSite_url(); ?>";
|
|||
|
//单独静态生成
|
|||
|
var SEOADDDATABUILDDETAIL_PATH = "<?php echo seoAddDataBuildDetail_url(); ?>";
|
|||
|
//单独静态栏目生成
|
|||
|
var SINGLEALLSITE_PATH = "<?php echo singleAllSite_url(); ?>";
|
|||
|
//删除幻灯片
|
|||
|
var SLIDEDELETE_PATH = "<?php echo slideDelete_url(); ?>";
|
|||
|
//编辑幻灯片
|
|||
|
var SLIDEEDIT_PATH = "<?php echo slideEdit_url(); ?>";
|
|||
|
//后台首页地址
|
|||
|
var HOME_PATH = "<?php echo url('Index/index'); ?>";
|
|||
|
//切换语言
|
|||
|
var HANDOVER_LANG_PATH = "<?php echo url('handoverLang'); ?>";
|
|||
|
</script>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/rich_text.js"></script>
|
|||
|
<script>
|
|||
|
|
|||
|
foxui.imagesManager.init({
|
|||
|
paginationOption: {
|
|||
|
type: 'solid',
|
|||
|
size: 'small',
|
|||
|
pageSize: 10,
|
|||
|
pageNum: 7,
|
|||
|
pageSizeList: [10, 20, 30, 50],
|
|||
|
isShowJump: true,
|
|||
|
isShowTotal: true,
|
|||
|
isShowSize: true
|
|||
|
},
|
|||
|
url: "<?php echo url('PicManager/picManager'); ?>",
|
|||
|
});
|
|||
|
|
|||
|
foxui.videoManager.init({
|
|||
|
paginationOption: {
|
|||
|
type: 'solid',
|
|||
|
size: 'small',
|
|||
|
pageSize: 10,
|
|||
|
pageNum: 7,
|
|||
|
pageSizeList: [10, 20, 30, 50],
|
|||
|
isShowJump: true,
|
|||
|
isShowTotal: true,
|
|||
|
isShowSize: true,
|
|||
|
},
|
|||
|
url: "<?php echo url('VideoManager/videoManager'); ?>",
|
|||
|
});
|
|||
|
</script>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/common.js"></script>
|
|||
|
<script src="<?php echo htmlentities($staticPath); ?>js/admin_common.js"></script>
|
|||
|
|
|||
|
|
|||
|
<script>
|
|||
|
foxui.confirmtip({
|
|||
|
el: '#faviconExample',
|
|||
|
content: `<img src="/static/images/favicon.png"/>`,
|
|||
|
trigger: 'hover',
|
|||
|
placement:['top','center']
|
|||
|
});
|
|||
|
</script>
|
|||
|
|
|||
|
<script>
|
|||
|
|
|||
|
//面包屑
|
|||
|
let bcid = $("input[name='bcid']").val();
|
|||
|
|
|||
|
|
|||
|
//保存
|
|||
|
$('#save').click(function () {
|
|||
|
|
|||
|
//状态
|
|||
|
let status = $('.status .foxui-radio.is-checked input').val();
|
|||
|
//状态描述
|
|||
|
let status_desc = $('#status_desc').val();
|
|||
|
//站点根网址
|
|||
|
let url_prefix = $('input[name="url_prefix"]').val();
|
|||
|
//网站地址
|
|||
|
let url = $('input[name="url"]').val();
|
|||
|
//手机域名
|
|||
|
let mobile_domain = $('input[name="mobile_domain"]').val();
|
|||
|
//管理员用户名
|
|||
|
let name = $('input[name="name"]').val();
|
|||
|
|
|||
|
//网站风格
|
|||
|
let default_style = $('input[name="default_style"]').val();
|
|||
|
//主页连接
|
|||
|
let homepage_url = $('input[name="homepage_url"]').val();
|
|||
|
//网站logo
|
|||
|
let web_logo = $('.web_logo img').attr('src');
|
|||
|
//网站后台logo
|
|||
|
// let login_logo = $('.login_logo img').attr('src');
|
|||
|
//浏览器地址栏Favicon图标
|
|||
|
let web_icon = $('.web_icon img').attr('src');
|
|||
|
//文档HTML保存路径
|
|||
|
let html_save_path = $('input[name="html_save_path"]').val();
|
|||
|
//网站版权信息
|
|||
|
let copyright = $('textarea[name="copyright"]').val();
|
|||
|
//站点描述
|
|||
|
let description = $('textarea[name="description"]').val();
|
|||
|
//首页标题
|
|||
|
let title = $('input[name="title"]').val();
|
|||
|
//关键字
|
|||
|
let keyword = $('input[name="keyword"]').val();
|
|||
|
//网站备案号
|
|||
|
let aq = $('input[name="aq"]').val();
|
|||
|
let police_aq = $('input[name="police_aq"]').val();
|
|||
|
|
|||
|
let id = $('input[name="id"]').val();
|
|||
|
//后台路径
|
|||
|
let admin_path = $('input[name="admin_path"]').val();
|
|||
|
//版权标识
|
|||
|
let copyright_mark = $('.copyright_mark .foxui-radio.is-checked input').val();
|
|||
|
let copyright_remove_mark = $('div[data-name="copyright_remove_mark"]').hasClass('is-checked')?1:0;
|
|||
|
let copyright_color = $('input[name="copyright_color"]').val();
|
|||
|
|
|||
|
let datas = {
|
|||
|
'status': status, "status_desc": status_desc, "url": url, "name": name, "title": title, "keyword": keyword,
|
|||
|
"default_style": default_style, "homepage_url": homepage_url, "web_logo": web_logo||"",
|
|||
|
"web_icon": web_icon||"", "html_save_path": html_save_path, "copyright": copyright,"mobile_domain":mobile_domain,
|
|||
|
"description": description, "aq": aq, "id": id, "url_prefix": url_prefix, "admin_path": admin_path,police_aq,
|
|||
|
copyright_mark,copyright_remove_mark,copyright_color
|
|||
|
};
|
|||
|
|
|||
|
//拉取会员属性
|
|||
|
let feildUrl = "<?php echo url('Variate/getField'); ?>?group=basic";
|
|||
|
let saveData = getField($(".field"), feildUrl);
|
|||
|
let curData = Object.assign(datas, saveData);
|
|||
|
|
|||
|
foxui.dialog({
|
|||
|
title: '保存',
|
|||
|
content: '您确定要保存吗',
|
|||
|
cancelText: '取消',
|
|||
|
confirmText: '保存',
|
|||
|
confirm: function (callback) {
|
|||
|
ajaxR('<?php echo url("Config/save"); ?>', "post", curData, {},function (res) {
|
|||
|
if (res.code == 1) {
|
|||
|
if (res.data == "") {
|
|||
|
foxui.message({
|
|||
|
type: 'success',
|
|||
|
text: res.msg
|
|||
|
})
|
|||
|
setTimeout('myrefresh()', 1000); //指定10秒刷新一次
|
|||
|
} else {
|
|||
|
window.location.href = "/" + res.data;
|
|||
|
}
|
|||
|
} else {
|
|||
|
foxui.message({
|
|||
|
type: 'warning',
|
|||
|
text: res.msg
|
|||
|
})
|
|||
|
}
|
|||
|
}, function (res) {
|
|||
|
foxui.message({
|
|||
|
type: 'warning',
|
|||
|
text: res.msg
|
|||
|
})
|
|||
|
})
|
|||
|
callback();
|
|||
|
},
|
|||
|
cancel: function () {
|
|||
|
foxui.message({
|
|||
|
type: 'warning',
|
|||
|
text: '取消操作'
|
|||
|
})
|
|||
|
},
|
|||
|
});
|
|||
|
|
|||
|
})
|
|||
|
|
|||
|
</script>
|
|||
|
|
|||
|
|
|||
|
</html>
|