From 2c8467bccab6825003d966f76b31dfb229ef0903 Mon Sep 17 00:00:00 2001 From: Staycie Date: Thu, 15 Feb 2024 10:37:08 +0800 Subject: [PATCH 1/4] removed required --- contact-us-test.php | 26 ++++++++++++++++++-------- 1 file changed, 18 insertions(+), 8 deletions(-) diff --git a/contact-us-test.php b/contact-us-test.php index 2e839e9..beec0cb 100644 --- a/contact-us-test.php +++ b/contact-us-test.php @@ -1,4 +1,4 @@ - + @@ -837,13 +837,20 @@
- + + + + + - + + + + @@ -852,13 +859,16 @@ - + + + + + placeholder="Please leave your comments here.." required > Date: Thu, 15 Feb 2024 16:12:28 +0800 Subject: [PATCH 2/4] modified --- contact-us-action.php | 11 ++- contact-us-test.php | 169 +++++++----------------------------------- 2 files changed, 35 insertions(+), 145 deletions(-) diff --git a/contact-us-action.php b/contact-us-action.php index f6a1164..7cc32b2 100644 --- a/contact-us-action.php +++ b/contact-us-action.php @@ -16,4 +16,13 @@ session_start(); ); $array = json_decode($response,true); var_dump($array); - header("location: contact-us-test.php"); \ No newline at end of file + header("location: contact-us-test.php"); + + +# message success +$result = customerExists($_SESSION["email"]); + +if ($result > 0) { + $_SESSION["SuccessfullySent"] = "Message Sent Successfully"; + header("location: contact-us-test.php"); +} \ No newline at end of file diff --git a/contact-us-test.php b/contact-us-test.php index beec0cb..c223dfd 100644 --- a/contact-us-test.php +++ b/contact-us-test.php @@ -1,5 +1,5 @@ - + @@ -834,6 +834,22 @@
+ + '; + echo $_SESSION["SuccessfullySent"]; + echo '
'; + unset($_SESSION["SuccessfullySent"]); + echo " "; + } + ?> + + @@ -890,7 +906,7 @@
+ src="https://www.google.com/maps/embed?pb=!1m14!1m8!1m3!1d15446.255178112197!2d121.0115448!3d14.5669195!3m2!1i1024!2i768!4f13.1!3m3!1m2!1s0x3397c9e950b65bb7%3A0x202999e3d77ee94d!2sObanana!5e0!3m2!1sen!2sph!4v1707965526114!5m2!1sen!2sph">
@@ -898,14 +914,13 @@

Contact us

  • Address :71 Pilgrim Avenue Chevy Chase, east california. east california. MD - 20815, USA
  • + aria-hidden="true">Address :16th flr PMI Tower Cabanillas Corner, + 273 Pablo Ocampo Sr. Ext, Makati, 1203 Metro Manila
  • Call Us :+44 0123 - 456 789
  • + aria-hidden="true">Call Us :+63 (2) 8807-6379
  • Email :example@ec-email.com
  • + href="mailto:example@ec-email.com">sales@obanana.com
@@ -914,146 +929,12 @@ - - + + +
From 3c343d6266593ca293329a4b3aa919a5aa5ea9bd Mon Sep 17 00:00:00 2001 From: Staycie Date: Fri, 16 Feb 2024 11:05:02 +0800 Subject: [PATCH 3/4] message sent pop up --- contact-us-action.php | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/contact-us-action.php b/contact-us-action.php index 318ea5d..ffe54fa 100644 --- a/contact-us-action.php +++ b/contact-us-action.php @@ -18,11 +18,12 @@ include "functions.php"; var_dump($array); header("location: contact-us-test.php"); - -# message success + +# 02-15-2024 Stacy added message sent $result = customerExists($_SESSION["email"]); if ($result > 0) { $_SESSION["SuccessfullySent"] = "Message Sent Successfully"; header("location: contact-us-test.php"); -} \ No newline at end of file +} +# 02-15-2024 Stacy added message sent \ No newline at end of file From 01c736b8685141b7bf0f07e8f501c1eda09c5f1d Mon Sep 17 00:00:00 2001 From: Staycie Date: Fri, 16 Feb 2024 12:59:22 +0800 Subject: [PATCH 4/4] Contact Us Page --- contact-us-action.php | 4 +- contact-us-test.php | 1202 ----------------------------------------- contact-us.php | 528 ++++++++++++++++++ footer.php | 5 +- header.php | 2 +- 5 files changed, 535 insertions(+), 1206 deletions(-) delete mode 100644 contact-us-test.php create mode 100644 contact-us.php diff --git a/contact-us-action.php b/contact-us-action.php index ffe54fa..0566c3f 100644 --- a/contact-us-action.php +++ b/contact-us-action.php @@ -16,7 +16,7 @@ include "functions.php"; ); $array = json_decode($response,true); var_dump($array); - header("location: contact-us-test.php"); + header("location: contact-us.php"); # 02-15-2024 Stacy added message sent @@ -24,6 +24,6 @@ $result = customerExists($_SESSION["email"]); if ($result > 0) { $_SESSION["SuccessfullySent"] = "Message Sent Successfully"; - header("location: contact-us-test.php"); + header("location: contact-us.php"); } # 02-15-2024 Stacy added message sent \ No newline at end of file diff --git a/contact-us-test.php b/contact-us-test.php deleted file mode 100644 index c223dfd..0000000 --- a/contact-us-test.php +++ /dev/null @@ -1,1202 +0,0 @@ - - - - - - - - - - - - oBanana B2B - Elevate Your Business - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
-
- - -
- -
-
-
- -
-
- -
    -
  • -
  • -
  • -
  • -
-
-
- - -
-
- Free ShippingThis Week Order Over - $75 -
-
- - -
-
- - - - - - - -
-
- - -
-
- - - - - -
- 4 -
- - - -
- 3 -
- - - - - - -
-
- -
-
-
- - -
-
-
-
- -
- -
- - - -
- -
- - - -
-
- - - - - - -
- 4 -
- - - -
- 3 -
- -
-
-
-
-
-
- - -
-
-
- - -
- -
- - -
- -
- -
-
-
- - - - - -
-
- My Menu - -
-
-
- -
-
-
- - - - - - -
- -
-
-
    -
  • -
  • -
  • -
  • -
-
-
- -
-
-
- -
- - - -
-
-
-
-
- My Cart - -
- -
-
-
- - - - - - - - - - - - - - - -
Sub-Total :$300.00
VAT (20%) :$60.00
Total :$360.00
-
- -
-
-
- - - -
-
-
-
-
-
-

Contact Us

-
-
- -
    -
  • Home
  • -
  • Contact Us
  • -
- -
-
-
-
-
-
- - - -
-
-
-
-
-
-
- - '; - echo $_SESSION["SuccessfullySent"]; - echo '
'; - unset($_SESSION["SuccessfullySent"]); - echo " "; - } - ?> - - -
- - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - - -
-
-
-
-
-
-
- - -
-
-
-

Contact us

- -
-
-
-
-
- - - - - - - - - -
-
-
-
- -
-
- 3 -
-
- -
-
- 4 -
-
- -
- -
-
-
- - - -
- payment image -
-

Someone in new just bought

-
stylish baby shoes
-

10 Minutes ago

-
- × -
- - - - - - - - - - - -
-
-
-

Features

-
- - icon - -
-
-

Color Scheme

-
    -
  • -
  • -
  • -
  • -
  • -
-
-
-

Backgrounds

- -
-
-

Full Screen mode

-
-
-
Mode
-
On
-
Off
-
-
-
-
-

Dark mode

-
-
-
Mode
-
On
-
Off
-
-
-
-
-

RTL mode

-
-
-
Rtl
-
On
-
Off
-
-
-
-
-

Clear local storage

- Clear Cache & Default -
-
-
- - - - - - - - - - - - - - - - - - - - - - - - - \ No newline at end of file diff --git a/contact-us.php b/contact-us.php new file mode 100644 index 0000000..68ad0ce --- /dev/null +++ b/contact-us.php @@ -0,0 +1,528 @@ + + + + + + + + + + + + oBanana B2B - Elevate Your Business + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+
+ + + + + + +
+
+
+
+
+ My Cart + +
+ +
+
+
+ + + + + + + + + + + + + + + +
Sub-Total :$300.00
VAT (20%) :$60.00
Total :$360.00
+
+ +
+
+
+ + + +
+
+
+
+
+
+

Contact Us

+
+
+ +
    +
  • Home
  • +
  • Contact Us
  • +
+ +
+
+
+
+
+
+ + + +
+
+
+
+
+
+
+ + '; + echo $_SESSION["SuccessfullySent"]; + echo '
'; + unset($_SESSION["SuccessfullySent"]); + echo " "; + } + ?> + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + + +
+
+
+
+
+
+
+ + +
+
+
+

Contact us

+ +
+
+
+
+
+ + + + + + + + + +
+
+
+
+ +
+
+ 3 +
+
+ +
+
+ 4 +
+
+ +
+ +
+
+
+ + + +
+ payment image +
+

Someone in new just bought

+
stylish baby shoes
+

10 Minutes ago

+
+ × +
+ + + + + + + + + + + +
+
+
+

Features

+
+ + icon + +
+
+

Color Scheme

+
    +
  • +
  • +
  • +
  • +
  • +
+
+
+

Backgrounds

+ +
+
+

Full Screen mode

+
+
+
Mode
+
On
+
Off
+
+
+
+
+

Dark mode

+
+
+
Mode
+
On
+
Off
+
+
+
+
+

RTL mode

+
+
+
Rtl
+
On
+
Off
+
+
+
+
+

Clear local storage

+ Clear Cache & Default +
+
+
+ + + + + + + + + + + + + + + + + + + + + + + + + \ No newline at end of file diff --git a/footer.php b/footer.php index a4a2abe..048b01b 100644 --- a/footer.php +++ b/footer.php @@ -35,7 +35,10 @@ - + + + + diff --git a/header.php b/header.php index 85fdd4e..9093372 100644 --- a/header.php +++ b/header.php @@ -1151,7 +1151,7 @@
  • Pages