MMCT TEAM
Server IP : 2a02:4780:3:1378:0:3736:a38e:10  /  Your IP : 3.145.42.238
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/assets/../

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/svschool.in/public_html/assets/../pdf-gallery.php
<?php
    include('header.php');
    $news_letter_class = "newsletter-area-2";
?>
<style>
    .single-event
    {
        padding:20px;
    }
    .single-event .time {
        padding:10px 0;
    }
</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">Pdf 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='PDF' 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='PDF'");
                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 href="adminweb/<?php echo $res_gallery['photo']; ?>" target="_blank">
                            <img src="assets/images/pdf.png" class="img-responsive" />
                        </a>
                        <span class="time"><?php echo $res_gallery['title']; ?></span>
                    </div>
                </div>
                <?php
                }
                ?>
            </div>
        </div>
    </div>
</section>

<?php include('footer.php'); ?>

MMCT - 2023