if(!$_GET['pagina']) $_GET['pagina'] = "home"; if(file_exists($_GET['pagina'].'.php')) include($_GET['pagina'].'.php'); else include("error.php"); ?>