Пример #1
0
                            <td style="background-color: #6495ED; color: whitesmoke;">HDD</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">RAM</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Disquete</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Cd-Rom</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Antivirus</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Sistema operativo</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Sistema operativo Key</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Office</td>
                            <td style="background-color: #6495ED; color: whitesmoke;">Office Key</td>

                        </tr>
                    </thead>
                    <tbody>
                        <?php 
        foreach ($dispositivos as $dDto) {
            $pDto = $controladorSucursales->verUnPuesto($dDto->getIdPuesto());
            $tDto = $controladorDispositivos->verTipo($dDto->getIdTipo());
            $mDto = $controladorDispositivos->verMarca($dDto->getIdMarca());
            $eDto = $controladorMueblesEnceres->verEstado($dDto->getIdEstado());
            ?>
                            <tr>
                                <td><?php 
            echo utf8_encode($oDto->getNombreOficina());
            ?>
</td>
                                <td><?php 
            echo utf8_encode($pDto->getNombrePuesto());
            ?>
</td>
                                <td><?php 
            echo utf8_encode($tDto->getNombreTipo());
Пример #2
0
                                        ?>
';
                                milisegundos = segundos * 1000;
                                window.setTimeout("window.location.replace(direccion);", milisegundos);
                            </script> 

                            <?php 
                                    }
                                    ?>

                    </div>

                    <?php 
                                } else {
                                    if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) {
                                        $pDto = $controladorSucursales->verUnPuesto($_REQUEST['id']);
                                        if ($pDto != null) {
                                            $ofDto = $controladorSucursales->verUnaOficina($pDto->getNumOficina());
                                            $reDto = $controladorUsuarios->verUnResponsable($pDto->getIdResponsable());
                                            $responsables = $controladorUsuarios->verResponsables();
                                            $oficinas = $controladorSucursales->verOficinasPorSucursal($ofDto->getIdSucursal());
                                            ?>

                        <form class="formPuesto" id="signupForm" method="post" action="puestos.php">
                            <h3 style="color: #6495ED; font-family: 'arial';">Modifique el puesto</h3>
                            <hr>
                            <table>
                                <tr>
                                    <td></td>
                                    <td><input name="txtIdPuesto" id="txtIdPuesto" type="text" maxlength="10" readonly="true" value="<?php 
                                            echo $pDto->getIdPuesto();