易仿帝国yfdiguo.com

您当前的位置:首页 > 问题库

帝国CMS列表页、内容页调用收藏数量的方法

zcmcss发表于2017-12-11问题库
帝国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]'");?>

热门问题

©2017 易仿帝国yfdiguo.com


友情链接: 阿里云优惠网| 阿里云推荐码| 阿里云教程| 莫愁博客|
♥ www.yfdiguo.com
联系作者QQ: