routes = array( 0 => array( '^/?$' => "module.home.php", '^/containers/?$' => "module.list.php", '^/login/?$' => "module.login.php", '^/logout/?$' => "module.logout.php", '^/([0-9]+)(/.*)?$' => "module.vps.php" ) ); $mainrouter->RouteRequest(); } catch (UnauthorizedException $e) { $sPageTitle = "Unauthorized"; $sMainContents = "You are not authorized to view this page."; } echo(Templater::InlineRender("main", $locale->strings, array( 'title' => $sPageTitle, 'main' => $sMainContents, 'main-class' => $sMainClass ))); ?>