fix
This commit is contained in:
@@ -1,44 +1,48 @@
|
||||
<?
|
||||
<?php
|
||||
setlocale(LC_MONETARY, 'en_NG');
|
||||
/*
|
||||
*
|
||||
<div class="fw-bold">
|
||||
<h4 class="text-gray-900 fw-bolder">We need your attention!</h4>
|
||||
<div class="fs-6 text-gray-700">Your payment was declined. To start using tools, please
|
||||
<a href="#" class="fw-bolder" data-bs-toggle="modal" data-bs-target="#kt_modal_new_card">Add Payment Method</a>.</div>
|
||||
</div>
|
||||
*
|
||||
*/
|
||||
|
||||
//echo $_SESSION['wallet'];
|
||||
?>
|
||||
<!--begin::Row-->
|
||||
<div class="row g-5 g-xl-8">
|
||||
<?php
|
||||
if ( isset($_SESSION['wallet']) && $_SESSION['wallet'] == true)
|
||||
{
|
||||
?>
|
||||
<div class="col-xl-3 bg-light-success rounded p-5 mb-7" style="text-align: center;">
|
||||
<a href="/wallet/"> <h5 class="no-margin"> Claim your free WRENCH Token</h5></a>
|
||||
</div>
|
||||
<?php
|
||||
}
|
||||
?>
|
||||
|
||||
<?
|
||||
if ($_SESSION["offer_interest_count"] + $_SESSION['past_duejobs_count'] > 0) {
|
||||
|
||||
<?php
|
||||
if ($_SESSION["offer_interest_count"] + $_SESSION['past_duejobs_count'] > 0) {
|
||||
|
||||
if ($_SESSION['past_duejobs_count'] > 0) {
|
||||
?>
|
||||
<div class="text-center pt-1">
|
||||
<div class="d-flex align-items-center bg-light-danger rounded p-5 mb-7">
|
||||
<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 class="col-xl-3 bg-light-danger rounded p-5 mb-7">
|
||||
<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>
|
||||
<?
|
||||
<?php
|
||||
}
|
||||
|
||||
if ($_SESSION["offer_interest_count"] > 0) {
|
||||
?>
|
||||
<div class="text-center pt-1">
|
||||
<div class="d-flex align-items-center bg-light-success rounded p-5 mb-7">
|
||||
<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>
|
||||
<?
|
||||
}
|
||||
} else {
|
||||
?>
|
||||
|
||||
<?
|
||||
<div class="col-xl-3 bg-light-success rounded p-5 mb-7">
|
||||
<!--begin::Charts Widget 1-->
|
||||
<a href="/jobs/offerinterest"> <h5 class="no-margin">You have <?= $_SESSION["offer_interest_count"] ?> interest in your task.Click to view now</h5></a>
|
||||
<!--end::Charts Widget 1-->
|
||||
</div>
|
||||
|
||||
<?php
|
||||
}
|
||||
}
|
||||
?>
|
||||
|
||||
?>
|
||||
<div class="col-xl-3">
|
||||
<!--begin::Charts Widget 1-->
|
||||
|
||||
<!--end::Charts Widget 1-->
|
||||
</div>
|
||||
</div>
|
||||
<!--end::Row-->
|
||||
Reference in New Issue
Block a user