aboutsummaryrefslogtreecommitdiff
path: root/view/relive-player.php
diff options
context:
space:
mode:
authorMaZderMind2015-03-07 17:58:07 +0100
committerMaZderMind2015-03-14 13:46:47 +0100
commit844a7d53f2d78bafba479c0d931277246ade61de (patch)
tree7a9ab7e3ddcafa878f89deecc03c6de742fa2efa /view/relive-player.php
parent8bb9b119a34717782e41124030917bd86d47f754 (diff)
Renames pages -> view
Diffstat (limited to 'view/relive-player.php')
-rw-r--r--view/relive-player.php16
1 files changed, 16 insertions, 0 deletions
diff --git a/view/relive-player.php b/view/relive-player.php
new file mode 100644
index 0000000..1517b92
--- /dev/null
+++ b/view/relive-player.php
@@ -0,0 +1,16 @@
+<?php
+
+$talks_by_id = relive_talks();
+$talk = @$talks_by_id[intval($_GET['id'])];
+
+if(!$talk)
+ return include('page/404.php');
+
+echo $tpl->render(array(
+ 'page' => 'relive-player',
+ 'title' => 'Relive!',
+ 'talk' => $talk,
+
+ 'width' => 1024,
+ 'height' => 576,
+));