Файловый менеджер - Редактировать - /home/amitahospital/public_html/amita_master/upload/news/media.php.tar
Назад
home/amitahospital/public_html/media.php 0000644 00000003665 14721156416 0014446 0 ustar 00 <?php include('include/header.php'); ?> <main id="main"> <!-- ======= Breadcrumbs ======= --> <section class="breadcrumbs"> <div class="container"> <div class="d-flex justify-content-between align-items-center"> <h2>Media Gallery</h2> <ol> <li><a href="index.php">Home</a></li> <li>Media Gallery</li> </ol> </div> </div> </section><!-- End Breadcrumbs --> <section id="about" class="about"> <div class="container-fluid"> <div class="row"> <div class="portfolio"> <div class="section-title"> <h2>Media Gallery</h2> </div> <div class="row portfolio-container"> <?php $sql="SELECT * FROM gallery WHERE gal_type='Media' ORDER BY gal_id DESC"; $res= mysqli_query($obj->mysqli,$sql); if($res) { while($gallery_data= mysqli_fetch_assoc($res)){ ?> <div class="col-lg-4 col-md-6 portfolio-item"> <div class="portfolio-wrap"> <img src="amita_master/upload/gallery/<?= $gallery_data['gal_image'] ?>" class="img-fluid" alt=""> <div class="portfolio-info"> <h4><?= $gallery_data['gal_tittle'] ?></h4> <div class="portfolio-links"> <a href="amita_master/upload/gallery/<?= $gallery_data['gal_image'] ?>" data-gallery="portfolioGallery" class="portfolio-lightbox" title="<?= $gallery_data['gal_tittle'] ?>"><i class="bx bx-plus"></i></a> </div> </div> </div> </div> <?php } } ?> </div> </div> </div> </div> </section><!-- End About Us Section --> </main><!-- End #main --> <?php include('include/footer.php'); ?>