

   <div class="list-group">
    <ul class="list-group">
    <li class="list-group-item list-group-iteam">
     <div class="row">
    
                <?php

                    //when Applicant is regular NCE
                    $entry_mode = get_applicant_mode_of_entry($id);
                    $sess = 4; //current session id

                    /*echo $entry_mode .'<br>';
                    echo $app_pt ;
                    exit();*/
                    if( ($entry_mode == 1 ||  $entry_mode == 2 ||  $entry_mode == 3) && $app_pt == 2 ){
                     
                ?>    
                <div class="col-md-12"> <!-- col md 12 -->     
                          <div class="col-md-6">
                             <div class="form-group">   
                                <label for="programme_type">Mode of Entry  <span class="ast">*</span></label>
                               
                                      <div class="input-group">
                                      <select name="programme_type" class="form-control"  id="search_prog_type_id" >
                                          <?php  echo select_programme_type_1(get_applicant_mode_of_entry($id)); ?>
                                       </select>
                                        <div class="input-group-addon"> <span class="ast">*</span></div>
                                      </div>
                              </div>
                         </div>
                          
                   
                         
                          <div class="col-md-12">
                             <div class="form-group">   
                                <label for="programme">Course Type </label>
                                
                                 <div  class="input-group">
                                     <!-- <div class="input-group">-->
                                      <select name="prog" class="form-control"  id="">
                                      <option value="">--Choose Course --</option>
                                     
                                      <?php  echo select_programme_nce(get_applicant_programme_applied_for($id)); ?>
                                      </select> 

                                    </div>
                                
                              </div>
                         </div>
                         
                    
                         
                </div><!-- /.col md 12 -->
                <?php 
                   
                    } 
                      /*echo 'kjkjkj'.check_applicant_is_nce_lvsp($id, $pt =2, $cid = 2, $sess);
                      exit();*/

                    //when applicant is NCE_LVSP or
                    if(check_applicant_is_nce_lvsp($id, $app_pt, $cid = 2, $sess=0) )
                    {
                ?>
                    <div class="col-md-12"> <!-- col md 12 --> 
                          <div class="col-md-12">
                             <div class="form-group">   
                                <label for="programme">Course Type </label>
                                
                                 <div  class="input-group">
                                     <!-- <div class="input-group">-->
                                      <select name="prog" class="form-control"  id="">
                                      <option value="">--Choose Course --</option>
                                     
                                      <?php  echo select_programme_lvsp(get_applicant_programme_applied_for($id)); ?>
                                      </select> 

                                    </div>
                                
                              </div>
                         </div>
                         
                    
                         
                </div><!-- /.col md 12 -->
                 <?php 
                   
                    } 

                    
                    /*echo $sess ;
                    exit();*/
                    /* echo $app_pt ;
                    exit();*/
                    //when applicant is PRENCE
                    if(check_applicant_is_prence($id, $app_pt , $cid = 1, $sess) )
                    {
                ?>
                    <div class="col-md-12"> <!-- col md 12 --> 
                          <div class="col-md-12">
                             <div class="form-group">   
                                <label for="programme">Course Type </label>
                                
                                 <div  class="input-group">
                                     <!-- <div class="input-group">-->
                                      <select name="prog" class="form-control"  id="">
                                      <option value="">--Choose Course --</option>
                                     
                                      <?php  echo select_programme_prence(get_applicant_programme_applied_for($id)); ?>
                                      </select> 

                                    </div>
                                
                              </div>
                         </div>
                         
                    
                         
                </div><!-- /.col md 12 -->
                 <?php 
                   
                    } 

                   /* //when applicant is NCE_LVSP
                    if(check_applicant_is_nce_lvsp($pt =2, $cid = 2, $sess))
                    {*/
                ?>
              
    
     </div><!-- /.row -->
   </li>
   
   
   </ul><!-- close ul -->

    
</div><!-- /.list group -->







 <table class="table table-bordered table-striped table-hover">
   <?php
      $app_pt = get_applicant_programme_type_admitted_to($id);
      $app_sch = get_applicant_school_admitted_to($id);
      $app_prog =get_applicant_programme_admitted_to($id);
   ?>
    <tbody>      
        <tr>
        <td colspan="4"><strong>Admitted Programme Type : </strong> <?php echo  isset($app_pt) ?show_applicant_programme_type($app_pt) : '';?></td>
        </tr>
        <tr colspan="4">
        <td><strong>Admitted School:</strong> <?php   echo isset($app_sch) ? get_applicant_school_title($app_sch) : '';?></td></tr>
        <tr colspan="4">
         <td><strong>Admitted Programme: </strong> <?php   echo isset($app_prog) ? get_applicant_programme_title( $app_prog) : '';  ?> </td></tr>
       
       </tr>
     
     </tbody>
</table>


			