<?php
include('./includes/config.php');
$page_title = "First Security Islami Bank PLC.";
//echo $page_title;
//echo $data[0]['value'];
$meta_description = "First Security Islami Bank PLC. Home page description";
$meta_keywords = "First Security Islami Bank PLC., Bank, Website";
include('includes/header.php');
include('includes/navbar.php');
//include('includes/slider.php');
?>
<!-- ++++++++++++++++++++++++++Start Body Tag++++++++++++++++++++++++++ -->
<h4 class="tab_title m-5">Online Shopping</h4>
<div style="text-align:center;"><a href="#targetDiv"><img src="HeroBg/Card_offer_page-2024_2.jpeg"> </a></div>
<div class="shopping_card_wrapper row" id="targetDiv" style="text-align:center;">
<?php
$service_query = "SELECT * FROM merchant_card WHERE status = '0'";
$service_query_run = mysqli_query($con, $service_query);
if(mysqli_num_rows($service_query_run) > 0)
{
foreach( $service_query_run as $serviceitem)
{
?>
<div class="shopping_card col-3" style="text-align:center;">
<a href="<?= $serviceitem['merchant_link']; ?>" target="_blank">
<img src="<?= $serviceitem['image']; ?>">
<h4><?= $serviceitem['merchant_name']; ?></h4>
<p><?= $serviceitem['discount_text']; ?></p>
<h6>Valid Till:</h6>
<p style="text-align:center;"> <?= $serviceitem['expiry_date']; ?></p>
</a>
</div>
<?php
}
}
?>
</div>
<!-- ++++++++++++++++++++++++++Start Footer Section++++++++++++++++++++++++++ -->
<?php include('includes/footer.php'); ?>