From 2740a0b117fe251e6958c5e07a926a7bf3fe8d85 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E5=B0=B9=E8=AF=9A=E8=AF=9A?= Date: Wed, 9 Aug 2017 16:17:42 +0800 Subject: [PATCH] =?UTF-8?q?CT=E7=9A=84=E5=AE=A2=E4=BA=BA=E4=BF=A1=E6=81=AF?= =?UTF-8?q?=E6=94=B6=E9=9B=86?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../third_party/order/controllers/confirm.php | 12 +- .../order/views/ct/confirm_order.php | 738 ++++++++++++++++++ .../third_party/order/views/ct/link_tips.php | 75 ++ 3 files changed, 820 insertions(+), 5 deletions(-) create mode 100644 application/third_party/order/views/ct/confirm_order.php create mode 100644 application/third_party/order/views/ct/link_tips.php diff --git a/application/third_party/order/controllers/confirm.php b/application/third_party/order/controllers/confirm.php index 18b30c39..4dda6cd4 100644 --- a/application/third_party/order/controllers/confirm.php +++ b/application/third_party/order/controllers/confirm.php @@ -10,11 +10,12 @@ class Confirm extends CI_Controller { $this->load->model('Order_model'); } - public function index($COLI_SN = false, $visitor_link = false, $token = false) { + //site_code默认是空,ct的站点需要传值 + public function index($COLI_SN = false, $visitor_link = false, $token = false,$site_code='') { $data = array(); if (empty($COLI_SN) || strtoupper(md5($visitor_link)) != strtoupper($token)) { echo ''; - $this->load->view('link_tips', $data); + $this->load->view($site_code.'/link_tips', $data); return false; } @@ -29,19 +30,19 @@ class Confirm extends CI_Controller { } } } else { - $this->load->view('link_tips', $data); + $this->load->view($site_code.'/link_tips', $data); return false; } $visitor_link_arr = $this->Order_model->get_visitor_link($COLI_SN); foreach ($visitor_link_arr as $l) { if ($visitor_link == $l->visitor_link) { - $this->load->view('link_tips', $data); + $this->load->view($site_code.'/link_tips', $data); return false; } } - $this->load->view('confirm_order', $data); + $this->load->view($site_code.'/confirm_order', $data); } public function save_confirm_info() { @@ -133,6 +134,7 @@ class Confirm extends CI_Controller { } } + //只有ch有review功能 function review() { $data = array(); $data['postdata'] = $this->input->post(); diff --git a/application/third_party/order/views/ct/confirm_order.php b/application/third_party/order/views/ct/confirm_order.php new file mode 100644 index 00000000..c071f6ab --- /dev/null +++ b/application/third_party/order/views/ct/confirm_order.php @@ -0,0 +1,738 @@ + + + + + + + + www.chinatravel.com + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ +
+

Thanks for booking with China Travel!

+

Please complete and submit the information below.

+
+
+
+
+
+ +
+

Passenger Information (we need passport info for all the group members)

+
+ +
+ +
+ +
+
+ + +
+
+
+
+
+ +
+
/
+
+ +
+
+
+
+
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ + + + +
+
+ +
+ +
+ + Add a passenger + +
+
+ +
+
+ + Contact phone no.: + +
+
+ +
+
+ +
+
+
+
+ COLI_CustomerType!=44003){ ?> +
+
+ + Home Address: + + + +
+
+ + +
+
+
+ +
+
+
+ +
+

Flight Information (please skip this if your don’t need airport pick up and drop off service)

+
+ +
+
+ + +
+ +
+ +
+ +
+
+ +
+ + +
+ +
+ +
+ +
+
+ +
+ +
+
+
+ +
+
+
+ +
+

+ Special Request +

+
+ +
+
+
+ +
+
+
+
+ +
+
+
+ COLI_CustomerType!=44003){ ?> +
+
+
+ +
+

+ Emergency Contact Information + (in case an unlikely event happens when you are traveling) +

+
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+
+
+
+ + +
+ + + + + +
+ +
+
Thanks,yours OPI_FirstName; ?>
+
+ +
+ +
+
+ + + + + + + \ No newline at end of file diff --git a/application/third_party/order/views/ct/link_tips.php b/application/third_party/order/views/ct/link_tips.php new file mode 100644 index 00000000..8649ac67 --- /dev/null +++ b/application/third_party/order/views/ct/link_tips.php @@ -0,0 +1,75 @@ + + + + + + + + www.chinatravel.com + + + + + + + + + + + + + + +
+ +
+ +
+ +
+ + + \ No newline at end of file