|
|
|
@ -990,6 +990,14 @@ class Information extends CI_Controller
|
|
|
|
$main_css_string = compress_css(GET_HTTP('https://proxy-data.chinahighlights.com/css/mobile-first.css'));
|
|
|
|
$main_css_string = compress_css(GET_HTTP('https://proxy-data.chinahighlights.com/css/mobile-first.css'));
|
|
|
|
}
|
|
|
|
}
|
|
|
|
$template = str_replace('<!--@MAIN-CSS@-->', '<style type="text/css">' . $main_css_string . '</style>', $template);
|
|
|
|
$template = str_replace('<!--@MAIN-CSS@-->', '<style type="text/css">' . $main_css_string . '</style>', $template);
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// /china-trains/ 节点
|
|
|
|
|
|
|
|
if ($information->is_parent_id == "278008234") {
|
|
|
|
|
|
|
|
$template = str_replace(
|
|
|
|
|
|
|
|
'<!--@CHINA-TRAINS-CSS@-->',
|
|
|
|
|
|
|
|
'<link href="https://proxy-data.chinahighlights.com/css/china-trains.css" rel="stylesheet">',
|
|
|
|
|
|
|
|
$template);
|
|
|
|
|
|
|
|
}
|
|
|
|
//额外样式
|
|
|
|
//额外样式
|
|
|
|
$meta_addon_css = get_meta($information->ic_id, 'meta_addon_css');
|
|
|
|
$meta_addon_css = get_meta($information->ic_id, 'meta_addon_css');
|
|
|
|
if (!empty($meta_addon_css)) {
|
|
|
|
if (!empty($meta_addon_css)) {
|
|
|
|
|