if(isset($_GET['url'])){
$get = $_GET['url'];
$load = (file_exists($get.php)) ? "$get.php" : "home.php"; // use home or 404 page and change the paths if the include file is in a subdirectory
}else{
$load = "home.php";
}