<table class="table table-bordered table-striped table-hover">
   
    <tbody>
      <tr>
        <?php
         

          $up_path = '';
          //when Prence
           if( $pty == 1){
             $up_path = '../prence/uploads/';
             //when NCE
           }elseif ($pty == 2) {
                $up_path = '../nce/uploads/';
             if ( $cid == 2) {
                    # code...
                    $up_path  = '../nce_lvsp/uploads/';
                  }else{
                        $up_path  = '../nce/uploads/';
                  }
           }

           //echo $up_path.get_applicant_image2($id);

        ?>
         <td > 
           <a href="#" class="btn-default" data-toggle="modal" data-target="#myImgModal">  <img class="thumbnail img-responsive text-center" style="width:100px;height:100px;" src="<?php if(get_applicant_image2($id) != ''){echo  $up_path.get_applicant_image2($id); }else {echo 'img.jpg'; } ?>" /> </a> 
         </td>
       </tr>
    
        <tr>
        <td>Application No. :<b><?php  echo  get_applicant_application_number($id); ?></b>   </td>
               
      </tr>
     </tbody>
  </table>





<div class="list-group">
    <ul class="list-group">
    <li class="list-group-item list-group-iteam">
    <div class="row">
                          
                          <input type="hidden" name="id" value="<?php echo $id; ?>">

                            <div class="col-md-4">
                                   <div class="form-group">
                                      <label for="first_name">First Name </label>
                                      <div class="input-group">
                                      <input value="<?php echo get_applicant_first_name_sum($id); ?>" type="text" class="form-control" name="first_name" >
                                       <div class="input-group-addon"> <span class="ast">*</span></div>
                                      </div>
                                  </div>
                            </div>
                            <div class="col-md-4">
                                   <div class="form-group">
                                      <label for="middle_name">Middle Name </label>
                                      <div class="input-group " >
                                      <input value="<?php  echo get_applicant_middle_name($id);?>" type="text" class="form-control" name="middle_name" >
                                       <div class="input-group-addon"> <span class="ast">*</span></div>
                                      </div>
                                  </div>
                            </div>
                            
                            
                            <div class="col-md-4">
                                  <div class="form-group">
                                  <label for="other_names">Othernames</label>
                                       <div class="input-group">
                                       <input value="<?php  echo get_applicant_other_names($id);?>" type="text" class="form-control" name="other_names" >
                                       <div class="input-group-addon"> <span class="ast">*</span></div>
                                       </div>
                                  </div>
                                  
                            </div>
                            
                            
                           <div class="col-md-4">
                             <div class="form-group"> 
                                <label for="marital_status">Marital status</label>
                                
                                  <div class="input-group">
                                    <select name="marital_status" class="form-control">
                                       <?php echo select_applicant_marital_status(get_applicant_ms($id)); ?>
                                    
                                    </select>
                                    <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                    
                             </div>
                          </div>
                  
                         <div class="col-md-4">
                             <div class="form-group"> 
                                <label for="gender">Gender</label>
                                      <div class="input-group">
                                      <select name="gender" class="form-control">
                                          <?php echo select_applicant_gender(get_applicant_gender($id));?>
                                       </select>
                                        <div class="input-group-addon"> <span class="ast">*</span></div>
                                        </div>
                              </div>
                         </div>
                         
                         
                         
                         <div class="col-md-4">
                             <div class="form-group"> 
                                <label for="gender">Religion</label>
                                      <div class="input-group">
                                      <select name="religion" class="form-control">
                                          <?php echo select_applicant_religion(get_applicant_religion($id));//if(!isset($_SESSION['r'])){ echo select_religion($gd = get_user_religion($user_id));}else{ echo select_religion($_SESSION['r']);} ?>
                                       </select>
                                        <div class="input-group-addon"> <span class="ast">*</span></div>
                                        </div>
                              </div>
                         </div>
                         
                         
                         
                         <div class="col-md-6">
                             <div class="form-group"> 
                                <label for="pob">Place of Birth</label>
                                     
                                       <input value="<?php echo  get_applicant_pob($id);?>" type="text" class="form-control" name="pob" placeholder="Place of Birth">
                                     
                              </div>
                         </div>
                         
                         
                         
                    
                        <br /><br />
                        
                         
                       <div class="col-md-12">
                            <label for="dob"> Date of Birth </label> 
                            <hr/>
                         </div>
                                     
                                     
                                        
                         
                   <div class="col-md-12">
                                                         
                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label for="day">Day <span class="ast">*</span></label>
                                        <select name="day" class="form-control">
                                          <option value="0"  > --DD-- </option>
                                           <?php echo day(get_applicant_day($id)); ?>
                                            </select>
                                        </div>
                                    </div>
                                    
                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label for="month">Month <span class="ast">*</span></label>
                                             <select name="month" class="form-control">
                                                  <option value="0"> --MM-- </option>
                                                  <?php echo month(get_applicant_month($id)); ?>
                                                 </select>
                                        </div>
                                    </div>
                            
                                    <div class="col-md-4">
                                        <div class="form-group">
                                            <label for="year">Year <span class="ast">*</span></label>
                                          
                                            <select name="year" class="form-control">
                                            <option value="0"  > --YYYY-- </option>
                                            <?php echo year(get_applicant_year($id)); ?>?>
                                            </select>
                                        </div>
                                    </div>
                            
                        
                        
                    </div><!-- /.col md 12 -->
                    
                    
                        
                    <div class="col-md-12"><hr/></div>
                    
                    
                    
                    
                          <div class="col-md-4">
                            <div class="form-group">  
                              <label>Nationality <span class="ast">*</span></label>
                                        <select name="nationality" class="form-control">
                                           <?php echo  select_applicant_nationality(get_applicant_nationality($id)) ;?>
                                    </select>
                              </div>
                            <hr/>
                         </div>
                         
                            
                         <!--<div class="col-md-4">
                         
                             <div class="form-group"> 
                              <label>Country of Origin <span class="ast">*</span></label>
                                        <select name="country" class="form-control"  disabled>
                                            
                                            <option value="0">-- Choose Country</option>
                                            <?php //if(!isset($_SESSION['c'])){echo select_country(get_user_country_id($user_id));}else{echo select_country($_SESSION['c']);} ?>
                              </select>
                              </div>
                          </div>-->
                  
                        <div class="col-md-4">
                            <div class="form-group">  
                                <label for="state">State of Origin <span class="ast">*</span></label>
                                <select name="state" class="form-control">
                                      <option value="0">-- Choose State</option>
                                      <<?php echo  select_applicant_state(get_applicant_state_id($id)) ;?>
                                </select>
                            </div>
                        </div>
                  
                        <div class="col-md-4">
                          <div class="form-group">  
                              <label for="lga">LGA <span class="ast">*</span></label>
                                        <select name="lga" class="form-control">
                                           <option value="0">-- Choose LGA</option>
                                          <?php echo select_applicant_lga(get_applicant_lga_id($id)); ?>
                                        </select>
                           </div>
                       </div>
                  
                      
                  
                  
                  
                      <div class="col-md-12">
                         <div class="form-group">
                        
                              
                         </div>
                      </div>
                 
  
    
    </div><!-- /.row -->
   </li>
   
   
   </ul><!-- close ul -->

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


      
      

			