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 if(isset($_GET['id'])) { include"header.php"; $id=$_GET['id']; ?> <div class="inner-banner blog"> <div class="container"> <div class="row"> <div class="col-sm-12"> <div class="content"><br> <h3 style="color:white">Documents</h3> </div> </div> </div> </div> </div><br><br> <section class="generic-wrapper"> <div class="container"> <table class="table table-bordered"> <thead> <tr> <th>Sr. No</th> <th>Document</th> </tr> </thead> <tbody> <?php $i=0; $sql_doc=mysqli_query($con,"select * from master_cat as cat inner join attendance as a ON a.cat_id=cat.id where a.cat_id=$id"); while($res_doc=mysqli_fetch_array($sql_doc)) { $i=$i+1; ?> <tr> <td><?php echo $i; ?></td> <td><a target="_blank" href="admin/pages/Admin/<?php echo $res_doc['file']; ?>"><?php echo $res_doc['description']; ?></a></td> </tr> <?php } ?> </tbody> </table> </div><br><br> </section> <?php include"footer.php"; } else { echo"<script>window.location='index.php';</script>"; } ?> </html>