帝国cms灵动标签中调用模板变量的方法
代码如下:
1
2
3
4
5
6
7
8
9
10
11
12
13
[e:loop={"select * from [!db.pre!]ecms_show_every where sid=".$navinfor[id]." order by id DESC limit
100",100,24,0}]
<div auto overflow:hidden>
<div color: white>
<span><a>"
target="_blank" title="=$bqr[title]?>" style="font-family:微软雅黑;font-size:15px;color:white;">
◆ =$bqr[title]?></a></span><span>
=$bqr[author]?></span>
</div>
<a>" >@@##@@ /></a>
<div width:310px><span class="info infoText"><span margin-left:5px><span>点击:<span>=$bqr[onclick]?></span></span></span><span><span>时间:<span>=date("Y-m-d",$bqr[newstime])?></span></span></span></span></div>
</div>
[/e:loop]
推荐学习《帝国cms教程》
以上就是帝国cms灵动标签中如何调用模板变量的详细内容,更多请关注php中文网其它相关文章!