streaming-website/view/overview.php

21 lines
475 B
PHP

<?php
$schedule = $conference->getSchedule();
$now = $schedule->getScheduleDisplayTime();
$upcomingTalksPerRoom = [];
foreach ($conference->getRooms() as $room) {
$upcomingTalksPerRoom[$room->getSlug()] = [
'current' => $room->getCurrentTalk($now),
'next' => $room->getNextTalk($now),
];
};
echo $tpl->render(array(
'page' => 'overview',
'title' => 'Live-Streams',
'overview' => $conference->getOverview(),
'upcomingTalksPerRoom' => $upcomingTalksPerRoom,
));