<?php
    include_once('admin/connect.php');
    session_start();
    $id=session_id();
    $_SESSION['sessionid']=$id;
?>
<!DOCTYPE html>
<html lang="zxx">
    <head>
        <meta charset="UTF-8">
        <meta name="viewport" content="width=device-width, initial-scale=1.0">
        <title>Parama Bhattara Kendriya Vidyalayam</title>

        <!-- CSS Files -->
        <link rel="stylesheet" href="assets/css/bootstrap.min.css">
        <link rel="stylesheet" href="assets/css/swiper-bundle.min.css">
        <link rel="stylesheet" href="assets/css/scrollCue.css">
        <link rel="stylesheet" href="assets/css/remixicon.css">
        <link rel="stylesheet" href="assets/css/flaticon.css">
        <link rel="stylesheet" href="assets/css/style.css">
        <link rel="stylesheet" href="assets/css/responsive.css">
        <link href="assets/img/logo.png" type="image/x-icon" rel="icon">
        <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
        <style>
             .form-container {
              width: 58%; /* or a fixed width */
              margin: 0 auto;
            }
            table, th, td {
              border:1px solid black;
               border: 1px solid black;
               border-collapse: collapse;
              height:40px;
              padding: 5px;
              text-align: left;
              margin-bottom:20px;
            }
            input{
            	height:30px;
            }
            h6{
              color: red;
              padding-top:20px;
            }
            h3{
              text-align: center;
              text-decoration: underline;
              color: #313492;
              margin-bottom:20px;
            }
            h3 span{
                color:#157fdd;
            }
            .red{
              color: red;
            }
            textarea{
              text-align: left;
            }
            .note{
                padding: 10px;
                  background: #fffdcb;
                  display: inline-block;
                  margin: auto;
            }
            .input1{
                border: 1px solid blue;
                  padding: 5px;
                  color: blue;
            }
            .input1:hover{
                border: 1px solid blue;
                  padding: 5px;
                  background:#ee7e3e;
                  color: blue;
                   cursor: pointer;
            }
        </style>
    </head>

    <body>

        <!-- Start Top Header Area -->
        <!-- <div class="top-header-area">
            <div class="container-fluid">
                <div class="row align-items-center">
                    <div class="col-lg-6 col-md-12">
                        <div class="top-header-list">
                            <ul class="list-unstyled ps-0 mb-0">
                                <li class="d-inline-block">
                                    <a class="text-decoration-none d-flex align-items-center" href="tel:45993939990">
                                        <i class="flaticon-call"></i>
                                        +459 9393 9990
                                    </a>
                                </li>
                                <li class="d-inline-block">
                                    <a class="text-decoration-none d-flex align-items-center" href="/cdn-cgi/l/email-protection#3a525f5656555b5e575b7a5d575b535614595557">
                                        <i class="ri-message-line"></i>
                                        <span class="__cf_email__" data-cfemail="8be3eee7e7e4eaefe6eacbece6eae2e7a5e8e4e6">[email&#160;protected]</span>
                                    </a>
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-lg-6 col-md-12">
                        <div class="top-header-social-list text-end">
                            <ul class="list-unstyled ps-0 mb-0">
                                <li class="d-inline-block">
                                    <ul class="list-unstyled ps-0 mb-0 pages-link">
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="faculty.php">Faculty</a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="university-life.php">Community</a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="login.php">Log in</a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="register.php">Register</a>
                                        </li>
                                    </ul>
                                </li>
                                <li class="d-inline-block">
                                    <ul class="list-unstyled ps-0 mb-0 social-link">
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://www.facebook.com/" target="_blank">
                                                <i class="flaticon-facebook-app-symbol"></i>
                                            </a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://www.pinterest.com/" target="_blank">
                                                <i class="flaticon-pinterest"></i>
                                            </a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://www.instagram.com/" target="_blank">
                                                <i class="flaticon-instagram"></i>
                                            </a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://twitter.com/" target="_blank">
                                                <i class="flaticon-twitter"></i>
                                            </a>
                                        </li>
                                    </ul>
                                </li>
                            </ul>
                        </div>
                    </div>
                </div>
            </div>
        </div> -->
        <!-- End Top Header Area -->

       <!-- Start Navbar Area --> 
        <nav class="navbar navbar-expand-lg" id="navbar">
            <div class="container-fluid">
                <a class="navbar-brand" href="index.php">
                    <img class="black-logo" src="assets/img/logo.png" alt="black-logo" style="width: 125px">
                </a>
                <a class="navbar-toggler text-decoration-none" data-bs-toggle="offcanvas" href="#navbarOffcanvas" role="button" aria-controls="navbarOffcanvas">
                    <span class="burger-menu">
                        <span class="top-bar"></span>
                        <span class="middle-bar"></span> 
                        <span class="bottom-bar"></span>
                    </span>
                </a>
                <div class="collapse navbar-collapse">
                    <ul class="navbar-nav ms-auto">
                         <li class="nav-item">
                            <a href="index.php" class="nav-link active">
                                Home
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="gallery.php" class="nav-link">
                                 Gallery
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="about_us.php" class="nav-link">
                                About Us
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="tc.php" class="nav-link">
                                TC
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="facilities.php" class="nav-link">
                                Facilities
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="mandatory_disclosure.php" class="nav-link">
                                Mandatory Disclosure
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="contact.php" class="nav-link">
                                Contact Us
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="https://pbkvvadayampady.eschoolweb.org/login" target="_blank" class="default-btn1">
                                Parent Login
                            </a>
                        </li>
                        <li class="nav-item">
                            <a href="https://docs.google.com/forms/d/e/1FAIpQLSe0Jtec_3W9fxUEJycL6DakkuaNqfVVAUOlf0IewFeA2kmxBA/viewform?usp=header" target="_blank" class="default-btn1">
                                Admission
                            </a>
                        </li>
                    </ul>
                     
                    <!--<div class="others-option">-->
                    <!--     <div class="d-flex align-items-center">-->
                    <!--        <div class="option-item">-->
                    <!--            <form class="search-form">-->
                    <!--                <div class="form-group">-->
                    <!--                    <input class="form-control" type="text" placeholder="Search Programs">-->
                    <!--                    <button type="submit"><i class="ri-search-line"></i></button>-->
                    <!--                </div>-->
                    <!--            </form>-->
                    <!--            <button type="button" class="search-btn d-none bg-transparent border-0 lh-1 p-0 position-relative" data-bs-toggle="modal" data-bs-target="#searchModal">-->
                    <!--                <i class="flaticon-search-1"></i>-->
                    <!--            </button>-->
                    <!--        </div>-->
                    <!--    </div> -->
                    <!--     <div class="d-flex align-items-center">-->
                    <!--          <div class="option-item">-->
                    <!--            <a class="text-decoration-none default-btn" href="https://pbkvvadayampady.eschoolweb.org/login">-->
                    <!--                Parent Portal-->
                    <!--                 <i class="flaticon-right-arrow"></i> -->
                    <!--            </a>-->
                    <!--        </div>-->
                    <!--        <div class="option-item">-->
                    <!--            <a class="text-decoration-none default-btn" href="https://docs.google.com/forms/d/e/1FAIpQLSe0Jtec_3W9fxUEJycL6DakkuaNqfVVAUOlf0IewFeA2kmxBA/viewform?usp=header">-->
                    <!--                Admission-->
                                   
                    <!--            </a>-->
                    <!--        </div>-->
                    <!--         <div class="option-item">-->
                    <!--            <div class="responsive-icon d-none">-->
                    <!--                <a class="text-decoration-none" href="https://docs.google.com/forms/d/e/1FAIpQLSe0Jtec_3W9fxUEJycL6DakkuaNqfVVAUOlf0IewFeA2kmxBA/viewform?usp=header">-->
                    <!--                    <i class="ri-arrow-right-up-line"></i>-->
                    <!--                </a>-->
                    <!--            </div>-->
                    <!--        </div> -->
                    <!--    </div>-->
                    <!--</div>-->
                </div>
            </div>
        </nav>
        <!-- End Navbar Area -->

        <!-- Start Search Modal -->
        <div class="modal fade searchModal" id="searchModal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-hidden="true">
            <div class="modal-dialog">
                <div class="modal-content">
                    <form class="position-relative">
                        <input type="text" class="input-search d-block w-100 bg-transparent" placeholder="Search here....">
                        <button type="submit" class="border-0 p-0">
                            <svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none">
                                <g clip-path="url(#clip0_12_4315)">
                                    <path d="M11 2C15.968 2 20 6.032 20 11C20 15.968 15.968 20 11 20C6.032 20 2 15.968 2 11C2 6.032 6.032 2 11 2ZM11 18C14.867 18 18 14.867 18 11C18 7.132 14.867 4 11 4C7.132 4 4 7.132 4 11C4 14.867 7.132 18 11 18ZM19.485 18.071L22.314 20.899L20.899 22.314L18.071 19.485L19.485 18.071Z" fill="white"/>
                                </g>
                            </svg>
                        </button>
                    </form>
                    <button type="button" class="btn-close rounded-0 p-0 w-auto h-auto" data-bs-dismiss="modal" aria-label="Close">
                        <i class="ri-close-fill"></i>
                    </button>
                </div>
            </div>
        </div>
        <!-- End Search Modal -->

        <!-- Start Responsive Navbar Area -->
        <div class="responsive-navbar offcanvas offcanvas-end border-0" data-bs-backdrop="static" tabindex="-1" id="navbarOffcanvas">
            <div class="offcanvas-header">
                <a href="index.php" class="logo d-inline-block">
                    <img src="assets/img/logo.png" alt="logo" style="height:100px">
                </a>
                <button type="button" class="close-btn bg-transparent position-relative lh-1 p-0 border-0" data-bs-dismiss="offcanvas" aria-label="Close">
                    <i class="ri-close-fill"></i>
                </button>
            </div>
            <div class="offcanvas-body">
                <ul class="responsive-menu">
                    <li class="nav-item">
                            <a href="index.php" class="nav-link active">
                                Home
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="gallery.php" class="nav-link">
                                 Gallery
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="about_us.php" class="nav-link">
                                About Us
                            </a>
                        </li>
                        <!-- <li class="nav-item">-->
                        <!--    <a href="nios.php" class="nav-link">-->
                        <!--        NIOS-->
                        <!--    </a>-->
                        <!--</li>-->
                         <li class="nav-item">
                            <a href="mandatory_disclosure.php" class="nav-link">
                                Mandatory Disclosure
                            </a>
                        </li>
                         <li class="nav-item">
                            <a href="contact.php" class="nav-link">
                                Contact Us
                            </a>
                        </li>
                </ul>

                <div class="others-option d-md-flex align-items-center">
                    <div class="option-item">
                        <a class="text-decoration-none default-btn" href="https://docs.google.com/forms/d/e/1FAIpQLSe0Jtec_3W9fxUEJycL6DakkuaNqfVVAUOlf0IewFeA2kmxBA/viewform?usp=header">
                            Admission
                            <!-- <i class=""></i> -->
                        </a>
                    </div>
                </div>
                
            </div>
        </div>
        <!-- End Responsive Navbar Area -->

        <!-- Start Pages Banner Area -->
        <div class="pages-banner-area">
            <div class="container-fluid">
                <div class="row">
                    <div class="col-lg-6">
                        <div class="pages-title">
                            <h2>Mandatory Disclosure</h2>
                            <ul class="list-unstyled ps-0 mb-0">
                                <li class="d-inline-block">
                                    <a class="text-decoration-none" href="index.php">
                                        Home
                                    </a>
                                </li>
                                <li class="d-inline-block">
                                   Mandatory Disclosure
                                </li>
                            </ul>
                        </div>
                    </div>
                    <div class="col-lg-6">
                        <div class="pages-image">
                             <img src="assets/img/about/pbkv1.jpg" alt="pages-image">
                        </div>
                    </div>
                </div>
            </div>
           <!--  <div class="shape-7">
                <img src="assets/img/shape/shape-7.png" alt="shape">
            </div> -->
        </div>
        <!-- End Pages Banner Area -->

         <!-- Start Support Area-->
        <div class="support-area pt-100 pb-75">
            <div class="container  ">
                <div class="row align-items-center">
                    <div class="col-md-1"></div>
                    <div class="col-md-10" style="display: block;
  margin: auto;
  border: 1px solid #d7d5d5;
  padding: 30px;">
                        <h3>APPENDIX -IX</h3>
                        <h3>MANDATORY PUBLIC DISCLOSURE <span>(CIRCULAR NO : 09/2021)</span></h3>
                        
                        <h6>A: GENERAL INFORMATION</h6>
                        <hr>
                        <?php
                        $selgen = mysqli_query($con,"SELECT * FROM tbl_generalinfo");
                        $i=1;
                        while($rowg = mysqli_fetch_array($selgen)) {
                        ?>  
                        <table style="width:100%">
                          <tr>
                           <th style="width:10%">SL NO</th>
                            <th style="width:45%">INFORMATION</th>
                            <th style="width:45%">DETAILS</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td>NAME OF THE SCHOOL<span class="red">*</span></td>
                            <td><input type="text" name="txtName" id="txtName"  size="40" value="<?php echo $rowg['school_name']; ?>"></td>
                          </tr>
                          <tr>
                            <td>2</td>
                            <td>AFFILIATION NO.<br>(IF APPLICABLE)</td>
                            <td><input type="text" name="txtAffiliation" id="txtAffiliation" value="<?php echo $rowg['affiliation_number']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>3</td>
                            <td>SCHOOL CODE <br> (IF APPLICABLE)</td>
                            <td><input type="text" name="txtCode" id="txtCode" value="<?php echo $rowg['school_code']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>4</td>
                            <td>COMPLETE ADDRESS WITH PIN CODE<span class="red">*</span> </td>
                            <td><textarea  cols="40" rows="3" name="txtAddress" id="txtAddress"><?php echo $rowg['school_address']; ?></textarea></td>
                          </tr>
                           <tr>
                            <td>5</td>
                            <td>PRINCIPAL NAME<span class="red">*</span></td>
                            <td><input type="text" name="txtPname" id="txtPname" value="<?php echo $rowg['principal_name']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>6</td>
                            <td>PRINCIPAL QUALIFICATION<span class="red">*</span> </td>
                            <td><input type="text" name="txtPQualification" id="txtPQualification" value="<?php echo $rowg['principal_qualification']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>7</td>
                            <td>SCHOOL EMAIL ID<span class="red">*</span></td>
                            <td><input type="text" name="txtEmail" id="txtEmail" value="<?php echo $rowg['school_email']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>8</td>
                            <td>CONTACT DETAILS (LANDLINE/MOBILE)<span class="red">*</span></td>
                            <td><input type="text" name="txtContact" id="txtContact" value="<?php echo $rowg['school_contact']; ?>" size="40"></td>
                          </tr>
                        </table>
                         <?php
                        $i++;
                        }
                      ?>
                        
                        <h6>B : DOCUMENTS AND INFORMATION:</h6>
                        <hr>
                        <?php
                        $seldoc = mysqli_query($con,"SELECT * FROM tbl_documentinfo");
                        $j=1;
                        while($rowd = mysqli_fetch_array($seldoc)) {
                            
                        ?>  
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>DOCUMENTS/INFORMATION</th>
                            <th>LINKS OF UPLOADED DOCUMENTS ON YOUR SCHOOL'S WEBSITE</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td>COPIES OF AFFILIATION/UPGRADATION LETTER AND RECENT EXTENSION OF AFFILIATION, IF ANY</td>
                            <td>
                                <?php
                                $filepath1= $rowd['affiliation_letter'];
                                if($filepath1!=""){
                                    $do1 = ltrim($filepath1, '.'); // Removes leading dots
                                    $doc1='https://pbkvidyalayam.org'.$do1;
                                ?>
                                <a href="<?php echo $doc1; ?>" target="_blank">
                                    <input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $doc1; ?>" size="40" class="input1" >
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc1="";
                                        ?>
                                        
                                        <input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $doc1; ?>" size="40" class="input1" >
                                       
                                    <?php
                                    }
                                    ?>
                                </td>
                          </tr>
                          <tr>
                            <td>2</td>
                            <td>COPIES OF SOCIETIES/TRUST/COMPANY REGISTRATION/RENEWAL CERTIFICATE, AS APPLICABLE<span class="red">*</span></td>
                            <td>
                                <?php
                                $filepath2= $rowd['company_renewal'];
                                if($filepath2!=""){
                                    $do2 = ltrim($filepath2, '.'); // Removes leading dots
                                    $doc2='https://pbkvidyalayam.org'.$do2;
                                ?>
                                <a href="<?php echo $doc2; ?>" target="_blank">
                                    <input type="text" name="txtCompany" id="txtCompany" value="<?php echo $doc2; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc2="";
                                        ?>
                                        
                                        <input type="text" name="txtCompany" id="txtCompany" value="<?php echo $doc2; ?>" size="40" class="input1" >
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>3</td>
                            <td>COPY OF NO OBJECTION CERTIFICATE (NOC) ISSUED, IF APPLICABLE, BY THE STATE GOVT./UT </td>
                            <td>
                                 <?php
                                 $filepath3= $rowd['noc'];
                                if($filepath3!=""){
                                    $do3 = ltrim($filepath3, '.'); // Removes leading dots
                                    $doc3='https://pbkvidyalayam.org'.$do3;
                                ?>
                                <a href="<?php echo $doc3; ?>" target="_blank">
                                    <input type="text" name="txtNoc" id="txtNoc" value="<?php echo $doc3; ?>" size="40" class="input1" >
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc3="";
                                        ?>
                                       
                                        <input type="text" name="txtNoc" id="txtNoc" value="<?php echo $doc3; ?>" size="40" class="input1" >
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>4</td>
                            <td>COPIES OF RECOGNITION CERTIFICATE UNDER RTE ACT, 2009, AND IT'S RENEWAL IF APPLICABLE<span class="red">*</span></td>
                            <td>
                                <?php
                                 $filepath4= $rowd['recognition_cert'];
                                if($filepath4!=""){
                                    $do4 = ltrim($filepath4, '.'); // Removes leading dots
                                    $doc4='https://pbkvidyalayam.org'.$do4;
                                ?>
                                <a href="<?php echo $doc4; ?>" target="_blank">
                                    <input type="text" name="txtRecog" id="txtRecog" value="<?php echo $doc4; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc4="";
                                        ?>
                                       
                                        <input type="text" name="txtRecog" id="txtRecog" value="<?php echo $doc4; ?>" size="40" class="input1" >
                                      
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>5</td>
                            <td>COPY OF VALID BUILDING SAFETY CERTIFICATE AS PER THE NATIONAL BUILDING CODE</td>
                            <td>
                                 <?php
                                $filepath5= $rowd['building_safety'];
                                if($filepath5!=""){
                                    $do5 = ltrim($filepath5, '.'); // Removes leading dots
                                    $doc5='https://pbkvidyalayam.org'.$do5;
                                ?>
                                <a href="<?php echo $doc5; ?>" target="_blank">
                                    <input type="text" name="txtBuild" id="txtBuild" value="<?php echo $doc5; ?>" size="40"  class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc5="";
                                        ?>
                                        
                                        <input type="text" name="txtBuild" id="txtBuild" value="<?php echo $doc5; ?>" size="40" class="input1" >
                                       
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>6</td>
                            <td>COPY OF VALID FIRE SAFETY CERTIFICATE ISSUED BY THE COMPETENT AUTHORITY<span class="red">*</span> </td>
                            <td>
                                 <?php
                                 $filepath6= $rowd['fire_safety'];
                                if($filepath6!=""){
                                    $do6 = ltrim($filepath6, '.'); // Removes leading dots
                                    $doc6='https://pbkvidyalayam.org'.$do6;
                                ?>
                                <a href="<?php echo $doc6; ?>" target="_blank">
                                    <input type="text" name="txtFire" id="txtFire" value="<?php echo $doc6; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc6="";
                                        ?>
                                        
                                        <input type="text" name="txtFire" id="txtFire" value="<?php echo $doc6; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>7</td>
                            <td>COPY OF THE SELF CERTIFICATION SUBMITTED BY THE SCHOOL FOR AFFILIATION/UPGRADATION/EXTENSION OF AFFILIATION<span class="red">*</span> </td>
                            <td>
                                 <?php
                                 $filepath7= $rowd['self_certification'];
                                if($filepath7!=""){
                                    $do7 = ltrim($filepath7, '.'); // Removes leading dots
                                    $doc7='https://pbkvidyalayam.org'.$do7;
                                ?>
                                <a href="<?php echo $doc7; ?>" target="_blank">
                                    <input type="text" name="txtSelfCert" id="txtSelfCert" value="<?php echo $doc7; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc7="";
                                        ?>
                                        
                                        <input type="text" name="txtSelfCert" id="txtSelfCert" value="<?php echo $doc7; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>8</td>
                            <td>COPIES OF VALID WATER, HEALTH AND SANITATION CERTIFICATES</td>
                            <td>
                                 <?php
                                $filepath8= $rowd['water_health_sani'];
                                if($filepath8!=""){
                                    $do8 = ltrim($filepath8, '.'); // Removes leading dots
                                    $doc8='https://pbkvidyalayam.org'.$do8;
                                ?>
                                <a href="<?php echo $doc8; ?>" target="_blank">
                                    <input type="text" name="txtWater" id="txtWater" value="<?php echo $doc8; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc8="";
                                        ?>
                                      
                                        <input type="text" name="txtWater" id="txtWater" value="<?php echo $doc8; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                        </table>
                          <?php
                        $j++;
                        }
                      ?>
                        
                        <!--<p class="note" ><b><u style="color:#157fdd;">NOTE:</u></b><br>-->
                        <!--THE SCHOOLS NEEDS TO UPLOAD THE SELF ATTESTED COPIES OF ABOVE LISTED DOCUMETNS BY CHAIRMAN/MANAGER/SECRETARY-->
                        <!--AND PRINCIPAL. IN CASE, IT IS NOTICED AT LATER STAGE THAT UPLOADED DOCUMENTS ARE NOT GENUINE THEN SCHOOL SHALL BE-->
                        <!--LIABLE FOR ACTION AS PER NORMS.</p>-->
                        
                        <h6>C : RESULT AND ACADEMICS:</h6>
                        <hr>
                        <?php
                        $selac = mysqli_query($con,"SELECT * FROM tbl_academics");
                        $k=1;
                        while($rowac = mysqli_fetch_array($selac)) {
                        ?>  
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>DOCUMENTS/INFORMATION</th>
                            <th>LINKS OF UPLOADED DOCUMENTS ON YOUR SCHOOL'S WEBSITE</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td>FEE STRUCTURE OF THE SCHOOL<span class="red">*</span></td>
                            <td>
                                 <?php
                                $filepath1= $rowac['fee_structure'];
                                if($filepath1!=""){
                                    $do1 = ltrim($filepath1, '.'); // Removes leading dots
                                    $doc1='https://pbkvidyalayam.org'.$do1;
                                ?>
                                <a href="<?php echo $doc1; ?>" target="_blank">
                                    <input type="text" name="txtFee" id="txtFee" value="<?php echo $doc1; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc1="";
                                        ?>
                                      
                                        <input type="text" name="txtFee" id="txtFee" value="<?php echo $doc1; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                               
                            </td>
                          </tr>
                          <tr>
                            <td>2</td>
                            <td>ANNUAL ACADEMIC CALENDER<span class="red">*</span> </td>
                            <td>
                                 <?php
                                $filepath2= $rowac['annual_calendar'];
                                if($filepath2!=""){
                                    $do2 = ltrim($filepath2, '.'); // Removes leading dots
                                    $doc2='https://pbkvidyalayam.org'.$do2;
                                ?>
                                <a href="<?php echo $doc2; ?>" target="_blank">
                                    <input type="text" name="txtCalend" id="txtCalend" value="<?php echo $doc2; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc2="";
                                        ?>
                                      
                                        <input type="text" name="txtCalend" id="txtCalend" value="<?php echo $doc2; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                               
                            </td>
                          </tr>
                           <tr>
                            <td>3</td>
                            <td>LIST OF SCHOOL MANAGEMENT COMMITTEE (SMC)<span class="red">*</span>  </td>
                            <td>
                                 <?php
                                 $filepath3= $rowac['management_committee'];
                                if($filepath3!=""){
                                    $do3 = ltrim($filepath3, '.'); // Removes leading dots
                                    $doc3='https://pbkvidyalayam.org'.$do3;
                                ?>
                                <a href="<?php echo $doc3; ?>" target="_blank">
                                    <input type="text" name="txtCommittee" id="txtCommittee" value="<?php echo $doc3; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc3="";
                                        ?>
                                      
                                        <input type="text" name="txtCommittee" id="txtCommittee" value="<?php echo $doc3; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                               
                            </td>
                          </tr>
                           <tr>
                            <td>4</td>
                            <td>LIST OF PARENTS TEACHERS ASSOCIATION (PTA) MEMBERS<span class="red">*</span></td>
                            <td>
                                <?php
                                 $filepath4= $rowac['pta_members'];
                                if($filepath4!=""){
                                    $do4 = ltrim($filepath4, '.'); // Removes leading dots
                                    $doc4='https://pbkvidyalayam.org'.$do4;
                                ?>
                                <a href="<?php echo $doc4; ?>" target="_blank">
                                    <input type="text" name="txtPta" id="txtPta" value="<?php echo $doc4; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc4="";
                                        ?>
                                      
                                        <input type="text" name="txtPta" id="txtPta" value="<?php echo $doc4; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                           <tr>
                            <td>5</td>
                            <td>LAST THREE-YEAR RESULT OF THE BOARD EXAMINATION AS PER APPLICABILITY </td>
                            <td>
                                <?php
                                $filepath5= $rowac['threeyear_result'];
                                if($filepath5!=""){
                                    $do5 = ltrim($filepath5, '.'); // Removes leading dots
                                    $doc5='https://pbkvidyalayam.org'.$do5;
                                ?>
                                <a href="<?php echo $doc5; ?>" target="_blank">
                                    <input type="text" name="txtThree" id="txtThree" value="<?php echo $doc5; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc5="";
                                        ?>
                                      
                                        <input type="text" name="txtThree" id="txtThree" value="<?php echo $doc5; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                            </td>
                          </tr>
                        </table>
                         <?php
                            $k++;
                            }
                          ?>
                        
                        <h6>D : STAFF (TEACHING) :</h6>
                        <hr>
                        <?php
                        $selst = mysqli_query($con,"SELECT * FROM tbl_staff");
                        $l=1;
                        while($rowst = mysqli_fetch_array($selst)) {
                        ?>  
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>INFORMATION</th>
                            <th>DETAILS</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td>PRINCIPAL<span class="red">*</span></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowst['principal_name']; ?>" size="40"></td>
                          </tr>
                          <tr>
                            <td>2</td>
                            <td colspan="2">
                              <table style="width:100%">
                                <tr>
                                  <td>TOTAL NO. OF TEACHERS<span class="red">*</span></td>
                                  <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowst['teacher_no']; ?>" size="40"></td>
                                </tr>
                                <tr>
                                  <td>PGT<span class="red">*</span> </td>
                                  <td><input type="text" name="txtCopySociety" id="txtCopySociety" value="<?php echo $rowst['pgt']; ?>" size="40"></td>
                                </tr>
                                 <tr>
                                  <td>TGT<span class="red">*</span>  </td>
                                  <td><input type="text" name="txtCopyNoObj" id="txtCopyNoObj" value="<?php echo $rowst['tgt']; ?>" size="40"></td>
                                </tr>
                                 <tr>
                                  <td>PRT<span class="red">*</span> </td>
                                  <td><input type="text" name="txtCopyNoObj" id="txtCopyNoObj" value="<?php echo $rowst['prt']; ?>" size="40"></td>
                                </tr>
                        
                              </table>
                            </td>
                          </tr>
                           <tr>
                            <td>3</td>
                            <td>TEACHERS SECTION RATIO<span class="red">*</span>  </td>
                            <td><input type="text" name="txtCopyNoObj" id="txtCopyNoObj" value="<?php echo $rowst['teacher_ratio']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>4</td>
                            <td>DETAILS OF SPECIAL EDUCATOR</td>
                            <td><input type="text" name="txtCopyRecog" id="txtCopyRecog" value="<?php echo $rowst['educator']; ?>" size="40"></td>
                          </tr>
                           <tr>
                            <td>5</td>
                            <td>DETAILS OF COUNSELLOR AND WELLNESS TEACHER<span class="red">*</span> </td>
                            <td><input type="text" name="txtCopyValid" id="txtCopyValid" value="<?php echo $rowst['counsellor']; ?>" size="40"></td>
                          </tr>
                        </table>
                        <?php
                            $l++;
                            }
                          ?>
                        
                        <h6>RESULT CLASS: X</h6>
                        <hr>
                         <?php
                        $selt = mysqli_query($con,"SELECT * FROM tbl_tenresult");
                        $m=1;
                        while($rowt = mysqli_fetch_array($selt)) {
                        ?>  
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>YEAR</th>
                            <th>NO. OF REGISTERED STUDENTS</th>
                            <th>NO. OF STUDENTS PASSED</th>
                            <th>PASS PERCENTAGE</th>
                            <th>REMARKS</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowt['year']; ?>" size="8"></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowt['registered_student']; ?>" size="8"></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowt['passed_student']; ?>" size="8"></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowt['pass_percentage']; ?>"  size="8"></td>
                            <td><textarea rows="4" cols="14"><?php echo $rowt['remarks']; ?></textarea></td>
                          </tr>
                        </table>
                         <?php
                            $m++;
                            }
                          ?>
                        
                        <h6>RESULT CLASS: XII</h6>
                        <hr>
                        <?php
                         $selpt = mysqli_query($con,"SELECT * FROM tbl_plustworesult");
                        $n=1;
                        while($rowpt = mysqli_fetch_array($selpt)) {
                        ?>  
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>YEAR</th>
                            <th>NO. OF REGISTERED STUDENTS</th>
                            <th>NO. OF STUDENTS PASSED</th>
                            <th>PASS PERCENTAGE</th>
                            <th>REMARKS</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowpt['year']; ?>" size="8"></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowpt['registered_student']; ?>" size="8"></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowpt['passed_student']; ?>" size="8"></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili" value="<?php echo $rowpt['pass_percentage']; ?>" size="8"></td>
                            <td><textarea rows="4" cols="14"><?php echo $rowpt['remarks']; ?></textarea></td>
                          </tr>
                        </table>
                        <?php
                            $n++;
                            }
                          ?>
                        
                        <h6>E : SCHOOL INFRASTRUCTURE:</h6>
                        <hr>
                        <?php
                         $selin = mysqli_query($con,"SELECT * FROM tbl_infrastructure");
                        $p=1;
                        while($rowin = mysqli_fetch_array($selin)) {
                        ?>  
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>INFORMATION</th>
                            <th>DETAILS</th>
                          </tr>
                          <tr>
                            <td>1</td>
                            <td>TOTAL CAMPUS AREA OF THE SCHOOL (IN SQUARE MTR)<span class="red">*</span></td>
                            <td><input type="text" name="txtCopyAffili" id="txtCopyAffili"  size="22"></td>
                          </tr>
                          <tr>
                            <td>2</td>
                            <td>NO. AND SIZE OF THE CLASS ROOMS (IN SQ MTR)<span class="red">*</span> </td>
                            <td>
                              <input type="text" name="txtCopySociety" id="txtCopySociety"  value="<?php echo $rowin['classroom_no']; ?>" size="22" >
                              <input type="text" name="txtCopySociety" id="txtCopySociety"  value="<?php echo $rowin['classroom_size']; ?>" size="22" >
                            </td>
                          </tr>
                           <tr>
                            <td>3</td>
                            <td>NO. AND SIZE OF LABORATORIES INCLUDING COMPUTER LABS (IN SQ MTR)<span class="red">*</span>  </td>
                            <td>
                               <input type="text" name="txtCopySociety" id="txtCopySociety"  value="<?php echo $rowin['lab_no']; ?>" size="22" >
                              <input type="text" name="txtCopySociety" id="txtCopySociety"  value="<?php echo $rowin['lab_size']; ?>" size="22" >
                            </td>
                          </tr>
                           <tr>
                            <td>4</td>
                            <td>INTERNET FACILITY<span class="red">*</span></td>
                            <td>
                              <input type="text" name="rdYes" id="rdYes"  value="<?php echo $rowin['internet_facility']; ?>"  size="22">
                              <!-- <input type="radio" name="rdNo" id="rdNo" value="No" >No -->
                            </td>
                          </tr>
                           <tr>
                            <td>5</td>
                            <td>NO. OF GIRLS TOILETS<span class="red">*</span>  </td>
                            <td><input type="text" name="txtCopyValid" id="txtCopyValid"  value="<?php echo $rowin['girss_toiletno']; ?>" size="22"></td>
                          </tr>
                          <tr>
                            <td>6</td>
                            <td>NO. OF BOYS TOILETS<span class="red">*</span>  </td>
                            <td><input type="text" name="txtCopyValid" id="txtCopyValid"  value="<?php echo $rowin['boys_toiletno']; ?>" size="22"></td>
                          </tr>
                          <tr>
                            <td>7</td>
                            <td>LINK OF YOUTUBE VIDEO OF THE INSPECTION OF SCHOOL COVERING THE INFRASTRUCTURE OF THE SCHOOL<span class="red">*</span>  </td>
                            <td>
                                  <?php
                                $filepath2= $rowin['youtube_video'];
                                if($filepath2!=""){
                                   
                                    $doc2=$filepath2;
                                ?>
                                <a href="<?php echo $doc2; ?>" target="_blank">
                                    <input type="text" name="txtThree" id="txtThree" value="<?php echo $doc2; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc2="";
                                        ?>
                                      
                                        <input type="text" name="txtThree" id="txtThree" value="<?php echo $doc2; ?>" size="40" class="input1">
                                        
                                         <?php
                                    }
                                    ?> 
                                
                                        
                                </td>
                          </tr>
                          <tr>
                            <td>8</td>
                            <td>Upload Teacher's List</td>
                            <td>
                                <?php
                                $filepath1= $rowin['teacher_list'];
                                if($filepath1!=""){
                                    $do1 = ltrim($filepath1, '.'); // Removes leading dots
                                    $doc1='https://pbkvidyalayam.org'.$do1;
                                ?>
                                <a href="<?php echo $doc1; ?>" target="_blank">
                                    <input type="text" name="txtThree" id="txtThree" value="<?php echo $doc1; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc1="";
                                        ?>
                                      
                                        <input type="text" name="txtThree" id="txtThree" value="<?php echo $doc1; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                    ?> 
                                    </td>
                               
                          </tr>
                        </table>
                        <?php
                            $p++;
                            }
                          ?>
                          
                           <h6>F : CURRICULUM:</h6>
                        <hr>
                       
                        <table style="width:100%">
                          <tr>
                            <th>SL NO</th>
                            <th>INFORMATION</th>
                            <th>DETAILS</th>
                          </tr>
                         <tr>
                            <td>1</td>
                            <td>CURRICULUM<span class="red">*</span></td>
                            <td>
                                 <?php
                         $selin1 = mysqli_query($con,"SELECT * FROM tbl_curriculum");
                        $p=1;
                        if($rowin1 = mysqli_fetch_array($selin1)) {
                        
                                $filepath1= $rowin1['curriculum_link'];
                                if($filepath1!=""){
                                    $do1 = ltrim($filepath1, '.'); // Removes leading dots
                                    $doc1='https://pbkvidyalayam.org'.$do1;
                                ?>
                                <a href="<?php echo $doc1; ?>" target="_blank">
                                    <input type="text" name="txtFee" id="txtFee" value="<?php echo $doc1; ?>" size="40" class="input1">
                                    </a>
                                <?php
                                    }
                                    else{
                                        $doc1="";
                                        ?>
                                      
                                        <input type="text" name="txtFee" id="txtFee" value="<?php echo $doc1; ?>" size="40" class="input1">
                                        
                                    <?php
                                    }
                                     $p++;
                            }
                            else{
                                    ?> 
                               <input type="text" name="txtFee" id="txtFee" value="" size="40" class="input1">
                               <?php
                            }
                            ?>
                            </td>
                          </tr>
                        </table>
                        
                    </div>
                    <div class="col-md-1"></div>
                </div>
            </div>
        </div>
        <!-- End Support Area-->

         <!-- Start Footer Area -->
        <div class="footer-area pt-75 pb-30">
            <div class="container">
                <div class="row">
                    <div class="col-lg-5">
                        <div class="row" data-cues="slideInUp">
                            <div class="col-lg-12 col-sm-12">
                                <div class="single-footer-widget about">
                                    <h3>About PBKV</h3>
                                    <p>Parama Bhattara Kendriya Vidyalayam having classes from Kinder Garten to XII, affiliated to the Central Board of Secondary Education is a co-educational institution. The school is situated in the Holy premises of Parama Bhattara Gurukula Ashramam, a vast, calm and serene atmosphere which has been blessed with the divine footing of HH Chattampi Swami Thiruvadikal.</p>
                                    <h6>Follow PBKV:</h6>
                                    <ul class="list-unstyled ps-0 mb-0 social-link">
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://www.facebook.com/Parama-Bhattara-Kendriya-Vidyalayam-459278384580163" target="_blank">
                                                <i class="fa fa-facebook-square"></i>
                                            </a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://www.instagram.com/pbkv_school/" target="_blank">
                                                <i class="fa fa-instagram"></i>
                                            </a>
                                        </li>
                                        <li class="d-inline-block">
                                            <a class="text-decoration-none" href="https://www.youtube.com/channel/UCUI8TvIvwRuTq6SkpTEBFzA" target="_blank">
                                                <i class="fa fa-youtube"></i>
                                            </a>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                    <div class="col-lg-7">
                        <div class="row" data-cues="slideInUp">
                             <div class="col-lg-6 col-sm-6 col-md-6">
                                <div class="single-footer-widget quick">
                                    <h3>Quick Links</h3>
                                    <ul class="list-unstyled ps-0 mb-0">
                                        <li>
                                            <a class="text-decoration-none" href="index.php">Home</a>
                                        </li>
                                        <li>
                                            <a class="text-decoration-none" href="gallery.php">Gallery</a>
                                        </li>
                                        <li>
                                            <a class="text-decoration-none" href="about_us.php">About Us</a>
                                        </li>     
                                        <li>
                                            <a class="text-decoration-none" href="tc.php">TC</a>
                                        </li>
                                        <li>
                                            <a class="text-decoration-none" href="facilities.php">Facilities</a>
                                        </li>
                                        <li>
                                            <a class="text-decoration-none" href="mandatory_disclosure.php">Mandatory Disclosure</a>
                                        </li>
                                        <li>
                                            <a class="text-decoration-none" href="contact.php">Contact</a>
                                        </li>                              
                                    </ul>
                                </div>
                            </div>
                            <div class="col-lg-6 col-sm-6 col-md-6">
                                <div class="single-footer-widget contact">
                                    <h3>Contact Us</h3>
                                    <ul class="list-unstyled ps-0 mb-0">
                                        <li>
                                            <a class="text-decoration-none" href="tel:45993939990">
                                                0484- 2763748
                                                <i class="ri-phone-line"></i>
                                            </a>
                                        </li>
                                        <li>
                                            <a class="text-decoration-none" href="/cdn-cgi/l/email-protection#533b363f3f3c32373e3213343e323a3f7d303c3e">
                                                <span class="__cf_email__" data-cfemail="d9b1bcb5b5b6b8bdb4b899beb4b8b0b5f7bab6b4">pbkvidyalayam@gmail.com</span>
                                                <i class="ri-message-line"></i>
                                            </a>
                                        </li>

                                       

                                        <li>
                                            <i class="fa fa-map-marker"></i>
                                            <p>Parama Bhattara Kendriya Vidyalayam, <br>Sree Ramananda Nagar, <br>Vadayampady, <br>Ernakulam Dist -682308</p>
                                        </li>
                                    </ul>
                                </div>
                            </div>
                        </div>
                    </div>
                </div>
            </div>  
        </div>
        <!-- End Footer Area -->

        <!-- Start Copyright Area -->
        <div class="copyright-area">
            <div class="container">
                <div class="row align-items-center" data-cues="slideInUp">
                    <div class="col-lg-2 col-sm-12">
                        <div class="copyright-logo">
                            <a class="text-decoration-none" href="index.php">
                                <img src="assets/img/footer-logo.png" alt="logo">
                            </a>
                        </div>
                    </div>
                    <div class="col-lg-5 col-sm-6">
                        <div class="copyright-title text-end">
                            <p> &copy; <script>document.write(new Date().getFullYear())</script> Pbkv All Rights Reserved</p>
                        </div>
                    </div>
                    <div class="col-lg-5 col-sm-6">
                        <!-- <div class="copyright-list text-end">
                            <ul class="list-unstyled ps-0 mb-0">
                                <li class="d-inline-block">
                                    <a class="text-decoration-none" href="university-life.php">Students</a>
                                </li>
                                <li class="d-inline-block">
                                    <a class="text-decoration-none" href="faculty.php">Faculty</a>
                                </li>
                                <li class="d-inline-block">
                                    <a class="text-decoration-none" href="university-overview.php">Research</a>
                                </li>
                                <li class="d-inline-block">
                                    <a class="text-decoration-none" href="university-life.php">Community</a>
                                </li>
                            </ul>
                        </div> -->
                    </div>
                </div>
            </div>
        </div>
        <!-- End Copyright Area -->

        <!-- Back to Top -->
        <button type="button" id="back-to-top">
            <i class="ri-arrow-up-double-fill"></i>
        </button>
        <!-- End Back to Top -->

        <!-- Js Files -->
        <script src="assets/js/bootstrap.bundle.min.js"></script>
        <script src="assets/js/swiper-bundle.min.js"></script>
        <script src="assets/js/fslightbox.js"></script>
        <script src="assets/js/scrollCue.min.js"></script>
        <script src="assets/js/custom.js"></script>
    </body>
</html>