 <?php 

  if (isset($_GET['ses'])) {
    
    //when session is = 3 set it to 0
    $sess = $_GET['ses'];
    if($sess == 3){
      $sess = 0;
    }
    
  }else{
    header('location: gateway.php?act=view_admission_reports_landing');
  }

?>

<div class="well"><!-- well start -->

      
        	<ul class="breadcrumb">
                  <li><a href="gateway.php?act=view_admission_reports_landing">Admission Manager Menu</a> <span class="divider"></span></li>
                  <li class="active"> Applicants reports  </li>
                  
           </ul>
                   
                   



                               


              <ul class="tabs"> 
                
                <li><a href="#view1">Pre-NCE Applicants Listings</a></li>
                <li><a href="gateway.php?act=view_admitted_applicants_prence">Admitted Applicants</a></li> 
               
               </ul> 
              <div class="tabcontents"> 
              
                
                <div id="view1">



						<br/>
						
                    
                      
                      
                           <hr />
                           
                       
                       
                       
                      
                       
                       <div class="well alert" >
                       
                            <h4>Report on Applied  Programmes  (PRE-NCE)</h4>
                           
                           <p>Click on each tab to view list of applied candidates</p>
                       
                       </div>
                          <div class="row ">

                            <div class="row pull-right">


                              <a href="gateway.php?act=view_rejected_applicants&tk=<?php echo $tk; ?>&qi=1&pt=1" class="btn btn-danger btn-lg" target="_blank" >Rejected</a>

                              <a href="gateway.php?act=view_qualified_applicants_prence&tk=<?php echo $tk; ?>&qi=0&pt=1" class="btn btn-warning btn-lg" target="_blank" >Not Qualified</a>
                 
                            
                              <a href="gateway.php?act=view_qualified_applicants_prence&tk=<?php echo $tk; ?>&qi=1&pt=1" class="btn btn-primary btn-lg" target="_blank" >Qualified</a>

                                <a href="gateway.php?act=view_applicants_prence_records&tk=<?php echo md5(rand(0,100))?>" class="btn btn-info btn-lg">Download</a>

                              </div>
                          </div>


                         <?php 
                             //to enable access profile or admission manager   
                            $_SESSION['PROadmin'] = 'default';
                             echo get_programme_list_prence($pt = 1 , $mode = 1, $sess ); //pass programme type 

                         ?>
                        
                        
                          <hr />
                       
                        
        
                
        
                </div> 
        
                
        
         
        
              </div>
        




</form>

</div>