mirror of
https://github.com/voc/streaming-website
synced 2024-11-14 00:17:18 +00:00
21 lines
475 B
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,
|
|
));
|