<?php
if($fac_formato_apartado=='Carta')
{  ?>
    <a href="libraries/tcpdf/documentos/apartado5.php?vena_id=<?php echo $vena_id;?>" target="_blank" class="btn btn-success btn-xs" ><span class="btn-icon-only icon-print"></span></a>
<?php  }  else  {  ?>
    <a href="tirillas/tirilla_apartado.php?vena_id=<?php echo $vena_id; ?>" class="btn btn-success btn-xs" target="_blank" title="Imprimir"><i class="btn-icon-only icon-print"></i></a>
<?php  }  ?>                