aboutsummaryrefslogtreecommitdiff
path: root/party.php
blob: 3307f35b3125f0ccf2596c3c8c59f37d0a5d8cfe (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('lib/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],
));