2015-02-28 18:12:27 +00:00
|
|
|
<div class="container <?=h($tab)?> <?=h($selection)?> <?=h($language)?>">
|
2015-02-27 16:21:51 +00:00
|
|
|
<div class="row headline">
|
|
|
|
<div class="col-xs-12">
|
|
|
|
<h1 data-room="<?=h(get("ROOMS.$room.DISPLAY"))?>"><?=h($title)?></h1>
|
|
|
|
</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">
|
|
|
|
<? foreach($tabs as $iter): ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
<li
|
2015-02-28 18:12:27 +00:00
|
|
|
<? if($tab == $iter):?>class="active"<? endif ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
>
|
|
|
|
<a href="<?=h(link_player($room, $iter))?>">
|
|
|
|
<?=h(ucfirst($iter))?>
|
|
|
|
</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-02-28 18:12:27 +00:00
|
|
|
<? include("$assemblies/player/$tab.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-01 11:02:11 +00:00
|
|
|
<? if(room_has_chat($room)): ?>
|
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 ?>
|
|
|
|
<? if(get("ROOMS.$room.SCHEDULE") && has("SCHEDULE")): ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
<li>
|
|
|
|
<a href="#program" role="tab" data-toggle="tab">Program</a>
|
|
|
|
</li>
|
2014-12-20 10:57:09 +00:00
|
|
|
<? endif ?>
|
2015-02-27 16:21:51 +00:00
|
|
|
<? if(get("ROOMS.$room.FEEDBACK") && has("FEEDBACK")): ?>
|
|
|
|
<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-02-28 18:12:27 +00:00
|
|
|
<? include("$assemblies/switcher/$tab.phtml") ?>
|
2014-10-20 19:20:08 +00:00
|
|
|
</div>
|
2015-03-01 11:02:11 +00:00
|
|
|
<? if(room_has_chat($room)): ?>
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane" id="chat">
|
|
|
|
<? include("$assemblies/chat.phtml") ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
</div>
|
2015-02-27 16:21:51 +00:00
|
|
|
<? endif ?>
|
2015-03-09 22:31:13 +00:00
|
|
|
<? if(get("ROOMS.$room.SCHEDULE") && has("SCHEDULE")): ?>
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane" id="program">
|
2014-12-15 21:59:21 +00:00
|
|
|
<? include("$assemblies/program.phtml") ?>
|
2014-11-09 21:53:16 +00:00
|
|
|
</div>
|
|
|
|
<? endif ?>
|
2015-02-27 16:21:51 +00:00
|
|
|
<? if(get("ROOMS.$room.FEEDBACK") && has("FEEDBACK")): ?>
|
2015-03-01 10:17:27 +00:00
|
|
|
<div role="tabpanel" class="tab-pane" id="feedback">
|
2015-02-27 16:21:51 +00:00
|
|
|
<? include("$assemblies/feedback.phtml") ?>
|
|
|
|
</div>
|
|
|
|
<? endif ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|