//取消指定栏目所有审核信息
$cksql=$empire->query("select * from {$dbtbpre}ecms_news where id between 1 and 10000 order by id");
while($ck=$empire->fetch($cksql)){
$infoid=$ck[id];
$classid=$ck[classid];
DelNewsFile($ck[filename],$ck[newspath],$classid,0,$ck[groupid]);//删除旧信息文件
$sql=$empire->query("update {$dbtbpre}ecms_news_index set checked=0 where id='$infoid'"); //索引表的checked字段设置值为0;
MoveCheckInfoData($class_r[$classid][tbname],1,$ck['stb'],"id='$infoid'"); //未审核互转
AddClassInfos($classid,'','-1'); //更新栏目信息数