if (array_key_exists('room', $lessons_f[$pd])) { echo ' - ' . $lessons_f[$pd]['room']; } } else { echo 'Free'; } ?> </li> <?php } ?> </ul> <?php } } else { print_timetable_by_week($currentuser_id, $week_block); } ?> </div> <?php foot(); ?> </body> </html>
navbar(); ?> <div class="container" role="main"> <h1 align="center" class="home-greeting-text"> <?php echo date('l jS M Y'); ?> </h1> <p class="lead">You have <?php echo TaskList::getAllOutstandingCount(Authentication::get_user()); ?> tasks outstanding.</p> <h2>Your Timetable</h2> <?php print_timetable_by_week(Authentication::get_user(), $week_block); ?> </div> <?php foot(); ?> </body> </html>