Server : LiteSpeed System : Linux us-phx-web1202.main-hosting.eu 4.18.0-553.84.1.lve.el8.x86_64 #1 SMP Tue Nov 25 18:33:03 UTC 2025 x86_64 User : u615232177 ( 615232177) PHP Version : 8.1.33 Disable Function : NONE Directory : /home/u615232177/domains/base24rooftop.com/public_html/ |
<?php session_start();
$page_name = basename($_SERVER['PHP_SELF']);
$page_title = "Gallery";
$page_header = "6f82c45499.jpg";
include("header.php"); ?>
<title><?php echo $company_name; ?> - <?php echo $page_title; ?></title>
<?php include("page_header.php"); ?>
<link rel="stylesheet" href="https://cdn.jsdelivr.net/npm/glightbox/dist/css/glightbox.min.css" />
<br><br>
<section class="faq-page">
<div class="container">
<div class="sec-title sec-title--center wow fadeInUp" data-wow-duration="1500ms">
<div class="sec-title__top">
<div class="sec-title__box">
<div class="sec-title__box__inner"></div>
</div>
<h6 class="sec-title__tagline"><?= $company_name ?></h6>
</div>
<h3 class="sec-title__title">Seeing is Believing</h3>
</div>
<div class="row ratio_square">
<?php
$image_word = "image";
$stmt_f = $con->prepare("SELECT heading,paragraph,picture FROM gallery1");
$stmt_f->execute();
$stmt_f -> store_result();
$stmt_f -> bind_result($heading, $paragraph, $picture);
$numrows_f = $stmt_f -> num_rows();
if ($numrows_f > 0) {
while ($stmt_f -> fetch()) {
?>
<div class="col-xl-3 col-lg-4 col-6">
<div class="portfolio-image">
<a href="site_img/gallery/<?= $picture ?>" class="glightbox" data-gallery="gallery">
<img src="site_img/gallery/<?= $picture ?>" alt="<?= $heading ?>" class="img-fluid blur-up lazyload bg-img" style='object-fit:cover; height:250px; width:100%;'>
</a>
</div>
<p style='height:50px;'><b><?= $heading ?></b> <?= $paragraph ?></p>
</div>
<?php } } ?>
</div>
</div>
</section>
<br><br>
<script src="https://cdn.jsdelivr.net/npm/glightbox/dist/js/glightbox.min.js"></script>
<script>
const lightbox = GLightbox({
selector: '.glightbox'
});
</script>
<?php include("footer.php") ?>