Server IP : 2a02:4780:3:1378:0:3736:a38e:10 / Your IP : 18.119.125.227 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 ] |
---|
<?php include('header.php'); $news_letter_class = "newsletter-area-2"; ?> <section class="page-banner"> <div class="page-banner-bg bg_cover" > <div class="container"> <h2 class="about-title custom_title"><span>Documents</span></h2> </div> </div> </section> <section class=""> <div class="container"> <div class="event-details-content mb-50"> <div class="event-schedule-table table-responsive" style="margin-top:20px;"> <?php $query_mng = mysqli_query($con,"select category from documents where is_active=1 group by category"); while($res_mng = mysqli_fetch_array($query_mng)) { $cname = $res_mng['category']; ?> <h6 class="mb-10 mt-20"><?php echo $cname; ?></h6> <table class="table"> <thead> <tr> <th>Title</th> <th>File</th> </tr> </thead> <tbody> <?php $query_mng1 = mysqli_query($con,"select * from documents where category='$cname' order by id desc"); while($res_mng1 = mysqli_fetch_array($query_mng1)) { ?> <tr> <td><?php echo $res_mng1['title']; ?></td> <td><a href="adminweb/<?php echo $res_mng1['file']; ?>" target="_blank">View</a></td> </tr> <?php } ?> </tbody> </table> <?php } ?> </div> </div> </div> </section> <?php include('footer.php'); ?>