diff --git a/application/controllers/information.php b/application/controllers/information.php index e9549846..d65c987b 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1047,6 +1047,7 @@ class Information extends CI_Controller $author = $this->Operator_model->get_author_nikename($information->ic_author); if (!empty($author)) { $data_H1['author'] = $author->OPI_FirstName; + $data_H1['OPI_Code'] = $author->OPI_Code; } else { $author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等 if (!empty($author_web)) { @@ -1216,7 +1217,7 @@ class Information extends CI_Controller $meta_show_advertise = get_meta($information->ic_id, 'meta_show_advertise'); // //广告,改叫tips,防止被插件屏蔽 if (!empty($template_recommand['Tips Right TOP']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) { - $template = str_replace('', "
", $template); + $template = str_replace('', "
" . $template_recommand['Tips Right TOP']->it_content . "
", $template); } if (!empty($template_recommand['Tips Right']) && ($meta_show_advertise == 'yes' || empty($meta_show_advertise))) { $template = str_replace('', "
" . $template_recommand['Tips Right']->it_content . "
", $template); @@ -1746,6 +1747,7 @@ class Information extends CI_Controller if (!empty($author)) { $data_H1['author'] = $author->OPI_FirstName; + $data_H1['OPI_Code'] = $author->OPI_Code; } else { $author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等 if (!empty($author_web)) { @@ -2109,6 +2111,7 @@ class Information extends CI_Controller $author = $this->Operator_model->get_author_nikename($information->ic_author); if (!empty($author)) { $data['author'] = $author->OPI_FirstName; + $data['OPI_Code'] = $author->OPI_Code; } else { $author_web = $this->Infoauthors_model->detail_by_id($information->ic_author); //原始作者,可能是在线作者等 if (!empty($author_web)) { @@ -2272,13 +2275,6 @@ class Information extends CI_Controller true ); $information->ic_content = str_replace('', $lantern_form_content, $information->ic_content); - // 水灯节在信息页面表单 - $lantern_form_info_page_content = $this->load->view( - '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( @@ -2775,7 +2771,7 @@ class Information extends CI_Controller } } - + if ($meta_ct_page_type == "tourdetail") { $dataform['device'] = $device; $template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true); @@ -3028,7 +3024,7 @@ class Information extends CI_Controller //获取cli_sn $tourdata = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/apish/getCliSn/?param=" . $productCode)); $data["clisn"] = $tourdata->clisn; - + //获取price $tourprice = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/apish/getTourPrice/?param=" . $productCode)); $dataform["tourprice"] = $tourprice->price; diff --git a/application/helpers/info_helper.php b/application/helpers/info_helper.php index 8781f6e8..f3ed7513 100644 --- a/application/helpers/info_helper.php +++ b/application/helpers/info_helper.php @@ -77,7 +77,7 @@ function is_series_site() { $CI = &get_instance(); $sitecode = $CI->config->item('site_code'); - if (in_array($sitecode, array('jp', 'vc', 'vac', 'ru', 'it', 'gh_jp', 'gh_vc', 'gh_vac', 'gh_ru', 'gh_it', 'gh_gm'))) { + if (in_array($sitecode, array('jp', 'vc', 'vac', 'ru', 'it', 'gh_jp', 'gh_vc', 'gh_vac', 'gh_ru', 'gh_it', 'gh_gm', 'gm'))) { return true; } else { return false; diff --git a/application/views/mobile_first/ah-h1.php b/application/views/mobile_first/ah-h1.php index dc320075..403de8f8 100644 --- a/application/views/mobile_first/ah-h1.php +++ b/application/views/mobile_first/ah-h1.php @@ -12,9 +12,36 @@

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

- -
By Updated
- + + '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', + ]; + if (!empty($meta_news_createdate)) {?> +
+ Written by + + + + + + Updated +
+
diff --git a/application/views/mobile_first/ah-lantern-form-info-page.php b/application/views/mobile_first/ah-lantern-form-info-page.php deleted file mode 100644 index ab8cdabb..00000000 --- a/application/views/mobile_first/ah-lantern-form-info-page.php +++ /dev/null @@ -1,571 +0,0 @@ - -
-

Chiang Mai CAD Yi Peng Festival 2024

-
- -

Select Date:

-
-
- - -
- -
- - -
-
- -

Select a Ticket Type:

-
-
- - -
-
- - -
-
- - -
- - - - - -
- -

Select Ticket Quantity

-
- - Adults and older children (8+ years old) - -
- - - -
-
-
Total price: $129
- -

Please provide correct personal info. Double check.

- - - - - - - - - - - - - -

Once we receive your payment, our travel advisor will contact you within 24 hours and send you your e-ticket.

-
-
- - \ 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 f3565c58..1fc6a948 100644 --- a/application/views/mobile_first/ah-lantern-form.php +++ b/application/views/mobile_first/ah-lantern-form.php @@ -41,11 +41,11 @@
- +
diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index f5b15aad..d68c6301 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -10,7 +10,6 @@ - @@ -40,10 +39,11 @@ -
How to Plan an Incredible Family Trip to Japan in 2024/2025. Learn more.
+
How to Plan an Incredible Family Trip to Japan in 2024/2025. Learn more.
+ - @@ -158,28 +161,33 @@
-
- -
- -
-

Why Asia Highlights (10,000+ reviews & 98.8% 5-star rating)

+
+
+ +
+
-
    -
  • Save Your Time:
  • -
  • Less research, more enjoyment!
  • -
  • Real-time 1V1 expert planning
  • -
  • Maximize Your Flexibility:
  • -
  • Personal local guide and ride
  • -
  • Explore at your own pace
  • -
  • Celebrate Your Journeys:
  • -
  • Specially-crafted family adventures
  • -
  • Celebrate milestones with style!
  • -
-
- - - + @@ -199,9 +207,11 @@ Create My Trip -
4.9 ExcellentTrustPilot rating - 4.9 ExcellentTrustPilot rating + TrustPilot Logo
@@ -223,24 +233,28 @@
-
Customize Your Tour
+
Customize Your Tour +

Customize Your Tour

-
Maximize Your Flexibility
+
Maximize Your Flexibility

Maximize Your Flexibility

- -