|
|
|
@ -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);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|