From 835bedd96aa01aa11854acca942965ccc0dfb654 Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 09:25:47 +0800 Subject: [PATCH 01/14] =?UTF-8?q?=E6=96=87=E4=B8=AD=E7=BA=BF=E8=B7=AF?= =?UTF-8?q?=E6=8E=A8=E8=8D=90=E7=BC=A9=E5=87=8F=E4=B8=BA4=E4=B8=AA?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/mobile_first/ah-recommends-tour.php | 38 +------------------ 1 file changed, 1 insertion(+), 37 deletions(-) diff --git a/application/views/mobile_first/ah-recommends-tour.php b/application/views/mobile_first/ah-recommends-tour.php index 6a084d16..2458a796 100644 --- a/application/views/mobile_first/ah-recommends-tour.php +++ b/application/views/mobile_first/ah-recommends-tour.php @@ -1,6 +1,6 @@
-
You might be interested in:
+
Explore similar itineraries:
@@ -71,41 +71,5 @@
- - -
- <?php echo $recommands['Content Tour E']->ic_title; ?> - -
ic_title; ?> -
-
-
-
- - - - -
- <?php echo $recommands['Content Tour F']->ic_title; ?> - -
ic_title; ?> -
-
-
-
- -
\ No newline at end of file From 3edb6fc7cfcc61d24b84a5929409cd3c024fa86d Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 09:26:54 +0800 Subject: [PATCH 02/14] 11 --- application/views/mobile_first/ah-recommends-tour.php | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/application/views/mobile_first/ah-recommends-tour.php b/application/views/mobile_first/ah-recommends-tour.php index 2458a796..fd96755c 100644 --- a/application/views/mobile_first/ah-recommends-tour.php +++ b/application/views/mobile_first/ah-recommends-tour.php @@ -1,7 +1,6 @@
-
Explore similar itineraries:
- +
Explore similar itineraries:
Date: Wed, 13 Dec 2023 09:40:14 +0800 Subject: [PATCH 03/14] 11 --- application/views/mobile_first/ah-recommends-tour.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/views/mobile_first/ah-recommends-tour.php b/application/views/mobile_first/ah-recommends-tour.php index fd96755c..b73ea002 100644 --- a/application/views/mobile_first/ah-recommends-tour.php +++ b/application/views/mobile_first/ah-recommends-tour.php @@ -5,7 +5,7 @@
<?php echo $recommands['Content Tour A']->ic_title; ?> @@ -22,7 +22,7 @@
<?php echo $recommands['Content Tour B']->ic_title; ?> @@ -40,7 +40,7 @@
<?php echo $recommands['Content Tour C']->ic_title; ?> @@ -57,7 +57,7 @@
<?php echo $recommands['Content Tour D']->ic_title; ?> From d8b96f57802eef0daeeb918d2f3403a8d3fbcf3d Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 09:50:57 +0800 Subject: [PATCH 04/14] 11 --- application/views/mobile_first/ah-recommends-tour.php | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/application/views/mobile_first/ah-recommends-tour.php b/application/views/mobile_first/ah-recommends-tour.php index b73ea002..314c4edf 100644 --- a/application/views/mobile_first/ah-recommends-tour.php +++ b/application/views/mobile_first/ah-recommends-tour.php @@ -5,7 +5,7 @@
<?php echo $recommands['Content Tour A']->ic_title; ?> @@ -22,7 +22,7 @@
<?php echo $recommands['Content Tour B']->ic_title; ?> @@ -40,7 +40,7 @@
<?php echo $recommands['Content Tour C']->ic_title; ?> @@ -57,7 +57,7 @@
<?php echo $recommands['Content Tour D']->ic_title; ?> From 8fff23a748f790b2e8be4ebf8ca45171ddd0e819 Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 15:15:38 +0800 Subject: [PATCH 05/14] =?UTF-8?q?=E4=BA=BA=E6=95=B0=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/mobile_first/ah-info-page-form.php | 228 ++++++++++-------- .../views/mobile_first/ah-inquiry-form.php | 228 ++++++++++-------- 2 files changed, 246 insertions(+), 210 deletions(-) diff --git a/application/views/mobile_first/ah-info-page-form.php b/application/views/mobile_first/ah-info-page-form.php index f36de899..9b11355d 100644 --- a/application/views/mobile_first/ah-info-page-form.php +++ b/application/views/mobile_first/ah-info-page-form.php @@ -46,109 +46,118 @@

65+ yrs old

+

people

41-64 yrs old

+

people

18-40 yrs old

+

people

@@ -158,34 +167,43 @@

10-17 yrs old

+

people

3-9 yrs old

+

people

0-2 yrs old

+

people

diff --git a/application/views/mobile_first/ah-inquiry-form.php b/application/views/mobile_first/ah-inquiry-form.php index 3d54d8f0..db8d4960 100644 --- a/application/views/mobile_first/ah-inquiry-form.php +++ b/application/views/mobile_first/ah-inquiry-form.php @@ -42,112 +42,121 @@

65+ yrs old

+

people

41-64 yrs old

+

people

18-40 yrs old

+

people

@@ -157,34 +166,43 @@

10-17 yrs old

+

people

3-9 yrs old

+

people

0-2 yrs old

+

people

From fdfad34b1e975733b7ab5829681662443d452a95 Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 15:19:35 +0800 Subject: [PATCH 06/14] 11 --- application/views/mobile_first/ah-info-page-form.php | 4 +--- application/views/mobile_first/ah-inquiry-form.php | 9 +++------ 2 files changed, 4 insertions(+), 9 deletions(-) diff --git a/application/views/mobile_first/ah-info-page-form.php b/application/views/mobile_first/ah-info-page-form.php index 9b11355d..17fe300c 100644 --- a/application/views/mobile_first/ah-info-page-form.php +++ b/application/views/mobile_first/ah-info-page-form.php @@ -116,9 +116,7 @@ -

people

+

people

18-40 yrs old

diff --git a/application/views/mobile_first/ah-inquiry-form.php b/application/views/mobile_first/ah-inquiry-form.php index db8d4960..50a90dd1 100644 --- a/application/views/mobile_first/ah-inquiry-form.php +++ b/application/views/mobile_first/ah-inquiry-form.php @@ -71,8 +71,7 @@ - - +

27 - - +

27 - - +

5

people

@@ -186,7 +186,7 @@

people

@@ -200,7 +200,7 @@

people

diff --git a/application/views/mobile_first/ah-inquiry-form.php b/application/views/mobile_first/ah-inquiry-form.php index 50a90dd1..29a1cbd9 100644 --- a/application/views/mobile_first/ah-inquiry-form.php +++ b/application/views/mobile_first/ah-inquiry-form.php @@ -170,7 +170,7 @@

people

@@ -184,7 +184,7 @@

people

@@ -198,7 +198,7 @@

people

From 06ccc62ec63773df35bbb7f1c5e918cde41283ad Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 15:27:58 +0800 Subject: [PATCH 08/14] =?UTF-8?q?=E4=BA=BA=E6=95=B0=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/mobile_first/ch-info-page-form.php | 228 ++++++++++-------- .../views/mobile_first/ch-inquiry-form.php | 228 ++++++++++-------- 2 files changed, 246 insertions(+), 210 deletions(-) diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index c1f4589b..96232855 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -49,112 +49,121 @@

65+ yrs old

+

people

41-64 yrs old

+

people

18-40 yrs old

+

people

@@ -164,34 +173,43 @@

10-17 yrs old

+

people

3-9 yrs old

+

people

0-2 yrs old

+

people

diff --git a/application/views/mobile_first/ch-inquiry-form.php b/application/views/mobile_first/ch-inquiry-form.php index 481a1382..83897b79 100644 --- a/application/views/mobile_first/ch-inquiry-form.php +++ b/application/views/mobile_first/ch-inquiry-form.php @@ -43,112 +43,121 @@

65+ yrs old

+

people

41-64 yrs old

+

people

18-40 yrs old

+

people

@@ -158,34 +167,43 @@

10-17 yrs old

+

people

3-9 yrs old

+

people

0-2 yrs old

+

people

From 5ca832448a4572cda651bc2b8ce1e32ad1d319b6 Mon Sep 17 00:00:00 2001 From: candice Date: Wed, 13 Dec 2023 15:30:43 +0800 Subject: [PATCH 09/14] 11 --- application/views/mobile_first/ch-info-page-form.php | 3 +-- application/views/mobile_first/ch-inquiry-form.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index 96232855..cf608ce0 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -158,8 +158,7 @@ - - +

27 - - +

30

people

@@ -116,7 +116,7 @@ -

people

+

people

18-40 yrs old

@@ -154,7 +154,7 @@

people

@@ -172,7 +172,7 @@

people

@@ -186,7 +186,7 @@

people

@@ -200,7 +200,7 @@

people

diff --git a/application/views/mobile_first/ah-inquiry-form.php b/application/views/mobile_first/ah-inquiry-form.php index 29a1cbd9..fa9f4666 100644 --- a/application/views/mobile_first/ah-inquiry-form.php +++ b/application/views/mobile_first/ah-inquiry-form.php @@ -74,7 +74,7 @@

people

@@ -113,7 +113,7 @@

people

@@ -152,7 +152,7 @@

people

@@ -170,7 +170,7 @@

people

@@ -184,7 +184,7 @@

people

@@ -198,7 +198,7 @@

people

diff --git a/application/views/mobile_first/ch-info-page-form.php b/application/views/mobile_first/ch-info-page-form.php index cf608ce0..45afd392 100644 --- a/application/views/mobile_first/ch-info-page-form.php +++ b/application/views/mobile_first/ch-info-page-form.php @@ -82,7 +82,7 @@

people

@@ -122,7 +122,7 @@

people

@@ -161,7 +161,7 @@

people

@@ -179,7 +179,7 @@

people

@@ -193,7 +193,7 @@

people

@@ -207,7 +207,7 @@

people

diff --git a/application/views/mobile_first/ch-inquiry-form.php b/application/views/mobile_first/ch-inquiry-form.php index 547d83e8..db79325e 100644 --- a/application/views/mobile_first/ch-inquiry-form.php +++ b/application/views/mobile_first/ch-inquiry-form.php @@ -75,7 +75,7 @@

people

@@ -115,7 +115,7 @@

people

@@ -155,7 +155,7 @@

people

@@ -173,7 +173,7 @@

people

@@ -187,7 +187,7 @@

people

@@ -201,7 +201,7 @@

people

From 3b266c537d6fff127bf2a08cc579cdfd40c408da Mon Sep 17 00:00:00 2001 From: Jimmy Liow Date: Wed, 13 Dec 2023 15:45:31 +0800 Subject: [PATCH 11/14] =?UTF-8?q?=E6=9B=B4=E6=96=B0=E4=BB=B7=E6=A0=BC?= =?UTF-8?q?=E4=BB=A3=E7=A0=81=E6=B5=8B=E8=AF=95?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- application/controllers/information.php | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/application/controllers/information.php b/application/controllers/information.php index b69108cc..8ba2e259 100644 --- a/application/controllers/information.php +++ b/application/controllers/information.php @@ -1199,9 +1199,11 @@ class Information extends CI_Controller public function test_price() { - $price_rule = '
#ah-8,st,2#
#ah-8,st,2#
'; - $price_tag_list = $this->parse_price_tag($price_rule); - var_dump($price_tag_list); + $price_rule = '
#ah-23,st,2#
'; + $price_item_array = $this->price_pregmatch($price_rule); + var_dump($price_item_array); + $price_tag_list = $this->parse_price_tag($price_rule); + var_dump($price_tag_list); } /*! From 31a414ac52d67f262510a4f61ef9d62808183eaf Mon Sep 17 00:00:00 2001 From: Lei OT Date: Wed, 13 Dec 2023 19:36:53 +0800 Subject: [PATCH 12/14] =?UTF-8?q?PayPal=E8=AE=B0=E5=BD=95:=20=E9=BB=98?= =?UTF-8?q?=E8=AE=A4=E4=B8=8D=E6=98=BE=E7=A4=BAwebhooks=E7=9A=84?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- webht/third_party/paypal/models/note_model.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/webht/third_party/paypal/models/note_model.php b/webht/third_party/paypal/models/note_model.php index db756a63..49d98b22 100644 --- a/webht/third_party/paypal/models/note_model.php +++ b/webht/third_party/paypal/models/note_model.php @@ -55,12 +55,13 @@ class Note_model extends CI_Model { public function notestatus($topnum = 2, $status = '') { $this->init(); $this->topnum = $topnum; + $sql = " AND pn_memo NOT LIKE '{\"id\":\"WH-%' "; $x_status = strtolower($status) === 'reversal' ? 'revers' : $status; $sql1 = in_array(strtolower($status), ["completed", 'pending']) ? " AND (pn_payment_status='$status' ) " : ""; $sql2 = in_array(strtolower($status), ["refunded", "reversal"]) ? " AND (pn_payment_status like '%$x_status%' ) " : ""; $sql3 = in_array(strtolower($status), ["others"]) ? " AND (pn_payment_status='failed' OR pn_payment_status='denied' ) " : ""; $sql4 = in_array(strtolower($status), ["case"]) ? " AND (pn_memo like '{\"txn_type\":\"new_case\"%' AND pn_mc_gross = '0' ) " : ""; - $this->pn_send = $sql1 . $sql2 . $sql3 . $sql4; + $this->pn_send = $sql1 . $sql2 . $sql3 . $sql4 . $sql; // $this->orderby=" ORDER BY pn_payment_date DESC, pn.pn_sn ASC "; $this->orderby=" ORDER BY CASE pn.pn_send WHEN 'sendfail' THEN 1 ELSE 2 END ,pn.pn_sn DESC "; return $this->get_list(); @@ -77,10 +78,10 @@ class Note_model extends CI_Model { public function search_date($date) { $this->init(); - $search_sql = " AND (pn.pn_datetime BETWEEN '$date 00:00:00' AND '$date 23:59:59' OR isnull(pn_send,'') in ('sendfail','unsend','')) "; + $search_sql = " AND (pn.pn_datetime BETWEEN '$date 00:00:00' AND '$date 23:59:59' OR isnull(pn_send,'') in ('sendfail','unsend','')) AND pn_memo NOT LIKE '{\"id\":\"WH-%' "; // {"id":"WH- $this->search = $search_sql; // $this->orderby=" ORDER BY CASE pn.pn_send WHEN 'sendfail' THEN 1 ELSE 2 END ,pn.pn_sn DESC "; - $this->orderby=" ORDER BY CASE WHEN pn.pn_send='sendfail' AND pn.pn_payment_status='Completed' THEN 1 ELSE 9 END ,pn.pn_sn DESC "; + $this->orderby=" ORDER BY CASE WHEN pn.pn_send='sendfail' AND pn.pn_payment_status='Completed' THEN 1 WHEN pn.pn_send = 'sendfail' THEN 2 ELSE 9 END ,pn.pn_sn DESC "; // WHEN pn.pn_send = 'sendfail' THEN 2 return $this->get_list(); From 95dac34c4d00a93024da4911af02db53c7566aee Mon Sep 17 00:00:00 2001 From: candice Date: Thu, 14 Dec 2023 09:16:32 +0800 Subject: [PATCH 13/14] =?UTF-8?q?=E4=BA=BA=E6=95=B0=E9=80=89=E6=8B=A9?= =?UTF-8?q?=E7=BB=86=E8=8A=82=E4=BF=AE=E6=94=B9?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../views/mobile_first/gh-info-page-form.php | 218 +++++++++--------- .../views/mobile_first/gh-tour-form.php | 216 ++++++++--------- 2 files changed, 224 insertions(+), 210 deletions(-) diff --git a/application/views/mobile_first/gh-info-page-form.php b/application/views/mobile_first/gh-info-page-form.php index 060b8154..5e5e43e1 100644 --- a/application/views/mobile_first/gh-info-page-form.php +++ b/application/views/mobile_first/gh-info-page-form.php @@ -49,113 +49,118 @@

65+ yrs old

+

people

41-64 yrs old

+

people

18-40 yrs old

+

people

@@ -166,50 +171,53 @@ +

people

3-9 yrs old

+

people

0-2 yrs old

+

people

diff --git a/application/views/mobile_first/gh-tour-form.php b/application/views/mobile_first/gh-tour-form.php index 64ed34e0..4ce2aef4 100644 --- a/application/views/mobile_first/gh-tour-form.php +++ b/application/views/mobile_first/gh-tour-form.php @@ -43,113 +43,116 @@

65+ yrs old

+

people

41-64 yrs old

+

people

18-40 yrs old

+

people

@@ -160,50 +163,53 @@ +

people

3-9 yrs old

+

people

0-2 yrs old

+

people

From f57386990c98f6d078c12b17f37d16ca19ecb485 Mon Sep 17 00:00:00 2001 From: candice Date: Thu, 14 Dec 2023 09:17:19 +0800 Subject: [PATCH 14/14] 11 --- application/views/mobile_first/gh-info-page-form.php | 3 +-- application/views/mobile_first/gh-tour-form.php | 3 +-- 2 files changed, 2 insertions(+), 4 deletions(-) diff --git a/application/views/mobile_first/gh-info-page-form.php b/application/views/mobile_first/gh-info-page-form.php index 5e5e43e1..b563833f 100644 --- a/application/views/mobile_first/gh-info-page-form.php +++ b/application/views/mobile_first/gh-info-page-form.php @@ -155,8 +155,7 @@ - - +

27 - - +

people