aboutsummaryrefslogtreecommitdiff
path: root/template/page.phtml
blob: 664a65c44e6cf13daca1e58b7026394f025d54c5 (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
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
<!DOCTYPE html>

<? if($conference->isPreviewEnabled()): ?>
<!--
  RUNNING IN PREVIEW MODE
  OPEN/CLOSED INFORMATION IS IGNORED!
-->
<? endif ?>

<html>
	<head>
		<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
		<meta http-equiv='X-UA-Compatible' content='IE=edge'>

<? include("$assemblies/motd.phtml") ?>

		<title><?=h($title)?><?=h($conference->getTitle())?> Streaming</title>

		<? if($conference->isPreviewEnabled()): ?>
			<meta name="robots" content="noindex,nofollow" />
		<? else: ?>
			<meta name="robots" content="index,follow" />
		<? endif ?>

		<? if(isset($refresh)): ?>
			<meta http-equiv="refresh" content="<?=h($refresh)?>; URL=<?=h($canonicalurl)?>" />
		<? endif ?>

		<? if($conference->hasAuthor()): ?>
			<meta name="author" content="<?=h($conference->getAuthor())?>" />
		<? endif ?>

		<? if($conference->hasDescription()): ?>
			<meta name="description" content="<?=h($conference->getDescription())?>" />
		<? endif ?>

		<? if($conference->hasKeywords()): ?>
			<meta name="keywords" content="<?=h($conference->getKeywords())?>" />
		<? endif ?>

		<meta name="viewport" content="width=device-width, initial-scale=1.0" />
		<meta name="mobile-web-app-capable" content="yes" />
		<meta name="theme-color" content="#000000" />
		<meta name="apple-mobile-web-app-capable" content="yes" />

		<base href="<?=h($baseurl)?>" />
		<link href="<?=h($canonicalurl)?>" rel="canonical" />

		<link href="<?=h($assets)?>img/apple-touch-icon/57x57.png" rel="apple-touch-icon" sizes="57x57">
		<link href="<?=h($assets)?>img/apple-touch-icon/72x72.png" rel="apple-touch-icon" sizes="72x72">
		<link href="<?=h($assets)?>img/apple-touch-icon/60x60.png" rel="apple-touch-icon" sizes="60x60">
		<link href="<?=h($assets)?>img/apple-touch-icon/76x76.png" rel="apple-touch-icon" sizes="76x76">
		<link href="<?=h($assets)?>img/favicon/96x96.png" rel="icon" sizes="96x96" type="image/png">
		<link href="<?=h($assets)?>img/favicon/16x16.png" rel="icon" sizes="16x16" type="image/png">
		<link href="<?=h($assets)?>img/favicon/32x32.png" rel="icon" sizes="32x32" type="image/png">

		<link type="text/css" rel="stylesheet" href="<?=h($assets)?>mejs/mediaelementplayer.min.css" />
		<link type="text/css" rel="stylesheet" href="<?=h($conference_assets)?>gen/main.css" />

		<script type="text/javascript" src="<?=h($assets)?>js/lib/jquery.min.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>js/lib/jquery.scrollTo.min.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>js/lib/bootstrap.min.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>js/lib/bootstrap-datepicker.min.js"></script>


		<? if (preg_match('@/cut$@', $_SERVER["REQUEST_URI"])): ?>
		<link href="<?=h($assets)?>netcut/lib/videojs/video-js.min.css" rel="stylesheet">
		<link href="<?=h($assets)?>netcut/lib/videojs-markers/videojs.markers.min.css" rel="stylesheet">
		<link href="<?=h($assets)?>netcut/assets/style.css" rel="stylesheet">
		<? else: ?>
		<script type="text/javascript" src="<?=h($assets)?>mejs/mediaelement-and-player.min.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>voc-player/player.js"></script>
		<script type="text/javascript">window.Clappr = window.VOCPlayer</script>
		<script type="text/javascript" src="<?=h($assets)?>voc-player/clappr-thumbnails-plugin.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>voc-player/clappr-playback-rate-plugin.js"></script>
		<script type="text/javascript" src="<?=h($assets)?>js/lustiges-script.js"></script>
		<? endif ?>

		<? if(isset($subtitles) && $subtitles->isEnabled()): ?>
		<script type="text/javascript" src="<?=h($assets)?>js/lustige-subtitles.js"></script>
		<? endif ?>
	</head>
	<body class="<?=h(is_numeric($page[0]) ? 'e'.$page : $page)?>">
		<? if(!@$naked): ?>
			<? include("$assemblies/header.phtml") ?>
		<? endif ?>

		<? include("$page.phtml") ?>

		<? if(!@$naked): ?>
			<? include("$assemblies/footer.phtml") ?>
		<? endif ?>

		<? if(isset($schedule) && $schedule->isEnabled()): ?>
			<span class="js-schedule-settings"
				data-scheduleoffset="<?=h($schedule->getSimulationOffset())?>"
			></span>
		<? endif ?>
		<? if(isset($subtitles) && $subtitles->isEnabled()): ?>
			<span class="js-subtitles-settings"
				data-primus-url="<?=h($subtitles->getPrimusURL())?>"
				data-frontend-url="<?=h($subtitles->getFrontendURL())?>"
			></span>
		<? endif ?>


		<? if($page != 'allconferences' && $conference->hasAdditionalHtml()): ?>
			<?= $conference->getAdditionalHtml() ?>
    <? endif ?>

<!-- Google Analytics -->
<script>
(function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
(i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
})(window,document,'script','https://h539o27h2a.analytics.premiumservices.c3voc.de/analytics.min.js','ga');

ga('create', 'UA-13373-42', 'auto');
ga('send', 'pageview');
</script>
<!-- End Google Analytics -->
	</body>
</html>