diff --git a/application/config/config.php b/application/config/config.php
index d04ee784..f2b0bc6d 100644
--- a/application/config/config.php
+++ b/application/config/config.php
@@ -428,6 +428,7 @@ $config['site'] = array(
'shanghai' => array('site_code' => 'shanghai', 'site_id' => 96, 'site_lgc' => '107', 'site_url' => 'https://www.shanghaihighlights.com', 'site_image_url' => 'https://images.shanghaihighlights.com', 'site_authors' => array('ll', 'D'), 'site_user' => ',ycc,vz,bhn,J,wj,ll,D,ZP,lyy,'),
'beijing' => array('site_code' => 'beijing', 'site_id' => 98, 'site_lgc' => '106', 'site_url' => 'https://www.mybeijingchina.com', 'site_image_url' => 'https://images.mybeijingchina.com', 'site_authors' => array('ll', 'D'), 'site_user' => ',ycc,vz,bhn,J,wj,ll,D,ZP,lyy,'),
'trainspread' => array('site_code' => 'trainspread', 'site_id' => 149, 'site_lgc' => '1', 'site_url' => 'https://www.trainspread.com', 'site_image_url' => 'https://images.trainspread.com', 'site_authors' => array('ll', 'D'), 'site_user' => ',ycc,vz,bhn,J,wj,ll,D,ZP,lyy,'),
+ 'guilin' => array('site_code' => 'guilin', 'site_id' => 90, 'site_lgc' => '103', 'site_url' => 'https://www.guilinchina.net/', 'site_image_url' => 'https://images.guilinchina.net', 'site_authors' => array('ll', 'D'), 'site_user' => ',ycc,vz,bhn,J,wj,ll,D,ZP,lyy,'),
);
//静态文件生成路径
@@ -765,6 +766,7 @@ $config['css_source_chinatravel'] = 'https://data.chinatravel.com/css/newcss3/ba
$config['css_source_shanghai'] = 'https://data.shanghaihighlights.com/css/css3/base.css';
$config['css_source_beijing'] = 'https://www.mybeijingchina.com/css/css3/base.css';
$config['css_source_trainspread'] = 'https://data.trainspread.com/css/base.css';
+$config['css_source_guilin'] = 'https://data.guilinchina.net/css/base.css';
$config['css_source_ts'] = 'https://www.trainspread.com/css/bootstrap.min.css';
//静态文件生成路径
@@ -782,6 +784,7 @@ $config['cache']['chinatravel']['cache_path'] = 'D:\wwwcache\mobile-first\chinat
$config['cache']['shanghai']['cache_path'] = 'D:\wwwcache\mobile-first\shanghaihighlights.com';
$config['cache']['beijing']['cache_path'] = 'D:\wwwcache\mobile-first\mybeijingchina.com';
$config['cache']['trainspread']['cache_path'] = 'D:\wwwcache\mobile-first\trainspread.com';
+$config['cache']['guilin']['cache_path'] = 'D:\wwwcache\mobile-first\guilinchina.net';
//静态文件更新接口
$config['cache']['jp']['cache_api'] = '/info.php/information/update_cache/';
diff --git a/application/controllers/information.php b/application/controllers/information.php
index 28ef32ca..e1e8ae31 100644
--- a/application/controllers/information.php
+++ b/application/controllers/information.php
@@ -834,6 +834,8 @@ class Information extends CI_Controller
$this->make_www_cache_bj($information);
} else if ($this->config->item('site_code') == 'trainspread') {
$this->make_www_cache_ts($information);
+ } else if ($this->config->item('site_code') == 'guilin') {
+ $this->make_www_cache_gl($information);
} else if ($this->config->item('site_code') == 'gh') {
$this->make_www_cache_gh('pc', $information, $recommand_information);
$this->make_www_cache_gh('mobile', $information, $recommand_information);
@@ -4219,7 +4221,7 @@ class Information extends CI_Controller
$t_excludedate = get_meta($information->ic_id, "meta_trippest_excludedate");
$t_includedate = get_meta($information->ic_id, "meta_trippest_includedate");
$t_excludemonth = get_meta($information->ic_id, "meta_trippest_excludemonth");
- $InfoData->t_excludedate = $t_excludedate;
+ $InfoData->t_excludedate = $t_excludedate;
$InfoData->t_includedate = $t_includedate;
$InfoData->t_excludemonth = $t_excludemonth;
$InfoData->t_hoteladdress = get_meta($information->ic_id, "meta_trippest_hoteladdress");
@@ -4319,7 +4321,401 @@ class Information extends CI_Controller
* 桂林站 www.guilinchina.net
*/
public function make_www_cache_gl($information){
+ $data = array();
+
+ #region 公用数据
+ // $apiurl = "http://202.103.68.104:88/info.php"; //本地测试
+ $apiurl = "https://ct.mycht.cn/info.php"; //网前
+
+ //先准备数据,采用直接赋值视图然后返回视图字符串的模式,不使用一次次替换视图模板内容的模式。
+ $data["TITLE"] = $information->ic_seo_title;
+ $data["DESCRIPTION"] = $information->ic_seo_description;
+ $data["KEYWORDS"] = $information->ic_seo_keywords;
+ $data["CANONICAL"] = $this->config->item('site_url') . $information->ic_url;
+ $meta_ct_page_type = "";
+ $meta_ct_page_type = get_meta($information->ic_id, 'meta_ct_page_type'); //页面类型
+ $meta_product_code = get_meta($information->ic_id, 'meta_product_code'); //绑定的产品编号
+ $template_path = 'mobile_first/' . $this->config->item('site_code'); //模板位置
+
+ //面包屑
+ $crumb = "";
+ $crumb_data = $this->Information_model->get_path_exclude_ct($information->is_id, $information->is_path);
+ if (count($crumb_data) > 0) { //至少有一个父类面包屑才显示
+ $crumb = "
";
+ }
+ $data["crumb"] = $crumb;
+
+ //作者字符串,信息页或者城市天气页加载 2022-7-26
+ $str_author = "";
+ $author = $this->Operator_model->get_author_nikename($information->ic_author);
+ if ((empty($meta_product_code) && !($meta_ct_page_type !== false && $meta_ct_page_type != "")) || $meta_ct_page_type == "weatherpage") {
+ $OPI_FirstName = !empty($author) ? $author->OPI_FirstName : 'author nickname';
+ $str_author = 'Written by ' . $OPI_FirstName . ' Updated ' . date("M. j, Y", strtotime($information->ic_datetime)) . '
';
+ }
+
+ //火车票详细页搜索框添加 -- zp
+ $meta_ct_page_trainform = get_meta($information->ic_id, 'meta_ct_page_trainform'); //是否插入火车票搜索框
+ $template_TrainDetailSearch = "";
+ if ($meta_ct_page_trainform == "yes" || strpos($information->ic_url,"/china-trains")!==false) {
+ $meta_train_city = get_meta($information->ic_id, 'meta_train_city'); //默认的出发及目的地城市 , beijing|shanghai
+ $data_TrainCity = array();
+ $data_TrainCity["from"] = "";
+ $data_TrainCity["to"] = "";
+ if (!empty($meta_train_city)) {
+ if (strpos($meta_train_city, '|') !== false) {
+ $arrTrainCity = explode('|', $meta_train_city);
+ $data_TrainCity["from"] = $arrTrainCity[0];
+ $data_TrainCity["to"] = $arrTrainCity[1];
+
+ }
+ }
+ $template_TrainDetailSearch = $this->load->view($template_path . '-train-index', $data_TrainCity, true);
+ }
+
+
+
+ /* 详细内容 */
+ $ic_content = $information->ic_content;
+
+ /** 替换H1加面包屑,加作者 */
+ $ic_content = preg_replace('/(.*)<\/h1>/i', $crumb . "\r\n" . '$1
' . "\r\n" . $str_author . $template_TrainDetailSearch . "\r\n", $ic_content, 1);
+
+ // 动态加载反馈标签,按城市出前三条。左侧
+ // HTLM:
,显示全部用
+ // 解析结果:; Shanghai,Beijing
+ $feedback_array = [];
+ preg_match_all('^^', $information->ic_content, $feedback_array);
+ if (!empty($feedback_array)) {
+ foreach ($feedback_array[0] as $index => $tag_name) {
+ $city_name_string = $feedback_array[1][$index];
+ $feedback_list = $this->Feedback_model->get_CT_feedback_by_cityname($city_name_string,30);
+ // 防止触发 Google 网络垃圾政策只返回前三条
+ $top3_feedback_list = array_slice($feedback_list, 0, 3);
+ $feedback_content = $this->load->view(
+ 'mobile_first/chinatravel-feedback-list',
+ array('feedback_list' => $top3_feedback_list),
+ true
+ );
+ $ic_content = str_replace(
+ $tag_name,
+ $feedback_content,
+ $ic_content
+ );
+ }
+ }
+
+ // 动态加载反馈标签,按城市出前三条。整页
+ // HTLM: ,显示全部用
+ // 解析结果:; Shanghai,Beijing
+ $feedback_array = [];
+ preg_match_all('^^', $information->ic_content, $feedback_array);
+ if (!empty($feedback_array)) {
+ foreach ($feedback_array[0] as $index => $tag_name) {
+ $city_name_string = $feedback_array[1][$index];
+ $feedback_list = $this->Feedback_model->get_CT_feedback_by_cityname($city_name_string,30);
+ // 防止触发 Google 网络垃圾政策只返回前三条
+ $top3_feedback_list = array_slice($feedback_list, 0, 3);
+ $feedback_content = $this->load->view(
+ 'mobile_first/chinatravel-feedback-cross',
+ array('feedback_list' => $top3_feedback_list),
+ true
+ );
+ $ic_content = str_replace(
+ $tag_name,
+ $feedback_content,
+ $ic_content
+ );
+ }
+ }
+
+ //图片加延迟
+ $ic_content = $this->html_optimize_lib->set_lazy_loader($ic_content, 'https://data.guilinchina.net/image/grey.gif');
+
+ $ic_content = $this->html_optimize_lib->set_image_size($ic_content);
+
+
+
+ //非产品页面
+ $data["PRODUCTJS"] = "";
+ $data["ISPRODUCT"] = "no"; //判断是否是产品页
+ $data["addthis_widget"] = "";
+ $data["FloatIcon"] = ""; //浮动图标替代addthis
+ $arrExitUrl = array("/", "/culture", "/guide", "/tour", "/citytour", "/daytrip", "/asia-tour", "/china-trains");
+
+ if (empty(get_meta($information->ic_id, 'meta_product_code')) || in_array($information->ic_url, $arrExitUrl)) {
+ $data["FloatIcon"] = "";
+ } else {
+ $data["ISPRODUCT"] = "yes";
+ }
+
+ //顶部视频
+ $data["TOPVIDEO"] = "";
+ $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)) {
+ $data["TOPVIDEO"] = '';
+ }
+
+ //主样式表,内联模式
+ //$apiweb="http://202.103.68.104:88"; //本地测试
+ $apiweb = "https://data.guilinchina.net";
+ $cssUrl = $apiweb . "/css/css3/base.css?v=" . time();
+ $main_css_string = compress_css(GET_HTTP($cssUrl));
+ $data["MAINCSS"] = '';
+
+ //额外样式
+ $data["ADDONCSS"] = "";
+ $meta_addon_css = get_meta($information->ic_id, 'meta_addon_css');
+ if (!empty($meta_addon_css)) {
+ //引用方式
+ //$data["ADDONCSS"]= '';
+ //内联方式
+ $meta_addon_css_string = compress_css(GET_HTTP($meta_addon_css));
+ $data["ADDONCSS"] = '';
+ }
+ //社媒分享图片
+ $data["OGIMAGE"] = "";
+ if (!empty($information->ic_photo)) {
+ if (strpos($information->ic_photo, "guilinchina.net") != false) {
+ $full_ic_photo = $information->ic_photo;
+ } else {
+ $full_ic_photo = $this->config->item('site_image_url') . $information->ic_photo;
+ }
+ $data["OGIMAGE"] = '';
+ }
+
+ //结构化标签
+ $data["ConstructionCode"] = "";
+ $meta_construction_code = get_meta($information->ic_id, 'meta_construction_code');
+ if (!empty($meta_construction_code)) {
+ $data["ConstructionCode"] = $meta_construction_code;
+ }
+
+ //总JS:为了方便以后js好维护,必须的把一些公用的JS统计到一个文件。但是又不是所有页面都需要调用这个基础js,所以必须在这里进行判断
+ $addBaseJs = false;
+ $addonJs = "";
+ $meta_ct_page_price = get_meta($information->ic_id, 'meta_ct_page_price'); //是否包含价格
+
+ if ($meta_ct_page_price == "yes") {
+ $addBaseJs = true;
+ } else if ($meta_ct_page_type !== false && $meta_ct_page_type != "") {
+ $addBaseJs = true;
+ }
+
+ if ($addBaseJs) {
+ $addonJs = '';
+ }
+ /// ----- 总JS判断完成-----
+
+ //额外js
+ $data["ADDONJS"] = "";
+ $meta_addon_js = get_meta($information->ic_id, 'meta_addon_js');
+ if (!empty($meta_addon_js)) {
+ $addonJs .= '';
+ }
+ //价格js
+ if ($meta_ct_page_price == "yes") {
+ $addonJs .= '';
+ }
+
+ //列表js
+ if (in_array($meta_ct_page_type, array('daytripindex', 'tourindex', 'attractionindex'))) {
+ $addonJs .= '';
+ }
+
+ //天气
+ if (in_array($meta_ct_page_type, array('weatherpage'))) {
+ $addonJs .= '';
+ }
+
+ //页面传递参数
+ $passParam = "";
+ if (in_array($meta_ct_page_type, array("daytripindex", "tourindex", "attractionindex", "weatherpage"))) { //一日游和线路列表
+ //产品首页
+ $meta_ct_page_value = get_meta($information->ic_id, 'meta_ct_page_value');
+
+ if (in_array($meta_ct_page_type, array("attractionindex"))) {
+ //旧信息id,景点等信息类
+ $passParam .= '';
+ } else {
+ //城市名称,产品类用
+ $passParam .= '';
+ }
+
+ //加信息平台的is_id
+ $passParam .= '';
+ }
+
+ //产品详细页
+ $productType = "";
+ $productCode = "";
+ if ($meta_ct_page_type == "daytripdetail") {
+ //一日游
+ if (!empty($meta_ct_page_type)) {
+ $productType = $meta_ct_page_type;
+ }
+ $meta_ct_page_value = get_meta($information->ic_id, 'meta_ct_page_value');
+ if (!empty($meta_ct_page_value)) {
+ $productCode = $meta_ct_page_value;
+ }
+ $addonJs .= '';
+ //$addonJs .= '';
+ $data["ADDONCSS"] .= '';
+
+ //一日游表单的替换
+ $DayTripData["productCode"] = $productCode;
+ $template_form_daydetail = $this->load->view($template_path . '-daydetail-form', $DayTripData, true); //模板内容
+ //使用simple_html_dom_lib库来进行表单添加
+ $ic_content = $this->html_optimize_lib->add_htmlcode($ic_content, "#maincontent", $template_form_daydetail);
+ }
+ if ($meta_ct_page_type == "tourdetail") {
+ //线路
+ $productType = $meta_ct_page_type;
+ $meta_ct_page_value = get_meta($information->ic_id, 'meta_ct_page_value');
+ if (!empty($meta_ct_page_value)) {
+ $productCode = $meta_ct_page_value;
+ }
+
+ //获取cli_sn
+ $tourdata = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/apish/getCliSn/?webcode=guilin¶m=" . $productCode));
+ $data["clisn"] = $tourdata->clisn;
+
+ //获取price
+ $tourprice = json_decode(GET_HTTP($apiurl . "/thirdparty/ctmobilefirst/apish/getTourPrice/?webcode=guilin¶m=" . $productCode));
+ $dataform["tourprice"] = $tourprice->price;
+ //调取模板
+ $dataform["TourCode"] = $productCode;
+ $dataform["CLI_SN"] = $tourdata->clisn;
+ $dataform["TourName"] = $information->ic_title;
+ $dataform["ic_photo"] = $information->ic_photo;
+ $template_form_tourqi = $this->load->view($template_path . '-form-tourqi', $dataform, true);
+ //使用simple_html_dom_lib库来进行表单添加
+ $ic_content = $this->html_optimize_lib->add_htmlcode($ic_content, "#maincontent", $template_form_tourqi);
+
+ }
+
+
+ //表单页
+ if (in_array($meta_ct_page_type, array("customize", "contactus", "pagewithform", "tourdetail"))) {
+ $productType = $meta_ct_page_type;
+ $addonJs .= '';
+ $data["ADDONCSS"] .= '';
+ }
+
+ if ($meta_ct_page_type == "daytripform") {
+ $productType = $meta_ct_page_type;
+ $addonJs .= '';
+ $data["ADDONCSS"] .= '';
+ }
+
+ $data["productType"] = $productType;
+ $data["productCode"] = $productCode;
+
+ //页面添加的元素
+ $data["ADDONJS"] = $addonJs;
+ $data["passParam"] = $passParam;
+ //页面详细内容放最后,这样上面都可以进行内容的替换,比如一日游表单
+ $data["CUSTOMCONENT"] = $ic_content;
+
+ #endregion
+
+ #region 移动端和PC端差别处理区域
+ $arrDevice = array("mobile", "pc");
+ foreach ($arrDevice as $device) {
+ //顶部全屏大图
+ $data["TOPBANNER"] = "";
+ $ImgText = ""; //图文字
+ $meta_addon_picture_url = get_meta($information->ic_id, 'meta_addon_picture_url');
+ $meta_addon_picture_text = get_meta($information->ic_id, 'meta_addon_picture_text');
+ if ($device == 'mobile') { //移动端读取移动大图
+ $meta_addon_picture = get_meta($information->ic_id, 'meta_addon_picture_mobile');
+ $bannerImg = '
';
+ if (!empty($meta_addon_picture_url) && !empty($meta_addon_picture_text)) {
+ $ImgText = '';
+ } else if (!empty($meta_addon_picture_text)) {
+ $ImgText = '' . $meta_addon_picture_text . '
';
+ }
+ } else {
+ $meta_addon_picture = get_meta($information->ic_id, 'meta_addon_picture');
+ $bannerImg = '
';
+ if (!empty($meta_addon_picture_url) && !empty($meta_addon_picture_text)) {
+ $ImgText = '';
+ } else if (!empty($meta_addon_picture_text)) {
+ $ImgText = '' . $meta_addon_picture_text . '
';
+ }
+ }
+
+ // 搜索框
+ $template_TrainSearch = "";
+ if ($information->ic_url == "/china-trains/hometest" || $information->ic_url == "/trains") {
+ //火车票首页
+ $template_TrainSearch = $this->load->view($template_path . '-train-index', null, true);
+ $ImgText = "";
+ //火车票移动端去掉头部图片,保证搜索框CLS
+ if ($device == 'mobile') {
+ $meta_addon_picture = "";
+ $data["TOPBANNER"] = '' . $template_TrainSearch . '
';
+ }
+ } else if ($information->ic_url == "/china-flights") {
+ //机票首页
+ $template_TrainSearch = $this->load->view($template_path . '-flight-index', null, true);
+ $ImgText = "";
+ //飞机票移动端去掉头部图片,保证搜索框CLS
+ if ($device == 'mobile') {
+ $meta_addon_picture = "";
+ $data["TOPBANNER"] = '' . $template_TrainSearch . '
';
+ }
+ }
+
+ if (!empty($meta_addon_picture)) {
+ if (!empty($meta_addon_picture_url)) {
+ $data["TOPBANNER"] = '';
+ } else {
+ $data["TOPBANNER"] = '' . $bannerImg . $ImgText . $template_TrainSearch . '
';
+ }
+ }
+
+ //两种设备分别调用两种模板 ,静态化
+ switch ($device) {
+ case 'mobile':
+ //获取移动优先的模板,如果有的话
+ $template_path = 'mobile_first/' . $this->config->item('site_code');
+ if (is_file(APPPATH . 'views/' . $template_path . EXT)) {
+ $template = $this->load->view($template_path, $data, true);
+ $html_path_ext = '-mobile.htm';
+ } else {
+ return false;
+ }
+ break;
+ case 'pc':
+ //获取PC的模板,如果有的话
+ $template_path = 'mobile_first/' . $this->config->item('site_code');
+ if (is_file(APPPATH . 'views/' . $template_path . '-pc' . EXT)) {
+ $template = $this->load->view($template_path . '-pc', $data, true);
+ $html_path_ext = '-pc.htm';
+ } else {
+ return false;
+ }
+ break;
+ default:
+ }
+
+ //生成静态文件
+ $html_path = $this->config->item('cache')[$this->config->item('site_code')]['cache_path'] . $information->ic_url;
+ $html_path = str_replace("\\", "/", $html_path);
+ if (substr($html_path, -1, 1) == '/') {
+ $html_path = $html_path . 'index.htm';
+ }
+ $html_path .= $html_path_ext;
+ create_folder_by_path(dirname($html_path));
+ file_put_contents($html_path, $template, LOCK_EX);
+ }
+ #endregion
}
//通过内容找到第一张图片
diff --git a/application/helpers/info_helper.php b/application/helpers/info_helper.php
index 2d0384e9..cc65b805 100644
--- a/application/helpers/info_helper.php
+++ b/application/helpers/info_helper.php
@@ -103,7 +103,7 @@ function is_mobile_first()
{
$CI = &get_instance();
$sitecode = $CI->config->item('site_code');
- if ($sitecode == 'ch' || $sitecode == 'ah' || $sitecode == 'chinatravel' || $sitecode == 'gh' || $sitecode == 'shanghai' || $sitecode=='beijing' || $sitecode == "trainspread") {
+ if ($sitecode == 'ch' || $sitecode == 'ah' || $sitecode == 'chinatravel' || $sitecode == 'gh' || $sitecode == 'shanghai' || $sitecode=='beijing' || $sitecode == "trainspread" || $sitecode=="guilin") {
return true;
} else {
return false;
diff --git a/application/third_party/ctmobilefirst/controllers/api.php b/application/third_party/ctmobilefirst/controllers/api.php
index 156d68ba..7953a1fd 100644
--- a/application/third_party/ctmobilefirst/controllers/api.php
+++ b/application/third_party/ctmobilefirst/controllers/api.php
@@ -362,12 +362,22 @@ class Api extends CI_Controller {
'imagesUrl'=>'images.trainspread.com',
];
+ $guilin = [
+ 'dei_sn' => '24',
+ 'LGC' =>'103',
+ 'WebCode'=>'guilin',
+ 'WebUrl'=>'www.guilinchina.net',
+ 'WebCdn'=>'data.guilinchina.net',
+ 'imagesUrl'=>'images.guilinchina.net',
+ ];
+
$localeMap = [
'chinatravel' => $chinatravel,
'shanghai' => $shanghai,
'beijing' => $beijing,
'trainspread' => $trainspread,
+ 'guilin' =>$guilin,
];
if (isset($_GET["webcode"])){
diff --git a/application/third_party/ctmobilefirst/models/api_model.php b/application/third_party/ctmobilefirst/models/api_model.php
index ab7ad3bf..8fca6ba2 100644
--- a/application/third_party/ctmobilefirst/models/api_model.php
+++ b/application/third_party/ctmobilefirst/models/api_model.php
@@ -175,7 +175,7 @@ class Api_model extends CI_Model {
INNER JOIN dbo.BIZ_PackageInfo2 p2 ON P1.PAG_SN = p2.PAG2_PAG_SN
INNER JOIN dbo.CItyInfo2 ON P1.PAG_CII_SN = dbo.CItyInfo2.CII2_CII_SN AND dbo.CItyInfo2.CII2_LGC = 1
WHERE 1=2 and (p2.PAG2_LGC = 104)
- AND (p1.pag_dei_sn = 17)
+ AND (p1.pag_dei_sn = '".$this->dei_sn."')
AND (p2.PAG2_Check = 2)
AND (PAG_Code not in(
SELECT convert(varchar(100),(
diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php
index f534739b..d26883ea 100644
--- a/application/views/bootstrap3/information_edit.php
+++ b/application/views/bootstrap3/information_edit.php
@@ -863,7 +863,7 @@ if (!empty($setting_website_nav)) {
- ic_sitecode == 'chinatravel' || $information->ic_sitecode == 'shanghai' || $information->ic_sitecode == 'beijing' || $information->ic_sitecode == 'trainspread') {
+ config->item('site_code'), array('ct', 'chinatravel', 'shanghai', 'beijing', 'trainspread','guilin'))) {
?>
@@ -2654,7 +2654,7 @@ foreach ($author_list as $author_item) {
忽略URL重复
- config->item('site_code'), array('ch', 'cht', 'gm', 'ah', 'gh', 'ct', 'chinatravel', 'shanghai', 'beijing', 'trainspread'))) {?>
+ config->item('site_code'), array('ch', 'cht', 'gm', 'ah', 'gh', 'ct', 'chinatravel', 'shanghai', 'beijing', 'trainspread','guilin'))) {?>
- config->item("site_code")=="chinatravel" || $this->config->item("site_code")=="shanghai" || $this->config->item("site_code")=="beijing" || $this->config->item("site_code")=="trainspread" ){ ?>
+ config->item("site_code")=="chinatravel" || $this->config->item("site_code")=="shanghai" || $this->config->item("site_code")=="beijing" || $this->config->item("site_code")=="trainspread" || $this->config->item("site_code")=="guilin" ){ ?>
diff --git a/application/views/mobile_first/guilin-daydetail-form.php b/application/views/mobile_first/guilin-daydetail-form.php
new file mode 100644
index 00000000..902e86df
--- /dev/null
+++ b/application/views/mobile_first/guilin-daydetail-form.php
@@ -0,0 +1,51 @@
+
+
diff --git a/application/views/mobile_first/guilin-pc.php b/application/views/mobile_first/guilin-pc.php
new file mode 100644
index 00000000..301fd8d8
--- /dev/null
+++ b/application/views/mobile_first/guilin-pc.php
@@ -0,0 +1,145 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/mobile_first/guilin-train-index.php b/application/views/mobile_first/guilin-train-index.php
new file mode 100644
index 00000000..ebae3f63
--- /dev/null
+++ b/application/views/mobile_first/guilin-train-index.php
@@ -0,0 +1,92 @@
+
+
+
China Train Ticket Service
+
+
+
+
+
+
\ No newline at end of file
diff --git a/application/views/mobile_first/guilin.php b/application/views/mobile_first/guilin.php
new file mode 100644
index 00000000..23082aa6
--- /dev/null
+++ b/application/views/mobile_first/guilin.php
@@ -0,0 +1,142 @@
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
+
\ No newline at end of file