|
|
|
@ -744,13 +744,13 @@ class Information extends CI_Controller
|
|
|
|
|
$template = str_replace('<!--@TIPS-RIGHT@-->', "<div class='right_tour'><div class='ah_inforight'>".$template_recommand['Tips Right']->it_content."</div></div>", $template);
|
|
|
|
|
}
|
|
|
|
|
//文中的信息推荐
|
|
|
|
|
if(strpos($information->ic_content,'<!--@Content-Recommends-Article@-->')!==false){
|
|
|
|
|
$information->ic_content = str_replace('<!--@Content-Recommends-Article@-->', $this->load->view($template_path . '-recommends-article', array('recommands'=>$template_recommand), TRUE), $information->ic_content);
|
|
|
|
|
}
|
|
|
|
|
// if(strpos($information->ic_content,'<!--@Content-Recommends-Article@-->')!==false){
|
|
|
|
|
//$information->ic_content = str_replace('<!--@Content-Recommends-Article@-->', $this->load->view($template_path . '-recommends-article', array('recommands'=>$template_recommand), TRUE), $information->ic_content);
|
|
|
|
|
// }
|
|
|
|
|
//文中的线路推荐
|
|
|
|
|
if(strpos($information->ic_content,'<!--@Content-Recommends-Tour@-->')!==false){
|
|
|
|
|
$information->ic_content = str_replace('<!--@Content-Recommends-Tour@-->', $this->load->view($template_path . '-recommends-tour', array('recommands'=>$template_recommand), TRUE), $information->ic_content);
|
|
|
|
|
}
|
|
|
|
|
// if(strpos($information->ic_content,'<!--@Content-Recommends-Tour@-->')!==false){
|
|
|
|
|
// $information->ic_content = str_replace('<!--@Content-Recommends-Tour@-->', $this->load->view($template_path . '-recommends-tour', array('recommands'=>$template_recommand), TRUE), $information->ic_content);
|
|
|
|
|
// }
|
|
|
|
|
|
|
|
|
|
//非产品页面
|
|
|
|
|
if (empty(get_meta($information->ic_id, 'meta_product_code'))) {
|
|
|
|
|