diff --git a/application/controllers/information.php b/application/controllers/information.php index ba7b3639..4abc0fac 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1203,10 +1203,10 @@ class Information extends CI_Controller $template = str_replace('', $this->load->view($template_path . '-next', array('recommands' => $template_recommand), true), $template); $meta_show_advertise = get_meta($information->ic_id, 'meta_show_advertise'); // //广告,改叫tips,防止被插件屏蔽 - if (!empty ($template_recommand['Tips Right TOP']) || !empty ($meta_show_advertise)) { + if (!empty ($template_recommand['Tips Right TOP']) || $meta_show_advertise == 'yes') { $template = str_replace('', "
", $template); } - if (!empty ($template_recommand['Tips Right'])) { + if (!empty ($template_recommand['Tips Right']) || $meta_show_advertise == 'yes') { $template = str_replace('', "
" . $template_recommand['Tips Right']->it_content . "
", $template); } @@ -1246,7 +1246,7 @@ class Information extends CI_Controller ), true ); - if(!empty($meta_show_advertise)){ + if($meta_show_advertise == 'yes'){ $template = str_replace('', $tips_right_list_content, $template); } } @@ -1807,7 +1807,7 @@ class Information extends CI_Controller ), true ); - if(!empty($meta_show_advertise)){ + if($meta_show_advertise == 'yes'){ $template = str_replace('', $tips_right_list_content, $template); } //文中的信息推荐 @@ -2157,7 +2157,7 @@ class Information extends CI_Controller true ); - if(!empty($meta_show_advertise)){ + if($meta_show_advertise == 'yes'){ $template = str_replace('', $tips_right_list_content, $template); } diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php index a96b1442..a2e0344c 100644 --- a/application/views/bootstrap3/information_edit.php +++ b/application/views/bootstrap3/information_edit.php @@ -1167,8 +1167,8 @@ diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index b1e5c231..22bfb565 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -227,7 +227,7 @@
- +

Why Asia Highlights (10,000+ reviews & 98.8% 5-star rating)

diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index 24629f17..a07bf61d 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -190,7 +190,7 @@
- +

Why Global Highlights (10,000+ reviews & 98.8% 5-star rating)