aboutsummaryrefslogtreecommitdiff
path: root/party.php
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--party.php20
1 files changed, 20 insertions, 0 deletions
diff --git a/party.php b/party.php
new file mode 100644
index 0000000..045de26
--- /dev/null
+++ b/party.php
@@ -0,0 +1,20 @@
+<?php
+
+require_once('lib/PhpTemplate.php');
+require_once('lib/helper.php');
+require_once('config.php');
+
+$room = $_GET['room'];
+
+$tpl = new PhpTemplate('template/page.phtml');
+echo $tpl->render(array(
+ 'page' => 'party',
+
+ 'baseurl' => baseurl(),
+ 'title' => $GLOBALS['CONFIG']['ROOMS'][$room],
+
+ 'rooms' => $GLOBALS['CONFIG']['ROOMS'],
+
+ 'room' => $room,
+ 'roomname' => $GLOBALS['CONFIG']['ROOMS'][$room],
+));