diff --git a/application/controllers/information.php b/application/controllers/information.php index dd298d6a..1e846a4c 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -647,10 +647,14 @@ class Information extends CI_Controller $template_recommand = $this->recommand_information($information); $template = str_replace('', $this->load->view($template_path . '-next', array('recommands' => $template_recommand), TRUE), $template); // //广告,改叫tips,防止被插件屏蔽 + if (!empty($template_recommand['Tips Right TOP'])) { + $template = str_replace('', "
", $template); + } if (!empty($template_recommand['Tips Right'])) { $template = str_replace('', "<!--@Content-Recommends-Article@-->
@@ -224,6 +224,19 @@完整的右侧广告代码:
\ No newline at end of file +