From 877e2c6a81418eb343701fbd6a1ab9884d95f1c6 Mon Sep 17 00:00:00 2001 From: Stacy Date: Wed, 20 Mar 2024 13:54:50 +0800 Subject: [PATCH] Added all order tab on customer purchase history --- admin/header.php | 561 ++++++++++++++++++++++++++++++++++ admin/user-card.php | 556 +--------------------------------- admin/vendor-profile.php | 631 +-------------------------------------- product-left-sidebar.php | 2 +- user-history.php | 507 +++++++++++++++++++++++++------ user-profile.php | 4 +- user-refund-history.php | 12 +- 7 files changed, 986 insertions(+), 1287 deletions(-) create mode 100644 admin/header.php diff --git a/admin/header.php b/admin/header.php new file mode 100644 index 0000000..020fd67 --- /dev/null +++ b/admin/header.php @@ -0,0 +1,561 @@ + + + + \ No newline at end of file diff --git a/admin/user-card.php b/admin/user-card.php index 228c3a3..4826885 100644 --- a/admin/user-card.php +++ b/admin/user-card.php @@ -83,560 +83,8 @@ $users = getUsers();
- - + +
diff --git a/admin/vendor-profile.php b/admin/vendor-profile.php index 4ed7951..f923609 100644 --- a/admin/vendor-profile.php +++ b/admin/vendor-profile.php @@ -68,636 +68,7 @@ $array = json_decode($vendor,true);
- +
diff --git a/product-left-sidebar.php b/product-left-sidebar.php index 7316195..512d2a2 100644 --- a/product-left-sidebar.php +++ b/product-left-sidebar.php @@ -505,7 +505,7 @@ if (isset($_GET['id'])) { echo '" id="qty-input" />'; echo '
+
'; // echo '
'; - echo '
'; + echo '
'; echo '
'; diff --git a/user-history.php b/user-history.php index b36a83f..7f6f97f 100644 --- a/user-history.php +++ b/user-history.php @@ -38,6 +38,9 @@ if ($_SESSION["userId"] <> "") { + + + @@ -45,15 +48,58 @@ if ($_SESSION["userId"] <> "") { + + + +
diff --git a/user-profile.php b/user-profile.php index 71eca38..e3ae4f4 100644 --- a/user-profile.php +++ b/user-profile.php @@ -114,7 +114,7 @@ if ($_SESSION["userId"] <> "") { - +
@@ -168,7 +168,7 @@ if ($_SESSION["userId"] <> "") {
-
+ diff --git a/user-refund-history.php b/user-refund-history.php index 95a6416..8bfcbcc 100644 --- a/user-refund-history.php +++ b/user-refund-history.php @@ -49,7 +49,7 @@ if ($_SESSION["userId"] <> "") {