帝国CMS灵动标签多表查询
代码:[e:loop={'select*from(selectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_newswherenewstimeunionselectid,classid,titleurl,filename,title,newstime,titlepicfromphome_ecms_ph……
代码:
[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条图片信息),自己根据需求可以附加条件,实现全站点击,全站头条,全站推荐等等
相关专题- 上一篇
帝国CMS内容页调用附属专题
在内容页如何调用当前内容页属于哪个专题分类了,其实很简单,代码如下。帝国CMS内容页调用附属专题方法[e:loop={'selectztidfromphome_enewsztinfowhereclassid='.$navinfor[classid].'andid='.$navinf
- 下一篇
帝国CMS广告JS防止被浏览器过滤拦截
帝国CMS广告JS防止被浏览器过滤的几种解决方法 方式一(修改源文件) 修改/e/admin/tool/ListAd.php 找到页面中//生成广告js这条 把下面的:$file="../../../d/js/acmsd/".$public_r[adfile].$adid.".js";