帝国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=https://www.php.cn/cms/diguo/"=$bqr[titleurl]?>" target="_blank" title="=$bqr[title]?>" style="font-family:微软雅黑;font-size:15px;color:white;"> ◆ =$bqr[title]?>=$bqr[author]?>