diff --git a/application/controllers/information.php b/application/controllers/information.php index 5e4e9819..7ec3c042 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1274,7 +1274,7 @@ class Information extends CI_Controller $addthis_widget = $this->load->view($template_path . '-add-this', false, true); $template = str_replace('', $addthis_widget, $template); } else { - // $template = str_replace('', '', $template); + $template = str_replace('', '', $template); $inquiry_form_template = $this->load->view( $template_path . '-inquiry-form', array('meta_product_code' => $meta_product_code, 'information' => $information), diff --git a/application/third_party/wwwlog/controllers/index.php b/application/third_party/wwwlog/controllers/index.php index bfeae234..bd97d39c 100644 --- a/application/third_party/wwwlog/controllers/index.php +++ b/application/third_party/wwwlog/controllers/index.php @@ -60,6 +60,7 @@ class Index extends CI_Controller and request_uri NOT like '%.png' and request_uri NOT like '%.gif' and request_uri NOT like '%.css' + and request_uri NOT like '%.webp' and request_uri NOT like '%.js' and request_uri NOT like '%.woff' and request_uri NOT like '%.ttf' diff --git a/application/views/mobile_first/ah-lantern-form-info-page.php b/application/views/mobile_first/ah-lantern-form-info-page.php index 3b8e1ff8..327f6232 100644 --- a/application/views/mobile_first/ah-lantern-form-info-page.php +++ b/application/views/mobile_first/ah-lantern-form-info-page.php @@ -1,4 +1,3 @@ -

Get Your 2022 Chiang Mai CAD Lantern Mass Release @@ -728,20 +727,7 @@ submit_ticket_button.addEventListener('click', function(event) { var validateResult = validateTicketForm(); if (validateResult) { - if (typeof(grecaptcha) === "undefined") { - console.warn('grecaptcha is disabled.'); ticket_form.submit(); - } else { - grecaptcha.enterprise.ready(async () => { - const token = await grecaptcha.enterprise.execute('6Lf828MhAAAAANNetijCXKwW5ARyhcJ-b1Hhslja', {action: 'ADD_TO_CART'}); - var el = document.createElement("input"); - el.type = "hidden"; - el.name = "__grecaptcha_token__"; - el.value = token; - ticket_form.appendChild(el); - ticket_form.submit(); - }); - } } }); function validateTicketForm() { diff --git a/application/views/mobile_first/ah-lantern-form.php b/application/views/mobile_first/ah-lantern-form.php index 608a95c1..638d481a 100644 --- a/application/views/mobile_first/ah-lantern-form.php +++ b/application/views/mobile_first/ah-lantern-form.php @@ -1,4 +1,3 @@ -

Get Your 2022 Chiang Mai CAD Lantern Mass Release @@ -727,20 +726,7 @@ submit_ticket_button.addEventListener('click', function(event) { var validateResult = validateTicketForm(); if (validateResult) { - if (typeof(grecaptcha) === "undefined") { - console.warn('grecaptcha is disabled.'); ticket_form.submit(); - } else { - grecaptcha.enterprise.ready(async () => { - const token = await grecaptcha.enterprise.execute('6Lf828MhAAAAANNetijCXKwW5ARyhcJ-b1Hhslja', {action: 'ADD_TO_CART'}); - var el = document.createElement("input"); - el.type = "hidden"; - el.name = "__grecaptcha_token__"; - el.value = token; - ticket_form.appendChild(el); - ticket_form.submit(); - }); - } } }); function validateTicketForm() { diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index a8e2d732..3edfa2ca 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -1,21 +1,593 @@
-
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:

+
+
+
+ + +
diff --git a/application/views/mobile_first/ch-inquiry-form.php b/application/views/mobile_first/ch-inquiry-form.php index 855fe7fa..de535c7c 100644 --- a/application/views/mobile_first/ch-inquiry-form.php +++ b/application/views/mobile_first/ch-inquiry-form.php @@ -604,17 +604,4 @@

- - - \ No newline at end of file + \ No newline at end of file diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index ad44db0e..5bae7211 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -22,14 +22,14 @@ - - + + @@ -780,4 +780,4 @@ document.addEventListener('DOMContentLoaded', () => { - + \ No newline at end of file diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index 2503562f..527ecc77 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -16,16 +16,17 @@ - - + + + @@ -735,4 +736,4 @@ document.addEventListener('DOMContentLoaded', () => { - + \ No newline at end of file