From 1e2dd1dd4142c5015e29b2a42dd45d85b5aab66f Mon Sep 17 00:00:00 2001 From: LiaoYijun Date: Mon, 10 Mar 2025 11:31:14 +0800 Subject: [PATCH] =?UTF-8?q?AH=20=E5=A2=9E=E5=8A=A0=E7=A4=BE=E5=AA=92?= =?UTF-8?q?=E5=88=86=E4=BA=AB=E6=A0=87=E9=A2=98=E5=92=8C=E6=8F=8F=E8=BF=B0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 14 +++++++-- application/views/mobile_first/ah-pc.php | 4 ++- application/views/mobile_first/ah.php | 36 +++++++++++++----------- 3 files changed, 34 insertions(+), 20 deletions(-) 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">