<?php include $VERSION_PATH . "core/header.php"; $format = 'Y-m-d'; $date = date($format); $lastWeek = date($format, strtotime('-7 day' . $date)); ?> <table> <tr> <td><b>COMPLETED THIS WEEK</b></td> </tr> <tr> <td><?php echo formatResult(completedTasks($lastWeek), false); ?> </tr> <tr> <td><b>STILL TO DO</b></td> </tr> <tr> <td><?php echo formatResult(todoTasks(), false); ?> </tr> </table> <?php include $VERSION_PATH . "core/footer.php"; ?>
<?php include $VERSION_PATH . "core/header.php"; ?> <?php echo formatResult(todoTasks(), true); ?> <?php include $VERSION_PATH . "core/footer.php"; ?>