打开/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]
懒得改直接覆盖附件文件
附件下载:点击下载
未经允许不得转载:YESKYLOG » 帝国cms-在管理采集节点界面/分页,审核采集按钮后显示未入库的信息数
=-
不错 好东西 学到了
支持