Fix header php error

This commit is contained in:
Olu Amey
2021-10-11 20:12:10 -04:00
parent badca835ef
commit fca61954c5
+5 -5
View File
@@ -1,25 +1,25 @@
<?
<?php
setlocale(LC_MONETARY, 'en_NG');
?>
<?
<?php
if ($_SESSION["offer_interest_count"] + $_SESSION['past_duejobs_count'] > 0) {
if ($_SESSION['past_duejobs_count'] > 0) {
?>
<div class="panel bg-slate" style="background-color: lightpink;"> <div class="panel-body"> <div class="row"> <a href="/proj/pastdue"> <h5 class="no-margin"> You have <?= $_SESSION['past_duejobs_count'] ?> task(s) that are passed due dates Click here to manage</h5></a> </div> </div> </div>
<?
<?php
}
if ($_SESSION["offer_interest_count"] > 0) {
?>
<div class="panel bg-slate"> <div class="panel-body"> <div class="row"> <a href="/jobs/offerinterest"> <h5 class="no-margin">You have <?= $_SESSION["offer_interest_count"] ?> interest in your task.Click to view now</h5></a> </div> </div> </div>
<?
<?php
}
} else {
?>
<?
<?php
}
?>