//borrar el factor con el IdFactor este numero $OK = $clsCNDoc->borrarFactor($_POST['opcion']); if ($OK) { echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL=../vista/ContOrgContextoAlta.php?msg=Se ha borrado el factor">'; } else { echo '<META HTTP-EQUIV=Refresh CONTENT="0; URL=../vista/ContOrgContextoAlta.php?msg=No se ha borrado el factor">'; } } } } else { //comienzo del else principal logger('info', basename($_SERVER['PHP_SELF']) . '-', "Usuario: " . $_SESSION['strUsuario'] . ', Empresa: ' . $_SESSION['base'] . ', SesionID: ' . session_id() . " ||||xxxx->xxxxxxxx"); $datosUsuario = $clsCNDoc->DatosUsuario($_SESSION['usuario']); //leo los factores que tengan IdContexto = 0, todavia no han sido asignados $factoresSinAsignarInternas = ''; $factoresSinAsignarInternas = $clsCNDoc->leerFactoresSinAsignarInternas(); $factoresSinAsignarExternas = ''; $factoresSinAsignarExternas = $clsCNDoc->leerFactoresSinAsignarExternas(); //var_dump($datosUsuario);die; ?> <!DOCTYPE html> <HTML> <HEAD> <?php //estas funciones son generales librerias_jQuery(); //funcion general activarPlaceHolder(); ?> <meta http-equiv="Content-type" content="text/html; charset=utf-8" />