Server IP : 2a02:4780:3:1378:0:3736:a38e:10 / Your IP : 18.221.153.253 Web Server : LiteSpeed System : Linux sg-nme-web1278.main-hosting.eu 4.18.0-513.11.1.lve.el8.x86_64 #1 SMP Thu Jan 18 16:21:02 UTC 2024 x86_64 User : u926327694 ( 926327694) PHP Version : 7.4.33 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : OFF | Python : OFF Directory (0755) : /home/u926327694/domains/svschool.in/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include('header.php'); $news_letter_class = "newsletter-area-2"; ?> <style> .single-event { padding:0; } .single-event .time { padding:10px; } </style> <section class="page-banner"> <div class="page-banner-bg bg_cover" style="background-image: url(assets/images/page-banner.jpg);"> <div class="container"> <div class="banner-content text-center"> <h2 class="title">Gallery</h2> </div> </div> </div> </section> <section class="mt-30 mb-50"> <div class="container"> <div class="row justify-content-center"> <div class="col-lg-8"> <div class="event-menu pt-20 text-center"> <ul class="menu-items"> <li data-filter="*" class="active">All</li> <?php $sel_cat = mysqli_query($con,"select category from gallery where is_active=1 and section='Gallery' group by category"); while($res_cat = mysqli_fetch_array($sel_cat)) { ?> <li data-filter=".<?php echo str_replace(' ','-',$res_cat['category']); ?>"><?php echo $res_cat['category']; ?></li> <?php } ?> </ul> </div> </div> </div> <div class="event-wrapper"> <div class="row grid"> <?php $sel_gallery = mysqli_query($con,"select * from gallery where is_active=1 and section='Gallery'"); while($res_gallery = mysqli_fetch_array($sel_gallery)) { ?> <div class="col-lg-3 col-sm-6 <?php echo str_replace(' ','-',$res_gallery['category']); ?>"> <div class="single-event text-center mt-10"> <a class="image-popup" href="adminweb/<?php echo $res_gallery['photo']; ?>"> <img src="adminweb/<?php echo $res_gallery['photo']; ?>" class="img-responsive" /> </a> <span class="time"><?php echo $res_gallery['title']; ?></span> </div> </div> <?php } ?> </div> </div> </div> </section> <?php include('footer.php'); ?>