<?php if($row->estado){?>
<a href="javascript:void(0)" data-estado='0' data-tabla="<?php echo TABLA?>" data-key="<?php echo $row->id?>" class="btn-estado"><i class="far fa-check-circle h5" aria-hidden="true"></i></a>
<?php }else{?>
<a href="javascript:void(0)" data-estado='1' data-tabla="<?php echo TABLA?>" data-key="<?php echo $row->id?>" class="btn-estado"><i class="far fa-times-circle h5 text-danger" aria-hidden="true"></i></a>
<?php }?>