帝国CMS模板预览插件,帝国CMS 模板
当前目录列表:
1、帝国CMS 什么是插件 2、如何使用帝国CMS模板 3、帝国CMS 批量定时审核 代码 或者插件 我知道帝国CMS 可以设置任务自动刷新首页和栏目 4、关于帝国CMS有没有定时发布的插件
帝国CMS 什么是插件
给各位分享几个常用插件,对于理解和使用帝国CMS插件都很不错:
QQ登陆插件:网页链接
微博登陆插件:网页链接
支付宝登陆插件:网页链接
钉钉登陆插件:网页链接
支付宝支付接口:这个跟上面4个区别较大,定制化程度更高,网页链接

如何使用帝国CMS模板
使用方法:
1.后台导入*.temp模板文件
2.复制skin文件夹至网站根目录覆盖
3.刷新首页,列表页,内容页
4.如果没有变化,修改下栏目,设置栏目使用的模板
帝国CMS 批量定时审核 代码 或者插件 我知道帝国CMS 可以设置任务自动刷新首页和栏目
在首页模板中加入下面代码,尽量放在底部。
script language="javascript" type="text/javascript" src="/e/htmlindex/index_html.php"/script
在 /e/ 建立文件夹 htmlindex 并设置 777权限
将下面代码保存在 /e/htmlindex/index_html.php
修改刷新时间,将文件中1200改为你想要的时间,单位为秒。
?php
require,"../class/connect.php";
include,"../class/db_sql.php";
include,"../class/config.php";
include,"../class/functions.php";
include,"../class/t_functions.php";
require LoadLang,"pub/fun.php";
require,"../data/dbcache/class.php";
require,"../data/dbcache/MemberLevel.php";
include,"../class/chtmlfun.php";
$link=db_connect,;
$empire=new mysqlquery,;
$filepath_s="indexhtmlhc.txt";
$time=time,;
@$filemtime=,intfilemtime,$filepath_s+1200;
/*
函数解释
file_exists, 函数检查文件或目录是否存在。
mkdir, 函数创建目录。
time, 函数返回当前时间的 Unix 时间戳。
filemtime, 函数返回文件内容上次的修改时间。
*/
if ,!file_exists($filepath_s){
fopen,$filepath_s, 'w';
@chmod,$filepath_s, 0777;
ReIndex,;
}elseif,!file_exists($filepath_s || ,filemtime($filepath_s+1200)time,){
fopen,$filepath_s, 'w';
@chmod,$filepath_s, 0777;
ReIndex,;
}else{
// do nothing
}
db_close,;
$empire=null;
?
关于帝国CMS有没有定时发布的插件
帝国有这种的,添加文章那有一个时间,然后在网站前台放一个JS调用文件
2. 本站积分货币获取途径以及用途的解读,想在本站混的好,请务必认真阅读!
3. 本站强烈打击盗版/破解等有损他人权益和违法作为,请各位会员支持正版!
4. 建站教程 > 帝国CMS模板预览插件,帝国CMS 模板


