1、调用多模型的最新文章 [e:loop={'select * from ( select id,classid,titleurl,filename,title,newstime,titlepic from phome_ecms_movie where newstime union 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}] <?=$bqr['title']?>
--------------------------------------------------------------------------------- 2、调用多模型的最新文章 [e:loop={' select title,titleurl,titlepic from [!db.pre!]ecms_photo Union All select title,titleurl,titlepic from [!db.pre!]ecms_download Union All select title,titleurl,titlepic from [!db.pre!]ecms_news',0,24,0}] <?=$bqr['title']?>