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/trainings.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">
   <div class="dashboard-top" style="background-color: #FFFFFF">
   <div class="content" style="background-color: #FFFFFF">
 <div class="card-block table-border-style">

                    <div class="table-responsive">

                         <table class="table table-list-search">
                                    <thead>
                                       <tr>
                                          <td colspan="5" style="font-size:15px;"><b>VOLUNTARY WORK OR INVOLVEMENT IN CIVIC / NON-GOVERNMENT / PEOPLE / VOLUNTARY ORGANIZATION/S</b></td>
                                           <td style="font-size:15px;"> <a class="btn btn-success btn-sm" href="voluntary_work.php">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Add</span></td>  
                                       </tr>                                        
                                       <tr>
                                            
                                            <td data-field="prenom" data-filter-control="input" data-sortable="true" style="font-size:12px;"><b>NAME & ADDRESS OF ORGANIZATION</b></td>  
                                            <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>From</b></td>
                                  <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>To</b></td>
                                      <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>NUMBER OF HOURS </b></td>
                                     <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>POSITION / NATURE OF WORK</b></td>
                                 
                                    <td  
                                    data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>Action</b></td>

                                          
                                        </tr>
                                    </thead>
                                 
                                   
<?php 
include('../database.php');

$sql = "SELECT * from voluntary_work where username = '$_SESSION[login_user]' ";
$data = mysqli_query($conn,$sql);
    while ($rows= mysqli_fetch_array($data)) {
            # code...
           
      ?>
       
                                        <tr>
                                            
                                              <td> <?php echo $rows['org_name']; ?></td>
                                                 <td ><?php echo $rows['start_date'];?></td>
                                             <td ><?php echo $rows['end_date'];?></td>
                                            <td> <?php echo $rows['hr']; ?></td>
                                                 <td ><?php echo $rows['nature'];?></td>
                                               
                                                
                                                <td >     
                                    <a class="btn btn-success btn-sm" href="edit_voluntary.php?id=<?php echo $rows['id']?>">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Edit</span>
                                    </a>                                 
                                  </td>
                                         </tr>           
                                     <?php  } ?>
                                                
                                     
                                   
                                </table>
                            </div>
                   
                         <div class="card-block table-border-style">

                    <div class="table-responsive">

                         <table class="table table-list-search">
                                    <thead>
                                         <tr>
                                          <td colspan="9" style="font-size:15px;"><b> LEARNING AND DEVELOPMENT (L&D) INTERVENTIONS/TRAINING PROGRAMS ATTENDED</b></td>
                                           <td style="font-size:15px;"> <a class="btn btn-success btn-sm" href="training.php">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Add</span></td>  
                                       </tr>                                        
                                       <tr>                                   
                                       <tr>
                                            
                                            <td data-field="prenom" data-filter-control="input" data-sortable="true" style="font-size:12px;"><b>TITLE OF LEARNING AND DEVELOPMENT INTERVENTIONS/TRAINING PROGRAMS                                  (Write in full)</b></td>  
                                            <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>From</b></td>
                                  <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>To</b></td>
                                      <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>NUMBER OF HOURS</b></td>
                                     <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>Type of LD ( Managerial/ Supervisory/Technical/etc)</b></td>
                                    <td  data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b> CONDUCTED/ SPONSORED BY                                                               (Write in full)</b></td>  
                                
                                    <td colspan="4" 
                                    data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>Action</b></td>

                                          
                                        </tr>
                                    </thead>
                                 
                                   
<?php 
include('../database.php');

$sql = "SELECT * from trainings where username = '$_SESSION[login_user]' ";
$data = mysqli_query($conn,$sql);
    while ($rows= mysqli_fetch_array($data)) {
            # code...
           
      ?>
       
                                        <tr>
                                             <td> <?php echo $rows['program_title']; ?></td>
                                              <td> <?php echo $rows['start_date']; ?></td>
                                                 <td ><?php echo $rows['end_date'];?></td>
                                             <td ><?php echo $rows['hr'];?></td>
                                            <td> <?php echo $rows['learning_developement']; ?></td>
                                                 <td ><?php echo $rows['program_proponents'];?></td>
                                                 
                                                
                                                <td >     
                                                    <td colspan="3">     
                                    <a  class="btn btn-success btn-sm" href="edit_training.php?id=<?php echo $rows['id']?>">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Edit</span>
                                    </a>                                    
                                  </td>
                                         </tr>           
                                     <?php  } ?>
                                                
                                     
                                   
                                </table>
                            </div>
                        
                          <div class="table-responsive">

                         <table class="table table-list-search">
                                    <thead>
                                         <tr>
                                          <td colspan="9" style="font-size:15px;"><b> Other Information</b></td>
                                          
                                       </tr>                                        
                                                                        
                                       <tr>
                                            
                                            <td data-field="prenom" data-filter-control="input" data-sortable="true" style="font-size:12px;"><b>Special Skills and Hobbies</b></td>  
                                            
                                    <td colspan="8" 
                                    data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>Action</b></td>
    
                                       </tr>                                        
                                                                        
                                       <tr>
                                      <td colspan="9" style="font-size:15px;"> <a class="btn btn-success btn-sm" href="hobbies.php">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Add</span></td> 
                                       
                                        </tr>
                                    </thead>
                                 
                                   
<?php 
include('../database.php');

$sql = "SELECT * from hobbies where username = '$_SESSION[login_user]' ";
$data = mysqli_query($conn,$sql);
    while ($rows= mysqli_fetch_array($data)) {
            # code...
           
      ?>
       
                                        <tr>
                                             <td> <?php echo $rows['hobbies']; ?></td>
                                           
                                                
                                                   
                                                    <td colspan="8">     
                                    <a  class="btn btn-success btn-sm" href="edit_hobbies.php?id=<?php echo $rows['id']?>">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Edit</span>
                                    </a>                                    
                                  </td>
                                         </tr>           
                                     <?php  } ?>
                                                
                                     
                                   
                                </table>
                            </div>

                             <div class="table-responsive">

                         <table class="table table-list-search">
                                    <thead>
                            
                                       <tr>
                                            
                                            <td data-field="prenom" data-filter-control="input" data-sortable="true" style="font-size:12px;"><b>NON-ACADEMIC DISTINCTIONS / RECOGNITION                                                                                                                                              (Write in full)</b></td>  
                                            
                                    <td colspan="8" 
                                    data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>Action</b></td>
    
                                       </tr>                                        
                                                                        
                                       <tr>
                                      <td colspan="9" style="font-size:15px;"> <a class="btn btn-success btn-sm" href="non_acad.php">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Add</span></td> 
                                       
                                        </tr>
                                    </thead>
                                 
                                   
<?php 
include('../database.php');

$sql = "SELECT * from non_acad where username = '$_SESSION[login_user]' ";
$data = mysqli_query($conn,$sql);
    while ($rows= mysqli_fetch_array($data)) {
            # code...
           
      ?>
       
                                        <tr>
                                             <td> <?php echo $rows['non_acad']; ?></td>
                                           
                                                
                                                   
                                                    <td colspan="8">     
                                    <a  class="btn btn-success btn-sm" href="edit_non_acad.php?id=<?php echo $rows['id']?>">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Edit</span>
                                    </a>                                    
                                  </td>
                                         </tr>           
                                     <?php  } ?>
                                                
                                     
                                   
                                </table>
                            </div>
                             <div class="table-responsive">

                         <table class="table table-list-search">
                                    <thead>
                            
                                       <tr>
                                            
                                            <td data-field="prenom" data-filter-control="input" data-sortable="true" style="font-size:12px;"><b>MEMBERSHIP IN ASSOCIATION/ORGANIZATION                                                                                         (Write in full)</b></td>  
                                            
                                    <td colspan="8" 
                                    data-field="examen" data-filter-control="select" data-sortable="true"  style="font-size:12px;"><b>Action</b></td>
    
                                       </tr>                                        
                                                                        
                                       <tr>
                                      <td colspan="9" style="font-size:15px;"> <a class="btn btn-success btn-sm" href="membership.php">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Add</span></td> 
                                       
                                        </tr>
                                    </thead>
                                 
                                   
<?php 
include('../database.php');

$sql = "SELECT * from membership where username = '$_SESSION[login_user]' ";
$data = mysqli_query($conn,$sql);
    while ($rows= mysqli_fetch_array($data)) {
            # code...
           
      ?>
       
                                        <tr>
                                             <td> <?php echo $rows['membership']; ?></td>
                                           
                                                
                                                   
                                                    <td colspan="8">     
                                    <a  class="btn btn-success btn-sm" href="edit_membership.php?id=<?php echo $rows['id']?>">
                                      <span class = "glyphicon glyphicon-pencil" aria-hidden = "true">Edit</span>
                                    </a>                                    
                                  </td>
                                         </tr>           
                                     <?php  } ?>
                                                
                                     
                                   
                                </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>