2015-03-30 14:20:30 +00:00
|
|
|
<div class="container <?=h($stream->getTab())?> <?=h($stream->getSelection())?> <?=h($stream->getLanguage())?>">
|
2015-02-27 16:21:51 +00:00
|
|
|
<div class="row headline">
|
|
|
|
<div class="col-xs-12">
|
2015-03-30 14:20:30 +00:00
|
|
|
<h1 data-room="<?=h($room->getDisplay())?>"><?=h($stream->getDisplay())?></h1>
|
2015-02-27 16:21:51 +00:00
|
|
|
</div>
|
|
|
|
</div>
|
2014-10-19 10:12:20 +00:00
|
|
|
|
2015-02-28 18:12:27 +00:00
|
|
|
<ul class="nav nav-player nav-tabs nav-justified">
|
2015-03-30 14:20:30 +00:00
|
|
|
<? foreach($room->getTabs() as $tab): ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
<li
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($tab->getTab() == $stream->getTab()): ?>class="active"<? endif ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
>
|
2015-03-30 14:20:30 +00:00
|
|
|
<a href="<?=h($tab->getLink())?>">
|
|
|
|
<?=h($tab->getDisplay())?>
|
2014-10-19 10:12:20 +00:00
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<? endforeach ?>
|
|
|
|
</ul>
|
|
|
|
|
2015-02-27 16:21:51 +00:00
|
|
|
<div class="player-wrap tab-content">
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane active">
|
2015-03-30 14:20:30 +00:00
|
|
|
<? require("$assemblies/player/".$stream->getPlayerType().".phtml") ?>
|
2015-02-27 16:21:51 +00:00
|
|
|
</div>
|
2014-10-20 19:20:08 +00:00
|
|
|
</div>
|
|
|
|
|
2015-02-28 18:12:27 +00:00
|
|
|
<ul class="nav nav-functions nav-tabs nav-justified" role="tablist">
|
2014-12-20 10:57:09 +00:00
|
|
|
<li class="active">
|
|
|
|
<a href="#switcher" role="tab" data-toggle="tab">Formats</a>
|
|
|
|
</li>
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($room->hasChat()): ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
<li>
|
2015-03-01 10:17:27 +00:00
|
|
|
<a href="#chat" role="tab" data-toggle="tab">Chat</a>
|
2014-11-09 21:53:16 +00:00
|
|
|
</li>
|
2015-02-27 16:21:51 +00:00
|
|
|
<? endif ?>
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($room->hasSchedule()): ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
<li>
|
2015-03-30 14:20:30 +00:00
|
|
|
<a href="#schedule" role="tab" data-toggle="tab">Schedule</a>
|
2014-11-09 21:53:16 +00:00
|
|
|
</li>
|
2014-12-20 10:57:09 +00:00
|
|
|
<? endif ?>
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($room->hasFeedback()): ?>
|
2015-02-27 16:21:51 +00:00
|
|
|
<li>
|
|
|
|
<a href="#feedback" role="tab" data-toggle="tab">Feedback</a>
|
|
|
|
</li>
|
|
|
|
<? endif ?>
|
2014-12-20 10:57:09 +00:00
|
|
|
</ul>
|
2014-10-19 10:12:20 +00:00
|
|
|
|
2015-02-28 18:12:27 +00:00
|
|
|
<div class="functions-wrap tab-content">
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane active" id="switcher">
|
2015-03-30 14:20:30 +00:00
|
|
|
<? require("$assemblies/switcher/".$stream->getPlayerType().".phtml") ?>
|
2014-10-20 19:20:08 +00:00
|
|
|
</div>
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($room->hasChat()): ?>
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane" id="chat">
|
2015-03-30 14:20:30 +00:00
|
|
|
<? require("$assemblies/chat.phtml") ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
</div>
|
2015-02-27 16:21:51 +00:00
|
|
|
<? endif ?>
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($room->hasSchedule()): ?>
|
2015-03-30 19:18:09 +00:00
|
|
|
<div role="tabpanel" class="tab-pane" id="schedule">
|
|
|
|
<? require("$assemblies/schedule.phtml") ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
</div>
|
|
|
|
<? endif ?>
|
2015-03-30 14:20:30 +00:00
|
|
|
<? if($room->hasFeedback()): ?>
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane" id="feedback">
|
2015-03-30 14:20:30 +00:00
|
|
|
<? require("$assemblies/feedback.phtml") ?>
|
2015-02-27 16:21:51 +00:00
|
|
|
</div>
|
|
|
|
<? endif ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|