帝国CMS首页内容模板灵动标签怎么调用副表字段内容
帝国CMS首页内容模板灵动标签怎么调用副表字段内容帝国CMS首页内容模板灵动标签怎么调用副表字段内容
大家按以下我写好的方法调用即可
[e:loop={14,12,0,1,”,’newstime DESC’}]
<?php
$fr=$empire->fetch1(“select address from phome_ecms_info_data_1 where id=’$bqr[id]'”);
?>
<article class=”grid col-xs-6 col-sm-4 col-md-2″>
<div class=”item”> <a class=”link” target=”_blank” href=”<?=$fr[address]?>” rel=”nofollow”><i class=”autoleft fa fa-link” title=”直接访问 – <?=$bqr[‘title’]?>”></i></a> <a class=”a” href=”<?=$bqsr[‘titleurl’]?>” title=”<?=$bqr[‘title’]?>” target=”_blank”> <img src=”<?=$bqr[‘titlepic’]?>” alt=”<?=$bqr[‘title’]?>” title=”<?=$bqr[‘title’]?>”>
<h3><?=$bqr[‘title’]?></h3>
<p><?=$bqr[‘smalltext’]?>…</p>
</a> </div>
</article>
[/e:loop]
调取副表代码<?php $fr=$empire->fetch1(“select address from phome_ecms_info_data_1 where id=’$bqr[id]'”); ?>
调取副表字段代码<?=$fr[address]?>
2. 本站客服QQ:4387159,唯一购买官网:MooMoo.TOP!
3. 盗版,破解有损他人权益和违法作为,请各位会员支持正版!
MooMoo » 帝国CMS首页内容模板灵动标签怎么调用副表字段内容
常见问题FAQ
- 是否支持共享资源赚外快?
- 本站支持任何人上传资源,一经采用即可展示,客户下单既有80%的提成。
- 可以免费教技术吗?
- 大家可以加群进行探讨共同进步,重点问题管理员会进行解答。
- 我是小白要怎么学习?
- 加群后做到不耻下问,看文章学习演示就能成为大佬。