From 3de91148bc3b634feb6d4b882c743317c517b8b0 Mon Sep 17 00:00:00 2001 From: arf20 Date: Sat, 16 Mar 2024 17:15:11 +0100 Subject: Add client and admin panels --- admin.php | 97 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 97 insertions(+) create mode 100644 admin.php (limited to 'admin.php') diff --git a/admin.php b/admin.php new file mode 100644 index 0000000..a5012b8 --- /dev/null +++ b/admin.php @@ -0,0 +1,97 @@ +fetch_all(MYSQLI_ASSOC); + +// Get services +$sql = "SELECT id, name, type, billing FROM services"; +$stmt = mysqli_prepare($link, $sql); +mysqli_stmt_execute($stmt); +$result = mysqli_stmt_get_result($stmt); +$services = $result->fetch_all(MYSQLI_ASSOC); + +?> + + + + + + + ARFNET CSTIMS + + +
+ ARFNET +
+
+
+
+
+

ARFNET Client Service Ticket and Invoice Management System

+

panel

+
+
+

Users

+ + + \n"; + } + ?> +
usertypestatus
".$user['username']."".$user['type']."".$user['status']."
+
+
+

Service offerings

+ + + \n"; + } + ?> +
nametypebilling
".$service['name']."".$service['type']."".$service['billing']."€/mo
+
+
+

Orders

+ +
+
+

Tickets

+ +
+
+

Invoices

+ +
+
+
+ +
+
+ + -- cgit v1.2.3