帝国CMS灵动标签多表调用最新信息
我的站长站
2013-04-17
共人阅读
[e:loop={'select * from (
select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_news where newstime union
select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_photo where newstime union
select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_flash where newstime union
select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_article where newstime) a order by newstime desc limit 10',10,24,1}]
[/e:loop]帝国CMS多表调用最新信息 (演示代码为默认数据表下全站最新10条图片信息),自己根据需求可以附加条件,实现全站点击,全站头条,全站推荐等等
相关专题
帝国CMS灵动标签
2019-03-19 517帝国CMS灵动标签专题,全面收集整理灵动标签基础语法、高级调用写法与实战使用技巧,覆盖栏目、文章、图文、分页、筛选等常用场景,帮助站长快速掌握灵动标签用法,高效...
- 灵动标签无限嵌套方法 [2020-05-29]
- 万能标签和灵动标签的区别 [2020-01-13]
- 搜索模板不支持灵动标签和万能标签的解决方法 [2020-01-07]
- 帝国CMS灵动标签调用discuz信息 [2019-09-22]
- 首页或其他页面利用灵动标签调用图片集 [2019-08-20]

