|
|
|
@ -593,6 +593,14 @@ class Information extends CI_Controller
|
|
|
|
|
$template = str_replace('<!--@DESCRIPTION@-->', $information->ic_seo_description, $template);
|
|
|
|
|
$template = str_replace('<!--@KEYWORDS@-->', $information->ic_seo_keywords, $template);
|
|
|
|
|
$template = str_replace('<!--@CANONICAL@-->', $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('<!--@TRAIN-SEARCH@-->', $template_TrainSearch, $template);
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
//非产品页面
|
|
|
|
|
$meta_product_code=get_meta($information->ic_id, 'meta_product_code');
|
|
|
|
|
if (empty($meta_product_code)) {
|
|
|
|
|