管理采集节点界面
打开/e/admin/ListInfoClass.php 搜索$classurl=sys_ReturnBqClassname($getcurlr,9); 在后面添加 //节点名称 $cr=$empire->fetch1("select classname,newsclassid,tbname,hiddenload from {$dbtbpre}enewsinfoclass where classid='".$r[classid]."'"); $addwhere=" and checked=0"; //显示已导入的信息 if($cr['hiddenload']) { $addwhere=""; } $query="select * from {$dbtbpre}ecms_infotmp_".$cr[tbname]." where classid='".$r[classid]."'".$addwhere; $totalquery="select count(*) as total from {$dbtbpre}ecms_infotmp_".$cr[tbname]." where classid='".$r[classid]."'".$addwhere; $num=$empire->gettotal($totalquery);
搜索<td height=25><div align=center><a href=CheckCj.php?classid=".$r[classid].$ecms_hashur['ehref'].">".$fun_r['CheckCj']."</a></div></td> 改成<td height=25><div align=center><a href=CheckCj.php?classid=".$r[classid].$ecms_hashur['ehref'].">".$fun_r['CheckCj']."(<font color=red> [".$num."]</font></b>条未入库) </a></div></td>
管理采集节点界面(分页)也是也一样
打开/e/admin/ListPageInfoClass.php 搜索$classurl=sys_ReturnBqClassname($getcurlr,9); 在后面添加 //节点名称 $cr=$empire->fetch1("select classname,newsclassid,tbname,hiddenload from {$dbtbpre}enewsinfoclass where classid='".$r[classid]."'"); $addwhere=" and checked=0"; //显示已导入的信息 if($cr['hiddenload']) { $addwhere=""; } $query="select * from {$dbtbpre}ecms_infotmp_".$cr[tbname]." where classid='".$r[classid]."'".$addwhere; $totalquery="select count(*) as total from {$dbtbpre}ecms_infotmp_".$cr[tbname]." where classid='".$r[classid]."'".$addwhere; $num=$empire->gettotal($totalquery);
搜索<td height="25"> <div align="center"><a href='CheckCj.php?classid=<?=$r[classid]?>&from=1<?=$ecms_hashur['ehref']?>'> <?=$fun_r['CheckCj']?></a></div></td> 改成<td height="25"> <div align="center"><a href='CheckCj.php?classid=<?=$r[classid]?>&from=1<?=$ecms_hashur['ehref']?>'> <?=$fun_r['CheckCj']?> (<font color=red> [<?=$num?>]</font></b>条未入库)</a></div></td>[/color]
懒得改直接覆盖附件文件
上传以下附件: [下载 *.zip](文件大小:9.17 KB,下载次数:6)
|