search
HomeCMS TutorialEmpire CMSHow to call template variables in imperial cms smart tags

How to call template variables in imperial cms smart tags

The method of calling template variables in the empire cms smart tag

The code is as follows:

[e:loop={"select * from [!db.pre!]ecms_show_every where sid=".$navinfor[id]." order by id DESC limit 
100",100,24,0}]
<div class="pb_pic" style="display:none;width:310px;margin-left:2px;margin-right:2px;margin-bottom:4px;;height:
auto;
overflow:hidden;">
<div class="hid" style="display:none;position:absolute;margin-top:0px;z-index:2;width:310px;background:black;
color:
white;filter:alpha(opacity=80);-moz-opacity:0.8;opacity: 0.8;"><span class="title" ><a href="<?=$bqr
[titleurl]?>" 
target="_blank" title="<?=$bqr[title]?>" style="font-family:微软雅黑;font-size:15px;color:white;">  
◆ <?=$bqr[title]?></a></span><span style="float:right;font-size:15px;font-family:微软雅黑;color:white;">
<?=$bqr[author]?></span></div>
<a href="<?=$bqr[titleurl]?>" ><img    style="max-width:90%" src=&#39;<?=$bqr[titlepic]? alt="How to call template variables in imperial cms smart tags" >&#39; /></a>
<div class="hid2" style="display:none;position:absolute;margin-top:-20px;z-index:2;height:20px;line-height:20px;
width:310px;background:black;color:white;filter:alpha(opacity=80);-moz-opacity:0.8;opacity: 0.8;"><span 
class="info infoText" style="font-family:微软雅黑;font-size:15px;color:white;"><span style="float:left;
margin-left:5px;"><span >点击:<span><?=$bqr[onclick]?></span></span></span><span style="float:right;margin-right:
5px;"><span >时间:<span><?=date("Y-m-d",$bqr[newstime])?></span></span></span></span></div>
</div>
[/e:loop]

Recommended to study "Empire cms tutorial

The above is the detailed content of How to call template variables in imperial cms smart tags. 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

Hot AI Tools

Undresser.AI Undress

Undresser.AI Undress

AI-powered app for creating realistic nude photos

AI Clothes Remover

AI Clothes Remover

Online AI tool for removing clothes from photos.

Undress AI Tool

Undress AI Tool

Undress images for free

Clothoff.io

Clothoff.io

AI clothes remover

Video Face Swap

Video Face Swap

Swap faces in any video effortlessly with our completely free AI face swap tool!

Hot Tools

EditPlus Chinese cracked version

EditPlus Chinese cracked version

Small size, syntax highlighting, does not support code prompt function

Safe Exam Browser

Safe Exam Browser

Safe Exam Browser is a secure browser environment for taking online exams securely. This software turns any computer into a secure workstation. It controls access to any utility and prevents students from using unauthorized resources.

SublimeText3 Mac version

SublimeText3 Mac version

God-level code editing software (SublimeText3)

SublimeText3 Linux new version

SublimeText3 Linux new version

SublimeText3 Linux latest version

VSCode Windows 64-bit Download

VSCode Windows 64-bit Download

A free and powerful IDE editor launched by Microsoft