Mini Kabibi Habibi

Current Path : C:/Users/ITO/Desktop/From USB/fts/SDO/
Upload File :
Current File : C:/Users/ITO/Desktop/From USB/fts/SDO/profile.php

<?php 

@include '../database.php';


session_start();

//Checking User Logged or Not
if(!isset($_SESSION['username_ao'])){ 

 header('location:../index.php');
}



include('header.php');
include('script.php');
include('conn.php');
include('index1.php');
?>
<link rel="stylesheet" type="text/css" href="css/style2.css">
<body style="background-color: #FFFFFF" onload="if(confirm('Update your password?')){document.location.href='password/password.php';}">
<div class="dashboard-top" style="background-color: #FFFFFF">
   <div class="content" style="background-color: #FFFFFF">
            <form action="" method="POST">
                <button class="btn btn-default" style="float:right;" type="submit" name="submit1">EDIT</button>
            </form>
            <div class="wrapper" style="background-color: #FFFFFF;width: 100%">
               <?php
               if (isset($_POST['submit1'])) {
                ?>
                   <script type="text/javascript">
                       window.location="edit.php"
                   </script>
                   <?php
               }

                $q=mysqli_query($conn,"SELECT * FROM employee where username = '$_SESSION[login_user]';");
                ?> 
             
                <?php
                $row=mysqli_fetch_assoc($q);
                ?>

                <?php
                echo"<table class='table table-bordered' style = height:100%;width:100%; border: 1px>";
                echo"<tr>";
                
                echo "<td colspan='9' style= font-size:28px; font-family: Arial, Helvetica, sans-serif;>";
               
                echo "<center><b>PERSONAL DATA SHEET</b></center>";
                 
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
               
               echo "<td colspan='2'style=white-space: nowrap>";
                echo $row['SURNAME'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                echo $row['FNAME'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                echo $row['EXNAME'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['MNAME'];
                echo "</td>";

                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> SURNAME</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> FIRST NAME</b>";
                echo "</td>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> NAME EXTENSION (JR., SR)   </b>";
                echo "</td>";
              
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> MIDDLE NAME</b>";
                echo "</td>";
               
                echo "</tr>";
                echo "<tr>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['BIRTH_DATE'];
                echo "</td>";
                 echo "<td colspan='2'>";
                    echo $row['BIRTH_PLACE'];
                echo "</td>";
                echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['GENDER'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['CIVIL_STATS'];
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                echo "<td colspan='2'style=white-space: nowrap>";  
                    echo "<b> Date of Bith</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Place of Birth</b>";
                echo "</td>";
                
                 echo "<td colspan='2'style=white-space: nowrap>";
                     echo "<b> SEX</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                     echo "<b> CIVIL STATUS</b>";
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                echo "<td colspan='8'style=white-space: nowrap>";
                    echo $row['CITIZENSHIP'];
                echo "</td>";
                echo "<tr>";
                echo "</tr>";
                 echo "<tr>";
                echo "<td colspan ='8'  style=white-space: nowrap>";
                    echo "<b> CITIZENSHIP</b>";
                echo "</td>";
                
                echo "</tr>";
                echo "<tr>";
                echo "<td colspan='8'style=white-space: nowrap>";
               
                echo "Residential Address";
                 
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['st'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['STREET'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['SUBDI'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['BRGY'];
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> House/Block/Lot No.:</b>";
                echo "</td>";
                echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Street:</b>";
                echo "</td>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Subdivision/Village:</b>";
                echo "</td>";
                
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Barangay:</b>";
                echo "</td>";
                
                echo "</tr>";
                echo "<tr>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['CITY'];
                echo "</td>";
              
                
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['PROV'];
                echo "</td>";
                 echo "<td colspan =6style=white-space: nowrap>";
                    echo $row['ZIP'];
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> City/Municipality:</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Province:</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> ZIP Code:</b>";
                echo "</td>";
               
                echo "</tr>";
                   echo "<tr>";
                echo "<td colspan='8' style= font-size:22px; font-family: Arial, Helvetica, sans-serif;>";
               
                echo "Permanent Address";
                 
                echo "</td>";
                echo "</tr>";
              echo "</tr>";
                echo "<tr>";
                echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['st1'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['STREET1'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['SUBDI1'];
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['BRGY1'];
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> House/Block/Lot No.:</b>";
                echo "</td>";
                 echo "<td colspan='2'>";
                    echo "<b> Street:</b>";
                echo "</td>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Subdivision/Village:</b>";
                echo "</td>";
                
                echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Barangay:</b>";
                echo "</td>";
                
                echo "</tr>";
                echo "<tr>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['CITY1'];
                echo "</td>";
              
                
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['PROV1'];
                echo "</td>";
                 echo "<td colspan =6style=white-space: nowrap>";
                    echo $row['ZIP1'];
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> City/Municipality:</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> Province:</b>";
                echo "</td>";
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo "<b> ZIP Code:</b>";
                echo "</td>";
               
                
                echo "</tr>";
                echo "<tr>";
               
                 echo "<td colspan='2'style=white-space: nowrap>";
                    echo $row['height'];
                echo "</td>";
                
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['weight'];
                echo "</td>";
                   echo "<td colspan='4' style=white-space:nowrap>";
                    echo $row['blood'];
                echo "</td>";
                echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Height:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Weight:</b>";
                echo "</td>";
                echo "<td colspan='4' style=white-space:nowrap>";
                    echo "<b> Blood Type:</b>";
                echo "</td>";
             echo "</tr>";
                echo "<tr>";
               
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['TEL'];
                echo "</td>";
                
              
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['MOBILE'];
                echo "</td>";
                 echo "<td colspan='4' style=white-space:nowrap>";
                    echo $row['EMAIL'];
                echo "</td>";
                 echo "</tr>";
                echo "<tr>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Telephone Number:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Mobile Number:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Email Address:</b>";
                echo "</td>";
               
                echo "</tr>";
                echo "<tr>";

                  
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['GSIS'];
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['PAGIBIG'];
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['PHILHEALTH'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                   echo $row['SSS'];
                echo "</td>";
                  echo "</tr>";
                  echo "<tr>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> GSIS ID no.:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Pag-Ibig ID no.:</b>";
                echo "</td>";
                
              
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Philhealth:</b>";
                echo "</td>";
               
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> SSS:</b>";
                echo "</td>";
             
                echo "</tr>";
                 echo "<tr>";
                 
                echo "<td colspan='2' style=white-space:nowrap>";
                   echo $row['TIN'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['LBP'];
                echo "</td>";
                echo "</tr>";
                 echo "<tr>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> TIN:</b>";
                echo "</td>";
                echo "<td colspan='2'  style=white-space:nowrap >";
                    echo "<b> LBP Account#:</b>";
                echo "</td>";
               
                 echo "</tr>";
                 echo "<tr>";
               
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['PLANTILLA'];
                echo "</td>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['EMP_STATUS'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['posi'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['SALARY'];
                echo "</td>";
                echo "</tr>";
                 echo "<tr>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Plantilla:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Employment Status:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Position:</b>";
                echo "</td>";
               
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Salary:</b>";
                echo "</td>";
                 echo "</tr>";
                 echo "<tr>";
              
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['STEP'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['DESIGNATION'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['NATURE'];
                echo "</td>";
                 echo "</tr>";
                 echo "<tr>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> STEP:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Place of Designation:</b>";
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Nature:</b>";
                echo "</td>";
                echo "</tr>";
                 
                echo "<tr>";
                
                echo "<td colspan =2 style=white-space:nowrap>";
                    echo $row['SSURNAME'];
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['SFNAME'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['SEXNAME'];
                echo "</td>";
                  echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['SMNAME'];
                echo "</td>";
                 echo "</tr>";
                echo "<tr>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Spouse's Surname:</b>";
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Firstname:</b>";
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Extension:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Middlename:</b>";
              
                 echo "</tr>";
                echo "<tr>";
               
               echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['OCCUPATION'];
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['EMPLOYER'];
                echo "</td>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['BUSINESS'];
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['TELL'];
                echo "</td>";
                 echo "</tr>";
                  echo "<tr>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Occupation:</b>";
                echo "</td>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> EMPLOYER/BUSINESS NAME:</b>";
                echo "</td>";
               echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> BUSINESS ADDRESS:</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                    echo "<b> Telephone No.:</b>";
                echo "</td>";
               
                 echo "</tr>";
                 echo "<tr>";
               echo "<td colspan='4' style=white-space:nowrap><b>Children Name</b>";
                echo" </td>";
               echo "<td colspan='3' style=white-space:nowrap><b>Birthdate</b>";
                echo"</td>";
                    echo" </td>";
               echo "<td style=white-space:nowrap>";
               echo"<a class='btn btn-success btn-sm' href='children.php'>";
               echo"<span class = 'glyphicon glyphicon-pencil' aria-hidden = 'true'>Add</span>";
                echo"</td>";                   
                echo "</tr>";
                 echo "<tr>";
                                 
                
include('../database.php');

$sql = "SELECT * from children_name where username = '$_SESSION[login_user]'; ";
$data = mysqli_query($conn,$sql);
    while ($rows= mysqli_fetch_array($data)) {
            # code...
           
      ?>
       
           <td colspan="4" style="white-space:nowrap"> <?php echo $rows['child_name']; ?></td>
            <td colspan="4" style="white-space:nowrap" ><?php echo $rows['child_birth'];?></td>             
                                             
                                                
                                                
                                         </tr>           
                                     <?php  } ?>

                                       <?php
               

                $q=mysqli_query($conn,"SELECT * FROM employee where username = '$_SESSION[login_user]';");
                ?> 
             
                <?php
                $row=mysqli_fetch_assoc($q);
                ?>

                <?php

                
                 echo "</tr>";
                  echo "<tr>";
                 
                   echo "<td colspan = '2'  style=white-space:nowrap>";
                    echo $row['FSURNAME'];
                     echo "</td>";
                 echo "<td colspan = '2'  style=white-space:nowrap>";
                    echo $row['FFIRSTNAME'];
                echo "</td>";
                 echo "<td colspan = '2'  style=white-space:nowrap>";
                    echo $row['FEX'];
                echo "</td>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                echo $row['FMID'];
                 echo "</td>";
                 echo "</tr>";
                 echo "<tr>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                   echo "<b> Father's Surname</b>";
                echo "</td>";
                  echo "<td colspan='2' style=white-space:nowrap>";
                   echo "<b> Firstname:</b>";
                echo "</td>";
              echo "<td colspan='2' style=white-space:nowrap>";
                   echo "<b> Name Extension</b>";
                echo "</td>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                 echo "<b>Middle Name</b>";
                 echo "</td>";
                
                 echo "</tr>";
                  echo "<tr>";
                   echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['MSURNAME'];
                 echo "</td>";
                    echo "<td colspan='2' style=white-space:nowrap>";
                    echo $row['MFIRSTNAME'];
                echo "</td>";

                  echo "<td colspan='2' style=white-space:nowrap>";
              echo $row['MMID'];
                 echo "</td>";
                 echo "</tr>";
                 echo "<tr>";
                 echo "<td colspan='2' style=white-space:nowrap>";
                   echo "<b> Mother's Surname:</b>";
                echo "</td>";
                echo "<td colspan='2' style=white-space:nowrap>";
                   echo "<b> Firstname:</b>";
                echo "</td>";
                 echo "<td colspan='4' style=white-space:nowrap>";
                 echo "<b>Middle Name:</b>";
                 echo "</td>";
                 echo "</tr>";
                  echo "</tr>";
                  echo "<tr>";
                 
                   echo "<td colspan = '2' style=white-space:nowrap >";
                    echo $row['FSURNAME'];
                     echo "</td>";
                 echo "<td style=white-space:nowrap>";
                    echo $row['FFIRSTNAME'];
                echo "</td>";
                 echo "<td style=white-space:nowrap>";
                    echo $row['FEX'];
                echo "</td>";
                  echo "<td colspan='4' style=white-space:nowrap>";
              echo $row['FMID'];
                 echo "</td>";
                 
                 echo "</tr>";
                 echo "<tr>";
                   echo "<td colspan='8' style= font-size:22px; font-family: Arial, Helvetica, sans-serif;>";
               
                echo "EDUCATIONAL BACKGROUND";
                 
                echo "</td>";
                echo "</tr>";
                 echo "<tr>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>LEVEL</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>NAME OF SCHOOL</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>BASIC EDUCATION/DEGREE/COURSE</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>FROM</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>TO</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>HIGHEST LEVEL ERNED/UNITS EARNED</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>YEAR GRADUATED</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>SCHOLARSHIP/ACADEMIC HONORS RECIEVED</b>";
                 echo "</td>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "</td>";
                echo "</tr>";
                 echo "<tr>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>ELEMENTARY</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['ELEM'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo $row['ESCHOOL'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['EFROM'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['ETO'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['EUNITS'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['EYEAR'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['EHONORS'];
                 echo "</td>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>SECONDARY</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['SEC'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo $row['SSCHOOL'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['SFROM'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['STO'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['SUNITS'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['SYEAR'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['SHONORS'];
                 echo "</td>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>VOCATIONAL / TRADE COURSE</b>";
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['VOC'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo $row['VSCHOOL'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['VFROM'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['VTO'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['VUNITS'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['VYEAR'];
                 echo "</td>";
                  echo "<td style= white-space:nowrap; font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['VHONORS'];
                 echo "</td>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>COLLEGE</b>";
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['COLL'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo $row['CSCHOOL'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['CFROM'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['CTO'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['CUNITS'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['CYEAR'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['CHONOR'];
                 echo "</td>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "</tr>";
                 echo "<tr>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo "<b>GRADUATE STUDIES</b>";
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['GS'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                 echo $row['GSCHOOL'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['GFROM'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['GTO'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                   echo $row['GUNITS'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['GYEAR'];
                 echo "</td>";
                  echo "<td style= font-size:12px; font-family: Arial, Helvetica, sans-serif;>";
                  echo $row['GHONORS'];
                 echo "</td>";
                  echo "</tr>";
                 echo "<tr>";
                echo "</table>";
                ?>
            </div>
    </div>
</div>
 <div class="pie-report" style="float: right;">
        <script src="js/jquery.min.js"></script>
        <?php include('script.php'); ?> 

        <!-- Educational Qualification -->
        <!-- Talisay -->
        <?php
          include('connect.php');
          $date = date("Y", strtotime("+ 8 HOURS"));
          $qosds = $con->prepare("SELECT COUNT('PLANTILLA') FROM `employee` WHERE `PLANTILLA` = 'OSDS'") or die(mysqli_error());
          $qosds->execute();
          $osds = $qosds->fetchAll();
          foreach($osds as $key => $row) { 
           $total = $row["COUNT('PLANTILLA')"];

            }?>


        <!-- Alijis -->
          <?php
          include('connect.php');
          $date = date("Y", strtotime("+ 8 HOURS"));
          $qtalisay = $con->prepare("SELECT COUNT('PLANTILLA') FROM `employee` WHERE `PLANTILLA` = 'SGOD'") or die(mysqli_error());
          $qtalisay->execute();
          $talisay = $qtalisay->fetchAll();
          foreach($talisay as $key => $row) { 
           $total = $row["COUNT('PLANTILLA')"];

            }?>



        <!-- Binalbagan -->
          <?php
          include('connect.php');
          $date = date("Y", strtotime("+ 8 HOURS"));
          $qtalisay = $con->prepare("SELECT COUNT('PLANTILLA') FROM `employee` WHERE `PLANTILLA` = 'CID'") or die(mysqli_error());
          $qtalisay->execute();
          $talisay = $qtalisay->fetchAll();
          foreach($talisay as $key => $row) { 
           $total = $row["COUNT('PLANTILLA')"];

            }?>



        <!-- Fortune Towne -->
           <?php
          include('connect.php');
          $date = date("Y", strtotime("+ 8 HOURS"));
          $qtalisay = $con->prepare("SELECT COUNT('PLANTILLA') FROM `employee` WHERE `PLANTILLA` = 'Elementary'") or die(mysqli_error());
          $qtalisay->execute();
          $talisay = $qtalisay->fetchAll();
          foreach($talisay as $key => $row) { 
           $total = $row["COUNT('PLANTILLA')"];

            }?>

         <?php
          include('connect.php');
          $date = date("Y", strtotime("+ 8 HOURS"));
          $qtalisay = $con->prepare("SELECT COUNT('PLANTILLA') FROM `employee` WHERE `PLANTILLA` = 'Junior High School'") or die(mysqli_error());
          $qtalisay->execute();
          $talisay = $qtalisay->fetchAll();
          foreach($talisay as $key => $row) { 
           $total = $row["COUNT('PLANTILLA')"];

            }?>

 <?php
          include('connect.php');
          $date = date("Y", strtotime("+ 8 HOURS"));
          $qtalisay = $con->prepare("SELECT COUNT('PLANTILLA') FROM `employee` WHERE `PLANTILLA` = 'Senior High Shcool'") or die(mysqli_error());
          $qtalisay->execute();
          $talisay = $qtalisay->fetchAll();
          foreach($talisay as $key => $row) { 
           $total = $row["COUNT('PLANTILLA')"];

            }?>
   
    <div id = "content" style="margin-bottom: 15px !important;">
        <br />
        <br />
        <br />
        <div class = "">
        <div id="chartContainer" style="height: 400px; width: 75%; float: right; margin-right: 10px; margin-top: 43px;"></div> 
        </div>
        
        <div id="bar2chartContainer" style="height: 300px; width: 75%; float: right; margin-top: 20px; margin-right: 10px;">
        </div>
    </div>
        </body>
</html>