Exemplo n.º 1
0
                                <td><?php 
            echo $dDto->getObservacion();
            ?>
</td>
                                <td><?php 
            echo utf8_encode($mDto->getNombreMarca());
            ?>
</td>
                                <td><?php 
            echo utf8_encode($eDto->getDescripcion());
            ?>
</td>
                                <?php 
            $torre = $controladorTorres->verTorre($dDto->getIdDispositivo());
            if ($torre != null) {
                $soDto = $controladorTorres->verSistemaOperativo($torre->getIdSistemaOperativo());
                $ofDto = $controladorTorres->verOffice($torre->getIdOffice());
                ?>
                                    <td><?php 
                echo utf8_encode($torre->getProcesador());
                ?>
</td>
                                    <td><?php 
                echo utf8_encode($torre->getHdd());
                ?>
</td>
                                    <td><?php 
                echo utf8_encode($torre->getRam());
                ?>
</td>
                                    <td><?php 
                                    <?php 
                            }
                            break;
                        default:
                            ?>

                            <script>
                                location.href = "index_admin.php";
                            </script> 

                        <?php 
                    }
                } else {
                    if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) {
                        $sDto = $controlador->verSistemaOperativo($_REQUEST['id']);
                        if ($sDto != null) {
                            ?>

                        <form class="formSisOper" id="signupForm" action="sis_operativos.php" method="post">
                            <h3 style="color: #6495ED; font-family: 'arial';">Modifique el sistema operativo</h3>
                            <hr>
                            <table>
                                <tr>
                                    <td></td>
                                    <td><input type="text" name="txtNumero" id="txtNumero" hidden="true" value="<?php 
                            echo $sDto->getIdSistemaOperativo();
                            ?>
"></td>
                                </tr>
                                <tr>