diff --git a/application/controllers/information.php b/application/controllers/information.php
index 33ddc63b..d0292232 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']) && $meta_show_advertise == 'yes') {
+ if (!empty ($template_recommand['Tips Right TOP']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) {
$template = str_replace('', "
", $template);
}
- if (!empty ($template_recommand['Tips Right']) && $meta_show_advertise == 'yes') {
+ if (!empty ($template_recommand['Tips Right']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) {
$template = str_replace('', "" . $template_recommand['Tips Right']->it_content . "
", $template);
}
@@ -1246,7 +1246,7 @@ class Information extends CI_Controller
),
true
);
- if($meta_show_advertise == 'yes'){
+ if(($meta_show_advertise == 'yes' || empty($meta_show_advertise))){
$template = str_replace('', $tips_right_list_content, $template);
}
}
@@ -1772,7 +1772,7 @@ class Information extends CI_Controller
if (!empty ($template_recommand['Tips Right TOP'])) {
// $template = str_replace('', "", $template);
}
- if (!empty ($template_recommand['Tips Right']) && $meta_show_advertise == 'yes') {
+ if (!empty ($template_recommand['Tips Right']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) {
$template = str_replace('', "" . $template_recommand['Tips Right']->it_content . "
", $template);
}
// 右侧列表广告
@@ -1807,7 +1807,7 @@ class Information extends CI_Controller
),
true
);
- if($meta_show_advertise == 'yes'){
+ if(($meta_show_advertise == 'yes' || empty($meta_show_advertise))){
$template = str_replace('', $tips_right_list_content, $template);
}
//文中的信息推荐
@@ -2120,7 +2120,7 @@ class Information extends CI_Controller
$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']) && $meta_show_advertise == 'yes') {
+ if (!empty ($template_recommand['Tips Right']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) {
$template = str_replace('', "" . $template_recommand['Tips Right']->it_content . "
", $template);
}
// 右侧列表广告
@@ -2157,7 +2157,7 @@ class Information extends CI_Controller
true
);
- if($meta_show_advertise == 'yes'){
+ if(($meta_show_advertise == 'yes' || empty($meta_show_advertise))){
$template = str_replace('', $tips_right_list_content, $template);
}
@@ -2246,19 +2246,30 @@ class Information extends CI_Controller
// 水灯节表单
$lantern_form_content = $this->load->view(
- $template_path . '-lantern-form',
+ 'mobile_first/ah-lantern-form',
array('information' => $information),
true
);
$information->ic_content = str_replace('', $lantern_form_content, $information->ic_content);
// 水灯节在信息页面表单
$lantern_form_info_page_content = $this->load->view(
- $template_path . '-lantern-form-info-page',
+ 'mobile_first/ah-lantern-form-info-page',
array('information' => $information),
true
);
$information->ic_content = str_replace('', $lantern_form_info_page_content, $information->ic_content);
+ // CAD 跨年表单
+ $new_year_countdown_form_content = $this->load->view(
+ 'mobile_first/ah-new-year-countdown',
+ array('information' => $information),
+ true
+ );
+ $information->ic_content = str_replace(
+ '',
+ $new_year_countdown_form_content,
+ $information->ic_content);
+
// 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。
// HTLM:
// 解析结果:; Siem Reap,Bangkok
diff --git a/application/views/mobile_first/ah-new-year-countdown.php b/application/views/mobile_first/ah-new-year-countdown.php
new file mode 100644
index 00000000..f1d7f18a
--- /dev/null
+++ b/application/views/mobile_first/ah-new-year-countdown.php
@@ -0,0 +1,592 @@
+
+
+
Book Now for Chiang Mai CAD New Year Countdown to 2025 Festival Ticket
+
+
+
+
diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php
index 22bfb565..5dbaed17 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 a07bf61d..3506eb19 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)