优晟SEO

您现在的位置是:首页 > CMS教程 > 帝国cms > 正文

帝国cms

帝国CMS灵动标签多表查询

帝国   灵动   标签  
佚名 2024-08-25帝国cms
代码:[e:loop={'select*from(selectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_newswherenewstimeunionselectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_ph……

帝国CMS灵动标签多表查询

代码:

[e:loop={'select*from(selectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_newswherenewstimeunionselectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_photowherenewstimeunionselectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_flashwherenewstimeunionselectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_articlewherenewstime)aorderbynewstimedesclimit10',10,24,1}][/e:loop]

帝国CMS多表查询实现全站最新信息调用(演示代码为默认数据表下全站最新10条图片信息),自己根据需求可以附加条件,实现全站点击,全站头条,全站推荐等等

相关专题