Home > Article > CMS Tutorial > 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['titleurl']?>/" class="pic"><img src="/loading.gif"" _src="<?=$bqr['titlepic']?>" alt="<?=$bqr['title']?>" /></a><span><a href="<?=$bqsr['titleurl']?>/" target="_blank" class="yellow"><?=$bqr['state']?></a></span></p><a href="<?=$bqsr['titleurl']?>/" title="<?=$bqr['title']?>"><?=$bqr['title']?></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!