diff --git a/application/third_party/order/controllers/confirm.php b/application/third_party/order/controllers/confirm.php index 1b9ae2fc..e8c3e11b 100644 --- a/application/third_party/order/controllers/confirm.php +++ b/application/third_party/order/controllers/confirm.php @@ -30,14 +30,14 @@ class Confirm extends CI_Controller { } } } else { - $this->load->view($site_code.'/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($site_code.'/link_tips', $data); + $this->load->view($site_code.'/link_tips', $data); return false; } } @@ -66,6 +66,7 @@ class Confirm extends CI_Controller { //已经确认过 $had_save = $this->Order_model->get_visitor_link($COLI_SN, $visitor_link); + if (!empty($had_save)) { echo json_encode(array('status' => 'ok')); return; @@ -79,7 +80,7 @@ class Confirm extends CI_Controller { } elseif ($this->input->post('address_street')) { $MEI_Street = $this->input->post('address_street') . ',' . $this->input->post('address_city') . ',' . $this->input->post('address_state') . ',' . $this->input->post('address_country'); } else { - $MEI_Street = ''; + $MEI_Street = $this->input->post('street').','.$this->input->post('city').','.$this->input->post('country'); } $data['MEI_Street'] = $MEI_Street; if (isset($given_name[$key]) && $given_name[$key] != 'None') { @@ -125,7 +126,7 @@ class Confirm extends CI_Controller { echo json_encode(array('status' => 'no')); } } - + //只有ch有review功能 function review() { $data = array(); diff --git a/application/third_party/order/views/gm/confirm_order.php b/application/third_party/order/views/gm/confirm_order.php index 31578924..b93a3cc8 100644 --- a/application/third_party/order/views/gm/confirm_order.php +++ b/application/third_party/order/views/gm/confirm_order.php @@ -6,533 +6,400 @@ China Reisen und China Rundreisen individuell | Chinarundreisen.com - - - + + + + + - - - - - - -
- -
- -
-
-
- -
-

Vielen Dank für die Buchung bei Chinarundreisen!

-

Bitte füllen Sie das folgende Formular aus und schicken es zurück.

-
-
-
-
-
- -
-

Kunden informationen

-

Bitte prüfen Sie, ob Ihr Name richtig geschrieben ist (vollständiger Name wie im Reisepass) . Da wir die Folgekosten durch ein wegen falschem Namen stornierten Hotel oder Flugticket nicht tragen, ist die richtige Schreibweise Ihres Namens und Ihrer alle Daten unbedingt wichtig.

-
- -
-
- -
-
- -
-
- -
-
- -
- -
- -
-
- -
- -
-
-
- - -
-
-
-
-
- -
-
/
-
- -
-
-
-
-
-
- -
-
- -
-
- -
- -
- -
-
- -
-
- - - -
-
- - - - -
-
- -
- -
- - Mitreisende hinzufügen - -
-
- -
-
- - Kontakttelefon: - -
-
- -
-
- -
-
-
-
- COLI_CustomerType!=44003){ ?> -
-
- - Anschrift: - - - -
-
- - -
-
-
- -
-
-
- -
-

Fluginformationen

-
- -
-
- - -
- -
- -
- -
-
- -
- - -
- -
- -
- -
-
- -
- -
-
-
- -
-
-
- -
-

- Besondere Anforderungen -

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

- Kontaktinformationen für Notfälle - (im Falle eines Notfalls während Ihrer Chinareise) -

-
- -
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
- -
-
- -
- -
-
-
-
- - -
- - - - - -
- -
-
Danke! Mit besten Grüßen, OPI_FirstName; ?>
-
- -
- -
-
- - - - + + //提交信息 + $("#form-confirm-info").submit(function(event){ + event.preventDefault(); + var $btn = $("#btn-add-userinfo").button('loading'); + + var url=$(this).attr('action'); + var data=$(this).serialize(); + $.ajax({ + type: "post", + url: url, + dataType: "json", + data: data, + success: function(json_data) { + if (json_data.status == 'ok') { + location.href='/secureinfoconfirm/confirm/index/0/0/0/gm'; + } else { + $btn.button('reset'); + $('#myModal').modal('show'); + } + }, + error: function(XMLHttpRequest, textStatus, errorThrown) { + $btn.button('reset'); + alert(errorThrown); + } + }); + }); +}) \ No newline at end of file diff --git a/application/third_party/order/views/gm/confirm_order_back.php b/application/third_party/order/views/gm/confirm_order_back.php new file mode 100644 index 00000000..31578924 --- /dev/null +++ b/application/third_party/order/views/gm/confirm_order_back.php @@ -0,0 +1,538 @@ + + + + + + + China Reisen und China Rundreisen individuell | Chinarundreisen.com + + + + + + + + + + + + + + +
+ +
+ +
+
+
+ +
+

Vielen Dank für die Buchung bei Chinarundreisen!

+

Bitte füllen Sie das folgende Formular aus und schicken es zurück.

+
+
+
+
+
+ +
+

Kunden informationen

+

Bitte prüfen Sie, ob Ihr Name richtig geschrieben ist (vollständiger Name wie im Reisepass) . Da wir die Folgekosten durch ein wegen falschem Namen stornierten Hotel oder Flugticket nicht tragen, ist die richtige Schreibweise Ihres Namens und Ihrer alle Daten unbedingt wichtig.

+
+ +
+
+ +
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+
+
+ + +
+
+
+
+
+ +
+
/
+
+ +
+
+
+
+
+
+ +
+
+ +
+
+ +
+ +
+ +
+
+ +
+
+ + + +
+
+ + + + +
+
+ +
+ +
+ + Mitreisende hinzufügen + +
+
+ +
+
+ + Kontakttelefon: + +
+
+ +
+
+ +
+
+
+
+ COLI_CustomerType!=44003){ ?> +
+
+ + Anschrift: + + + +
+
+ + +
+
+
+ +
+
+
+ +
+

Fluginformationen

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

+ Besondere Anforderungen +

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

+ Kontaktinformationen für Notfälle + (im Falle eines Notfalls während Ihrer Chinareise) +

+
+ +
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+ +
+
+ +
+ +
+
+
+
+ + +
+ + + + + +
+ +
+
Danke! Mit besten Grüßen, OPI_FirstName; ?>
+
+ +
+ +
+
+ + + + + + + \ No newline at end of file