echo $website_title . ' - '; while ($page_title = current($GLOBALS['core_pages'])) { if ($page_title == $_GET['p'] . '.php') { echo key($GLOBALS['core_pages']); $foundPT = true; } next($GLOBALS['core_pages']); } if (!isset($foundPT)) { echo ucfirst($_GET['p']); } ?> </title> <?php $content = new Page('styles/' . $template['path'] . '/template.html'); $content->loadCustoms(); $content->replace_tags(array('content' => 'modules/content.php')); $content->replace_tags(array('menu' => 'modules/menu.php')); $content->replace_tags(array('login' => 'modules/login.php')); $content->replace_tags(array('account' => 'modules/account.php')); $content->replace_tags(array('serverstatus' => 'modules/server_status.php')); $content->replace_tags(array('slideshow' => 'modules/slideshow.php')); $content->replace_tags(array('footer' => 'modules/footer.php')); $content->replace_tags(array('loadjava' => 'includes/javascript_loader.php')); $content->replace_tags(array('social' => 'modules/social.php')); $content->replace_tags(array('alert' => 'modules/alert.php')); ?> </head> <body> <?php $dirname = "install/";