From c41774adc4ba2c37926091e67b44c79dae9f97ea Mon Sep 17 00:00:00 2001 From: Staycie Date: Thu, 15 Feb 2024 16:12:28 +0800 Subject: [PATCH] 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 @@ - - + + +