diff --git a/application/controllers/information.php b/application/controllers/information.php index 98ec8ac8..4def86fb 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1244,15 +1244,15 @@ class Information extends CI_Controller foreach ($feedback_array[0] as $index => $tag_name) { $city_name_string = $feedback_array[1][$index]; $city_name_list = explode(',', $city_name_string); - // $feedback_list = $this->Feedback_model->get_feedback_by_city_list($city_name_list); - // $feedback_content = $this->load->view( - // $template_path . '-feedback', - // array('feedback_data' => $feedback_data), - // true); - // $information->ic_content = str_replace( - // $tag_name, - // $feedback_content, - // $information->ic_content); + $feedback_list = $this->Feedback_model->get_feedback_by_city_list($city_name_list); + $feedback_content = $this->load->view( + $template_path . '-feedback-list', + array('feedback_list' => $feedback_list), + true); + $information->ic_content = str_replace( + $tag_name, + $feedback_content, + $information->ic_content); } } @@ -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..62723006 100644 --- a/application/views/mobile_first/ah-feedback-list.php +++ b/application/views/mobile_first/ah-feedback-list.php @@ -5,55 +5,14 @@ - - - - - - - + $feedback) {?> + +
-
- - -
Melissa Gornie, Apr 9, 2022
-
-
-
- - -
Otto Lawrence, Oct 9, 2021
-
-
-
- - -
Barbara Sheran, Jun 21, 2020
-
-
-
- - -
Lurinda Smith Barton Barnwell, Mar 10, 2020
-
-
-
- - -
Harold Miller, Feb 15, 2020
-
-
-
- - -
Bob Bosshard, Mar 11, 2020
-
-
-
- - -
Bianca Hernandez, Dec 20, 2019
-
-
+
+ +
,
+
+