|
|
|
@ -5751,8 +5751,8 @@ class Information extends CI_Controller {
|
|
|
|
$data = [];
|
|
|
|
$data = [];
|
|
|
|
|
|
|
|
|
|
|
|
#region 公用数据
|
|
|
|
#region 公用数据
|
|
|
|
$apiurl = "http://202.103.68.104:61/info.php"; //本地测试
|
|
|
|
//$apiurl = "http://202.103.68.104:61/info.php"; //本地测试
|
|
|
|
//$apiurl = "https://ct.mycht.cn/info.php"; //网前
|
|
|
|
$apiurl = "https://ct.mycht.cn/info.php"; //网前
|
|
|
|
|
|
|
|
|
|
|
|
//先准备数据,采用直接赋值视图然后返回视图字符串的模式,不使用一次次替换视图模板内容的模式。
|
|
|
|
//先准备数据,采用直接赋值视图然后返回视图字符串的模式,不使用一次次替换视图模板内容的模式。
|
|
|
|
$data["TITLE"] = $information->ic_seo_title;
|
|
|
|
$data["TITLE"] = $information->ic_seo_title;
|
|
|
|
@ -5769,7 +5769,7 @@ class Information extends CI_Controller {
|
|
|
|
$ic_content = $information->ic_content;
|
|
|
|
$ic_content = $information->ic_content;
|
|
|
|
|
|
|
|
|
|
|
|
//图片加延迟
|
|
|
|
//图片加延迟
|
|
|
|
$ic_content = $this->html_optimize_lib->set_lazy_loader($ic_content, 'https://data.hualiyingtravel.com/image/grey.gif');
|
|
|
|
$ic_content = $this->html_optimize_lib->set_lazy_loader($ic_content, 'https://data.chiangmaiyipengfestival.com/image/grey.gif');
|
|
|
|
|
|
|
|
|
|
|
|
$ic_content = $this->html_optimize_lib->set_image_size($ic_content);
|
|
|
|
$ic_content = $this->html_optimize_lib->set_image_size($ic_content);
|
|
|
|
|
|
|
|
|
|
|
|
@ -5787,8 +5787,8 @@ class Information extends CI_Controller {
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
//主样式表,内联模式
|
|
|
|
//主样式表,内联模式
|
|
|
|
$apiweb="http://202.103.68.104:107"; //本地测试
|
|
|
|
//$apiweb="http://202.103.68.104:107"; //本地测试
|
|
|
|
//$apiweb = "https://www.hualiyingtravel.com";
|
|
|
|
$apiweb = "https://www.chiangmaiyipengfestival.com";
|
|
|
|
$cssUrl = $apiweb . "/css/css3/base.css?v=" . time();
|
|
|
|
$cssUrl = $apiweb . "/css/css3/base.css?v=" . time();
|
|
|
|
$main_css_string = compress_css(GET_HTTP($cssUrl));
|
|
|
|
$main_css_string = compress_css(GET_HTTP($cssUrl));
|
|
|
|
$data["MAINCSS"] = '<style type="text/css">' . $main_css_string . '</style>';
|
|
|
|
$data["MAINCSS"] = '<style type="text/css">' . $main_css_string . '</style>';
|
|
|
|
|