Home  >  Article  >  CMS Tutorial  >  5 minutes to understand how to call special information in Empire CMS 7

5 minutes to understand how to call special information in Empire CMS 7

silencement
silencementforward
2019-12-02 15:53:502420browse

5 minutes to understand 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]

testavailable

Recommended to study "Empire cms tutorial"

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

Statement:
This article is reproduced at:www.word666.com/cms. If there is any infringement, please contact admin@php.cn delete