分销成员
三级分销({fzw:sql="select COUNT(id) as count_id from sl_user where jieshaoren in (select yonghuming from sl_user where jieshaoren in (select yonghuming from sl_user where jieshaoren='{fzw:cookie:name="user_name"/}'))" id="p1"}{fzw:p1:count_id/}{/fzw:sql}) 二级分销({fzw:sql="select COUNT(id) as count_id from sl_user where jieshaoren in (select yonghuming from sl_user where jieshaoren='{fzw:cookie:name="user_name"/}')" id="p1"}{fzw:p1:count_id/}{/fzw:sql}) 一级分销({fzw:sql="select COUNT(id) as count_id from sl_user where jieshaoren='{fzw:cookie:name="user_name"/}'" id="p1"}{fzw:p1:count_id/}{/fzw:sql})
{if value1="{fzw:p1:nicheng/}" value2="" bi="=="}{fzw:p1:yonghuming/}{else}{fzw:p1:nicheng/}{/if}
查看TA
{fzw:sql="select top 1 sl_kc_cart.biaoti,sl_kc_cart.dtime as dtime from sl_kc_cart,sl_kc_order where sl_kc_cart.dingdanhao=sl_kc_order.dingdanhao and sl_kc_order.zhuangtai='已付款' and sl_kc_cart.yonghuming='{fzw:p1:yonghuming/}'" id="p2"}
查看TA
购买课程:{fzw:p2:biaoti/}
{/fzw:sql}
{fzw:search:page id="p1" size="5"/}