<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> <td><?php
<?php } break; default: ?> <script> location.href = "index_admin.php"; </script> <?php } } else { if (isset($_REQUEST['id']) && is_numeric($_REQUEST['id'])) { $eDto = $controlador->verEstado($_REQUEST['id']); if ($eDto != null) { ?> <form class="formEstado" id="signupForm" action="estados.php" method="post"> <h3 style="color: #6495ED; font-family: 'arial';">Modifique el estado de mubles y dispositivos</h3> <hr> <table> <tr> <td></td> <td><input type="text" name="txtNumero" id="txtNumero" hidden="true" value="<?php echo $eDto->getIdEstado(); ?> "></td> </tr> <tr>
<table id="TablaFiltro" > <thead> <tr id="encabezado"> <td>Descripción</td> <td>Cantidad</td> <td>Valor</td> <td>Estado</td> <td>Oficina</td> <td>Modificar</td> <td>Eliminar</td> </tr> </thead> <tbody> <?php foreach ($muebles as $mDto) { $eDto = $controlador->verEstado($mDto->getIdEstado()); $oDto = $controladorSucursales->verUnaOficina($mDto->getIdOficina()); ?> <tr> <td><?php echo utf8_encode($mDto->getDescripcion()); ?> </td> <td><?php echo utf8_encode($mDto->getCantidad()); ?> </td> <td><?php echo utf8_encode($mDto->getValor()); ?> </td>