streaming-website/view/overview.php

22 lines
475 B
PHP
Raw Normal View History

<?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,
));