在api/extend.func.php文件中加入下面的函数function xh_favorite($mid,$itemid){global $db; $nums = $db-get_one(SELECt COUNT(*) AS num FROM {$db-pre}favorite WHERe mid='$mid'
看准一个标签认条件如:!--{php $tags=tag(moduleid=18table=club_group_18condition=status=3 AND level0areaid=$cityidorder=addtime descpagesize=.$DT[page_club].template=null);}--解释为
标签condition里加 and typeid=分类id实例代码!--{tag(table=linkcondition=status=3 and typeid=2 and level0 and thumb!='' and username=''pagesize=.$DT['page_logo'].order=l...