<?php break; default: ?> <script> location.href = "index_admin.php"; </script> <?php } } else { if (isset($_REQUEST['sucursal']) && is_numeric($_REQUEST['sucursal'])) { $sDto = $controladorSucursales->verUnaSucursal($_REQUEST['sucursal']); if ($sDto != null) { $oficinas = $controladorSucursales->verOficinasPorSucursal($_REQUEST['sucursal']); $estados = $controlador->verEstados(); ?> <form class="formMueble" id="signupForm" action="muebles_enseres.php" method="post"> <h3 style="color: #6495ED; font-family: 'arial';">Registre un nuevo mueble o encer</h3> <hr> <table> <tr> <td><lable for="sucursal">Sucursal: </lable></td> <td><input type="text" id="sucursal" readonly="true" value="<?php echo utf8_encode($sDto->getCiudad()); ?> "> <input name="sucursal" type="text" readonly="true" hidden="true" value="<?php echo $sDto->getIdSucursal();
<input type="submit" name="btnRegistrar" value="Registrar"> </form> <?php break; default: ?> <script> location.href = "index_admin.php"; </script> <?php } } else { if (isset($_REQUEST['v']) && is_numeric($_REQUEST['v'])) { $listado = $controladorSucursales->verOficinasPorSucursal($_REQUEST['v']); if (count($listado) > 0) { ?> <div class = "list"> <h3 style="color: #6495ED; font-family: 'arial';">Listado de oficinas</h3> <div class="buscador"> <table> <tr> <td><label for="Filtro">Escriba algún indicio de la oficina:</label></td> <td><input id="Filtro" name="Filtro" type="text" placeholder="Ingrese una letra, número, o palabra." maxlength="15"></td> </tr> </table> </div> <div class="tabla">
<?php break; default: ?> <script> location.href = "index_admin.php"; </script> <?php } } else { if (isset($_REQUEST['sucursal']) && is_numeric($_REQUEST['sucursal'])) { $sDto = $controladorSucursales->verUnaSucursal($_REQUEST['sucursal']); if ($sDto != null) { $oficinas = $controladorSucursales->verOficinasPorSucursal($_REQUEST['sucursal']); ?> <form class="formPuesto" id="signupForm" action="puestos.php" method="post"> <h3 style="color: #6495ED; font-family: 'arial';">Registre un nuevo puesto</h3> <hr> <table> <tr> <td><lable for="sucursal">Sucursal: </lable></td> <td><input type="text" id="sucursal" readonly="true" value="<?php echo utf8_encode($sDto->getCiudad()); ?> "> <input name="sucursal" type="text" readonly="true" hidden="true" value="<?php echo $sDto->getIdSucursal(); ?>