diff --git a/application/controllers/information.php b/application/controllers/information.php index 71a7d87a..802d3632 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1042,6 +1042,13 @@ class Information extends CI_Controller } } } + + $why_us_covid_list_pc = $this->load->view( + $template_path . '-why-us-covid-list-pc', array(), true); + $information->ic_content = str_replace('', $why_us_covid_list_pc, $information->ic_content); + $why_us_covid_list_mobile = $this->load->view( + $template_path . '-why-us-covid-mobile', array(), true); + $information->ic_content = str_replace('', $why_us_covid_list_mobile, $information->ic_content); if (is_file('D:/wwwroot/origin-www.globalhighlights.com/css/gh-global.css')) {//主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速 @@ -1068,15 +1075,7 @@ class Information extends CI_Controller //设置内容图片缓加载 $lazy_content = $this->html_optimize_lib->set_lazy_loader($information->ic_content, 'https://data.chinahighlights.com/grey.gif'); $template = str_replace('', $lazy_content, $template); - - //替换内容中各种标签 - //$tag_why_us = $this->load->view($template_path . '-why-us', false, true); - // $template = str_replace('', $tag_why_us, $template); - - //Google广告代码 - //if (!empty(get_meta($information->ic_id, 'meta_google_ad_content'))) { - //$template = str_replace('', '', $template); - //} + //社媒分享图片 $full_ic_photo = ''; if (!empty($information->ic_photo)) { @@ -1236,6 +1235,26 @@ class Information extends CI_Controller $breadcrumb_content = $this->load->view($template_path . '-breadcrumb', array('breadcrumb_data' => $breadcrumb_data), true); $information->ic_content = str_replace('', $breadcrumb_content, $information->ic_content); + // 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。 + // HTLM:
+ // 解析结果:; Siem Reap,Bangkok + $feedback_array = []; + preg_match_all('^^', $information->ic_content, $feedback_array); + if (!empty($feedback_array)) { + foreach ($feedback_array[0] as $index => $tag_name) { + $city_name = $feedback_array[1][$index]; + $feedback_data = $this->Feedback_model->get_feedback_by_city($city_name); + // $feedback_content = $this->load->view( + // $template_path . '-feedback', + // array('feedback_data' => $feedback_data), + // true); + // $information->ic_content = str_replace( + // $tag_name, + // $feedback_content, + // $information->ic_content); + } + } + //主样式表,内联模式 if (is_file('D:/wwwroot/origin-www.asiahighlights.com/css/mobile-first.css')) {//主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速 $main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-www.asiahighlights.com/css/mobile-first.css')); diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index f19db8fa..ada7342d 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -187,7 +187,7 @@ -
Create My Trip +
Create My Trip
@@ -196,18 +196,59 @@ -
We are here to help you...
Start planning your tailor-made Asia tour with 1-1 help from our travel advisors. - Create My Trip + Create My Trip
+ +
+

The Asia Highlights Experience

+ +
+ + + + + + + + + +
+
+ 1-to-1 Expert Planning +

1-to-1 Expert Planning

+

Your tour will be tailor-made to suit you by a destination expert. Your personal travel advisor will always reply within 24 hours.

+
+
+
+ Personal Journeys +

Personal Journeys

+

Enjoy having your own personal local guide and ride. Explore destinations at your own pace. Have as much flexibility as possible.

+
+
+
+ Authentic Experiences +

Authentic Experiences

+

Go beyond the sightseeing. Understand the destinations by practicing the local culture and interacting with local people.

+
+
+
+ One-Stop Service +

One-Stop Service

+

Leave all the booking work to us, including international and internal transportation, visas, hotels, meals, and activities.

+
+
+
+ +
diff --git a/application/views/mobile_first/ah.php b/application/views/mobile_first/ah.php index 74754621..12322d83 100644 --- a/application/views/mobile_first/ah.php +++ b/application/views/mobile_first/ah.php @@ -193,11 +193,50 @@