<?php require "Class/Conexion.php"; require "Class/Planificador.php"; include 'plantillas/cabecera.php'; $titulo = "Historial"; $planificador = new Planificador(); $tareas = $planificador->mostrarTareas(); $cantidad = $planificador->getCantidad(); ?> <div class="container"> <h1 class="centrado"><?php echo $titulo; ?> </h1> <hr> <h3 class="centrado">Tareas Realizadas</h3> <table class="table"> <thead> <tr> <th>titulo</th> <th>descripcion</th> <th>fecha</th> </tr> </thead> <?php foreach ($tareas as $fila) { ?>