{pc:get sql="select * from `ccwsp_category` where parentid=$catid order by listorder asc" page="$page" num="4" }
{loop $data $v}
<table width="921" border="0" cellspacing="0" cellpadding="0" class="clear dian">
<tbody><tr>
<td width="130" height="108" rowspan="3" valign="top"><img src="{$v['image']}" alt="" width="120" height="82"></td>
<td height="30" class="con_col1_cen_tit"><a href="{$v[url]}">{$v[catname]}</a></td>
</tr>
<tr>
<td height="88" valign="top" class="con_col1_cen_wenzi"><span class="con_col1_cen_wenzi">{str_cut($v[description],560)}</span></td>
</tr>
</tbody></table>
{/loop}
{/pc}
點擊進入的頁面
{pc:content action="lists" num="8" catid="$catid" order="id asc"}
{loop $data $v}
<div class="tu2"><img src="{$v[thumb]}" width="161" height="119" alt="{$v[title]}" title="{$v[title]}">{$v[title]}</div>
{/loop}
{/pc}
{pc:get sql="select * from ccwsp_category where catid=$catid"}
{loop $data $v}
{$v[description]}
{/loop}{/pc}