帝国CMS默认的友情链接标签内置的格式太坑,

无法满足个性需求。

使用灵动标签调用:

调用文字链接:

[e:loop={'select * from [!db.pre!]enewslink where checked=1 and classid=1 order by lid',20,24,0}]target=_blank>[/e:loop]


调用图文链接:

[e:loop={'select * from [!db.pre!]enewslink where checked=1 and classid=1 order by lid',3,24,0}] title= target=_blank>/>[/e:loop]

其中,classid=1 为友情链接分类ID,checkde=1 为审核过的链接。

如果希望不需要指定分类,则去掉 and classid=1 即可。

下拉列表式友情链接调用:

友情链接:       [e:loop={'select * from [!db.pre!]enewslink where checked=1 order by lid',20,24,0}]       >       [/e:loop]

简简单单挺好的

联系我们 订单查询