aboutsummaryrefslogtreecommitdiff
path: root/template/relive.phtml
blob: d263f8e75407ef26bc92a8a1760c4d2a0deaa488 (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
<div class="container">
	<h1><?=h($title)?></h1>
	<h2 style="color: red;">Extreme Beta !!!</h1>

	<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>