|
|
|
|
@ -1518,16 +1518,18 @@ class Information extends CI_Controller
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
$tips_right_list_content = $this->load->view(
|
|
|
|
|
'mobile_first/ah-tips-right-list',
|
|
|
|
|
array(
|
|
|
|
|
'tips_right_first' => array_slice($tipsRightList, 0, 12),
|
|
|
|
|
'tips_right_second' => array_slice($tipsRightList, 12, 12),
|
|
|
|
|
'tips_right_third' => array_slice($tipsRightList, 24, 12)),
|
|
|
|
|
true
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$template = str_replace('<!--@TIPS-RIGHT-LIST@-->', $tips_right_list_content, $template);
|
|
|
|
|
if (!empty($tipsRightList)) {
|
|
|
|
|
$tips_right_list_content = $this->load->view(
|
|
|
|
|
'mobile_first/ah-tips-right-list',
|
|
|
|
|
array(
|
|
|
|
|
'tips_right_first' => array_slice($tipsRightList, 0, 12),
|
|
|
|
|
'tips_right_second' => array_slice($tipsRightList, 12, 12),
|
|
|
|
|
'tips_right_third' => array_slice($tipsRightList, 24, 12)),
|
|
|
|
|
true
|
|
|
|
|
);
|
|
|
|
|
|
|
|
|
|
$template = str_replace('<!--@TIPS-RIGHT-LIST@-->', $tips_right_list_content, $template);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//文中的信息推荐
|
|
|
|
|
if (strpos($information->ic_content, '<!--@Content-Recommends-Article@-->') !== false) {
|
|
|
|
|
|