管理刷新任务 > 增加定时刷新任务"; $cdoing=(int)$_GET['cdoing']; $cname=''; $class=''; $r[dotime]=30; $r[isopen]=1; //修改 if($enews=="EditDo") { $doid=(int)$_GET['doid']; $r=$empire->fetch1("select * from {$dbtbpre}enewsdo where doid='$doid'"); $url="管理刷新任务 > 修改定时刷新任务"; if($cdoing&&$cdoing<>$r['doing']) { $r[classid]=''; } } //栏目 if($r['doing']==1||$cdoing==1) { $cname='栏目'; $fcfile="../data/fc/ListEnews.php"; $fcjsfile="../data/fc/cmsclass.js"; if(file_exists($fcjsfile)&&file_exists($fcfile)) { $class=GetFcfiletext($fcjsfile); $acr=explode(",",$r[classid]); $count=count($acr); for($i=1;$i<$count-1;$i++) { $class=str_replace(""; } } elseif($r['doing']==3||$cdoing==3)//自定义列表 { $cname='列表'; $ulsql=$empire->query("select listid,listname from {$dbtbpre}enewsuserlist order by listid"); while($ulr=$empire->fetch($ulsql)) { $selected=strstr($r[classid],','.$ulr[listid].',')?' selected':''; $class.=""; } } elseif($r['doing']==4||$cdoing==4)//自定义页面 { $cname='页面'; $upsql=$empire->query("select id,title from {$dbtbpre}enewspage order by id"); while($upr=$empire->fetch($upsql)) { $selected=strstr($r[classid],','.$upr[id].',')?' selected':''; $class.=""; } } elseif($r['doing']==5||$cdoing==5)//自定义JS { $cname='JS'; $jssql=$empire->query("select jsid,jsname from {$dbtbpre}enewsuserjs order by jsid"); while($jsr=$empire->fetch($jssql)) { $selected=strstr($r[classid],','.$jsr[jsid].',')?' selected':''; $class.=""; } } elseif($r['doing']==6||$cdoing==6)//标题分类页面 { $cname='标题分类'; $infotypesql=$empire->query("select typeid,tname from {$dbtbpre}enewsinfotype order by typeid"); while($infotyper=$empire->fetch($infotypesql)) { $selected=strstr($r[classid],','.$infotyper[typeid].',')?' selected':''; $class.=""; } } if($cdoing) { $r['doing']=$cdoing; } db_close(); $empire=null; ?> 定时刷新任务
位置:
增加定时刷新任务
任务类型:
任务名: (比如首页定时刷新)
任务状态: > 开启 > 关闭
执行时间间隔: 分钟(小于5分钟系统将视为5分钟)

选择


(首页刷新此栏失效;
可同时选择多个;
说明:选择越多占用资源越大.
)

[全部取消]