|
|
|
@ -1338,12 +1338,6 @@ class Information extends CI_Controller
|
|
|
|
|
$template = str_replace('<!--@TOP-BANNER@-->', '<div class="detailtopbanner">' . $template_TrainSearch . '</div>', $template);
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
//顶部视频
|
|
|
|
|
$meta_news_video = get_meta($information->ic_id, 'meta_news_video');
|
|
|
|
|
$meta_video_picture = get_meta($information->ic_id, 'meta_video_picture');
|
|
|
|
|
if (!empty ($meta_news_video) && !empty ($meta_video_picture)) {
|
|
|
|
|
$template = str_replace('<!--@TOP-VIDEO@-->', '<div class="detailtopbanner"><video autoplay="" controls="controls" id="bgvid" poster="' . $meta_video_picture . '" src="' . $meta_news_video . '" style="position: inherit;"> </video></div>', $template);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
if (is_file('D:/wwwroot/origin-data.chinahighlights.com/css/mobile-first.css')) { //主样式表,内联模式,优先读取本地,没有在从网络读取,为了加速
|
|
|
|
|
$main_css_string = compress_css(file_get_contents('D:/wwwroot/origin-data.chinahighlights.com/css/mobile-first.css'));
|
|
|
|
|