Client Portal - Add company logo to header banner

This commit is contained in:
Marcus Hill
2025-06-28 14:28:25 +01:00
parent eb11e5b2f8
commit 19af05ebee
3 changed files with 9 additions and 7 deletions

View File

@@ -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");

View File

@@ -139,10 +139,13 @@ header("X-Frame-Options: DENY"); // Legacy
</div>
<div class="col-md-11 p-0">
<?php if ($session_company_logo) { ?>
<img height="48" width="142" class="img-fluid float-right" src="<?php echo "../uploads/settings/$session_company_logo"; ?>">
<?php } ?>
<h4>Welcome, <strong><?php echo stripslashes(nullable_htmlentities($session_contact_name)); ?></strong>!</h4>
<hr>
</div>
</div>
<hr>
<?php
//Alert Feedback