帝国cms用灵动标签调用全站所有数据表最新信息的方法
灵动标签调用多个数据表信息的方法如下:[e:loop={'select * from (select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_book where newstime unionselect id,classid,titleurl,filename,ti……
灵动标签调用多个数据表信息的方法如下:
[e:loop={'select * from (select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_book where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_course where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_soft where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_game where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_js where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_templet where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_mv where newstime unionselect id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_news where newstime) a order by newstime desc limit 7',7,24,0}]<li><b><?=$bqno?></b><div><a href="<?=$bqsr[classurl]?>" target="_blank">[<?=$bqsr[classname]?>]</a></div><a href="<?=$bqsr['titleurl']?>" class="gxone" target="_blank"><?=$bqr['title']?></a></li>[/e:loop]
- 上一篇
帝国cms7.0版本TAGS批量添加.TAGS批量复制到关键词的教程
e/class/userfun.php添加函数//批量复制TAGS到关键词function eCopyTag2Key($classid,$id,$newstime){   global $empire,$dbtbpre,$class_r;   $count = count($id); //统计ID数量   
- 下一篇
介绍下帝国CMS后台登陆验证码不显示的解决方法
针对帝国CMS7.0版本:有得网友开启了后台登陆验证码,但是由于种种原因后台验证码没有显示,然而不填写验证码又无法登陆后台关闭后台验证码,帝国模板网给网友们一个解决方案用Dreamweaver打开/e/config/config.php找到如下