<?php require '../clases/AutoCarga.php'; $bd = new DataBase(); $gestor = new ManageCuidador($bd); $cuidadores = $gestor->getList(); $op = Request::get("op"); $r = Request::get("r"); ?> <!DOCTYPE html> <html> <head> <meta charset="UTF-8"> <title>Zoo Carlitos</title> <link rel="stylesheet" href="../estilo/estilos.css"/> </head> <body> <div id="fondocontenido3"></div> <div id="cont"><br /> <h2><a href="viewInsert.php">Insertar Cuidador</a></h2> <?php if ($op != null) { echo "<h1>La operaciĆ³n {$op} ha dado como resultado {$r}</h1>"; } foreach ($cuidadores as $indice => $cuidador) { echo $cuidador; echo "<a class='borrar' href='phpdelete.php?IDuidador={$cuidador->getIDCuidador()}'>borrar</a> "; echo "<a class='borrar' href='phpdelete.php?f=&IDuidador={$cuidador->getIDCuidador()}'>Forzar borrado</a> "; echo "<a href='viewedit.php?IDuidador={$cuidador->getIDcuidador()}'>editar</a>"; echo "<br>"; }