if (!$_GET['x']) { $x = "n"; //default = news page } else { $x = $_GET['x']; } ?>
|
||
|
||
switch ($x) { case "n": //news include_once("news.php"); break; case "h": //history include_once("history.php"); break; case "b": //biblia include_once("biblio.php"); break; case "p": //photos include_once("photo.php"); break; case "c": //contact include_once("contact.php"); break; case "i": //information include_once("info.php"); break; } ?> | ||
|