aboutsummaryrefslogtreecommitdiff
path: root/template/relive.phtml
blob: 86b5b3f20955e3a991afcdf2289f1519aa58f75f (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
<div class="container">
	<h1><?=h($title)?></h1>

	<div class="row">
		<div class="alert alert-danger" role="alert">
			<i class="fa fa-exclamation-circle"></i>
			<strong>Danger!</strong> Extreme Beta!!!
		</div>
	</div>

	<div class="event-previews relive">

		<? foreach ($talks as $talk): ?>
			<a class="event-preview <?=h($talk['status'])?>"
				<? if($talk['status'] == 'released'): ?>
					href="<?=h($talk['release_url'])?>"
				<? else: ?>
					href="<?=h(link_vod($talk['id']))?>"
				<? endif ?>
			>
				<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 ?>

	</div>
</div>