Home  >  Article  >  CMS Tutorial  >  Share the method of calling special information in Empire CMS 7

Share the method of calling special information in Empire CMS 7

silencement
silencementforward
2019-11-30 13:48:342062browse

Share the method of calling 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 Share the method of calling 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