</form>

                                <?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());
                            ?>
">
Пример #2
0
                                <table id="TablaFiltro" >
                                    <thead>
                                        <tr id="encabezado">
                                            <td>Sucursal</td>
                                            <td>Nombre oficina</td>
                                            <td>Puestos</td>
                                            <td>Muebles/enseres</td>
                                            <td>Dispositivos</td>
                                            <td>Modificar</td>
                                            <td>Eliminar</td>
                                        </tr>
                                    </thead>
                                    <tbody>
                                        <?php 
                            foreach ($listado as $oDto) {
                                $sDto = $controladorSucursales->verUnaSucursal($oDto->getIdSucursal());
                                ?>
                                            <tr>
                                                <td><?php 
                                echo utf8_encode($sDto->getCiudad());
                                ?>
</td>
                                                <td><?php 
                                echo utf8_encode($oDto->getNombreOficina());
                                ?>
</td>
                                                <td><a href="puestos.php?of=<?php 
                                echo $oDto->getNumOficina();
                                ?>
"><img alt="Ver puestos" src="../resources/imagenes/Puesto.png" ></a></td>
                                                <td><a href="muebles_enseres.php?of=<?php 
Пример #3
0
                                </form>

                                <?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