diff --git a/application/controllers/information.php b/application/controllers/information.php index 5d43c318..7ec3c042 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1019,6 +1019,7 @@ class Information extends CI_Controller $data_H1['infocategory'] = $this->Information_model->get_detail_by_path($information->is_path, 1); //信息所属分类,获取信息顶级节点内容 $data_H1['author'] = ''; //获取作者信息 $author = $this->Operator_model->get_author_nikename($information->ic_author); + if(!empty($author)){ $data_H1['author']=$author->OPI_FirstName; }else{ @@ -1041,7 +1042,7 @@ class Information extends CI_Controller $article_structured_data_content = $this->load->view( $template_path . '-structured-data-article', - array('information' => $information, 'author' => $author), + array('information' => $information, 'author_name' => $data_H1['author']), true); $template = str_replace('', $article_structured_data_content, $template); @@ -1276,9 +1277,16 @@ class Information extends CI_Controller $template = str_replace('', '', $template); $inquiry_form_template = $this->load->view( $template_path . '-inquiry-form', - array('meta_product_code' => $meta_product_code, 'ic_seo_title' => $information->ic_seo_title), + 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( + $template_path . '-gp-form', + array('meta_product_code' => $meta_product_code, 'information' => $information), + true); + $information->ic_content = str_replace('', $gp_form_content, $information->ic_content); } // why-us 相关的标签 $why_us_mobile = $this->load->view($template_path . '-why-us-mobile', false, true); @@ -1294,12 +1302,17 @@ class Information extends CI_Controller $information->ic_content = str_replace('', $info_page_form_content, $information->ic_content); // 水灯节表单 - $lantern_form_content = $this->load->view($template_path . '-lantern-form', false, true); + $lantern_form_content = $this->load->view( + $template_path . '-lantern-form', + array('information' => $information), + true); $information->ic_content = str_replace('', $lantern_form_content, $information->ic_content); - - // GP 表单 - $gp_form_content = $this->load->view($template_path . '-gp-form', false, true); - $information->ic_content = str_replace('', $gp_form_content, $information->ic_content); + // 水灯节在信息页面表单 + $lantern_form_info_page_content = $this->load->view( + $template_path . '-lantern-form-info-page', + array('information' => $information), + true); + $information->ic_content = str_replace('', $lantern_form_info_page_content, $information->ic_content); // 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。 // HTLM:
diff --git a/application/views/mobile_first/ah-gp-form.php b/application/views/mobile_first/ah-gp-form.php index 46b3689e..e8d936be 100644 --- a/application/views/mobile_first/ah-gp-form.php +++ b/application/views/mobile_first/ah-gp-form.php @@ -446,7 +446,7 @@ - + @@ -622,6 +622,8 @@ + +

Poland   +48 + - - + diff --git a/application/views/mobile_first/ah-inquiry-form.php b/application/views/mobile_first/ah-inquiry-form.php index 4ed0528f..9bbef304 100644 --- a/application/views/mobile_first/ah-inquiry-form.php +++ b/application/views/mobile_first/ah-inquiry-form.php @@ -424,7 +424,7 @@ - + @@ -600,7 +600,7 @@ - +

+ +

Get Your 2022 Chiang Mai CAD Lantern Mass Release + Tickets Here!

+
+

Select Date

+
+
+ + +
+
+ + +
+
+

Select Ticket Type

+
+
+ + +
+
+ + +
+
+ + +
+
+

Select Quantity

+
+ + Adults and older children (8+ years old) + +
+ + + +
+
+

Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.

+
Total price: $170
+

Please provide correct personal information for your ticket + booking. Double + check.

+ + + + + + + + + +

+ Having a phone number, especially with WhatsApp/iMessage capability will improve communication efficiency.

+ + + + +

I prefer to be contacted via:

+ +
+ + +
+
+ + +
+
+ + +
+ + + + + + +
+ + + \ No newline at end of file diff --git a/application/views/mobile_first/ah-lantern-form.php b/application/views/mobile_first/ah-lantern-form.php index 1c1081c5..638d481a 100644 --- a/application/views/mobile_first/ah-lantern-form.php +++ b/application/views/mobile_first/ah-lantern-form.php @@ -59,7 +59,7 @@ -

Children under 8 years old enter free; 8-year-olds and above are charged the same as adults.

+

Children under 8 years old enter free; 8-year-olds and above are charged the same as adults. You can buy a ticket for your child under 8 if you would like her or him to enjoy the same provision.

Total price: $170

Please provide correct personal information for your ticket booking. Double @@ -489,7 +489,7 @@ - + @@ -637,6 +637,9 @@ +

+ Having a phone number, especially with WhatsApp/iMessage capability will improve communication efficiency.

@@ -644,9 +647,7 @@ -

- Having a phone number, especially with WhatsApp/iMessage capability will improve communication efficiency.

+

+ + diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index 97e15bac..00ecc3be 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -1,23 +1,607 @@

-
china highlights' wechat code -
Quickly inquire via our WeChat: chinahighlightstour
-
- -

Or Submit an Inquiry Below

- -
-
-

*

- -

*

- -

- -

*

- -
+ + + +

Start planning your tailor-made tour now. Your 1:1 travel consultant will reply within 1 working day.

+ + +
+ +

+ + * + + +

+ +

+ + * + + + +

+

+ + * +

+

+ +

+

Having a phone number, especially with WeChat/WhatsApp capability will improve communication efficiency.

+

I prefer to be contacted via:

+
+
+
+ + +
-
+
+ china highlights' wechat code +
Quickly inquire about this tour via our WeChat: chinahighlightstour +
+
+ + @@ -291,10 +293,7 @@ var articleSwiper = new Swiper("#articleSwiper", { keyboard: true, slidesPerView: slidesPerView, loop: true, - autoplay: { - delay: 3000, - disableOnInteraction: false - }, + autoplay: false, navigation: { nextEl: "#article-swiper-button-next", prevEl: "#article-swiper-button-prev" @@ -309,10 +308,7 @@ var tourSwiper = new Swiper("#tourSwiper", { keyboard: true, slidesPerView: slidesPerView, loop: true, - autoplay: { - delay: 3000, - disableOnInteraction: false - }, + autoplay: false, navigation: { nextEl: "#tour-swiper-button-next", prevEl: "#tour-swiper-button-prev" diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index b461c537..ad44db0e 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -188,10 +188,7 @@ height="0" width="0" style="display:none;visibility:hidden">
- -
-

Start planning your tailor-made tour now. Your 1:1 travel consultant will reply within 1 working day.

@@ -199,15 +196,274 @@ height="0" width="0" style="display:none;visibility:hidden">

+ placeholder="Your name *" required="" type="text">

+ placeholder="Email *" required type="text">

-

+

+ +

- +

Having a phone number, especially with WhatsApp/iMessage capability will improve communication + efficiency.

+

I prefer to be contacted via:

+
+
+
@@ -524,4 +780,4 @@ document.addEventListener('DOMContentLoaded', () => { - \ No newline at end of file + diff --git a/application/views/mobile_first/gh-structured-data-article.php b/application/views/mobile_first/gh-structured-data-article.php index 2b03ebbe..4f345911 100644 --- a/application/views/mobile_first/gh-structured-data-article.php +++ b/application/views/mobile_first/gh-structured-data-article.php @@ -14,7 +14,7 @@ "dateModified": "", "author": { "@type": "Person", - "name": "OPI_FirstName; ?>" + "name": "" }, "publisher": { "@type": "Organization", diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index 7e30c9fb..2503562f 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -149,15 +149,10 @@ aria-label="festival">
- - - - -
@@ -168,15 +163,274 @@ aria-label="festival">

+ placeholder="Your name *" required="" type="text">

+ placeholder="Email *" required type="text">

-

+

+ +

- +

Having a phone number, especially with WhatsApp/iMessage capability will improve communication + efficiency.

+

I prefer to be contacted via:

+
+
+
@@ -481,4 +735,4 @@ document.addEventListener('DOMContentLoaded', () => { - \ No newline at end of file +