hotfix/paypal-note
赵鹏 4 years ago
parent 2e17795eac
commit 6bbbb1d5d8

@ -919,14 +919,14 @@ class Information extends CI_Controller
//非产品页面
$data["PRODUCTJS"] = "";
$data["ISPRODUCT"] = false; //判断是否是产品页
$data["ISPRODUCT"] = "no"; //判断是否是产品页
$template_path = 'mobile_first/' . $this->config->item('site_code');
$data["addthis_widget"] = "";
if (empty(get_meta($information->ic_id, 'meta_product_code'))) {
$data["addthis_widget"] = $this->load->view($template_path . '-add-this', false, true); //社媒代码addthis
} else {
// $data["PRODUCTJS"] = '<script src="https://data.chinatravel.com/js/mobile-first/flatpickr.js"></script>';
$data["ISPRODUCT"] = true;
$data["ISPRODUCT"] = "yes";
}
//顶部全屏大图

@ -280,7 +280,7 @@ eval(function(p,a,c,k,e,d){e=function(c){return(c<a?"":e(parseInt(c/a)))+((c=c%a
gtag('js', new Date());
gtag('config', 'AW-823612164');
</script>
<?php if ($ISPRODUCT) { ?>
<?php if ($ISPRODUCT=="no") { ?>
<!-- Google AD-->
<script data-ad-client="ca-pub-3275214174607898" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<?php } ?>

@ -283,7 +283,7 @@
gtag('js', new Date());
gtag('config', 'AW-823612164');
</script>
<?php if ($ISPRODUCT) { ?>
<?php if ($ISPRODUCT=="no") { ?>
<!-- Google AD-->
<script data-ad-client="ca-pub-3275214174607898" async src="https://pagead2.googlesyndication.com/pagead/js/adsbygoogle.js"></script>
<?php } ?>

Loading…
Cancel
Save