快上网专注成都网站设计 成都网站制作 成都网站建设
成都网站建设公司服务热线:028-86922220

网站建设知识

十年网站开发经验 + 多家企业客户 + 靠谱的建站团队

量身定制 + 运营维护+专业推广+无忧售后,网站问题一站解决

帝国cms自动审核文件 帝国cms自动采集审核

帝国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=(int)filemtime($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如何自动审核信息

没注意过这个!自动审核的!投稿的时候设置不审核就行了吧?

帝国cms文章可审核自动排版嘛

帝国cms文章可审核自动排版,帝国cms是一款编辑器,帝国cms的主要功能有自动排版、图片排版、简繁转换、文章审核,所以帝国cms文章可审核自动排版。


分享文章:帝国cms自动审核文件 帝国cms自动采集审核
标题路径:http://6mz.cn/article/dddsjgj.html

其他资讯