<?php $titulo = 'Listado de tareas'; require 'Class/Conexion.php'; require 'Class/Planificador.php'; $tarea = new Planificador(); $listado = $tarea->listarTarea(); $cantidad = $tarea->getCantidad(); $tareaDetalle = new Planificador(); $fila_tarea = $tareaDetalle->detalleTarea(); $validar_fecha = new Planificador(); $fila_tarea['tra_id']; $fecha = date('Y-m-d'); ?> <div class="container"> <h1><?php echo $titulo; ?> </h1> <?php if ($cantidad == 0) { echo 'No hay tareas para realizar...'; } else { ?> <div class="table-responsive"> <table class = "table table-striped"> <thead> <tr class="active"> <th class = "centrado">Titulo</th> <th class = "centrado">Descripcion</th>