帝国CMS内容页模板用灵动标签实现上一页下一页调用的方法!
帝国内容页里的默认上一篇下一篇调用标签,不能单独的设置独立的样式,经过分析好在可以用灵动标签实现!话不多说,直接贴实例,大家自行套用即可!
上一篇:
[e:loop={"select * from [!db.pre!]ecms_news where id<'$navinfor[id]' and classid='$navinfor[classid]' order by id desc limit 1",1,24,0}] '>=$bqr[title]?> [/e:loop]
下一篇:
[e:loop={"select * from [!db.pre!]ecms_news where id>'$navinfor[id]' and classid='$navinfor[classid]' order by id limit 1",1,24,0}] ' >=$bqr[title]?> [/e:loop]