{if value1="{fzw:cookie name="user_name" /}" value2="" bi="=="} {else} {/if} {fzw:inside src="顶部.html"/}

学院圈子GROUP

我的圈子 发现圈子

我的圈子({fzw:sql="select count(id) as count_id from sl_history where yonghuming='{fzw:cookie:name="user_name"}' and leixing='加入圈子'" id="p1"}{fzw:p1:count_id/}{/fzw:sql})

{fzw:search table="sl_history" sqlvalue="leixing='加入圈子' and yonghuming='{fzw:cookie:name="user_name"}'" number="5" id="p1"} {fzw:sql="select *,(select count(id) from sl_bbsshow as bbs where bbs.quanzibianhao={fzw:p1:laiyuanbianhao/} and bbs.laiyuanbianhao=0 and datediff(day, dtime ,getdate()) = 0) as jinrishu,(select count(id) from sl_bbsshow as bbs where bbs.quanzibianhao={fzw:p1:laiyuanbianhao/} and bbs.laiyuanbianhao=0) as tiezishu,(select count(id) from sl_bbsshow as bbs where bbs.quanzibianhao={fzw:p1:laiyuanbianhao/} and bbs.laiyuanbianhao<>0) as huifushu,(select count(id) from sl_history where laiyuanbianhao={fzw:p1:laiyuanbianhao/}) as chengyuanshu from sl_bbs as bs,sl_user as u where u.yonghuming=bs.yonghuming and bs.id={fzw:p1:laiyuanbianhao/}" id="p2"} {/fzw:sql} {fzw:sql="select top 5 *,(select count(id) from sl_bbsshow as bbs2 where bbs2.laiyuanbianhao=bbs.id) as pinglunshu from sl_bbsshow as bbs,sl_user as u where bbs.quanzibianhao={fzw:p1:laiyuanbianhao/} and bbs.yonghuming=u.yonghuming and bbs.laiyuanbianhao=0 order by renqi desc" id="p2"} {/fzw:sql}
{fzw:p2:quanziming/}(今日发帖:{fzw:p2:jinrishu/})
{fzw:p2:jianjie/}
主贴:{fzw:p2:tiezishu/} / 回帖: {fzw:p2:huifushu/} / 成员:{fzw:p2:huifushu/} 进入圈子
最热贴子
{fzw:p2:biaoti/} {if value1="{fzw:p2:nicheng/} value2="" bi="=="}{fzw:p2:yonghuming/}{else}{fzw:p2:nicheng/}{/if} {fzw:p2:dtime string="shijian"/} {fzw:p2:pinglunshu/}评 / {fzw:p2:renqi/}阅
圈子成员
{fzw:sql="select top 6 * from sl_user where yonghuming in (select yonghuming from sl_history where leixing='加入圈子' and laiyuanbianhao={fzw:p1:laiyuanbianhao/}) order by dtime desc" id="p2"} {/fzw:sql}
{/fzw:search}
{fzw:search:page id="p1" size="5"/}

推荐圈子

{fzw:inside src="底部.html"/} {fzw:inside src="右侧.html"/}