diff --git a/application/controllers/information.php b/application/controllers/information.php index ab42515a..c9eabe05 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -593,6 +593,14 @@ class Information extends CI_Controller $template = str_replace('', $information->ic_seo_description, $template); $template = str_replace('', $information->ic_seo_keywords, $template); $template = str_replace('', $this->config->item('site_url') . $information->ic_url, $template); + + //火车票搜索框添加 + if ($information->is_parent_id == "278035939"){ + //本地测试的火车父类ID为:278035939 。网前为:278008234 + $template_TrainSearch = $this->load->view($template_path . '-train-detail',null, TRUE); + $template = str_replace('', $template_TrainSearch, $template); + } + //非产品页面 $meta_product_code=get_meta($information->ic_id, 'meta_product_code'); if (empty($meta_product_code)) { diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 31e64484..fbdb08a9 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -172,6 +172,7 @@
+
diff --git a/application/views/mobile_first/ch.php b/application/views/mobile_first/ch.php index be19d573..1314c92c 100644 --- a/application/views/mobile_first/ch.php +++ b/application/views/mobile_first/ch.php @@ -154,6 +154,7 @@
+