File "all-services.php"
Full path: /home/fsibplc/public_html/fsib/firstcash/en/all-services.php
File
size: 2.28 B (2.28 KB bytes)
MIME-type: text/x-php
Charset: utf-8
Download Open Edit Advanced Editor Back
<?php
include('./all/config.php');
include('./all/header.php');
include('./all/navbar.php'); ?>
<section data-bs-version="5.1" class="features1 cid-tyBOPnNvIe" id="features2-2">
<div class="container">
<div class="mbr-section-head">
<h3 class="mb-5 text-center" style="font-weight:bold;color:#2D3192">Product & Services</h3>
</div>
<div class="row justify-content-center">
<?php
$service_query = "SELECT slug, image, name FROM services 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="col-12 col-md-6 col-lg-3">
<a href="<?= base_url('service.php?title='.$serviceitem['slug']) ?>">
<div class="card-wrapper">
<div class="card-box align-center">
<!-- <img src="/fc_new_icon_feedback/ic_add_money.svg" alt=""> -->
<object data="<?= base_url('uploads/service/'.$serviceitem['image']) ?>" width="100" height="100"> </object>
<!-- <span class="mbr-iconfont mobi-mbri-code mobi-mbri"></span> -->
<h4 class="card-title align-center mbr-fonts-style display-7">
<strong><?= $serviceitem['name']; ?></strong>
</h4>
</div>
</div>
</a>
</div>
<?php
}
}
?>
</div>
</div>
</section>
<?php include('./all/footer.php') ?>
</body>
</html>