streaming-website/template/relive.phtml

46 lines
1.1 KiB
PHTML
Raw Normal View History

2015-03-02 06:35:42 +00:00
<div class="container">
2014-12-27 19:56:20 +00:00
<h1><?=h($title)?></h1>
2015-03-02 13:55:37 +00:00
<div class="row">
<div class="alert alert-danger" role="alert">
<i class="fa fa-exclamation-circle"></i>
<strong>Danger!</strong> Extreme Beta!!!
</div>
</div>
2014-12-26 00:47:21 +00:00
2014-12-27 19:56:20 +00:00
<div class="event-previews relive">
2014-12-26 00:47:21 +00:00
2014-12-27 19:56:20 +00:00
<? foreach ($talks as $talk): ?>
2014-12-28 17:11:31 +00:00
<a class="event-preview <?=h($talk['status'])?>"
<? if($talk['status'] == 'released'): ?>
href="<?=h($talk['release_url'])?>"
<? else: ?>
href="<?=h(link_vod($talk['id']))?>"
<? endif ?>
>
2014-12-27 19:56:20 +00:00
<img alt="<?=h($talk['title'])?>" class="video-thumbnail" src="http://vod.c3voc.de/relive/<?=h($talk['thumbnail'])?>">
<div class="caption">
<ul class="metadata">
<li>
<span class="fa fa-clock-o"></span>
<?=h(round($talk['duration']/60))?> min
</li>
<li>
<span class="fa fa-cogs"></span>
<?=h($talk['status'])?>
</li>
<li>
<span class="fa fa-sign-in"></span>
<?=h($talk['room'])?>
</li>
</ul>
<h3><?=h($talk['title'])?>
<? if($talk['status'] == 'live'): ?>&nbsp;(Currently Live!)<? endif ?>
</h3>
</div>
</a>
<? endforeach ?>
2014-12-26 00:47:21 +00:00
</div>
</div>