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

How does Empire CMS call thumbnails?

藏色散人
Release: 2019-12-12 09:15:45
Original
3695 people have browsed it

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?" >">
Copy after login

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]
Copy after login

Column name:

The code is as follows:

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

Column thumbnail :

The code is as follows:

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

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!

Related labels:
source:php.cn
Statement of this Website
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
Popular Tutorials
More>
Latest Downloads
More>
Web Effects
Website Source Code
Website Materials
Front End Template