帝國CMS列表頁及內容頁,是沒有收藏數量調用標簽的,但萬能的帝國CMS,使用PHP代碼就能調用出來。
列表頁:
1 2 | $scs = $empire ->gettotal( "select count(*) as total from phome_enewsfava where id='$r[id]' and classid='$r[classid]'" ); $listtemp = '收藏數:' . $scs ; |
內容頁:
1 | gettotal( "select count(*) as total from phome_enewsfava where id='$navinfor[id]' and classid='$navinfor[classid]'" );?>
|
新聞熱點
疑難解答