介紹下帝國(guó)CMS用靈動(dòng)標(biāo)簽調(diào)用多表多模型文章信息的寫(xiě)法_帝國(guó)Cms教程
教程Tag:暫無(wú)Tag,歡迎添加,賺取U幣!
介紹下帝國(guó)CMS用靈動(dòng)標(biāo)簽調(diào)用多表多模型文章信息的寫(xiě)法,很簡(jiǎn)單,僅供學(xué)習(xí)參考
調(diào)用多模型的最新文章
調(diào)用多模型的最新文章
- [e:loop={'select * from (
- select id,classid,titleurl,filename,title,newstime,titlepic from [!db.pre!]ecms_movie where newstime union
- select id,classid,titleurl,filename,title,newstime,titlepic from [!db.pre!]ecms_news where newstime union
- select id,classid,titleurl,filename,title,newstime,titlepic from [!db.pre!]ecms_photo where newstime union
- select id,classid,titleurl,filename,title,newstime,titlepic from [!db.pre!]ecms_flash where newstime union
- select id,classid,titleurl,filename,title,newstime,titlepic from [!db.pre!]ecms_article where newstime
- ) a order by newstime desc limit 10',10,24,1}]
- <a href="<?=$bqsr['titleurl']?>" target="_blank"><?=$bqr['title']?></a> <br>
- [/e:loop]
注釋:以上多個(gè)模型用“Union”連接調(diào)用
帝國(guó)CMS多表調(diào)用最新信息,該演示代碼為默認(rèn)數(shù)據(jù)表下全站最新10條圖片信息,自己根據(jù)需求可以附加條件,實(shí)現(xiàn)全站點(diǎn)擊,全站頭條,全站推薦等等.
查看更多 帝國(guó)cms教程 帝國(guó)cms模板
相關(guān)帝國(guó)Cms教程:
- 在帝國(guó)CMS系統(tǒng)內(nèi)容頁(yè)點(diǎn)擊改變字號(hào)大小的操作方法
- 介紹下帝國(guó)CMS列表頁(yè)模板調(diào)用TAG的兩種方法
- 帝國(guó)cms如何在tags列表頁(yè)獲取當(dāng)前tag的ID方法
- 帝國(guó)CMS評(píng)論調(diào)用自定義字段的方法
- 帝國(guó)CMS廣告JS防止被瀏覽器過(guò)濾的幾種解決方法
- 網(wǎng)站后臺(tái)系統(tǒng)設(shè)置的網(wǎng)站地址格式寫(xiě)法
- wdcp網(wǎng)站管理系統(tǒng)安裝帝國(guó)cms系統(tǒng)出現(xiàn)的問(wèn)題
- 帝國(guó)cms后臺(tái)采集支持https開(kāi)頭的協(xié)議地址修改方法
- 帝國(guó)CMS更改完搜索列表模板不生效的解決方法
- 在帝國(guó)CMS后臺(tái)禁止了管理自己的ip地址無(wú)法訪問(wèn)解決辦法
- 帝國(guó)CMS下載最終頁(yè)模板調(diào)用帶圖片的軟件信息
- 帝國(guó)CMS封面列表和內(nèi)容頁(yè)調(diào)用欄目別名的兩種方法
- 相關(guān)鏈接:
復(fù)制本頁(yè)鏈接| 搜索介紹下帝國(guó)CMS用靈動(dòng)標(biāo)簽調(diào)用多表多模型文章信息的寫(xiě)法
- 教程說(shuō)明:
帝國(guó)Cms教程-介紹下帝國(guó)CMS用靈動(dòng)標(biāo)簽調(diào)用多表多模型文章信息的寫(xiě)法。