diff options
Diffstat (limited to 'party.php')
-rw-r--r-- | party.php | 20 |
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], +)); |