// part 1)
$aPages["hoved"] = "hoved.php";
$aPages["english"] = "english.php";
$aPages["leder"] = "leder.php";
$aPages["fiske"] = "fiske.php";
$aPages["kverneland"] = "kverneland.php";
$aPages["eriksen"] = "mads.php";
$aPages["jason"] = "jason.php";
$aPages["gefe"] = "gefe.php";
$aPages["rickenbach"] = "rickenbach.php";
$aPages["manco"] = "manco.php";
$aPages["ask"] = "ask.php";
$aPages["filmenshus"] = "filmenshus.php";
$aPages["serieteket"] = "serieteket.php";
$aPages["mir"] = "mir.php";
$aPages["film"] = "film.php";
$aPages["indigo"] = "indigo.php";
$aPages["festen"] = "festen.php";
// part 2a)
if( isset( $aPages[$_GET["p"]] ))
{
// part 2b)
require( $aPages[$_GET["p"]] );
}
// part 3)
else
{
require("hoved.php");
}
?>