Example #1
0
 <form id="form1" name="form1" >



   <table width="600" border="0" align="center">
     <tr class="fondonegro">
       <td colspan="2" align="center">Factura</td>
       <td align="center">&nbsp;</td>
     </tr>
     <tr class="fondo_celda_form">
       <td width="11%" align="center" class="fondonegro">Serie</td>
       <td width="12%" align="center" class="fondonegro">Número</td>
       <td width="11%" align="center" class="fondonegro">Editar</td>
     </tr>
     <?php 
$rs = $parametro->parametros_listar();
while ($campo = mysql_fetch_array($rs)) {
    ?>
     <tr bgcolor="#FFFFFF" style="cursor: hand" onmouseover="bgColor='#FFDBB7'" onmouseout ="bgColor='#FFFFFF'">
       <td align="center"><?php 
    echo $campo['pard_serie_fact'];
    ?>
</td>
       <td align="center"><?php 
    echo $campo['pard_nro_fact'];
    ?>
</td>
       <td align="center"><a href="parametro_editar.php?cod=<?php 
    echo $campo['pard_id'];
    ?>
"><img src="../imagenes/icono_editar.gif" width="14" height="14" border="0" /></a></td>
           <td colspan="2" align="center">Nota de crédito</td>
           <td colspan="2" align="center">Factura</td>
           <td colspan="2" align="center">Boleta</td>
           <td align="center">&nbsp;</td>
         </tr>
         <tr class="fondonegro">
           <td align="center">Serie</td>
           <td align="center">Número</td>
           <td width="11%" align="center">Serie</td>
           <td width="12%" align="center">Número</td>
           <td width="10%" align="center">Serie</td>
           <td width="13%" align="center">Número</td>
           <td width="11%" align="center">Editar</td>
         </tr>
         <?php 
$rs = $parametro->parametros_listar($_SESSION['sesion_id_empresa']);
while ($campo = mysql_fetch_array($rs)) {
    ?>
         <tr bgcolor="#FFFFFF" style="cursor: hand" onmouseover="bgColor='#FFDBB7'" onmouseout ="bgColor='#FFFFFF'">
           <td width="12%" align="center"><?php 
    echo $campo['pcom_serie_notacredito'];
    ?>
</td>
           <td width="11%" align="center"><?php 
    echo $campo['pcom_nro_notacredito'];
    ?>
</td>
           <td align="center"><?php 
    echo $campo['pcom_serie_factura'];
    ?>
</td>