From 4b0212c998dd2682bf64a03549dd64dfb465996f Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Fri, 27 May 2022 10:13:42 +0800 Subject: [PATCH] =?UTF-8?q?CH=E3=80=81GH=20=E5=A2=9E=E5=8A=A0=E4=BF=A1?= =?UTF-8?q?=E6=81=AF=E9=A1=B5=E9=9D=A2=E8=A1=A8=E5=8D=95=E6=A0=87=E7=AD=BE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 5 +++++ 1 file changed, 5 insertions(+) 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'));