<?php if($row->privado){?>
<a href="javascript:void(0)" data-privado='0' data-tabla="<?php echo $tabla?>" data-key="<?php echo $row->id?>" class="btn-privado"><i class="fa fa-check-square-o h4" aria-hidden="true"></i></a>
<?php }else{?>
<a href="javascript:void(0)" data-privado='1' data-tabla="<?php echo $tabla?>" data-key="<?php echo $row->id?>" class="btn-privado"><i class="fa fa-times h4 text-dark" aria-hidden="true"></i></a>
<?php }?>