|
Server IP : 2a02:4780:3:1493:0:3736:a38e:7 / Your IP : 216.73.216.168 Web Server : LiteSpeed System : Linux sg-nme-web1393.main-hosting.eu 4.18.0-553.77.1.lve.el8.x86_64 #1 SMP Wed Oct 8 14:21:00 UTC 2025 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/../petsisguledgudd.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>