diff --git a/application/controllers/information.php b/application/controllers/information.php index 314d6241..43663464 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -613,16 +613,16 @@ class Information extends CI_Controller preg_match_all('^^', $template, $feedback_array); if (!empty($feedback_array)) { foreach ($feedback_array[0] as $index => $tag_name) { - // $city_name = $feedback_array[1][$index]; - // $feedback_data = $this->feedback_model->get_feedback_by_city($city_name); - // $feedback_content = $this->load->view( - // $template_path . '-feedback', - // array('feedback_data' => $feedback_data), - // true); - // $template = str_replace( - // $tag_name, - // $feedback_content, - // $template); + $city_name = $feedback_array[1][$index]; + $feedback_data = $this->feedback_model->get_feedback_by_city($city_name); + $feedback_content = $this->load->view( + $template_path . '-feedback', + array('feedback_data' => $feedback_data), + true); + $template = str_replace( + $tag_name, + $feedback_content, + $template); } }