提问:{fzw:sql="select count(id) as count_id from sl_ask where yonghuming='{fzw:cookie name="user_name" /}'" id="p1"}{fzw:p1:count_id/}{/fzw:sql}条
回答:{fzw:sql="select count(id) as count_id from sl_pinglun where yonghuming='{fzw:cookie name="user_name" /}' and leixing='回答'" id="p1"}{fzw:p1:count_id/}{/fzw:sql}条
笔记:{fzw:sql="select count(id) as count_id from sl_pinglun where yonghuming='{fzw:cookie name="user_name" /}' and leixing='笔记'" id="p1"}{fzw:p1:count_id/}{/fzw:sql}条