<?php
require '../../../zb_system/function/c_system_base.php';
require '../../../zb_system/function/c_system_admin.php';
$zbp->Load();
$action = 'root';
$appid = 'tpure';
if (!$zbp->CheckRights($action)) {
$zbp->ShowError(6);
die();
}
if (!$zbp->CheckPlugin($appid)) {
$zbp->ShowError(48);
die();
}
//配置页标题
$blogtitle = $zbp->themeapp->name.$zbp->lang['tpure']['set'];
$act = $_GET['act'] == "base" ? 'base' : $_GET['act'];
require $zbp->path . 'zb_system/admin/admin_header.php';
require $zbp->path . 'zb_system/admin/admin_top.php';
//判断是否安装“UEditor”插件,配置页图片上传依赖此插件
$ueUrl = $zbp->host .'zb_users/plugin/AppCentre/main.php?id=228';
if($zbp->LoadApp('plugin', 'UEditor')->isloaded){
echo '<script type="text/javascript" src="' . $zbp->host . 'zb_users/plugin/UEditor/ueditor.config.php"></script>';
echo '<script type="text/javascript" src="' . $zbp->host . 'zb_users/plugin/UEditor/ueditor.all.min.js"></script>';
}else{
$zbp->ShowHint('bad', $zbp->lang['tpure']['pleaseinstall'].' (<a href="'. $ueUrl .'">'. $zbp->lang['tpure']['ueditor'] .'</a>) '. $zbp->lang['tpure']['plugin'] .'!');
}
?>
<link rel="stylesheet" href="./script/admin.css?v=<?php echo $zbp->themeapp->version?>">
<script type="text/javascript" src="./script/custom.js?v=<?php echo $zbp->themeapp->version?>"></script>
<div class="twrapper">
<div class="theader">
<div class="theadbg"><div class="tips">提示:<strong>Ctrl + S</strong> 可快速保存设置</div></div>
<div class="tuser">
<div class="tuserimg"><img src="style/images/sethead.png" /></div>
<div class="tusername"><?php echo $blogtitle; ?></div>
</div>
<div class="tmenu">
<ul>
<?php tpure_SubMenu($act); ?>
</ul>
</div>
</div>
<div class="tmain">
<?php
if ($act == 'base') {
if (isset($_POST['PostLOGO'])) {
CheckIsRefererValid();
$zbp->Config('tpure')->PostLOGO = $_POST['PostLOGO']; //网站LOGO
$zbp->Config('tpure')->PostLOGOON = $_POST['PostLOGOON']; //图片LOGO开关
$zbp->Config('tpure')->PostLOGOHOVERON = $_POST['PostLOGOHOVERON']; //LOGO划过动效开关
$zbp->Config('tpure')->PostFAVICON = $_POST['PostFAVICON']; //浏览器标签栏图标
$zbp->Config('tpure')->PostFAVICONON = $_POST['PostFAVICONON']; //浏览器标签栏图标开关
$zbp->Config('tpure')->PostTHUMB = $_POST['PostTHUMB']; //固定缩略图
$zbp->Config('tpure')->PostTHUMBON = $_POST['PostTHUMBON']; //默认缩略图开关(无图默认)
$zbp->Config('tpure')->PostRANDTHUMBON = $_POST['PostRANDTHUMBON']; //随机缩略图开关(无图默认)
$zbp->Config('tpure')->PostIMGON = $_POST['PostIMGON']; //列表缩略图总开关(有则展示)
$zbp->Config('tpure')->PostSIDEIMGON = $_POST['PostSIDEIMGON']; //侧栏主题模块缩略图
$zbp->Config('tpure')->PostBANNERON = $_POST['PostBANNERON']; //首页banner总开关
$zbp->Config('tpure')->PostBANNER = $_POST['PostBANNER']; //首页banner图片
$zbp->Config('tpure')->PostBANNERDISPLAYON = $_POST['PostBANNERDISPLAYON']; //首页banner滚动效果开关
$zbp->Config('tpure')->PostBANNERALLON = $_POST['PostBANNERALLON']; //banner全站展示开关
$zbp->Config('tpure')->PostBANNERPCHEIGHT = $_POST['PostBANNERPCHEIGHT']; //首页banner电脑端高度
$zbp->Config('tpure')->PostBANNERMHEIGHT = $_POST['PostBANNERMHEIGHT']; //首页banner移动端端高度
$zbp->Config('tpure')->PostBANNERFONT = $_POST['PostBANNERFONT']; //首页banner文字内容
$zbp->Config('tpure')->PostSEARCHON = $_POST['PostSEARCHON']; //导航搜索功能开关
$zbp->Config('tpure')->PostSCHTXT = $_POST['PostSCHTXT']; //导航搜索默认文字
$zbp->Config('tpure')->PostVIEWALLON = $_POST['PostVIEWALLON']; //内容页查看全部开关
$zbp->Config('tpure')->PostVIEWALLHEIGHT = $_POST['PostVIEWALLHEIGHT'];
$zbp->Config('tpure')->PostVIEWALLSTYLE = $_POST['PostVIEWALLSTYLE'];
$zbp->Config('tpure')->PostVIEWALLSINGLEON = $_POST['PostVIEWALLSINGLEON'];
$zbp->Config('tpure')->PostVIEWALLPAGEON = $_POST['PostVIEWALLPAGEON'];
$zbp->Config('tpure')->PostLISTINFO = json_encode($_POST['post_list_info']); //列表辅助信息
$zbp->Config('tpure')->PostARTICLEINFO = json_encode($_POST['post_article_info']); //文章辅助信息
$zbp->Config('tpure')->PostPAGEINFO = json_encode($_POST['post_page_info']); //页面辅助信息
$zbp->Config('tpure')->PostSINGLEKEY = $_POST['PostSINGLEKEY']; //上下篇左右键翻页
$zbp->Config('tpure')->PostPAGEKEY = $_POST['PostPAGEKEY']; //列表底部分页条左右键翻页
$zbp->Config('tpure')->PostRELATEON = $_POST['PostRELATEON']; //文章页相关文章开关
$zbp->Config('tpure')->PostRELATECATE = $_POST['PostRELATECATE']; //文章页相关文章仅显示当前分类相关
$zbp->Config('tpure')->PostRELATESTYLE = $_POST['PostRELATESTYLE']; //文章页相关文章样式(图文|精简)
$zbp->Config('tpure')->PostRELATEDIALLEL = $_POST['PostRELATEDIALLEL']; //文章页相关文章精简列数
$zbp->Config('tpure')->PostRELATENUM = $_POST['PostRELATENUM']; //文章页相关文章展示个数
$zbp->Config('tpure')->PostAJAXON = $_POST['PostAJAXON']; //分页AJAX加载开关
$zbp->Config('tpure')->PostLOADPAGENUM = $_POST['PostLOADPAGENUM']; //AJAX自动加载页数
$zbp->Config('tpure')->PostARTICLECMTON = $_POST['PostARTICLECMTON']; //文章评论开关
$zbp->Config('tpure')->PostCMTMAILON = $_POST['PostCMTMAILON']; //文章评论邮箱字段开关
$zbp->Config('tpure')->PostCMTSITEON = $_POST['PostCMTSITEON']; //文章评论网址字段开关
$zbp->Config('tpure')->PostPAGECMTON = $_POST['PostPAGECMTON']; //页面评论开关
$zbp->Config('tpure')->VerifyCode = $_POST['VerifyCode']; //自定义验证码出现的字符集
$zbp->Config('tpure')->PostFILTERCATEGORY = $_POST['PostFILTERCATEGORY']; //首页过滤分类
$zbp->Config('tpure')->PostGREYON = $_POST['PostGREYON']; //整站变灰开关
$zbp->Config('tpure')->PostGREYSTATE = $_POST['PostGREYSTATE']; //0.首页变灰,1.整站变灰
$zbp->Config('tpure')->PostGREYDAY = $_POST['PostGREYDAY']; //设置指定日期网站变灰
$zbp->Config('tpure')->PostSETNIGHTON = $_POST['PostSETNIGHTON']; //网站开关灯
$zbp->Config('tpure')->PostSETNIGHTAUTOON = $_POST['PostSETNIGHTAUTOON']; //网站自动开关灯
$zbp->Config('tpure')->PostSETNIGHTSTART = $_POST['PostSETNIGHTSTART']; //关灯开始时间
$zbp->Config('tpure')->PostSETNIGHTOVER = $_POST['PostSETNIGHTOVER']; //关灯结束时间
$zbp->Config('tpure')->PostTIMESTYLE = $_POST['PostTIMESTYLE']; //日期时间样式
$zbp->Config('tpure')->PostTIMEFORMAT = $_POST['PostTIMEFORMAT']; //时间格式
$zbp->Config('tpure')->PostCOPYNOTICEON = $_POST['PostCOPYNOTICEON']; //版权声明开关
$zbp->Config('tpure')->PostCOPYNOTICEMOBILEON = $_POST['PostCOPYNOTICEMOBILEON']; //版权声明移动端开关
$zbp->Config('tpure')->PostCOPYURLON = $_POST['PostCOPYURLON']; //版权声明链接地址
$zbp->Config('tpure')->PostQRON = $_POST['PostQRON']; //二维码开关
$zbp->Config('tpure')->PostQRSIZE = $_POST['PostQRSIZE']; //二维码尺寸
$zbp->Config('tpure')->PostCOPYNOTICE = $_POST['PostCOPYNOTICE']; //版权声明内容
$zbp->Config('tpure')->PostSHAREARTICLEON = $_POST['PostSHAREARTICLEON']; //文章�
破碎的天堂鸟
- 粉丝: 9977
- 资源: 2943
最新资源
- 信捷XC PLC与力士乐VFC-x610变频器通讯程序原创可直接用于生产的程序,程序带注释,并附送触摸屏程序,有接线方式和设置,通讯地址说明等 程序采用轮询,可靠稳定 器件:信捷XC3的PLC,博世
- CMIP6 变量详细表格
- KF2EDGK系列5.08接线端子,带3D封装
- 信捷XC PLC与3台力士乐VFC-x610变频器通讯通讯 原创可直接用于生产的程序,程序带注释,并附送触摸屏程序,有接线方式和设置,通讯地址说明等 程序采用轮询,可靠稳定 器件:信捷XC3的PLC
- org.xmind.ui.mindmap-3.6.1.jar
- 16台搅拌机定时控制程序16台搅拌机定时控制,使用三菱FX系列PLC,威伦通触摸屏,具备完善的控制功能
- 微网双层优化模型matlab 采用yalmip编写三个微网的分层优化模型,考虑电价的负荷响应,综合配电网运营商收益和用户购电成本,程序运行稳定
- rv1126交叉编译工具链gcc-arm-8.3-2019.02-x86-64-arm-linux-gnueabihf.tar.xz和安装步骤
- 1960-2023年世界各国国民总收入数据
- 风储深度调峰模型matlab 考虑风储的调峰模型,采用cplex作为求解器,实现不同主体出力优化控制,程序运行稳定,有参考资料,
- 计算机系统安全性与性能评估:IOMMU在Linux环境下的性能研究及其优化策略
- 电动汽车蒙特卡洛分析matlab 通过matlab程序编写电动汽车蒙特卡洛模型,得到汽车行驶里程的概率分布曲线和充电功率曲线,程序运行可靠,有参考资料
- 考虑交通流量的电动汽车充电站规划matlab 程序采用matlab编制,采用粒子群算法,结合交通网络流量,得到最终充电站规划方案,程序运行可靠
- rustdesk-1.3.6-x86-64.msi
- 电动汽车优化模型matlab 狼群算法
- 你还在为伺服驱动器 FPGA架构苦恼吗,本方案FPGA代码实现电流环 速度环 位置环 SVPWM 坐标变 测速 分频 滤波器等,程序方便移植不同的平台,具有很高的研究价值
资源上传下载、课程学习等过程中有任何疑问或建议,欢迎提出宝贵意见哦~我们会及时处理!
点击此处反馈