var segundos = 3; var direccion = 'sucursales.php?su=v'; milisegundos = segundos * 1000; window.setTimeout("window.location.replace(direccion);", milisegundos); </script> <?php } ?> </div> <?php } else { if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { $oDto = $controladorSucursales->verUnaOficina($_REQUEST['id']); if ($oDto != null) { $suDto = $controladorSucursales->verUnaSucursal($oDto->getIdSucursal()); ?> <form class="formOficina" id="signupForm" action="oficinas.php" method="post"> <h3 style="color: #6495ED; font-family: 'arial';">Modifique la oficina</h3> <hr> <table> <tr> <td><label for="txtNumero">Número: </label></td> <td><input name="txtNumero" id="txtNumero" type="text" value="<?php echo $oDto->getNumOficina(); ?> " readonly="true"> <label class="obligatorio"> * </label>
</select> </td> </tr> </table> <div class="msjObligatorio"> <label>Los campos con * son obligatorios</label> </div> <input type="submit" name="btnRegistrar" value="Registrar"> </form> <?php } } else { if (isset($_REQUEST['of']) && is_numeric($_REQUEST['of'])) { $muebles = $controlador->verMueblesEnseresPorOficina($_REQUEST['of']); $oDto = $controladorSucursales->verUnaOficina($_REQUEST['of']); if (count($muebles) > 0) { ?> <div class = "list"> <h3 style="color: #6495ED; font-family: 'arial';">Listado de muebles y enceres</h3> <div class="buscador"> <table> <tr> <td><label for="Filtro">Escriba algún indicio del mueble o encer:</label></td> <td><input id="Filtro" name="Filtro" type="text" placeholder="Ingrese una letra, número, o palabra." maxlength="15"></td> </tr> </table> </div> <table style="padding-top: 10px; margin: 0 auto; width: 450px;">