帝国CMS列表页如何显示文章收藏次数?

列表页:

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