<div class="ultp-edit-user-courses-list">

  	<h2>Ultimate Learning Pro - <?php _e('User Cerificates', 'ulp');?></h2>

	<div class="ulp-edit-wp-user-status">

    <table style="width:100%;">

			<?php if (!empty($data ['user_certificates'])):?>

					<?php    $i = 1;

					   foreach ($data ['user_certificates'] as $certificate_id => $certificate):?>

						<tr class="<?php if($i%2==0) echo 'alternate';?>">

              <td style="width:20px;  text-align:center;"></td>

			  <td ><?php echo $certificate['certificate_title'];?> <span  style="font-weight:400; width:100px;">( <?php _e('from', 'ulp');?> <?php echo $certificate['course_name'];?> )</span></td>

              <td  style="font-weight:400; width:100px;"><?php echo $certificate['grade'];?></td>

              <td  style="font-weight:400; width:200px;"><?php echo $certificate['obtained_date'];?></td>

              <td width="100px">

                  <div class="ulp-small-button">

                      <span class="ulp-delete" onClick="ulpRemoveUserCertificate(<?php echo $data ['uid'];?>, <?php echo $certificate_id;?>,'<?php echo $certificate['certificate_title'];?>');"><?php _e('Remove', 'ulp');?></span>

                  </div>

              </td>

            </tr>

					<?php  $i++;

					endforeach;?>

			<?php endif;?>

    </table>

	</div>

</div>

