2015-02-26 16:57:42 +00:00
|
|
|
<?php
|
|
|
|
|
2016-12-18 12:31:34 +00:00
|
|
|
$schedule = $conference->getSchedule();
|
|
|
|
|
2018-05-12 00:00:51 +00:00
|
|
|
$now = $schedule->getScheduleDisplayTime();
|
2018-05-11 23:57:14 +00:00
|
|
|
$upcomingTalksPerRoom = [];
|
|
|
|
foreach ($conference->getRooms() as $room) {
|
|
|
|
$upcomingTalksPerRoom[$room->getSlug()] = [
|
|
|
|
'current' => $room->getCurrentTalk($now),
|
|
|
|
'next' => $room->getNextTalk($now),
|
2016-12-18 12:31:34 +00:00
|
|
|
];
|
2018-05-11 23:57:14 +00:00
|
|
|
};
|
2016-12-18 12:31:34 +00:00
|
|
|
|
2015-02-26 16:57:42 +00:00
|
|
|
echo $tpl->render(array(
|
|
|
|
'page' => 'overview',
|
|
|
|
'title' => 'Live-Streams',
|
2015-03-08 12:42:58 +00:00
|
|
|
|
2016-12-10 17:22:34 +00:00
|
|
|
'overview' => $conference->getOverview(),
|
2016-12-18 12:31:34 +00:00
|
|
|
|
|
|
|
'upcomingTalksPerRoom' => $upcomingTalksPerRoom,
|
2015-02-26 16:57:42 +00:00
|
|
|
));
|