首頁  >  文章  >  CMS教程  >  帝國cms靈動標籤如何呼叫模板變數

帝國cms靈動標籤如何呼叫模板變數

silencement
silencement轉載
2019-11-30 13:52:072829瀏覽

帝國cms靈動標籤如何呼叫模板變數

帝國cms靈動標籤中呼叫模板變數的方法

程式碼如下:

[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]

推薦學習《帝國cms教學

以上是帝國cms靈動標籤如何呼叫模板變數的詳細內容。更多資訊請關注PHP中文網其他相關文章!

陳述:
本文轉載於:www.word666.com/cms。如有侵權,請聯絡admin@php.cn刪除