Convert deprecated center tags to CSS; General tidy

This commit is contained in:
Marcus Hill
2023-02-02 16:20:44 +00:00
parent c6840ff92a
commit 4c2ca17e2c
+6 -12
View File
@@ -1,6 +1,4 @@
<?php include("inc_all.php"); ?>
<?php
<?php require_once("inc_all.php");
$sql = mysqli_query($mysqli, "SELECT * FROM notifications LEFT JOIN clients ON notification_client_id = client_id WHERE notification_dismissed_at IS NULL AND (notification_user_id = $session_user_id OR notification_user_id = 0) AND notifications.company_id = $session_company_id ORDER BY notification_id DESC");
@@ -63,16 +61,12 @@ $sql = mysqli_query($mysqli,"SELECT * FROM notifications LEFT JOIN clients ON no
</div>
</div>
<?php
}else{
?>
<center class="my-5">
<?php } else { ?>
<div class="my-5" style="text-align: center">
<i class='far fa-fw fa-6x fa-bell-slash text-secondary'></i><h3 class='text-secondary mt-3'>No Notifications</h3>
</center>
</div>
<?php } ?>
<?php
}
?>
</div>
<?php include("footer.php");
<?php require_once("footer.php");