📁 File Manager
Editing:
/home/u882412079/domains/oips.in/public_html/achievement-gallery.php
<?php include 'header.php'; ?> <!-- Page Title --> <section class="page-title"> <div class="color-one"></div> <div class="color-two"></div> <div class="color-three"></div> <div class="color-four"></div> <div class="auto-container"> <h2>Our Achievement Gallery</h2> <ul class="bread-crumb clearfix"> <li><a href="index.php"><i class="flaticon-home"></i> OIPS</a></li> <li>Our Achievement Gallery</li> </ul> </div> <!--Waves Container--> <div> <svg class="waves" xmlns="http://www.w3.org/2000/svg" xmlns:xlink="http://www.w3.org/1999/xlink" viewBox="0 24 150 28" preserveAspectRatio="none" shape-rendering="auto"> <defs> <path id="gentle-wave" d="M-160 44c30 0 58-18 88-18s 58 18 88 18 58-18 88-18 58 18 88 18 v44h-352z" /> </defs> <g class="parallaxx"> <use xlink:href="#gentle-wave" x="148" y="0" fill="rgba(255,255,255,0.7" /> <use xlink:href="#gentle-wave" x="100" y="3" fill="rgba(255,255,255,0.5)" /> <use xlink:href="#gentle-wave" x="70" y="5" fill="rgba(255,255,255,0.3)" /> <use xlink:href="#gentle-wave" x="48" y="7" fill="#fff" /> </g> </svg> </div> <!--Waves end--> </section> <!-- End Page Title --> <!-- Gallery One --> <section class="gallery-one"> <div class="auto-container"> <div class="sec-title style-three centered"> <div class="sec-title_title">Our Achievement Gallery</div> <h2 class="sec-title_heading">Achievement at <br> <span>Oriental International</span></h2> </div> <div class="mixitup-gallery"> <div class="row clearfix"> <?php $query = $conn->prepare("SELECT * FROM achievement_gallery order by id desc"); $query->execute(); $gallery_result = $query->fetchAll(); $gallery_row = count($gallery_result); if($gallery_row>0) { foreach ($gallery_result as $value) { ?> <div class="gallery-one_block all col-lg-4 col-md-6 col-sm-6"> <div class="gallery-one_block-inner"> <div class="gallery-one_block-image"> <img src="bb-admin/upload/achievement/<?php echo $value['feature_img']; ?>" alt="" /> <div class="gallery-one_block-overlay"> <a href="bb-admin/upload/achievement/<?php echo $value['feature_img']; ?>" class="lightbox-image gallery-one_block-icon flaticon-plus"></a> </div> </div> </div> </div> <?php } }else{ echo "<h2 class='text-center'>No data available...</h2>"; } ?> </div> </div> </div> </section> <!-- End Gallery One --> <?php include 'footer.php'; ?>
Save
Cancel