敬老院养老院最全运营资料-从
2024-04-03 上传《小吃街小吃教程大全》视频教
2024-04-03 上传大型Java架构课程 分布式架构
2024-04-01 上传抖音在线点赞任务发布接单运营
2024-03-11 上传龙年新版UI周易测算网站H5源码
2024-03-11 上传高清怀旧连环画 69G
2024-01-17 上传智能水印相机微信小程序源码
2024-01-15 上传精选200+套手抄报模板
2024-01-15 上传UI设计视频五合一
2024-01-09 上传健康养生赛道:U盘养生音乐,轻松
2024-01-09 上传优秀的返佣商城、分销商城和理
2023-12-29 上传帝国CMS批量修改审核文章未审核状态,批量自定义指定文件上线时间!
用法:
后台增加自定义页面 PHP CODE:
$infouptime=to_time('2016-06-12 10:50:19'); //上线时间$sql=$empire->query("select * from {$dbtbpre}ecms_".$class_r[2][tbname]." where id BETWEEN 1 and 100");while($r=$empire->fetch($sql)){$id=$r[id];$classid=$r[classid];$nihao=$empire->query("update {$dbtbpre}ecms_".$class_r[2][tbname]."_index set checked=0 where id=$r[id]");MoveCheckInfoData($class_r[2][tbname],1,$r['stb'],"id=$r[id]");$pubid=ReturnInfoPubid($classid,$id);$copyids='';$num=$empire->gettotal("select count(*) as total from {$dbtbpre}enewsinfovote where pubid='$pubid' limit 1");if($num) //修改{$empire->query("update {$dbtbpre}enewsinfovote set copyids='$copyids',infouptime='$infouptime' where pubid='$pubid' limit 1");}else //增加{$intime=$empire->query("insert into {$dbtbpre}enewsinfovote(pubid,id,classid,infouptime,copyids) values('$pubid','$id','$classid','$infouptime','$copyids');");}AddClassInfos($classid,'','-1');}