aboutsummaryrefslogtreecommitdiff
path: root/party.php
blob: 045de2674ff0bfb9c85c9ff8a513f3f04c214ffc (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
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],
));