From 19af05ebeed946f6f4b4794c37b18b31387b0006 Mon Sep 17 00:00:00 2001 From: Marcus Hill Date: Sat, 28 Jun 2025 14:28:25 +0100 Subject: [PATCH] Client Portal - Add company logo to header banner --- client/includes/check_login.php | 2 +- client/includes/header.php | 5 ++++- client/index.php | 9 ++++----- 3 files changed, 9 insertions(+), 7 deletions(-) diff --git a/client/includes/check_login.php b/client/includes/check_login.php index 33972c98..d5935f96 100644 --- a/client/includes/check_login.php +++ b/client/includes/check_login.php @@ -49,7 +49,7 @@ $session_company_country = $row['company_country']; $session_company_locale = $row['company_locale']; $session_company_currency = $row['company_currency']; $currency_format = numfmt_create($session_company_locale, NumberFormatter::CURRENCY); - +$session_company_logo = $row['company_logo']; // Get contact info $contact_sql = mysqli_query($mysqli, "SELECT * FROM contacts WHERE contact_id = $session_contact_id AND contact_client_id = $session_client_id"); diff --git a/client/includes/header.php b/client/includes/header.php index 486089b5..edc59799 100644 --- a/client/includes/header.php +++ b/client/includes/header.php @@ -139,10 +139,13 @@ header("X-Frame-Options: DENY"); // Legacy
+ + "> +

Welcome, !

-
+
New ticket -
- + 0) { ?>
@@ -210,9 +209,9 @@ if ($session_contact_primary == 1 || $session_contact_is_billing_contact) { ?> -