diff --git a/application/controllers/info_amp.php b/application/controllers/info_amp.php index 014e6d84..e3b2b50e 100644 --- a/application/controllers/info_amp.php +++ b/application/controllers/info_amp.php @@ -519,8 +519,9 @@ class Info_amp extends CI_Controller { $json = $this->input->get_post('json'); $icid = $this->input->get_post('icid'); + $action = $this->input->get_post('action') ? '_' . $this->input->get_post('action') : ''; if ($json && $icid) { - $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY'); + $code = $this->Logs_model->backup_meta($icid, $json, 'AMP_HISTORY' . $action); echo json_encode(array( "succ" => true, "info" => $this->Logs_model->pick_backup_meta($code) diff --git a/application/controllers/information.php b/application/controllers/information.php index b9749ad3..0aa6358d 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -689,6 +689,9 @@ class Information extends CI_Controller array('information' => $information), true); $template = str_replace('', $article_top_image_content, $template); + + $info_page_form_content = $this->load->view($template_path . '-info-page-form', false, true); + $information->ic_content = str_replace('', $info_page_form_content, $information->ic_content); } else { $template = str_replace('', '', $template); $inquiry_form_template = $this->load->view($template_path . '-inquiry-form', array('meta_product_code' => $meta_product_code), true); @@ -1050,6 +1053,8 @@ class Information extends CI_Controller $template_path . '-why-us-covid-mobile', array(), true); $information->ic_content = str_replace('', $why_us_covid_list_mobile, $information->ic_content); + $info_page_form_content = $this->load->view($template_path . '-info-page-form', false, true); + $information->ic_content = str_replace('', $info_page_form_content, $information->ic_content); if (is_file('D:/wwwroot/origin-www.globalhighlights.com/css/gh-global.css')) {//主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速 $main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-www.globalhighlights.com/css/gh-global.css')); diff --git a/application/views/mobile_first/ah-info-page-form.php b/application/views/mobile_first/ah-info-page-form.php index 102692b1..10af646a 100644 --- a/application/views/mobile_first/ah-info-page-form.php +++ b/application/views/mobile_first/ah-info-page-form.php @@ -8,7 +8,8 @@

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

-
+ + @@ -20,7 +21,7 @@ - + @@ -29,4 +30,54 @@
+ + + \ No newline at end of file diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index 6668dbb1..f3244f18 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -18,4 +18,53 @@ + + \ No newline at end of file diff --git a/application/views/mobile_first/gh-info-page-form.php b/application/views/mobile_first/gh-info-page-form.php index 8087b8c2..e91a6b16 100644 --- a/application/views/mobile_first/gh-info-page-form.php +++ b/application/views/mobile_first/gh-info-page-form.php @@ -23,7 +23,7 @@ - +