<?php
if (isset($_GET['id'])) $PAGE = $_GET['id'];
else $ID = 'home';
switch ($ID) {
//1- index
case 'home':
include ('home.tpl.php');
break;
//2- something else
case 'home':
include ('home.tpl.php');
break;
default:
echo "<p align=center>Error 404!<br><br>The page you request doesn't exist!</p>";
break;
}
?>