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