</get>
2.最近更新
<get sql="SELECT * FROM shuipfcms_article WHERE status=99 ORDER BY inputtime DESC" num="9">
<volist name="data" id="vo">
<li>[<a href='{:getCategory($vo['catid'],'url')}'>{:getCategory($vo['catid'],'catname')}</a>] <a href="{$vo.url}" title="{$vo.title}">{$vo.title}</a></li>
</volist>
</get>
3.获取菜单列表
<content action="category" catid="$vo['catid']" order="listorder ASC" >
<volist name="data" id="r">
<li <if condition=" $i%2 == 0 "> class="noborder"</if>>
<h3><a href="{$r.url}" class="stmenu" title="{$r.catname}"><span>{$r.catname}</span></a></h3>
</li>
</volist>
</content>
<li class="count noborder">
<div>{$vo.description}</div>
</li>
</ul>
</li>
<else />
<!--{$vo.catname}-->
<li class="stmenu">
<h3><a href="{$vo.url}" class="xialaguang <if condition=" in_array($catid,explode(',',$vo['arrchildid'])) "> navhovers</if>" style="margin-left:1px" title="{$vo.description}"><span>{$vo.catname}</span></a></h3>
</li>
</if>
</volist>
</content>