Example #1
0
function deleterec($recid)
{
    $res = sql_select();
    $count = sql_getrecordcount();
    mysql_data_seek($res, $recid);
    $row = mysql_fetch_assoc($res);
    showrecnav("del", $recid, $count);
    ?>
    <br>
    <form action="tarefa.php" method="post">
        <input type="hidden" name="sql" value="delete">
        <input type="hidden" name="xcodigoTarefa" value="<?php 
    echo $row["codigoTarefa"];
    ?>
">
    <?php 
    showrow($row, $recid);
    ?>
        <p><input type="submit" name="action" value="Confirmar"></p>
    </form>
    <?php 
    mysql_free_result($res);
}
Example #2
0
function editrec($recid)
{
    $res = sql_select();
    $count = sql_getrecordcount();
    mysql_data_seek($res, $recid);
    $row = mysql_fetch_assoc($res);
    showrecnav("edit", $recid, $count);
    ?>
<br>
<div id="TablaLarga_PAR2" align="Center">
<form enctype="multipart/form-data" action="paso3.php" method="post">
<input type="hidden" name="sql" value="update">
<input type="hidden" name="xnumeracionfactura" value="<?php 
    echo $row["numeracionfactura"];
    ?>
">
<input type="hidden" name="xsetnumfac" value="<?php 
    echo $row["setnumfac"];
    ?>
">
<input type="hidden" name="ximagenfac" value="<?php 
    echo $row["imagenfac"];
    ?>
">
<input type="hidden" name="ximagenguia" value="<?php 
    echo $row["imagenguia"];
    ?>
">
<input type="hidden" name="xfilasdetallefactura" value="<?php 
    echo $row["filasdetallefactura"];
    ?>
">
<input type="hidden" name="xivaimp" value="<?php 
    echo $row["ivaimp"];
    ?>
">
<input type="hidden" name="xnombremoneda" value="<?php 
    echo $row["nombremoneda"];
    ?>
">
<input type="hidden" name="xsimbolomoneda" value="<?php 
    echo $row["simbolomoneda"];
    ?>
">
<input type="hidden" name="xcodigomoneda" value="<?php 
    echo $row["codigomoneda"];
    ?>
">
<input type="hidden" name="xnomempresa" value="<?php 
    echo $row["nomempresa"];
    ?>
">
<input type="hidden" name="xgiro" value="<?php 
    echo $row["giro"];
    ?>
">
<input type="hidden" name="xfonos" value="<?php 
    echo $row["fonos"];
    ?>
">
<input type="hidden" name="xdireccion" value="<?php 
    echo $row["direccion"];
    ?>
">
<input type="hidden" name="xcomuna" value="<?php 
    echo $row["comuna"];
    ?>
">
<input type="hidden" name="xciudadactual" value="<?php 
    echo $row["ciudadactual"];
    ?>
">
<input type="hidden" name="xnumerofiscal" value="<?php 
    echo $row["numerofiscal"];
    ?>
">
<input type="hidden" name="xresolucionsii" value="<?php 
    echo $row["resolucionsii"];
    ?>
">
<input type="hidden" name="xrutempresa" value="<?php 
    echo $row["rutempresa"];
    ?>
">
<input type="hidden" name="xgiro2" value="<?php 
    echo $row["giro2"];
    ?>
">
<?php 
    showroweditor($row, true);
    ?>
<br>
<div align="center"><input type="submit" name="action" value="Guardar ParĂ¡metros"></div>
</form>
</div>
<?php 
    mysql_free_result($res);
}
function editrec($recid)
{
    $res = sql_select();
    $count = sql_getrecordcount();
    mysql_data_seek($res, $recid);
    $row = mysql_fetch_assoc($res);
    showrecnav("edit", $recid, $count);
    ?>
<br>
<form enctype="multipart/form-data" action="bancos_operaciones.raw.php" method="post">
<input type="hidden" name="sql" value="update">
<input type="hidden" name="xidcontrol" value="<?php 
    echo $row["idcontrol"];
    ?>
">
<?php 
    showroweditor($row, true);
    ?>
<p><input type="submit" name="action" value="Guardar y regresar"></p>
</form>
<?php 
    mysql_free_result($res);
}
function deleterec($recid)
{
    $res = sql_select();
    $count = sql_getrecordcount();
    mysql_data_seek($res, $recid);
    $row = mysql_fetch_assoc($res);
    showrecnav("del", $recid, $count);
    ?>
<br>
<form action="bases_de_operaciones_integracion.raw.php" method="post">
<input type="hidden" name="sql" value="delete">
<input type="hidden" name="xideacp_config_bases_de_integracion_miembros" value="<?php 
    echo $row["ideacp_config_bases_de_integracion_miembros"];
    ?>
">
<?php 
    showrow($row, $recid);
    ?>
<p><input type="submit" name="action" value="Confirmar"></p>
</form>
<?php 
    mysql_free_result($res);
}