帝國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]'");?>