帝国cms列表页及内容页调用显示收藏数量
帝国CMS列表页及内容页,是没有收藏数量调用标签的,但万能的帝国CMS,使用PHP代码就能调用出来。列表页:$scs=$empire->gettotal("select count(*) as total from phome_enewsfava where id='$r[id]' and classid=&……
列表页:
$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]'");?>标签列表页内容页收藏数量
- 上一篇
帝国cms商城订单号调用方法
帝国cms商城订单号调用方法<TABLE border=0 cellSpacing=0 cellPadding=0 width="100%">[e:loop={"select outproduct,ddtime,haveprice,truename,alltotal,checked,ddno from phome_enewsshopdd where outproduct=&#
- 下一篇
通过栏目ID获取栏目名称、别名、链接
栏目名称<?=$class_r[栏目ID][classname]?>栏目别名<?=$class_r[栏目ID]['bname']?>栏目链接 <?=sys_ReturnBqClassname($class_r[栏目ID],9)?>或<?=sys_ReturnBqClassUrl($class_r[栏目ID]);?>/e/public/