优晟SEO

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

帝国cms

帝国cms用灵动标签调用全站所有数据表最新信息的方法

帝国   灵动   全站  
佚名 2024-08-20帝国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……

帝国cms用灵动标签调用全站所有数据表最新信息的方法

灵动标签调用多个数据表信息的方法如下:

[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]