Createastationprofile,ifyouhaven't already, then <a href="<?php echo site_url('station/assign_all/'); ?>" class="btn btn-danger" onclick="return confirm('AssignAllQSOstoDefaultStationID"><i class="fasfa-trash-alt"></i> press this button to assign all QSOs to the first Station Profile.</a>
<ahref="<?php echo site_url('station/set_active/').$current_active."/".$row->station_id; ?>"class="btn btn-outline-secondary btn-sm"onclick="return confirm('Are you sure you want to make station <?php echo $row->station_profile_name; ?> the active station?');">SetActive</a>
<ahref="<?php echo site_url('station/reassign_profile/').$row->station_id; ?>"class="btn btn-outline-secondary btn-sm"onclick="return confirm('Are you sure you want to reassign QSOs to the <?php echo $row->station_profile_name; ?> profile?');">Reassign</a>
<ahref="<?php echo site_url('station/deletelog')."/".$row->station_id; ?>"class="btn btn-danger btn-sm"title="Empty Log"onclick="return confirm('Are you sure you want to delete all QSOs within this station profile?');"><iclass="fas fa-trash-alt"></i></a></td>
</td>
<td>
<?phpif($row->station_active!=1){?>
<ahref="<?php echo site_url('station/delete')."/".$row->station_id; ?>"class="btn btn-danger btn-sm"title="Delete"onclick="return confirm('Are you sure you want delete station profile <?php echo $row->station_profile_name; ?> this will delete all QSOs within this station profile?');"><iclass="fas fa-trash-alt"></i></a>