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 @@
-
+
@@ -65,35 +66,35 @@ $item) { - ?> + ?> - ic_url_title; ?> + ic_url_title; ?> ic_author); ?> ic_datetime)); ?> - + 国家: 直辖市和特区 - +
  • CII2_Name ?>
  • 省份 - -
  • PRI2_Name ?>
  • + +
  • PRI2_Name ?>
  • @@ -119,8 +120,8 @@ + $i += 1; + ?> username ?> @@ -131,10 +132,12 @@ addtime)) ?> invalid_date)) ?> - + - - + + @@ -151,31 +154,34 @@ $item) { - $is_ids.=$item->is_id.','; - ?> - + $is_ids .= $item->is_id . ','; + ?> + - ic_url_title)) $item->ic_url_title = '编辑信息'; - echo $item->ic_url_title; ?> + ic_url_title)) $item->ic_url_title = '编辑信息'; + echo $item->ic_url_title; ?> ic_author); ?> ic_datetime)); ?> - + - -

    批量更新搜索页面

    - - + +

    批量更新搜索页面

    + + - + 省份城市列表 - + @@ -184,7 +190,7 @@ - + - + -
    PRI2_Name ?>PRI2_Name ?>
    字母
    @@ -192,18 +198,18 @@ CII_Code, 0, 1) == chr($i)) { - ?> - CII2_Name; ?> , - + CII2_Name; ?> , +
    + -
    - -
    - - 最新编辑城市 -
    - -
    - -
    +
    + +
    + + 最新编辑城市 +
    + +
    + +
    \ No newline at end of file diff --git a/application/views/mobile_first/ah-pc.php b/application/views/mobile_first/ah-pc.php index 35631ecd..fbb2a7f6 100644 --- a/application/views/mobile_first/ah-pc.php +++ b/application/views/mobile_first/ah-pc.php @@ -38,6 +38,7 @@ gtag('js', new Date()); gtag('config', 'AW-996341496'); + @@ -60,6 +61,7 @@
  • Japan
  • India
  • Vietnam
  • + diff --git a/application/views/mobile_first/ah-why-us-mobile.php b/application/views/mobile_first/ah-why-us-mobile.php index 812d897b..14efaba9 100644 --- a/application/views/mobile_first/ah-why-us-mobile.php +++ b/application/views/mobile_first/ah-why-us-mobile.php @@ -1,3 +1,3 @@
    -travel with confidence despite covid-19 +travel with confidence despite covid-19
    \ No newline at end of file diff --git a/application/views/mobile_first/ah-why-us-tour-detail-pc.php b/application/views/mobile_first/ah-why-us-tour-detail-pc.php index 74636ccf..050cc098 100644 --- a/application/views/mobile_first/ah-why-us-tour-detail-pc.php +++ b/application/views/mobile_first/ah-why-us-tour-detail-pc.php @@ -1,3 +1,3 @@ \ No newline at end of file diff --git a/application/views/mobile_first/ah-why-us-tour-list-pc.php b/application/views/mobile_first/ah-why-us-tour-list-pc.php index de29484f..ba388ad0 100644 --- a/application/views/mobile_first/ah-why-us-tour-list-pc.php +++ b/application/views/mobile_first/ah-why-us-tour-list-pc.php @@ -1,5 +1,5 @@ \ No newline at end of file diff --git a/application/views/mobile_first/ah.php b/application/views/mobile_first/ah.php index 4eef44b3..495042ab 100644 --- a/application/views/mobile_first/ah.php +++ b/application/views/mobile_first/ah.php @@ -89,9 +89,10 @@ + - + diff --git a/application/views/mobile_first/ch-pc.php b/application/views/mobile_first/ch-pc.php index 52cc1169..8b0a1f0f 100644 --- a/application/views/mobile_first/ch-pc.php +++ b/application/views/mobile_first/ch-pc.php @@ -213,18 +213,19 @@

    Enjoy your personal local guide and ride. Explore destinations at your own pace. Have unparalleled flexibility, which is impossible on a group tour.

    +
    - Well-Selected Local Guides -

    Well-Selected Local Guides

    -

    Knowledgeable, enthusiastic, and attentive — your personal local guides will share interesting stories, insider information, and even create unexpected highlights!

    + Authentic Experiences +

    Authentic Experiences

    +

    Discover the hidden gems. Experience local culture by practicing it. Try new and exciting activities, and unveil the stories behind the sights and people.

    - Authentic Experiences -

    Authentic Experiences

    -

    Discover the hidden gems. Experience local culture by practicing it. Try new and exciting activities, and unveil the stories behind the sights and people.

    + Well-Selected Local Guides +

    Well-Selected Local Guides

    +

    Knowledgeable, enthusiastic, and attentive — your personal local guides will share interesting stories, insider information, and even create unexpected highlights!

    diff --git a/application/views/mobile_first/ch.php b/application/views/mobile_first/ch.php index cc0c19c0..c82de353 100644 --- a/application/views/mobile_first/ch.php +++ b/application/views/mobile_first/ch.php @@ -237,20 +237,21 @@

    Enjoy your personal local guide and ride. Explore destinations at your own pace. Have unparalleled flexibility, which is impossible on a group tour.

    +
    - Well-Selected Local Guides -

    Well-Selected Local Guides

    -

    Knowledgeable, enthusiastic, and attentive — your personal local guides will share interesting stories, insider information, and even create unexpected highlights!

    -
    - - -
    - Authentic Experiences + Authentic Experiences

    Authentic Experiences

    Discover the hidden gems. Experience local culture by practicing it. Try new and exciting activities, and unveil the stories behind the sights and people.

    + +
    + Well-Selected Local Guides +

    Well-Selected Local Guides

    +

    Knowledgeable, enthusiastic, and attentive — your personal local guides will share interesting stories, insider information, and even create unexpected highlights!

    +
    + diff --git a/application/views/mobile_first/gh-pc.php b/application/views/mobile_first/gh-pc.php index 861d22c6..ebdb155d 100644 --- a/application/views/mobile_first/gh-pc.php +++ b/application/views/mobile_first/gh-pc.php @@ -34,6 +34,16 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= w.gh_template_name = w.gh_template_name || 'desktop'; })(window); + + + + @@ -209,7 +219,7 @@ height="0" width="0" style="display:none;visibility:hidden">

    Or send an inquiry below

    -
    +

    - +

    -travel with confidence despite covid +travel with confidence despite covid
    \ No newline at end of file diff --git a/application/views/mobile_first/gh-why-us-covid-mobile.php b/application/views/mobile_first/gh-why-us-covid-mobile.php index a37ad41a..ed9896bf 100644 --- a/application/views/mobile_first/gh-why-us-covid-mobile.php +++ b/application/views/mobile_first/gh-why-us-covid-mobile.php @@ -1,4 +1,4 @@
    - travel with confidence despite covid + travel with confidence despite covid
    \ No newline at end of file diff --git a/application/views/mobile_first/gh.php b/application/views/mobile_first/gh.php index 797823ad..9f211225 100644 --- a/application/views/mobile_first/gh.php +++ b/application/views/mobile_first/gh.php @@ -28,7 +28,18 @@ j=d.createElement(s),dl=l!='dataLayer'?'&l='+l:'';j.async=true;j.src= w.gh_template_name = w.gh_template_name || 'mobile'; })(window); + + + + +