{@cw:loop select * from cw_news_class order by id asc}

{@title}

{cw:loop select top 20 * from cw_news where classid={@id} and ispass=1 order by id desc}
- {title}
{/cw:loop}

{/@cw:loop} {@cw:loop select * from cw_info_class order by id asc}

{@title}

{cw:loop select top 20 * from cw_info where classid={@id} and ispass=1 order by id desc}
- {title}
{/cw:loop}

{/@cw:loop} {@cw:loop select * from cw_job_class order by id asc}

{@title}

{cw:loop select top 20 * from cw_job where classid={@id} and ispass=1 order by id desc}
- {title}
{/cw:loop}

{/@cw:loop} {@cw:loop select * from cw_shop_class order by id asc}

{@title}

{cw:loop select top 20 * from cw_shop where classid={@id} and ispass=1 order by id desc}
- {title}
{/cw:loop}

{/@cw:loop} {@cw:loop select * from cw_hous_class order by id asc}

{@title}

{cw:loop select top 20 * from cw_hous where classid={@id} and ispass=1 order by id desc}
- {title}
{/cw:loop}

{/@cw:loop} {@cw:loop select * from cw_bbs_class order by id asc}

{@title}

{cw:loop select top 20 * from cw_bbs where classid={@id} and ispass=1 order by id desc}
- {title}
{/cw:loop}

{/@cw:loop}

{cw:loop select top 20 * from cw_hr where ispass=1 order by id desc}
- {xingming}
{/cw:loop}