调用当前文章的后5篇文章,也可以改成当前文章的前后指定数量的文章数,根据需要调用当前文章的前几条,后几条,都是可以的。
代码如下:
{php $where=urlencode("id > $id");}
{module module=news where=$where catid=$catid num=5}
标题:{$t.title}
地址:{$t.url}
{/module}
调用当前文章的后5篇文章,也可以改成当前文章的前后指定数量的文章数,根据需要调用当前文章的前几条,后几条,都是可以的。
代码如下:
{php $where=urlencode("id > $id");}
{module module=news where=$where catid=$catid num=5}
标题:{$t.title}
地址:{$t.url}
{/module}
关注公众号『新起点软件管家』
获取最新网络资源及破解软件!
带你玩转各样软件...
评论前必须登录!
注册