{fzw:inside src="顶部.html"/}
{fzw:inside src="会员左侧.html"/}
{fzw:search table="sl_biji" sqlvalue="yonghuming='{fzw:cookie:name="user_name"/}'" number="10" order="dtime" orderby="desc" id="p1"}
{fzw:sql="select *,(select top 1 biaoti from sl_jie as j,sl_history as h where j.laiyuanbianhao in (select kechengjie from sl_kecheng where id={fzw:p1:laiyuanbianhao/}) and j.id=h.laiyuanbianhao order by h.dtime desc) as jiebiaoti,(select top 1 j.id from sl_jie as j,sl_history as h where j.laiyuanbianhao in (select kechengjie from sl_kecheng where id={fzw:p1:laiyuanbianhao/}) and j.id=h.laiyuanbianhao order by h.dtime desc) as jieid from sl_kecheng as kc,sl_user as u where kc.id={fzw:p1:laiyuanbianhao/} and kc.yonghuming=u.yonghuming" id="p2"}

{if value1="{fzw:p2:nicheng/}" value2="" bi="=="}{fzw:p2:yonghuming/}{else}{fzw:p2:nicheng/}{/if}

{/fzw:sql}

{fzw:p1:neirong/}

时间:{fzw:p1:dtime string="shijian"/}

{/fzw:search}
{fzw:search:page id="p1" size="5"/}
{fzw:inside src="底部.html"/} {fzw:inside src="右侧.html"/}