<?php
//set the arra for error reports

$errors = array();
$info = array();
$info_success = array();

?>


<div class="col-md-12" style="padding-left:0px; padding-right:0px;">
	<div class="">
					
					<?php 
					
						$pdf_file = get_user_credential($user_id);
						
						
						if($pdf_file != '')
						{
					
					
								echo '<div class="col-md-6" ><a href="../uploads/credential/'.$pdf_file.'" target="blank"><img width="80px" height="80px" src="images/pdf.png" alt="My credential" class="img-thumbnail"></a>';
								
								echo '<p class="help-block">Click on the pdf icon to view your credentials</p>';
								
								
								
						?>
                        
                                    <br/>
                                    
                                    
                                            <div class="form-group">
                                                <label for="">Applicant Supporting Credentials </label>
                                                <div class="input-group">
                                                 <input    name="pdf_file" class="form-control" class="form-control" type="file" ></input>
                                                 <div class="input-group-addon"> <span class="ast"></span></div>
                                                </div>
                                            </div>
                                            
                    
						            </div><!-- /.col md 6 -->			 
									 
							 <div class="col-md-6" >
                             	<br/>
                                <br/>
                                
                                 	
                             </div>
						
                        <?php
                        }
						else
						{?> 
                        
                        
                        	<div class="col-md-6" >
                                 
                                  
                                
                                  
                                <div class="form-group">
                                    <label for="">Applicant Supporting Credentials </label>
                                    <div class="input-group">
                                     <input    name="pdf_file" class="form-control" class="form-control" type="file" ></input>
                                     <div class="input-group-addon"> <span class="ast">*</span></div>
                                    </div>
                                </div>
                                  
                             </div>
                             <div class="col-md-6" >
                             	<br/>
                                <br/>
                                
                                 
                             </div>
                             
                             
						<?php 
						
						}
					?>
					
                    
                    
     </div>
                    
</div><!-- /.col md 6 -->