我的提问
{if value1="{fzw:url:laiyuanbianhao/}" value2="" bi="=="} 笔记({fzw:sql="select count(id) as bijishu from sl_biji where yonghuming='{fzw:cookie:name="user_name"/}'" id="p1"}{fzw:p1:bijishu/}{/fzw:sql}) 提问({fzw:sql="select count(id) as tiwenshu from sl_wenda where leixing='提问' and fasongren='{fzw:cookie:name="user_name"/}'" id="p1"}{fzw:p1:tiwenshu/}{/fzw:sql}) 评论({fzw:sql="select count(id) as pinglunshu from sl_pinglun where leixing='视频' and yonghuming='{fzw:cookie:name="user_name"}'" id="p1"}{fzw:p1:pinglunshu/}{/fzw:sql}) {else} 笔记({fzw:sql="select count(id) as bijishu from sl_biji where laiyuanbianhao={fzw:url:laiyuanbianhao/}" id="p1"}{fzw:p1:bijishu/}{/fzw:sql}) 提问({fzw:sql="select count(id) as tiwenshu from sl_wenda where laiyuanbianhao={fzw:url:laiyuanbianhao/} and leixing='提问' and fasongren='{fzw:cookie:name="user_name"/}'" id="p1"}{fzw:p1:tiwenshu/}{/fzw:sql}) 评论({fzw:sql="select count(id) as pinglunshu from sl_pinglun where laiyuanbianhao={fzw:url:laiyuanbianhao/} and leixing='视频' and yonghuming='{fzw:cookie:name="user_name"}'" id="p1"}{fzw:p1:pinglunshu/}{/fzw:sql}) {/if}
{fzw:p1:neirong/}
{fzw:sql="select * from sl_wenda as wd,sl_user as u where wd.jieshouren={fzw:p1:fasongren/} and wd.fasongren=u.yonghuming" id="p2"}
{if value1="{fzw:p2:nicheng/}" value2="" bi="=="}{fzw:p2:yonghuming/}{else}{fzw:p2:nicheng/}{/if}:
{fzw:p2:neirong/}
时间:{fzw:p1:dtime datetime="yyyy-MM-dd hh:mm:ss"/}
{fzw:search:page id="p1" size="5"/}