1<ul>
2{php $sonid=get_sonid_all($topid)}
3{kuicms:rs top="10" table="kui_content" where="islock=1 and classid in($sonid) and id<>$id" order="ontop desc,ordnum desc,id desc"}
4{rs:eof}暂无资料{/rs:eof}
5<li><span>[{date('m-d',$rs[createdate])}]</span><a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a></li>
6{/kuicms:rs}
7</ul>