帝国CMS投稿审核,帝国CMS如何做网站
当前目录列表:
1、帝国CMS在审核信息时出现下面提示,怎么解决 2、帝国CMS 批量定时审核 代码 或者插件 我知道帝国CMS 可以设置任务自动刷新首页和栏目 3、帝国CMS如何自动审核信息 4、为什么会员投稿,不需要审核就到首页了 帝国CMS
帝国CMS在审核信息时出现下面提示,怎么解决
虽然我不是学这个的,,但从你的代码里看出来有两个问题,,,认真看根据他的提示来。 第一列数和行值不搭配,当IP=9354时从***_ecms_news_check中筛选所有重置***——ecms_news。第二,,,后面你慢慢看,我先忙啦

帝国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如何自动审核信息
没注意过这个!自动审核的!投稿的时候设置不审核就行了吧?
为什么会员投稿,不需要审核就到首页了 帝国CMS
在一些会员可以投稿的网站,在文章内容显示投稿会员的头像,名称等字段,使用以下代码直接调用即可:
?php
$userr=sys_ShowMemberInfo,0,'';
?
空间名称:
?=$userr[spacename]?
用户头像:
?=$userr[userpic]?
2. 本站积分货币获取途径以及用途的解读,想在本站混的好,请务必认真阅读!
3. 本站强烈打击盗版/破解等有损他人权益和违法作为,请各位会员支持正版!
4. 建站教程 > 帝国CMS投稿审核,帝国CMS如何做网站


