1、内容页调用文章的收藏数
<?
$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$navinfor[id]' and classid='$navinfor[classid]'");
?>
收藏数:<?=$scs?>
2、列表页调用文章的收藏数
$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'");
$listtemp='收藏数:'.$scs;
上一篇:帝国CMS首页调用内容页下载地址的方法
下一篇:帝国cms后台出现Fail to connect ftp host!
收藏数量









