15158846557 在线咨询 在线咨询
15158846557 在线咨询
所在位置: 首页 > 营销资讯 > 网站运营 > 帝国cms灵动标签调用归档信息汇总

帝国cms灵动标签调用归档信息汇总

时间:2024-03-02 21:25:01 | 来源:网站运营

时间:2024-03-02 21:25:01 来源:网站运营

帝国cms灵动标签调用归档信息汇总:

1、调用所有

[e:loop={"select * from {$dbtbpre}ecms_news_doc order by id desc limit 20",0,24,0}]

[/e:loop]

2、当前栏目或指定栏目

[e:loop={"select * from {$dbtbpre}ecms_news_doc where classid=$GLOBALS[navclassid] order by id desc limit 20",0,24,0}]

[/e:loop]

注释:指定多个栏目用 classid=$GLOBALS[navclassid] 替换为 classid id (34,35,36,37))

3、调用指定信息

[e:loop={"select * from {$dbtbpre}ecms_news_doc where classid=34 and id=462 order by id desc limit 20",0,24,0}]

[/e:loop]

3、调用指定范围的信息

[e:loop={"select * from {$dbtbpre}ecms_news_doc where id<=462 and id>=262 order by id desc limit 20",0,24,0}]

[/e:loop]

转载:非常欢迎各位朋友分享到个人站长或者朋友圈,但转载请说明文章出处“黎青松SEO博客”。

原文地址:http://www.alitaohuo.com/CMSjiaocheng/diguojiaocheng/1910.html

关键词:归档,信息,汇总,调用,标签,帝国

74
73
25
news

版权所有© 亿企邦 1997-2025 保留一切法律许可权利。

为了最佳展示效果,本站不支持IE9及以下版本的浏览器,建议您使用谷歌Chrome浏览器。 点击下载Chrome浏览器
关闭