Server IP : 2a02:4780:3:1378:0:3736:a38e:10 / Your IP : 3.138.123.118 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/stjpuvjp.com/../smsoft.in/../stjpuvjp.com/public_html/ |
[ Home ] | [ C0mmand ] | [ Upload File ] |
---|
<?php include "header.php"; ?> <!-- ============================================== ** Inner Banner ** =================================================== --> <div class="inner-banner blog"> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="content"> <h1 style="color:#f47435">Gallery - Video</h1> </div> </div> </div> </div> </div> <?php include 'admin/pages/config/config.php'; // Connect to MySQL // MySQL query that selects all the images ?> <!-- ============================================== ** News & Events ** =================================================== --> <section class="campus-tour padding-lg" style="padding-top: 5px;padding-bottom: 5px;"> <div class="container"> <?php $stmt1 =mysqli_query($con,"SELECT distinct category FROM `video_pdf` where type='PDF' ORDER BY `id` DESC"); while($row1=mysqli_fetch_array($stmt1)) { $category=$row1['category']; ?> <h5 style="margin-top:20px;"><?php echo $category; ?></h5> <div class="row"> <?php $stmt =mysqli_query($con,"SELECT * FROM `video_pdf` where type='PDF' and category='$category' ORDER BY `id` DESC"); foreach ($stmt as $name) { ?> <div class="col-md-3" style="margin-top:20px;"> <a target="blank" href="<?php echo $name['url']; ?>" > <img style="width:100%;padding:10px;" src="<?php echo "/admin/pages/Admin/".$name['photo']; ?>" class="img-responsive" alt=""> </a> <h6 class="text-center" style="margin-bottom:10px;"><?php echo $name['Title']; ?></h6> </div> <?php } ?> </div> <?php } ?> </div> </section> <?php include "footer.php"; ?> </body> </html>