diff --git a/application/controllers/information.php b/application/controllers/information.php index ad0c1bcc..4716eeab 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -2514,7 +2514,7 @@ class Information extends CI_Controller if (!empty($meta_note)) { $template = str_replace('', '', $template); } - + $meta_index_set = get_meta($information->ic_id, 'meta_index_set'); if (!empty($meta_index_set)) { $template = str_replace('', '', $template); @@ -2732,12 +2732,20 @@ class Information extends CI_Controller } else { $template = str_replace('?product_code=', '?product_code=' . $meta_product_code, $template); $inquiry_form_template = $this->load->view( - $template_path . '-inquiry-form', + 'mobile_first/jh-inquiry-form', array('meta_product_code' => $meta_product_code, 'information' => $information), true ); $information->ic_content = str_replace('', $inquiry_form_template, $information->ic_content); + // GP 表单 + $gp_form_content = $this->load->view( + 'mobile_first/jh-gp-form', + array('meta_product_code' => $meta_product_code, 'information' => $information), + true + ); + $information->ic_content = str_replace('', $gp_form_content, $information->ic_content); + } $price_tag_list = $this->parse_price_tag($information->ic_content); @@ -2853,7 +2861,7 @@ class Information extends CI_Controller if (!empty($meta_note)) { $template = str_replace('', '', $template); } - + $meta_index_set = get_meta($information->ic_id, 'meta_index_set'); if (!empty($meta_index_set)) { $template = str_replace('', '', $template); @@ -4589,7 +4597,7 @@ class Information extends CI_Controller $t_excludedate = get_meta($information->ic_id, "meta_trippest_excludedate"); $t_includedate = get_meta($information->ic_id, "meta_trippest_includedate"); $t_excludemonth = get_meta($information->ic_id, "meta_trippest_excludemonth"); - $InfoData->t_excludedate = $t_excludedate; + $InfoData->t_excludedate = $t_excludedate; $InfoData->t_includedate = $t_includedate; $InfoData->t_excludemonth = $t_excludemonth; $InfoData->t_hoteladdress = get_meta($information->ic_id, "meta_trippest_hoteladdress"); @@ -4743,7 +4751,7 @@ class Information extends CI_Controller } $template_TrainDetailSearch = $this->load->view($template_path . '-train-index', $data_TrainCity, true); } - + /* 详细内容 */ @@ -5088,7 +5096,7 @@ class Information extends CI_Controller create_folder_by_path(dirname($html_path)); file_put_contents($html_path, $template, LOCK_EX); } - #endregion + #endregion } //通过内容找到第一张图片 diff --git a/application/views/mobile_first/ah-h1.php b/application/views/mobile_first/ah-h1.php index 45e84720..b7e62162 100644 --- a/application/views/mobile_first/ah-h1.php +++ b/application/views/mobile_first/ah-h1.php @@ -10,7 +10,7 @@
Asia Highlights TrustPilot rating
- + @@ -19,33 +19,33 @@ $item) {?> - +
-

ic_title)?$information->ic_title:'H1 title asiahighlights mobile first template'; ?>

+

ic_title)?$information->ic_title:'H1 title asiahighlights mobile first template'; ?>

- 'https://www.globalhighlights.com/aboutus/team/ruru-zhou', - '2' => 'https://www.globalhighlights.com/aboutus/team/ruru-zhou', - 'HWT' => 'https://www.globalhighlights.com/aboutus/team/mike-he', - 'CA' => 'https://www.globalhighlights.com/aboutus/team/carol-wang', - 'SI' => 'https://www.globalhighlights.com/aboutus/team/simon-huang', - 'TJQ' => 'https://www.globalhighlights.com/aboutus/team/cindy-tang', - 'CLA' => 'https://www.globalhighlights.com/aboutus/team/claire-wang', - 'Albee' => 'https://www.globalhighlights.com/aboutus/team/albee-ning', - 'KM' => 'https://www.globalhighlights.com/aboutus/team/kimi-huang', - 'RY' => 'https://www.globalhighlights.com/aboutus/team/rita-yu', - 'QMY' => 'https://www.globalhighlights.com/aboutus/team/chris-quan', - 'CY' => 'https://www.globalhighlights.com/aboutus/team/cynthia-li', - 'Vicky' => 'https://www.globalhighlights.com/aboutus/team/vicky-leng', - 'LXW' => 'https://www.globalhighlights.com/aboutus/team/carper-li', - 'zzyGH' => 'https://www.globalhighlights.com/aboutus/team/ruru-zhou', + 'zzy' => 'https://www.asiahighlights.com/about-us/meet-our-team/ruru-zhou', + '2' => 'https://www.asiahighlights.com/about-us/meet-our-team/ruru-zhou', + 'HWT' => 'https://www.asiahighlights.com/about-us/meet-our-team/mike-he', + 'CA' => 'https://www.asiahighlights.com/about-us/meet-our-team/carol-wang', + 'SI' => 'https://www.asiahighlights.com/about-us/meet-our-team/simon-huang', + 'TJQ' => 'https://www.asiahighlights.com/about-us/meet-our-team/cindy-tang', + 'CLA' => 'https://www.asiahighlights.com/about-us/meet-our-team/claire-wang', + 'Albee' => 'https://www.asiahighlights.com/about-us/meet-our-team/albee-ning', + 'KM' => 'https://www.asiahighlights.com/about-us/meet-our-team/kimi-huang', + 'RY' => 'https://www.asiahighlights.com/about-us/meet-our-team/rita-yu', + 'QMY' => 'https://www.asiahighlights.com/about-us/meet-our-team/chris-quan', + 'CY' => 'https://www.asiahighlights.com/about-us/meet-our-team/cynthia-li', + 'Vicky' => 'https://www.asiahighlights.com/about-us/meet-our-team/vicky-leng', + 'LXW' => 'https://www.asiahighlights.com/about-us/meet-our-team/carper-li', + 'zzyGH' => 'https://www.asiahighlights.com/about-us/meet-our-team/ruru-zhou', ]; $OPI_Code = empty($OPI_Code) ? '' : $OPI_Code; if (!empty($meta_news_createdate)) {?>
- Written by + Written by diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index 212cb99e..cc792de5 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -345,7 +345,17 @@
-
Company
+ +
Highlights Family
+ +
+
+
Company
-
-
Language
- -
+
Follow Us
+ + + + +
Follow Us
- - - - +
Featured on diff --git a/application/views/mobile_first/jh-feedback-30-list.php b/application/views/mobile_first/jh-feedback-30-list.php index 2db0c9c9..e5401217 100644 --- a/application/views/mobile_first/jh-feedback-30-list.php +++ b/application/views/mobile_first/jh-feedback-30-list.php @@ -2,7 +2,7 @@ $feedback) {?>
- tour rating + tour rating

More
,
diff --git a/application/views/mobile_first/jh-feedback-city-list.php b/application/views/mobile_first/jh-feedback-city-list.php index 50260766..c38111ec 100644 --- a/application/views/mobile_first/jh-feedback-city-list.php +++ b/application/views/mobile_first/jh-feedback-city-list.php @@ -8,7 +8,7 @@ $feedback) {?>