From 788e949f5c5552211da1e6e01a348edeae11767c Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Fri, 6 May 2022 16:13:18 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=20AH=20TA=20=E6=A0=87?= =?UTF-8?q?=E7=AD=BE=E5=8A=A0=E8=BD=BD=E6=95=B0=E6=8D=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 9 +++++---- .../views/mobile_first/ah-feedback-list.php | 17 +++++++++++++++++ 2 files changed, 22 insertions(+), 4 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index 98ec8ac8..3f7f953c 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1322,10 +1322,11 @@ class Information extends CI_Controller $city_name_list = explode(',', $city_name_string); $feedback_list = $this->Feedback_model->get_feedback_by_city_list($city_name_list); var_dump($feedback_list); - // $feedback_content = $this->load->view( - // $template_path . '-feedback', - // array('feedback_data' => $feedback_data), - // true); + $feedback_content = $this->load->view( + 'mobile_first/ah' . '-feedback-list', + array('feedback_list' => $feedback_list), + true); + echo $feedback_content; // $information->ic_content = str_replace( // $tag_name, // $feedback_content, diff --git a/application/views/mobile_first/ah-feedback-list.php b/application/views/mobile_first/ah-feedback-list.php index a85a6094..80e708b0 100644 --- a/application/views/mobile_first/ah-feedback-list.php +++ b/application/views/mobile_first/ah-feedback-list.php @@ -5,6 +5,23 @@ + + $feedback) {?> + ,{ + "@type": "ListItem", + "position": , + "name": "", + "item": "https://www.chinahighlights.com" + } + + + +
+
+ +
,
+
+