帝国cms用php调用后台指定广告

  1. <?php
  2.                                            $ad=$empire->fetch1("select * from {$dbtbpre}enewsad where adid=18 limit 1");
  3.                                    if($ad[picurl]){

  4.                                  ?>
  5.                                 <div class="adv-img layui-this"> <a target="_blank" href="<?=$ad[url]?>" rel="nofollow"> <img src="<?=$ad[picurl]?>" rel="nofollow" class="img"> </a> </div><?}?>
复制代码






上一篇:帝国cms结合扩展变量实现手机端跳转
下一篇:帝国cms灵动标签首页调用用户购买记录和下载消费记录
如无回复请发邮件