<tr class="setting-invitation" data-invitation="<?php echo $pt->key_info->id; ?>" data_selected="<?php echo $pt->key_info->id; ?>">
  <td><input type="checkbox" id="check-data-<?php echo $pt->key_info->id; ?>" class="delete-checkbox filled-in"><label for="check-data-<?php echo $pt->key_info->id; ?>"></label></td>
  <td >
     <?php echo $pt->key_info->id; ?>
  </td>
  <td >
     <?php echo PT_Time_Elapsed_String($pt->key_info->posted); ?>
  </td>
  <td>
     <?php echo $pt->key_info->code; ?>
  </td>
  <td>
    <?php if ($pt->key_info->status == 0) { ?>
      <span class="label label-danger">Pending</span>
    <?php }else{ ?>
      <span class="label label-success">Invited</span>
    <?php } ?>
  </td>
  <td>
     <button class="btn bg-info admn_table_btn copy-invitation-url" id="<?php echo $pt->key_info->id; ?>" data-link="<?php echo $pt->key_info->url; ?>"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,21H8V7H19M19,5H8A2,2 0 0,0 6,7V21A2,2 0 0,0 8,23H19A2,2 0 0,0 21,21V7A2,2 0 0,0 19,5M16,1H4A2,2 0 0,0 2,3V17H4V3H16V1Z" /></svg> Copy</button>
     <button class="btn bg-danger admn_table_btn" id="<?php echo $pt->key_info->id; ?>" onclick="Deleteinvite('<?php echo $pt->key_info->id; ?>','hide');"><svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24"><path fill="currentColor" d="M19,4H15.5L14.5,3H9.5L8.5,4H5V6H19M6,19A2,2 0 0,0 8,21H16A2,2 0 0,0 18,19V7H6V19Z" /></svg> Delete</button>
  </td>
</tr>
