fetch1("");?>” and save it."/> fetch1("");?>” and save it.">

Home  >  Article  >  CMS Tutorial  >  How does Empire CMS call thumbnails?

How does Empire CMS call thumbnails?

藏色散人
藏色散人Original
2019-12-12 09:15:453613browse

How does Empire CMS call thumbnails?

How does Empire CMS call thumbnails?

The example in this article describes the method of using Empire CMS to call the thumbnails of other tab columns that can be nested. Share it with everyone for your reference. The specific implementation method is as follows:

Empire CMS calls the column thumbnail, and other tags can be nested

The code is as follows:

<?php
$cr=$empire->fetch1("select classimg from phome_enewsclass where classid=&#39;$bqr[classid]&#39;");?> 
<img  src="<?=$cr[classimg]? alt="How does Empire CMS call thumbnails?" >">

Data table prefix XX_enewsclass

Empire CMS calls column thumbnails and cannot nest other tags.

The code is as follows:

[e:loop={"select classid,classname,classimg,intro from phome_enewsclass where classid=栏目id",1,24,0}]
<a href="/e/public/ClassUrl?classid=<?=$bqr[classid]?>"><?=$bqr[classname]?></a>
<img  src="<?=$bqr[classimg]? alt="How does Empire CMS call thumbnails?" >">
<?=$bqr[intro]?>[/e:loop]

Column name:

The code is as follows:

<a href="/e/public/ClassUrl?classid=<?=$bqr[classid]?>"><?=$bqr[classname]?></a>

Column thumbnail :

The code is as follows:

<img  src="<?=$bqr[classimg]? alt="How does Empire CMS call thumbnails?" >">

Column introduction:[code]=$bqr[intro]?>[/e:loop]

Results as shown below:

How does Empire CMS call thumbnails?

The above is the detailed content of How does Empire CMS call thumbnails?. 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