用灵动标签调用当前文章的“上一篇”和“下一篇”
来源:网络分享
编辑:引流技巧
时间:2026-05-10

上一篇:
[e:loop={"select * from [!db.pre!]ecms_表名 where id<'$navinfor[id]' and classid='$navinfor[classid]' and checked=1 order by id desc limit 1",1,24,0}]
" title="" target="_blank">
[/e:loop]
下一篇:
[e:loop={"select * from [!db.pre!]ecms_表名 where id>'$navinfor[id]' and classid='$navinfor[classid]' and checked=1 order by id limit 1",1,24,0}]
" title="" target="_blank">
[/e:loop]
可以分别在公共变量模板里面建立2个变量,
例如我建立的是
上一篇 [!--temp.infoPrev--]
下一篇 [!--temp.infoNext--]


相关文章:
相关推荐:
栏目分类

最新文章

热门文章


