帝国CMS列表页及内容页调用显示收藏数量

帝国CMS列表页及内容页,是没有收藏数量调用标签的,但万能的帝国CMS,使用PHP代码就能调用出来。
列表页:

$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'");
$listtemp='收藏数:'.$scs;

内容页:

gettotal("select count(*) as total from phome_enewsfava where id='$navinfor[id]' and classid='$navinfor[classid]'");?>

原创文章,作者:iMJX,如若转载,请注明出处:https://www.imjx.com/2359.html

TG:@erbao857

(0)
打赏 赞助作者TRX 赞助作者TRX 赞助作者ETH 赞助作者ETH
iMJX的头像iMJX
上一篇 2019年10月21日
下一篇 2019年10月21日

相关推荐

发表回复

登录后才能评论