From d99d91293fe9e9ad683bbd079848df4031f0a77a Mon Sep 17 00:00:00 2001 From: lonkaars Date: Sat, 13 May 2023 14:35:04 +0200 Subject: add links to admin pages + more login --- db/data.sql | 15 ++++++++------- db/init.sql | 12 +++++++----- db/reset.sql | 2 +- lib/db.php | 4 +++- lib/login.php | 34 ++++++++++++++++++++++++++++------ public/admin-category.php | 15 +++++++++++++++ public/admin-product.php | 15 +++++++++++++++ public/cart.php | 2 +- public/global.css | 6 ++++++ public/login.php | 9 +++------ public/nav.css | 14 +++++++++++--- public/navbar.php | 16 ++++++++++++---- public/products.php | 14 ++++++++++++++ 13 files changed, 124 insertions(+), 34 deletions(-) create mode 100644 public/admin-category.php create mode 100644 public/admin-product.php diff --git a/db/data.sql b/db/data.sql index d02fa61..7254a90 100644 --- a/db/data.sql +++ b/db/data.sql @@ -19,14 +19,15 @@ update webs.product set description = "