aboutsummaryrefslogtreecommitdiff
path: root/template
diff options
context:
space:
mode:
authorMaZderMind2014-10-01 10:33:00 +0200
committerMaZderMind2014-10-01 10:33:00 +0200
commitbf4c140f5438101d87dcb0395c7c778585b7fe09 (patch)
tree6ebaf53ec3205222ca00796f9d880f719b2bb54a /template
31c3 php player site
Diffstat (limited to 'template')
-rw-r--r--template/page.phtml59
-rw-r--r--template/rooms.phtml8
2 files changed, 67 insertions, 0 deletions
diff --git a/template/page.phtml b/template/page.phtml
new file mode 100644
index 0000000..282b195
--- /dev/null
+++ b/template/page.phtml
@@ -0,0 +1,59 @@
+<!DOCTYPE html>
+
+<!--
+
+ 1010101010101010101010101010101
+ 0 0 ◺ ◺
+ 1 0 0 0\ 10 01
+ 0 · 1 101010101010101010101\ 10 0 ◺
+ 1 · · 0 10 10 10 10
+ 0 · · 1010101010101010101010101010 1 10 10 10 10
+ 1 · · 10\10 10 101 1010
+ 0 · · 1010101010101010101010101010 1010101010101010
+ 1 · · 0 10101010231010101010
+ 0 · 1 101010101010101010101010101010101 10 10
+ 1 0 0 1/ 101010 101 1 0
+ 0 0 10 01
+ 1010101010101010101010101010101 101010 10
+ 10101010101 10 1
+ 101 01
+ 101010101010 10
+ This website 1010101010 10
+ shall be bound to __ _____ ___ 101
+ serve cat content \ \ / / _ \ / __| 10101010101
+ \ V / (_) | (__ 101 101
+ c3\_/ \___/ \___|.de 10 101
+ 10 10 10 101
+ 10 10 10 10 10
+ 101 10 10 10101
+ 10 10 10
+ 10 10
+ 1010 10 10
+ 10101 10 10
+ 10
+ 10
+ 10
+ 10
+ streaming.media.ccc.de
+-->
+
+<html>
+ <head>
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
+ <title><?=h($title)?> - 31C3 Streaming</title>
+
+ <base href="<?=h($baseurl)?>" />
+ <link type="text/css" rel="stylesheet" href="assets/css/lustiges-stylesheet.css" />
+
+ <script type="text/javascript" src="assets/js/jquery-1.8.3.min.js"></script>
+ <script type="text/javascript" src="assets/js/lustiger-player.js"></script>
+ </head>
+ <body>
+ <h1><?=h($title)?> - 31C3 Streaming</h1>
+ <? if(@$subtitle): ?>
+ <h2><?=h($subtitle)?></h2>
+ <? endif ?>
+
+ <? include("$page.phtml") ?>
+ </body>
+</html>
diff --git a/template/rooms.phtml b/template/rooms.phtml
new file mode 100644
index 0000000..e4e7227
--- /dev/null
+++ b/template/rooms.phtml
@@ -0,0 +1,8 @@
+<ul>
+ <? foreach($formats as $format): ?>
+ <li class="<?=h($format)?>">
+ <a href="<?=h(link_player($room, $format))?>"><?=h(ucfirst($format))?></a>
+ (<a href="<?=h(link_player($room, $format, true))?>">translated</a>)
+ </li>
+ <? endforeach ?>
+</ul>