ok
Direktori : /home1/indocan/public_html/ |
Current File : //home1/indocan/public_html/gallery.php |
<!DOCTYPE html> <html lang="en"> <?php include("head.php")?> <body> <div class="boxed_wrapper"> <?php include("header.php")?> <!-- Page Title --> <section class="page-title" style="background-image: url(assets/images/background/page-title-7.jpg);"> <div class="auto-container"> <div class="content-box clearfix"> <div class="title centred"> <h6>Indo-can</h6> <h1>Gallery</h1> </div> <ul class="bread-crumb clearfix"> <li><a href="index.php">Home</a></li> <li><a href="gallery.php">Gallery</a></li> </ul> </div> </div> </section> <!-- End Page Title --> <section class="sidebar-page-container"> <div class="auto-container"> <div class="row clearfix"> <?php require_once ('conn.php'); $sql1 = "SELECT * FROM images"; $result = mysqli_query($conn, $sql1); while ($result4 = mysqli_fetch_assoc($result)) { ?> <div class="col-lg-3 col-md-4 col-sm-6 mb-4"> <a href="admin/images/<?php echo $result4['imgname']; ?>" class="lightbox-image" data-fancybox="gallery"> <img src="admin/images/<?php echo $result4['imgname']; ?>" class="img-fluid rounded"> </a> </div> <?php } ?> </div> </div> </section> <?php include("footer.php")?> </div> </body> </html>