diff --git a/application/controllers/information.php b/application/controllers/information.php index 28ef32ca..ff5d81f4 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1111,7 +1111,7 @@ class Information extends CI_Controller // 检查图片地址格式 $parsed_photo_url = parse_url($parsed_photo); - if (strpos($parsed_photo,"data.chinahighlights.com")!==false ){ + if (strpos($parsed_photo,"data.chinahighlights.com")!==false ){ //判断是否录入了//data.chinahighlihgts.com这种以前兼容http的图片url //如果有,就不需要改变图片url } @@ -2490,6 +2490,16 @@ class Information extends CI_Controller $template = str_replace('', '', $template); } + $meta_note_ogtitle = get_meta($information->ic_id, 'meta_note_ogtitle'); + if (!empty($meta_note_ogtitle)) { + $template = str_replace('', '', $template); + } + + $meta_note = get_meta($information->ic_id, 'meta_note'); + if (!empty($meta_note)) { + $template = str_replace('', '', $template); + } + $meta_index_set = get_meta($information->ic_id, 'meta_index_set'); if (!empty($meta_index_set)) { $template = str_replace('', '', $template); @@ -3042,7 +3052,7 @@ class Information extends CI_Controller } $template_TrainDetailSearch = $this->load->view($template_path . '-train-index', $data_TrainCity, true); } - + /* 详细内容 */ diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index e7880a5f..e75ad12b 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -11,6 +11,8 @@ + + @@ -45,7 +47,7 @@ alt="Asiahighlights logo" class="asiahighlightslogo img-responsive">