diff --git a/application/controllers/information.php b/application/controllers/information.php index 7b5ff49c..6cd2ad05 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -623,6 +623,22 @@ class Information extends CI_Controller return $this->load->view($mobile_first_template_path.'-h1', $data, TRUE); } + function call_mobile_template_NEXT($template_path,$is_parent_id,$ic_author,$ic_title,$ic_photo){ + //how to plan + + //best time to visit + + //top things to do + + //hotel , where to stay + + $data['infocategory']=$this->Information_model->Detail($is_parent_id);//信息所属分类,获取信息父级节点url title + $data['author']=$this->Operator_model->get_author_nikename($ic_author);//获取作者信息 + $data['ic_title']=$ic_title; + $data['ic_photo']=$ic_photo; + return $this->load->view($template_path.'-next', $data, TRUE); + } + //更新静态文件 //不用参数提交的原因是可能url带有特殊字符,CI会报错 public function update_cache($static_html_url = false, $delete_only = false) diff --git a/application/models/information_model.php b/application/models/information_model.php index 92cf45c3..84e6aea9 100644 --- a/application/models/information_model.php +++ b/application/models/information_model.php @@ -421,7 +421,7 @@ class Information_model extends CI_Model { function group_list(){ $this->init(); $this->search =' AND is_level<=1 '; - $this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,is1.is_path ASC '; + $this->orderBy = ' ORDER BY is1.is_level ASC, is1.is_sort ASC,ic.ic_title ASC,is1.is_path ASC '; return $this->GetList(); } diff --git a/application/views/bootstrap3/information_edit.php b/application/views/bootstrap3/information_edit.php index 6776b2ab..66cb29a9 100644 --- a/application/views/bootstrap3/information_edit.php +++ b/application/views/bootstrap3/information_edit.php @@ -1470,7 +1470,7 @@ foreach ($infoTypeList as $key => $value) { -ic_ht_area_type == 'pd') {?> +

@@ -1479,7 +1479,7 @@ foreach ($infoTypeList as $key => $value) {
- +