2014-12-11 23:58:36 +00:00
|
|
|
<div class="container-fluid room <?=h($type)?> <?=h($format)?> <?=h($language)?>" data-room="<?=h($GLOBALS['CONFIG']['ROOMS'][$room])?>">
|
2014-10-19 10:12:20 +00:00
|
|
|
<h1><?=h($title)?></h1>
|
|
|
|
|
|
|
|
<ul class="nav nav-tabs nav-justified">
|
2014-11-09 21:53:16 +00:00
|
|
|
<?
|
|
|
|
if($miniroom)
|
|
|
|
$tabs = array('video', 'audio');
|
2014-11-09 22:48:37 +00:00
|
|
|
else
|
|
|
|
$tabs = array('video', 'audio', 'slides');
|
2014-11-09 21:53:16 +00:00
|
|
|
?>
|
|
|
|
<? foreach($tabs as $iter): ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
<li
|
|
|
|
<? if($type == $iter):?>class="active"<? endif ?>
|
|
|
|
>
|
|
|
|
<a href="<?=h(link_player($room, $iter))?>">
|
|
|
|
<?=h(ucfirst($iter))?>
|
|
|
|
</a>
|
|
|
|
</li>
|
|
|
|
<? endforeach ?>
|
|
|
|
</ul>
|
|
|
|
|
2014-10-20 19:20:08 +00:00
|
|
|
<div class="player-wrap">
|
|
|
|
<? include("assemblies/player/$type.phtml") ?>
|
|
|
|
</div>
|
|
|
|
|
2014-11-09 21:53:16 +00:00
|
|
|
<? if(!$miniroom): ?>
|
|
|
|
<ul class="nav nav-tabs nav-justified" role="tablist">
|
|
|
|
<li class="active">
|
|
|
|
<a href="#switcher" role="tab" data-toggle="tab">Formats</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#irc" role="tab" data-toggle="tab">IRC</a>
|
|
|
|
</li>
|
|
|
|
<li>
|
|
|
|
<a href="#program" role="tab" data-toggle="tab">Program</a>
|
|
|
|
</li>
|
|
|
|
</ul>
|
|
|
|
<? endif ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
|
|
|
|
<div class="tab-content">
|
2014-11-03 20:53:30 +00:00
|
|
|
<div class="tab-pane active" id="switcher">
|
2014-11-09 21:53:16 +00:00
|
|
|
<? if($miniroom): ?>
|
|
|
|
<? include("assemblies/switcher/miniroom-$type.phtml") ?>
|
|
|
|
<? else: ?>
|
|
|
|
<? include("assemblies/switcher/$type.phtml") ?>
|
|
|
|
<? endif ?>
|
2014-10-20 19:20:08 +00:00
|
|
|
</div>
|
2014-11-09 21:53:16 +00:00
|
|
|
<? if(!$miniroom): ?>
|
|
|
|
<div class="tab-pane" id="irc">
|
|
|
|
<? include("assemblies/irc.phtml") ?>
|
|
|
|
</div>
|
|
|
|
<div class="tab-pane" id="program">
|
|
|
|
<? include("assemblies/program.phtml") ?>
|
|
|
|
</div>
|
|
|
|
<? endif ?>
|
2014-10-19 10:12:20 +00:00
|
|
|
</div>
|
|
|
|
</div>
|