<?php 
        include ('../controller/config/config.php');
        mysqli_set_charset($link, 'utf8');



         
        $sqlinstitution = ("SELECT * FROM `walletaccpaymentcharges` WHERE `TransactionType` = 'card'");
        $resultinstitution = mysqli_query($link, $sqlinstitution);
        $rowinstitution = mysqli_fetch_assoc($resultinstitution);
         $percentage = floatval($rowinstitution['ChargedAmount']);
         $Cap = floatval($rowinstitution['Cap']);
         $AdmissionFee = floatval($rowinstitution['AdmissionFee']);
         $Vat = floatval($rowinstitution['Vat']);


         
?>


<!DOCTYPE html>
<html lang="en">

<head>
    <meta charset="UTF-8">
    <meta http-equiv="X-UA-Compatible" content="IE=edge">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <meta name="author" content="EduMESS" />
	<meta name="description"
		content="EduMESS (Education Management and E-Learning Software Solution) 
        is a leading school management, automation and elearning solution. Since its 
        launch, EduMESS has grown to become a leader. Our clients say that the simplicity 
        of our interface, ease of use, cost effectiveness and excellent customer care is 
        the reason they prefare EduMESS. We have watched schools move from softwares they 
        are using to EduMESS." />
	<meta name="keywords"
		content="Best, School, Management, Best School, Best School Management, 
        Best School Management Software, Free School Management Software, Portal, 
        School Owner, Group of School Owner, Consultants, Brand Promoters | School Portal Generator ">
    <title>EduMESS</title>
    	<!-- FAVICON AND TOUCH ICONS -->
    <link rel="shortcut icon" href="../assets/images/website_images/favicon.png" type="image/x-icon">
	<link rel="icon" href="../assets/images/website_images/favicon.png" type="image/x-icon">
	<link rel="apple-touch-icon" sizes="152x152" href="../assets/images/website_images/favicon.png">
	<link rel="apple-touch-icon" sizes="120x120" href="../assets/images/website_images/favicon.png">
	<link rel="apple-touch-icon" sizes="76x76" href="../assets/images/website_images/favicon.png">
	<link rel="apple-touch-icon" href="../assets/images/website_images/favicon.png">
	<link rel="icon" href="../assets/images/website_images/favicon.png" type="image/x-icon">

    <link href="../assets/plugins/bootstrap5/css/bootstrap.min.css" rel="stylesheet">
    <link href="https://fonts.googleapis.com/css?family=Arvo&display=swap" rel="stylesheet">
    <script src="https://code.jquery.com/jquery-3.5.1.min.js"></script>
    <link href="https://fonts.googleapis.com/icon?family=Material+Icons+Sharp" rel="stylesheet">
    <link href='https://unpkg.com/boxicons@2.0.7/css/boxicons.min.css' rel='stylesheet'>

    <!--This - Morris Chart CSS -->
    <link href="../assets/plugins/morrisjs/morris.css" rel="stylesheet">


     <!-- Wnoty Css -->
     <link href="../css/website_css/wnoty/wnoty.css" rel="stylesheet">	

    <link rel="stylesheet" href="https://cdnjs.cloudflare.com/ajax/libs/font-awesome/4.7.0/css/font-awesome.min.css">
    <!-- style sheet -->
    <!--<link rel="stylesheet" href="../css/staff_css/staffStyle.css">-->

     <link href="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.3/css/intlTelInput.min.css"
        rel="stylesheet" />
    <script src="https://cdnjs.cloudflare.com/ajax/libs/intl-tel-input/17.0.3/js/intlTelInput.min.js"></script>

    <script type="text/javascript" src="https://sdk.monnify.com/plugin/monnify.js"></script>
    
    <style>
            .sticky-nav {
            position: sticky;
            z-index: 20;
            top: 0;
            background-color: #f8f8f8;
            box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;
            }

            .sticky-nav ul {
            list-style-type: none;
            margin: 0;
            padding: 0;
            overflow: hidden;
            }

            .sticky-nav li {
            float: left;
            }

            .sticky-nav li a {
            display: block;
            padding: 20px 20px;
            font-size: 17px;
            font-weight: 500;
            text-decoration: none;
            color: #333;
            }

            .sticky-nav li a:hover {
            background-color: #ddd;
            }

    </style>
  
</head>


<body >





                    <div class="modal fade" id="prosadmissionnot-open-modal" data-bs-backdrop="static" data-bs-keyboard="false" tabindex="-1" aria-labelledby="prosadmissionnot-open-modalLabel" aria-hidden="true"  style="border:none;">
                    <div class="modal-dialog modal-dialog-centered " style="border-radius:20px;">
                        <div class="modal-content">
                        <div class="modal-header" style="border:none;">
                             <h5 class="modal-title" id="prosadmissionnot-open-modal">Admissions Status</h5>
                        </div>
                        <div class="modal-body">
                              <p>We apologize for any inconvenience. Please check back later for updates.<br>
                             It appears that admissions are currently closed or have not yet opened.</p>
                        </div>
                        <div class="modal-footer" style="border:none;">
                            <!-- <button type="button" class="btn btn-secondary" data-bs-dismiss="modal">Close</button>
                            <button type="button" class="btn btn-primary">Understood</button> -->
                        </div>
                        </div>
                    </div>
                    </div>

<?php

       


        $verifyupdatequerysettings = mysqli_query($link, "SELECT * FROM `webadmissionsetting` WHERE  `InstitutionID`='$GroupOfSchoolID'");
         $verifyupdatequerysettingscnt = mysqli_num_rows($verifyupdatequerysettings);
         $verifyupdatequerysettingscntrow = mysqli_fetch_assoc($verifyupdatequerysettings);


         $selectinstitutonhere =  mysqli_query($link, "SELECT * FROM `institution` WHERE InstitutionID='$GroupOfSchoolID'");
         $selectinstitutonherecnt = mysqli_fetch_assoc($selectinstitutonhere);

        $institutionlogo =  $selectinstitutonherecnt['InstitutionLogo'];



         if($verifyupdatequerysettingscnt  > 0)
         {


            
                    $description =  $verifyupdatequerysettingscntrow['Description'];
                    $Title =  $verifyupdatequerysettingscntrow['Title'];
                    $BackgroundImage =  $verifyupdatequerysettingscntrow['BackgroundImage'];
                    $Sessionnew =  $verifyupdatequerysettingscntrow['Session'];
                      $Termnew =  $verifyupdatequerysettingscntrow['Term'];
                    
                    $verifysession_current = mysqli_query($link, "SELECT * FROM `session` WHERE sessionStatus='1'");
                    $verifysessioncnt_current = mysqli_num_rows($verifysession_current);
                    $verifysessioncntrow_current = mysqli_fetch_assoc($verifysession_current);
        
                     $currentsession = $verifysessioncntrow_current['sessionName'];
        
                     $selectcurentterm = mysqli_query($link, "SELECT * FROM `termorsemester` WHERE status='1'");
                     $selectcurenttermcnt = mysqli_num_rows($selectcurentterm);
                     $selectcurenttermrows = mysqli_fetch_assoc($selectcurentterm);
         
                    $currenterm = $selectcurenttermrows['TermOrSemesterName'];
                    
                     $TermOrSemesterID = $selectcurenttermrows['TermOrSemesterID'];
                    
                    


                        if($Sessionnew == '')
                        {
                              $Session = $currentsession;
                        }else
                        {
                             $Session = $Sessionnew;
                        }
                        
                        if($Termnew == '')
                        {
                          $Term = $currenterm;
                        }else
                        {
                          $Term = $Termnew;
                        }
                    

                    $benefitone =  $verifyupdatequerysettingscntrow['FirstBenefit'];
                    $benefit_two =  $verifyupdatequerysettingscntrow['SecondBenefit'];
                    $benefit_three =  $verifyupdatequerysettingscntrow['ThirdBenefit'];
                    $benefit_forth =  $verifyupdatequerysettingscntrow['FourthBenefit'];
                    $benefit_fifth =  $verifyupdatequerysettingscntrow['FifthBenefit'];


                    $currentDate = date("Y-m-d");

                    $meetingStartDate =  $verifyupdatequerysettingscntrow['StartDate'];
                    $meetingEndDate =  $verifyupdatequerysettingscntrow['EndDate'];

         }else
         {



            
            $currentDate = date("Y-m-d");

            $meetingStartDate =  '';
            $meetingEndDate =  '';
            
            $verifysession_current = mysqli_query($link, "SELECT * FROM `session` WHERE sessionStatus='1'");
            $verifysessioncnt_current = mysqli_num_rows($verifysession_current);
            $verifysessioncntrow_current = mysqli_fetch_assoc($verifysession_current);

             $currentsession = $verifysessioncntrow_current['sessionName'];

             $selectcurentterm = mysqli_query($link, "SELECT * FROM `termorsemester` WHERE status='1'");
             $selectcurenttermcnt = mysqli_num_rows($selectcurentterm);
             $selectcurenttermrows = mysqli_fetch_assoc($selectcurentterm);
 
            $currenterm = $selectcurenttermrows['TermOrSemesterName'];

           


            
                $description =  'Congratulations on taking the first step towards unlocking your full potential! We invite you to embark on a transformative educational experience by applying for admission to our prestigious institution. We look forward to welcoming you to the [Institution Name] family and witnessing your incredible journey of growth and achievement. See you soon!';
                $Title =  'Seeking a Journey of Knowledge and Growth? Apply for Admission Today!';
                $BackgroundImage =  '';
                $Session =   $currentsession;
                $Term =   $currenterm;
                


                $benefitone =  'Academic Excellence: Renowned faculty, state-of-the-art resources, and a rigorous curriculum ensure top-notch education';
                $benefit_two =  'Holistic Development: Access to diverse extracurricular activities fosters personal growth and character development.';
                $benefit_three =  'Supportive Community: A close-knit, inclusive environment where students feel valued and encouraged';
                $benefit_forth =  'Cutting-Edge Facilities: Modern classrooms and advanced labs for a future-ready learning experience.';
                $benefit_fifth =  'Global Perspective: Embracing diversity, international programs, and cultural exchanges for a broader worldview';

         }


       
?>




    

    <div class="container-fluid" style=" background-repeat: no-repeat; background-size: cover; background-image: url('<?php echo $BackgroundImage;  ?>'); background-position: center; height: 80vh;">
        <div class="container-fluid" >
            <a class="navbar-brand navbar-brandimg" href="#">
                <img class="img-fluid" width="150" style="margin-top: 10px;" src="<?php echo $institutionlogo; ?>" />
            </a>            
        </div>

        <div class="container" style="margin-top: 100px;">
            <div class="row">
                <div class="col-8">
                    <h2 style="color: white;">Application Portal</h2>

                    <p style="color: white; font-size: 18px; margin-top: 30px;">Start your application into <?php echo $SchoolGeneralName;?>, <br>
                         Distance Learning Centre here. We are available to answer <br>all your questions and support you.</p>
                </div>
                <div class="col-4">

                </div>
            </div>
        </div>
    </div>

    <nav align="center" class="sticky-nav">
        <ul class="nav justify-content-center">
          <li><a href="#applynow">Apply Now</a></li>
          <li><a href="#FQA">FQA</a></li>
          <li><a href="#benefits">Benefits</a></li>
        </ul>
    </nav>

      <div id="applynow" class="container" style="margin-top: 100px;">
          
            <div class="row">
           
                <div class="col-lg-5" style="padding-top: 50px;">
                    <h3 style="color: #525252;"><?php echo $Title; ?></h3>

                    <p style="color: #525252; font-size: 16px; margin-top: 30px;">
                       <?php echo $description; ?></p>
                </div>
                <div class="col-lg-7">

                                <div class="row">
                                    <div class="col-10 "></div> 
                                       <div class="col-2 " id="displaytotalamt"> </div> 
                                </div> 

                    <div style="width: 100%; border-radius: 10px; background: white; box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;" >
                            
                        <div align="center" style="padding-top: 30px;">
                                
                            <h5> Admission Form</h5>
                            <p><?php echo  $Term; ?>  Term, <?php echo $Session; ?> Academic Session</p>
                           
                        </div>

                        <p style="margin-left: 30px; margin-top: 60px; font-weight: 500; font-size: 17px;">Parent Information</p>
                                <div id="prosdisplayscroll"></div>
                        <div class="row" style="margin: 25px; ">
                            <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="text" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm" id="parentfirtname" placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">First Name*</label>
                                </div>
                            </div>
                            <div class="col-6"> 
                                <div class="form-floating mb-3">
                                    <input type="text" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm" id="parentmiddlename" placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">Middle Name*</label>
                                </div>
                            </div>
                            <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="text" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm" id="parentlname" placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">Last Name*</label>
                                </div>
                            </div>
                            
                            
                              <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="email" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm" id="parentemail" placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">E-mail Address*</label>
                                </div>
                            </div>
                            
                            <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="number" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm"name="WhatsappNumber[main]" id="WhatsappNumber" placeholder="number">
                                    <label for="floatingInput"  style="color: #afafaf; margin-top: 2px; font-weight: 500;margin-left:30%;">
                                     
                                    </label>
                                </div>
                            </div>
                            
                            
                            <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="number" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm" name="WhatsappNumber[main]" id="WhatsappNumbermain" placeholder="WhatsApp Number">
                                    <label for="floatingInput"  style="color: #afafaf; margin-top: 2px; font-weight: 500;margin-left:30%;">
                                     
                                    </label>
                                </div>
                            </div>
                            
                            
                            
                            
                            
                            
                          
                            <div class="col-6 mb-2">
                                <div class="form-floating">
                                    <select class="form-select"  style="font-size: 13px; height: 50px;border: none; border-bottom: #b3b3b3 solid 1px;" id="parentcountry" aria-label="Floating label select example">
                                      
                                         <?php 
                                                 $sqltogetcountries = mysqli_query($link, "SELECT * FROM `countries`");
                                                 $rowtogetcountries = mysqli_fetch_assoc($sqltogetcountries);
                                                 $cnttogetcountries = mysqli_num_rows($sqltogetcountries);

                                                 if ($cnttogetcountries > 0) {

                                                     do {
                                                         $CountryName = $rowtogetcountries['CountryName'];
                                                         $countryID = $rowtogetcountries['countryID'];

                                                         if ($countryID == '161') {

                                                             $selected = "selected";

                                                         } else {

                                                             $selected = "";
                                                         }


                                                         echo '<option value="' . $countryID . '" ' . $selected . '>' . $CountryName . '</option>';

                                                     } while ($rowtogetcountries = mysqli_fetch_assoc($sqltogetcountries));

                                                 }
                                         ?>

                                    </select>
                                    <!--<label for="floatingSelect">Country of Origin*</label>-->
                                  </div>
                            </div>
                            <div class="col-6 mb-2">
                                <div class="form-floating">
                                    <select class="form-select"  style="font-size: 13px; height: 50px;border: none; border-bottom: #b3b3b3 solid 1px;" id="parentstate" aria-label="Floating label select example">
                                      
                                    </select>
                                    <label for="floatingSelect">State of Origin*</label>
                                  </div>
                            </div>
                            <div class="col-6 mb-2">
                                <div class="form-floating ">
                                    <select class="form-select" style="font-size: 13px; height: 50px;border: none; border-bottom: #b3b3b3 solid 1px;" id="parentlga" aria-label="Floating label select example">
                                      <option  value="0">select L.G.A </option>
                                     
                                    </select>
                                    <!--<label for="floatingSelect">L.G.A of Origin*</label>-->
                                  </div>
                            </div>
                            <div class="col-6 mb-2">
                                <div class="form-floating">
                                    <textarea class="form-control" style="font-size: 13px; height: 50px;border: none; border-bottom: #b3b3b3 solid 1px;" placeholder="Leave a comment here" id="parentcity"></textarea>
                                    <label for="floatingTextarea" style="color: #afafaf; margin-top: 2px; font-weight: 500;">City Name</label>
                                  </div>
                            </div>
                            <div class="col-12">
                                <div class="form-floating">
                                    <textarea class="form-control" style="font-size: 13px; height: 80px;border: none; border-bottom: #b3b3b3 solid 1px;" placeholder="Leave a comment here" id="parentaddress"></textarea>
                                    <label for="floatingTextarea" style="color: #afafaf; margin-top: 2px; font-weight: 500;">Home Address*</label>
                                  </div>
                            </div>
                        </div>

                        <p style="margin-left: 30px; margin-top: 40px; font-weight: 500; font-size: 17px;">Kids Information</p>
                        <div class="row" style="margin: 25px;">
                            <div class="col-12 mb-2">
                                <div class="form-floating ">
                                    <select class="form-select generalcampus" style="font-size: 13px; height: 53px;border: none; border-bottom: #b3b3b3 solid 1px;" id="selectcampus"  data-id="" aria-label="Floating label select example">
                                    <option value="0" data-amount="0" data-status="0">select campus</option>


                                           <?php 

                                                    $selectcampus = mysqli_query($link,"SELECT DISTINCT `admissionclass`.`CampusID`, campus.CampusName FROM `campus` INNER JOIN `admissionclass` ON `campus`.`CampusID` = `admissionclass`.`CampusID` WHERE campus.InstitutionID='$GroupOfSchoolID' ORDER BY campus.CampusName ASC");
                                                    $selectcampuscnt = mysqli_num_rows($selectcampus);
                                                    $selectcampuscntrow = mysqli_fetch_assoc($selectcampus);

                                                    

                                                    if($selectcampuscnt > 0)
                                                    {
                                                           do{

                                                                $campusID =  $selectcampuscntrow['CampusID'];
                                                                $campusname =  $selectcampuscntrow['CampusName'];
                                                                

                                                                
                                                                echo '<option  value="'.$campusID.'">'.$campusname.'</option>';


                                                           }while($selectcampuscntrow = mysqli_fetch_assoc($selectcampus));

                                                    }else{

                                                        echo '<option value="0">No appliaction set for any campus</option>';  
                                                    }

                                                    
                                                    
                                            ?>

                                    </select>
                                    <label for="floatingSelect">Select campus*</label>
                                </div>
                            </div>
                            <div class="col-12 mb-2">
                                <div class="form-floating ">
                                    <select class="form-select generalclassname" style="font-size: 13px; height: 53px;border: none; border-bottom: #b3b3b3 solid 1px;" id="prosclassname" data-id=""  aria-label="Floating label select example">
                                         <option value="0" data-amount="0" data-status="">select class</option>
                                    </select>
                                    <label for="floatingSelect">Select Class*</label>
                                </div>
                            </div>
                            <div class="col-12">
                                <div class="form-floating mb-3">
                                    <input type="text" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm generalstudenfirsname" id="studentnameid" data-id="" placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">First Name*</label>
                                </div>
                            </div>
                            <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="text" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm generalstudensecondname" id="studentnameidmiddle" data-id="" placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">Middle Name*</label>
                                </div>
                            </div>
                            <div class="col-6">
                                <div class="form-floating mb-3">
                                    <input type="text" style="height: 50px; border: none; border-bottom: #b3b3b3 solid 1px;" class="form-control form-control-sm generalstudenlastname" id="studentnameidlast" data-id=""  placeholder="name">
                                    <label for="floatingInput" style="color: #afafaf; margin-top: 2px; font-weight: 500;">Last Name*</label>
                                </div>
                            </div>
                            <div class="col-6">
                                <div style="color: #afafaf; font-weight: 500;">Gender*</div>
                                <div class="form-check form-check-inline" style="margin-top: 15px;">
                                    <input class="form-check-input generalstudengender" type="radio" name="inlineRadioOptions0" id="studentidgender0-1" data-id="0" value="Male">
                                    <label class="form-check-label" for="studentidgender0-1">Male</label>
                                </div>
                                <div class="form-check form-check-inline">
                                    <input class="form-check-input generalstudengender" type="radio" name="inlineRadioOptions0" id="studentidgender0-2" data-id="0" value="Female">
                                    <label class="form-check-label" for="studentidgender0-2">Female</label>
                                </div>
                            </div>
                            <div class="col-6">
                                <div>
                                    <label for="exampleFormControlInput1" style="color: #afafaf; font-weight: 500;" class="form-label">DOB</label>
                                    <input type="date" style="height: 40px; border: none; border-bottom: #b3b3b3 solid 1px;"  class="form-control geraldobclass" id="dateofbirthid" data-id="">
                                  </div>
                            </div>
                        </div>

                         <!-- APPENDED NEW CHILDREN HERE -->
                          <div id="prosperdisplaychildrenhere"></div>
                          <input type="hidden" id="appendinput">
                          <input type="hidden" id="prosadmissionamounthere" value="0">
                        <!-- APPENDED NEW CHILDREN HERE -->

                        <div class="row">
                            <div class="col-10"></div>
                            <div class="col-2 text-primary"> <a  style="font-weight: 600; font-size: 15px; padding-top: 20px; text-decoration: none;cursor:pointer;" id="pros-addnew-childbtn">Add Child</a></div>
                            <div class="col-12" style="padding: 40px;">
                                    <button class="btn btn-primary pros-submitapplication" style="width: 100%;" type="button">Submit <span id="prosdisplayamountinthebutton"></span></button>
                                    <div align="center" style="color: #afafaf; font-weight: 500;">Powered by EduMESS</div>
                            </div>
                        </div>
                       
                    </div>
                </div>
             </div>
      </div>
      
      
        <div id="FQA" class="container" style="margin-top: 200px;">
            <div class="row" style="margin-top: 20px;">
                <div class="col-12" >
                    <div style="width: 100%; border-radius: 10px; background: white; box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;" >
                        <div align="center" style="padding-top: 30px;">
                            <h2>FQA</h2>
                        </div>
                        <div class="row" style="margin-top: 20px; padding: 80px 50px 10px 50px;">

                                <?php

                                    $selectinstitutionqueryquestion = mysqli_query($link, "SELECT * FROM `webadmissionquestion` WHERE InstitutionID='$GroupOfSchoolID'");
                                    $selectinstitutionqueryrowques = mysqli_num_rows($selectinstitutionqueryquestion);
                                    $selectinstitutionqueryrowquesrow = mysqli_fetch_assoc($selectinstitutionqueryquestion);


                                    if($selectinstitutionqueryrowques >0)
                                    {
                                            
                                                do{


                                                    $qustion = $selectinstitutionqueryrowquesrow['Question'];
                                                    $Answer = $selectinstitutionqueryrowquesrow['Answer'];


                                                    echo '<div class="col-12 " >
                                                    <h5>'.$qustion.'</h5>
                                                    <p>'.$Answer.'</p>
                                                </div>';

                                               
                                            
                                            }while($selectinstitutionqueryrowquesrow = mysqli_fetch_assoc($selectinstitutionqueryquestion));


                                        }else{



                                            

                                                echo '<div class="col-12 " >
                                                    <h5>Enrollment Process & Requirements?</h5>
                                                    <p>Parents inquire about the enrollment process and admission requirements, including necessary documents and assessments.</p>
                                                </div>';



                                                echo '<div class="col-12 " >
                                                    <h5>Tuition Fees & Financial Aid?</h5>
                                                    <p>Parents seek information on tuition fees and available financial aid options, including scholarships and assistance programs.</p>
                                                </div>';

                                            echo '<div class="col-12 " >
                                                <h5>Extracurricular Activities & Programs?</h5>
                                                <p>Parents want to know about the school\'s extracurricular activities, clubs, sports, and educational programs beyond academics.</p>
                                            </div>';

                                        }
                                    ?>

                                 
                                    

                            
                        </div>
                    </div>
                </div>
              
            </div>
        </div>

       
    
        <div id="benefits" class="container" style="margin-top: 300px; margin-bottom: 50px;">
            <div class="row" style="margin-top: 20px;">
                <div class="col-12" >
                    <div style="width: 100%; border-radius: 10px; background: white; box-shadow: rgba(17, 17, 26, 0.1) 0px 4px 16px, rgba(17, 17, 26, 0.05) 0px 8px 32px;" >
                        <div align="center" style="padding-top: 30px;">
                            <h2>Benefits</h2>
                        </div>
                        <div class="row" style="margin-top: 20px; padding: 80px 50px 10px 80px;">
                            <div class="col-12 mb-4" >
                            <h5><i style="color: #038f03; font-size: 25px;" class='bx bxs-check-circle'></i>   <?php  echo $benefitone; ?></h5>
                            </div>
                            <div class="col-12 mb-4" >
                                <h5> <i style="color: #038f03; font-size: 25px;" class='bx bxs-check-circle'></i>   <?php  echo $benefit_two; ?></h5>
                            </div>
                            <div class="col-12 mb-4" >
                                <h5> <i style="color: #038f03; font-size: 25px;" class='bx bxs-check-circle'></i>   <?php  echo $benefit_three; ?></h5>
                            </div>
                            <div class="col-12 mb-4" >
                                <h5> <i style="color: #038f03; font-size: 25px;" class='bx bxs-check-circle'></i>   <?php  echo $benefit_forth; ?></h5>
                            </div>
                            <div class="col-12 mb-4" >
                                <h5> <i style="color: #038f03; font-size: 25px;" class='bx bxs-check-circle'></i>   <?php  echo $benefit_fifth; ?></h5>
                            </div>
                        </div>
                    </div>
                </div>
              
                 <input type="hidden" value="<?php echo $TermOrSemesterID; ?>" id="prosloadtermforregisteration"> 
            </div>
        </div>

 
     <!--Script-->
     <!--Apexcharts-->
     <script src="https://cdnjs.cloudflare.com/ajax/libs/apexcharts/3.40.0/apexcharts.min.js"></script>
    <!--Custom JS--->
    
    <script src="../assets/plugins/bootstrap5/js/bootstrap.bundle.min.js"></script>
    <?php include('../controller/js/website/admission-registartion.php'); ?>

    <!-- notification js -->
    <script src="../css/website_css/wnoty/wnoty.js"></script>

  

  



</body>

</html>