{cw:include("cw_head.html")}
{@cw:loop select * from cw_info_class where followid=1 order by ordnum asc,id asc}

{@title}
  {cw:loop select * from cw_info_class where followid={@id} order by ordnum asc,id asc}
  - {title}
  {/cw:loop}

{/@cw:loop}
{cw:loop select * from cw_info_class where id in(7,14,15,19,9,10) order by id asc} {title} [if {i}<6]|[end if] {/cw:loop}
{cw:loop select top 1 * from cw_info where ispic=1 and ispass=1 order by id desc}
{title}
[@{content}#function=nohtml/len=30/]
{/cw:loop}
{cw:loop select top 3 * from cw_info where ispic=1 and ispass=1 order by id desc}
{title}
{/cw:loop}
{cw:loop select top 12 * from cw_info where ispass=1 order by id desc}
[{classname}]{title}
{/cw:loop}
{@cw:loop select top 6 * from cw_info_class where followid=1 order by ordnum asc,id asc}
{@title}

{cw:loop select top 5 * from cw_info where classid in([cw:info_allclassid({@id})]) and ispass=1 order by id desc}
- [{classname}] {title}
{/cw:loop}

[if ({@i} mod 3)=0]
[end if] {/@cw:loop}
{cw:include("cw_foot.html")}