diff --git a/application/controllers/information.php b/application/controllers/information.php index a2f7ae7a..de625951 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1679,6 +1679,7 @@ class Information extends CI_Controller $data = array(); $data['information'] = $information; + $recommand_template = ''; switch ($device) { case 'mobile': //获取移动优先的模板,如果有的话 @@ -1689,6 +1690,7 @@ class Information extends CI_Controller } else { return false; } + $recommand_template = 'mobile_first/ah-next-mobile'; break; case 'pc': //获取PC的模板,如果有的话 @@ -1699,6 +1701,7 @@ class Information extends CI_Controller } else { return false; } + $recommand_template = 'mobile_first/ah-next'; break; default: } @@ -1771,9 +1774,8 @@ class Information extends CI_Controller ); //推荐信息或者产品 - //信息推荐 - $template_recommand = $recommand_information; // $this->recommand_information($information); - $template = str_replace('', $this->load->view($template_path . '-next', array('recommands' => $template_recommand), true), $template); + $template_recommand = $recommand_information; + $template = str_replace('', $this->load->view($recommand_template, array('recommands' => $template_recommand), true), $template); //广告,改叫tips,防止被插件屏蔽 if (!empty($template_recommand['Tips Right'])) { $template = str_replace('', "
At Asia Highlights, we create your kind of journey — your dates, your destinations, at your pace. You can have any trip tailor made for your travel.
+ ++ + + + + | + + + + + | + + + + + | + + + + + + + | + + + + + + + | + + + + + + + | + + + + + + + | + + + |
+
+ ![]()
+ ic_title; ?>
+
+
+ |
+
+
+
+ + | + + + +
+
+ ![]()
+ ic_title; ?>
+
+
+
+ |
+
+
+
+
+
+
+ ![]()
+ ic_title; ?>
+
+
+
+ |
+
+
+
+
+
+
+ ![]()
+ ic_title; ?>
+
+
+
+ |
+
+
+
+
+
+
+ ![]()
+ ic_title; ?>
+
+
+
+ |
+
+
+
+
+
+
+ ![]()
+ ic_title; ?>
+
+
+ |
+
+
+
+
+
+
+ ![]()
+ ic_title; ?>
+
+
+ |
+
+