上一篇:
[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}]
<a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"><?=$bqr[title]?></a>
[/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}]
<a href="<?=$bqsr[titleurl]?>" title="<?=$bqr[title]?>" target="_blank"><?=$bqr[title]?></a>
[/e:loop]
可以分別在公共變量模板里面建立2個變量,
例如我建立的是
上一篇 [!–temp.infoPrev–]
下一篇 [!–temp.infoNext–]