Home  >  Article  >  CMS Tutorial  >  How to call special information in Empire CMS 7

How to call special information in Empire CMS 7

藏色散人
藏色散人Original
2019-12-06 09:31:242956browse

How to call special information in Empire CMS 7

How to call special information in Empire cms 7?

The recommended information cannot be called by default using imperial cms

Just write a sql to call it directly

The code is as follows:

[e:indexloop={'select a.* from phome_ecms_movie a,phome_enewsztinfo b where a.id=b.id and a.isgood>0 and (b.ztid=2 or b.ztid=3) order by newstime desc limit 10',10,11,'','',''}] 
<li><p class="cover"><a href="<?=$bqsr[&#39;titleurl&#39;]?>/" class="pic"><img src="/loading.gif"" _src="<?=$bqr[&#39;titlepic&#39;]?>" alt="<?=$bqr[&#39;title&#39;]?>" /></a><span><a href="<?=$bqsr[&#39;titleurl&#39;]?>/" target="_blank" class="yellow"><?=$bqr[&#39;state&#39;]?></a></span></p><a href="<?=$bqsr[&#39;titleurl&#39;]?>/" title="<?=$bqr[&#39;title&#39;]?>"><?=$bqr[&#39;title&#39;]?></a></li> 
[/e:indexloop]

Test available .

Recommended to study "Empire cms tutorial"

The above is the detailed content of How to call special information in Empire CMS 7. For more information, please follow other related articles on the PHP Chinese website!

Statement:
The content of this article is voluntarily contributed by netizens, and the copyright belongs to the original author. This site does not assume corresponding legal responsibility. If you find any content suspected of plagiarism or infringement, please contact admin@php.cn