|
|
@ -1280,6 +1280,13 @@ class Information extends CI_Controller
|
|
|
|
array('meta_product_code' => $meta_product_code, 'information' => $information),
|
|
|
|
array('meta_product_code' => $meta_product_code, 'information' => $information),
|
|
|
|
true);
|
|
|
|
true);
|
|
|
|
$information->ic_content = str_replace('<!--@INQUIRY-FORM@-->', $inquiry_form_template, $information->ic_content);
|
|
|
|
$information->ic_content = str_replace('<!--@INQUIRY-FORM@-->', $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@-->', $gp_form_content, $information->ic_content);
|
|
|
|
}
|
|
|
|
}
|
|
|
|
// why-us 相关的标签
|
|
|
|
// why-us 相关的标签
|
|
|
|
$why_us_mobile = $this->load->view($template_path . '-why-us-mobile', false, true);
|
|
|
|
$why_us_mobile = $this->load->view($template_path . '-why-us-mobile', false, true);
|
|
|
@ -1301,10 +1308,6 @@ class Information extends CI_Controller
|
|
|
|
$lantern_form_info_page_content = $this->load->view($template_path . '-lantern-form-info-page', false, true);
|
|
|
|
$lantern_form_info_page_content = $this->load->view($template_path . '-lantern-form-info-page', false, true);
|
|
|
|
$information->ic_content = str_replace('<!--@LANTERN-FORM-INFO-PAGE@-->', $lantern_form_info_page_content, $information->ic_content);
|
|
|
|
$information->ic_content = str_replace('<!--@LANTERN-FORM-INFO-PAGE@-->', $lantern_form_info_page_content, $information->ic_content);
|
|
|
|
|
|
|
|
|
|
|
|
// GP 表单
|
|
|
|
|
|
|
|
$gp_form_content = $this->load->view($template_path . '-gp-form', false, true);
|
|
|
|
|
|
|
|
$information->ic_content = str_replace('<!--@GP-FORM@-->', $gp_form_content, $information->ic_content);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。
|
|
|
|
// 动态加载反馈标签,第一个城市不足八条,使用第二城市数据。
|
|
|
|
// HTLM: <div><!--@FEEDBACK_Siem Reap,Bangkok@--></div>
|
|
|
|
// HTLM: <div><!--@FEEDBACK_Siem Reap,Bangkok@--></div>
|
|
|
|
// 解析结果:<!--@FEEDBACK_Siem Reap,Bangkok@-->; Siem Reap,Bangkok
|
|
|
|
// 解析结果:<!--@FEEDBACK_Siem Reap,Bangkok@-->; Siem Reap,Bangkok
|
|
|
|