<td> <?php include "menu.php"; ?> </td> </tr> <tr> <td align="center"> <?php if ($_REQUEST['id'] === '1') { $ingreso->ingresos_insertar($_REQUEST['producto'], $_REQUEST['fecha'], $_REQUEST['cantidad']); } if ($_REQUEST['id'] === '2') { $ingreso->ingresos_borrar($_REQUEST['ing_id'], $_REQUEST['pro_id'], $_REQUEST['cant']); } ?> <form name="form1" id="form1"> <table width="658" border="0" align="center" cellpadding="0"> <tr> <td colspan="3"> </td> </tr> <tr align="center"> <td colspan="3" class="titulo">REGISTRAR INGRESOS </td> </tr> <tr> <td width="186" align="right" class="enfasis"> </td> <td width="14" align="center" class="enfasis"> </td>
function ap_showWaitMessage(div,flag) { if (!DHTML) return; var x = ap_getObj(div); x.visibility = (flag) ? 'visible':'hidden' if(! document.getElementById) if(document.layers) x.left=280/2; return true; } ap_showWaitMessage('waitDiv', 3); //--> </SCRIPT> </head> <?php if ($_REQUEST['id'] == '1') { $ingreso->ingresos_insertar($_REQUEST['producto'], $_REQUEST['fecha'], $_REQUEST['cantidad']); } if ($_REQUEST['id'] === '2') { $ingreso->ingresos_borrar($_REQUEST['cod_ingreso'], $_REQUEST['cod_producto'], $_REQUEST['cant_producto']); } ?> <body> <table width="100%" border="0" align="center" cellpadding="0" cellspacing="0"> <tr height="5"> <td height="23"> <?php include "menu.php"; ?> </td> </tr> <tr><td> </td></tr> <tr> <td align="center" class="titulo">REGISTRAR INGRESOS DE PRODUCTOS</td>