<?php $KT_relPath = "../"; require_once "../includes/widgets/widgets_start.php"; include "../seguridad.php"; ?> <? include("../clases/datos.php"); $objDatos=new datos(); $rsStock = $objDatos->ObtenerStockCabeceraDetalleSelId($_GET['Codigo']); $row_rsStock = $objDatos->PoblarStockCabeceraDetalleSelId($rsStock); if(isset($_POST['txtCodProducto'])){ if(ActualizaStock($_POST['txtCodProducto'],$_POST['txtStock'],$_POST['txtStockAnterior'],$_POST['txtAgregarStock'],$_SESSION['MM_Username'])){ $Menzaje="El Stock se incremento correctamente"; } } ?> <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd"> <html xmlns="http://www.w3.org/1999/xhtml"> <head> <meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" /> <title>Documento sin título</title> <link href="../styleadm.css" rel="stylesheet" type="text/css" /> <script type="text/JavaScript" src="../validar.js"></script> </head> <body> <? if(!isset($_POST['txtCodProducto'])){ ?> <table width="500" border="0" cellspacing="1" cellpadding="0">