diff --git a/application/controllers/overseas.php b/application/controllers/overseas.php new file mode 100644 index 00000000..f02df736 --- /dev/null +++ b/application/controllers/overseas.php @@ -0,0 +1,58 @@ +permission->is_admin(); + //$this->output->enable_profiler(TRUE); + $this->load->model('Area_model'); + $this->load->model('Information_model'); + $this->load->model('InfoContents_model'); + $this->load->model('InfoStructures_model'); + } + + //团购信息 + public function index() + { + $overseas_id = 1; + //查询结构根节点,当为空则建立 + $rootStructure = $this->Information_model->GetRoot('g', $overseas_id); + if ($rootStructure == FALSE) { + $this->InfoContents_model->Add( + '', + 'Overseas', + 'root', + '', + '', + '', + '', + '', + '', + 0, + 0, + '', + '', + 0, + 0, + '', + '', + $overseas_id, + 'g', + 0, + '', + '' + ); + $this->InfoStructures_model->Add(0, $this->InfoContents_model->insert_id); + $is_id = $this->InfoStructures_model->insert_id; + } else { + $is_id = $rootStructure->is_id; + } + redirect(site_url('information/edit/' . $is_id)); + } +} diff --git a/application/third_party/wwwlog/controllers/index.php b/application/third_party/wwwlog/controllers/index.php index 46ba22fc..bfeae234 100644 --- a/application/third_party/wwwlog/controllers/index.php +++ b/application/third_party/wwwlog/controllers/index.php @@ -15,11 +15,17 @@ class Index extends CI_Controller private $Log_Client; private $logstore=array('cht'=>'globalhoghlights' ,'ah'=>'asiahighlights' + ,'gh'=>'globalhighlights' ,'ct'=>'chinatravel' ,'yz'=>'yangtzeriver' ,'gl'=>'guilinchina' ,'sht'=>'shanghaihighlights' ,'gm'=>'chinarundreisen' + ,'jp'=>'arachina' + ,'ru'=>'chinahighlights_ru' + ,'it'=>'viaggio-in-cina' + ,'vac'=>'viaje-a-china' + ,'vc'=>'voyageschine' );//站点日志存储库,每个网站对应一个 diff --git a/application/views/bootstrap/welcome.php b/application/views/bootstrap/welcome.php index 61fe770d..7c1634f6 100644 --- a/application/views/bootstrap/welcome.php +++ b/application/views/bootstrap/welcome.php @@ -1,9 +1,9 @@
字母 | @@ -184,7 +190,7 @@|
---|---|
@@ -192,18 +198,18 @@ CII_Code, 0, 1) == chr($i)) { - ?> - CII2_Name; ?> , - + CII2_Name; ?> , + |
Or send an inquiry below
-