<?php
if($fac_formato_cotizacion=='Carta')
{ 
    if($num_formato_cotizacion=='5')
    {
?>
        <a href="libraries/tcpdf/documentos/cotizacion5.php?cot_id=<?php echo $cot_id;?>" target="_blank" class="btn btn-success btn-xs" ><span class="btn-icon-only icon-print"></span></a>
    <?php  }  else if($num_formato_cotizacion=='8')  {  ?>
        <a href="libraries/tcpdf/documentos/cotizacion8.php?cot_id=<?php echo $cot_id;?>" target="_blank" class="btn btn-success btn-xs" ><span class="btn-icon-only icon-print"></span></a>
<?php   
    }  
} 
else   {   ?>
    <a href="tirillas/tirilla_cotizacion.php?cot_id=<?php echo $cot_id; ?>" class="btn btn-success btn-xs" target="_blank" title="Imprimir"><i class="btn-icon-only icon-print"></i></a>
<?php   }  ?>                