rendered paste body<?php
if(!trim($_SERVER['REQUEST_URI'], "/")) {
$_GET['section'] = "home";
}
if(0){
$oops = ("<table align=\"center\" width=\"50%\"><tr><td><div align=\"center\" class=\"error-message\">Dont try and go to pages or dir's you arent supposed to!</div></td></tr></table>");
echo("$oops");
}
$page = $_GET['section'].".php";
if (!file_exists($page)) {
$oops = ("<table align=\"center\"><tr><td><div align=\"center\" class=\"error-message\">Sorry, This page requested does not exist.</div></td></tr></table>");
echo("$oops");
} else {
include($page);
}
?>