From 02edcd600b9e46e2b78d727cd471e56473647568 Mon Sep 17 00:00:00 2001 From: Juthatip McDevitt Date: Sun, 23 Jun 2024 21:20:19 -0500 Subject: [PATCH] added login/logout functionality --- hotel_booking/admin/components/utils.php | 4 +- hotel_booking/components/header.php | 77 ++++++++++++++++++++---- hotel_booking/components/link.php | 6 +- hotel_booking/logout.php | 6 ++ 4 files changed, 78 insertions(+), 15 deletions(-) create mode 100644 hotel_booking/logout.php diff --git a/hotel_booking/admin/components/utils.php b/hotel_booking/admin/components/utils.php index 32c6d10..64df24c 100644 --- a/hotel_booking/admin/components/utils.php +++ b/hotel_booking/admin/components/utils.php @@ -1,9 +1,7 @@ Contact - + + + + + data; + } else{ + echo << + + + + data; + } + ?> @@ -88,7 +107,7 @@