PHP interesse |
|
Mijn base.php wil niet includen
help mij, want ik zie de fout niet
<?
if(isset($_GET[ 'pagina'])){
switch(strtolower($_GET['pagina']))
{
case 'nieuws': $page="includes/nieuws.php";break;
case 'reviews': $page="includes/reviews.php";break;
case 'previews': $page="includes/previews.php";break;
case 'leden': $page="includes/leden.php";break;
case 'crew': $page="includes/crew.php";break;
case 'downloads': $page="includes/downloads.php";break;
case 'specials': $page="includes/specials.php";break;
case 'hardware': $page="includes/hardware.php";break;
case 'registreer': $page="includes/aanmelden.php";break;
case 'login': $page="includes/inloggen.php";break;
case 'zoeken': $page="includes/zoeken.php";break;
case 'disclaimer': $page="includes/disclaimer.php";break;
default: $page="base.php";
}
include($page);
}
?>
<? if(isset($_GET[ 'pagina'])){ { case 'nieuws': $page="includes/nieuws.php";break; case 'reviews': $page="includes/reviews.php";break; case 'previews': $page="includes/previews.php";break; case 'leden': $page="includes/leden.php";break; case 'crew': $page="includes/crew.php";break; case 'downloads': $page="includes/downloads.php";break; case 'specials': $page="includes/specials.php";break; case 'hardware': $page="includes/hardware.php";break; case 'registreer': $page="includes/aanmelden.php";break; case 'login': $page="includes/inloggen.php";break; case 'zoeken': $page="includes/zoeken.php";break; case 'disclaimer': $page="includes/disclaimer.php";break; default: $page="base.php"; } include($page); } ?>
|