Home > CMS Tutorial > Empire CMS > body text

How to call template variables in imperial cms smart tags

silencement
Release: 2019-11-30 13:52:07
forward
2858 people have browsed it

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="width:310px;max-width:310px;" src=&#39;<?=$bqr[titlepic]?>&#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]
Copy after login

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!

Related labels:
source:www.word666.com/cms
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
About us Disclaimer Sitemap
php.cn:Public welfare online PHP training,Help PHP learners grow quickly!