帝国cms灵动标签中如何调用模板变量
发布时间:2016-12-23 来源:查字典编辑
摘要:[e:loop={"select*from[!db.pre!]ecms_show_everywheresid=".$navinfor[id]...
[e:loop={"select * from [!db.pre!]ecms_show_every where sid=".$navinfor[id]." order by id DESC limit 100",100,24,0}]
<div>
<div><span ><a href="<?=$bqr[titleurl]?>" target="_blank" title="<?=$bqr[title]?>"><b> ◆ <?=$bqr[title]?></b></a></span><span><?=$bqr[author]?></span></div>
<a href="<?=$bqr[titleurl]?>" ><img src='<?=$bqr[titlepic]?>' /></a>
<div ><span><span><span >点击:<span><?=$bqr[onclick]?></span></span></span><span><span >时间:<span><?=date("Y-m-d",$bqr[newstime])?></span></span></span></span></div>
</div>
[/e:loop]