diff --git a/application/controllers/information.php b/application/controllers/information.php index 2b4e654a..cbe16f7f 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1930,6 +1930,18 @@ class Information extends CI_Controller $template = str_replace('', $tips_right_list_content, $template); + // + $feedback_newest_10 = $this->Feedback_model->get_feedback_newest(10); + $feedback_newest_10_content = $this->load->view( + 'mobile_first/ah-feedback-newest-10', + array('feedback_list' => $feedback_newest_10), + true + ); + str_replace( + '', + $feedback_newest_10_content, + $template); + //文中的信息推荐 if (strpos($information->ic_content, '') !== false) { $information->ic_content = str_replace('', $this->load->view($template_path . '-recommends-article', array('recommands' => $template_recommand), true), $information->ic_content); @@ -2100,9 +2112,10 @@ class Information extends CI_Controller } } + // $feedback_newest = $this->Feedback_model->get_feedback_newest(); $feedback_newest_content = $this->load->view( - $template_path . '-feedback-newest', + 'mobile_first/ah-feedback-newest', array('feedback_list' => $feedback_newest), true ); diff --git a/application/views/mobile_first/ah-feedback-newest-10.php b/application/views/mobile_first/ah-feedback-newest-10.php new file mode 100644 index 00000000..f2c04a47 --- /dev/null +++ b/application/views/mobile_first/ah-feedback-newest-10.php @@ -0,0 +1,23 @@ +
+ + $feedback) {?> +
+ + +
+ +
\ No newline at end of file