{eycms:rp top="0" table="ey_category" where="followid=0 and ismenu=1" order="ordnum,cateid" var="ids:cateid"}
<div class="subject"><span><a href="{eycms.getcateurl($rp[cateid])}">MORE+</a></span>{$rp[catename]}</div>
<ul> {eycms:rs top="10" table="ey_content" where="islock=1 and classid in([eycms.get_sonid(ids)])" order="ontop desc,ordnum desc,id desc"}
{rs:eof}暂无资料{/rs:eof}
<li><span>[{eycms.formatDate($rs[createdate],7)}]</span><a href="{$rs[link]}" title="{$rs[title]}">{eycms.cutstr($rs[title],56,1)}</a></li>
{/eycms:rs}
</ul>
{/eycms:rp} |
CSS样式部分请自己书写,把栏目ID换成你的大栏目ID,注意top参数限制了数量.