From 1f073bce9de383a03ca58b2a7574570abb820fe3 Mon Sep 17 00:00:00 2001 From: Stacy Date: Mon, 22 Apr 2024 17:19:08 +0800 Subject: [PATCH 1/4] Modified about-us page --- about-us.php | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/about-us.php b/about-us.php index 04b7976..7be0321 100644 --- a/about-us.php +++ b/about-us.php @@ -183,7 +183,7 @@ -
+ -
+ @@ -437,7 +437,7 @@ -
+ -- 2.40.1 From fea65700018b3c9606dd71c8e58e0c016a8fe882 Mon Sep 17 00:00:00 2001 From: Stacy Date: Mon, 22 Apr 2024 17:22:59 +0800 Subject: [PATCH 2/4] Changed the icon --- admin/login.php | 3 ++- admin/order-history.php | 3 ++- 2 files changed, 4 insertions(+), 2 deletions(-) diff --git a/admin/login.php b/admin/login.php index f3565b9..4577757 100644 --- a/admin/login.php +++ b/admin/login.php @@ -31,7 +31,8 @@ if ($_SESSION["isLoggedIn"] == true and $_SESSION["user_type"] == "admin"){ - + + diff --git a/admin/order-history.php b/admin/order-history.php index 5846190..f3b9085 100644 --- a/admin/order-history.php +++ b/admin/order-history.php @@ -46,7 +46,8 @@ $allorders = json_encode($orders, true); - + + -- 2.40.1 From 31910967a442834b71acb49d32197b54a1f3f52a Mon Sep 17 00:00:00 2001 From: Stacy Date: Tue, 23 Apr 2024 08:58:19 +0800 Subject: [PATCH 3/4] Modal spacing issues --- user-profile.php | 6 +++--- vendor-settings.php | 18 ++++++++++++------ 2 files changed, 15 insertions(+), 9 deletions(-) diff --git a/user-profile.php b/user-profile.php index e7d66fb..334725b 100644 --- a/user-profile.php +++ b/user-profile.php @@ -250,7 +250,7 @@ if ($_SESSION["isVendor"] == true) { diff --git a/vendor-settings.php b/vendor-settings.php index e81fa6c..3d976e4 100644 --- a/vendor-settings.php +++ b/vendor-settings.php @@ -21,6 +21,12 @@ if ($_SESSION["userId"] <> "") { $_SESSION["isLoggedIn"] = false; header("location: login.php"); } + +if ($_SESSION["isCustomer"] == true) { + header("location: user-profile.php"); +} + + ?> @@ -220,7 +226,7 @@ if ($_SESSION["userId"] <> "") {
-
Contact number
+
Contact nubmer
@@ -298,7 +304,7 @@ if ($_SESSION["userId"] <> "") { @@ -513,7 +519,7 @@ if ($_SESSION["userId"] <> "") {