<?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' => 'formats', 'baseurl' => baseurl(), 'title' => 'Stream-Formats', 'subtitle' => $GLOBALS['CONFIG']['ROOMS'][$room], 'room' => $room, 'formats' => $GLOBALS['CONFIG']['FORMATS'], ));