上一篇代码:
1{kuicms:rs top="1" table="kui_content" where="islock=1 and id>$id and classid=$classid"}
2{rs:eof}暂无资料{/rs:eof}
3<a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a>
4{/kuicms:rs}
下一篇代码:
1{sdcms:rs top="1" table="sd_content" where="islock=1 and id<$id and classid=$classid" order="id desc"}
2{rs:eof}暂无资料{/rs:eof}
3<a href="{$rs[link]}" title="{$rs[title]}">{$rs[title]}</a>
4{/sdcms:rs}