From 793afa339fd83c168a47b0a9822d6687d819b280 Mon Sep 17 00:00:00 2001 From: jouls Date: Thu, 25 Apr 2024 15:35:16 +0800 Subject: [PATCH] Added Daily Signup Counter --- admin/index.php | 29 +++++++++++++++++++++++------ 1 file changed, 23 insertions(+), 6 deletions(-) diff --git a/admin/index.php b/admin/index.php index 1da4c50..97e83f9 100644 --- a/admin/index.php +++ b/admin/index.php @@ -14,8 +14,15 @@ if($_SESSION["user_type"]!="admin"){ header("location: login.php?alert=Only admins allowed here!"); } -$all_orders = getAllOrder(); date_default_timezone_set('Asia/Manila'); +$currentDate = date('m-d-Y'); + +$all_orders = getAllOrder(); +$all_customers = getAllCustomers(); +$all_vendors = getAllVendors(); + +$allSignups = array_merge($all_customers, $all_vendors); + ?> @@ -707,8 +714,19 @@ date_default_timezone_set('Asia/Manila');
-

1,503

-

Daily Signups

+ +

+ +

Today's Signups

@@ -726,7 +744,7 @@ date_default_timezone_set('Asia/Manila');
-

Sales Report