'Home', //'showcase'=>'Showcase', 'slb'=>'SLB', 'contact'=>'Contact' ); if (isset($_GET['page']) && array_key_exists($_GET['page'],$pages)){ $curpage = $_GET['page']; } else { $curpage = 'home'; }; switch ($curpage){ case 'showcase': break; case 'slb': break; case 'contact': break; default: $pagetitle = 'Home'; } $pagetitle = $pages[$curpage]; include "./includes/header.php"; include "./includes/menu.php"; include "./includes/".$curpage.".php"; include "./includes/footer.php"; ?>