<?php } break; default: ?> <script> location.href = "index_admin.php"; </script> <?php } } else { if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { $mDto = $controlador->verMarca($_REQUEST['id']); if ($mDto != null) { ?> <form class="formMarca" id="signupForm" action="marcas.php" method="post"> <h3 style="color: #6495ED; font-family: 'arial';">Modifique la marca</h3> <hr> <table> <tr> <td></td> <td><input type="text" name="txtNumero" id="txtNumero" hidden="true" value="<?php echo $mDto->getIdMarca(); ?> "></td> </tr> <tr>
<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()); ?> </td>