<?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="col-md-3" >
					
								<?php  $pdf_file = get_user_credential($user_id); ?>
						
						  		
                                <?php
                                	
									
									if($pdf_file != '')
									{
								
								?>
						
								<a href="../uploads/credential/<?php echo $pdf_file; ?>" target="blank"><img width="80px" height="80px" src="images/pdf.png" alt="My credential" class="img-thumbnail"></a>
								
                                
                                
								<p class="help-block">Click on the pdf icon to view your credentials</p>
								
                                
                                <?php
									
									}
									
								
								?>
								
						</div><!-- /.col md 6 -->			 
									 
                         <div class="col-md-8" >
                            <a href="#" class="btn btn-success" data-toggle="modal" data-target="#myModall_pdf_upload" alt="Click here to upload image"  title="Click here to upload credentials" data-placement="top">
                            <?php if( get_user_credential($user_id) != ''){echo 'R e p l a c e - e x i s t i n g ';}else{ echo 'C l i c k -  h e r e - t o - u p l o a d ';} ?>  - c r e d e n t i a l s
                            </a>
                            
                                
                         </div>
						
                      
					
                    
     
                    
</div><!-- /.col md 12 -->