\r\n";
include("includes/nav.php");
echo "\r\n \r\n";
if ($page === "home")
{
// home page includes jumbotron header
include("pages/home.php");
}
else
{
// page header
echo "\r\n \r\n";
include("includes/header.php");
echo "\r\n \r\n";
// page content
if ( file_exists("pages/$page.php") )
{
echo "\r\n \r\n";
include("pages/$page.php");
echo "\r\n \r\n";
}
else
{
include("404.html");
}
}
echo "\r\n \r\n";
include("includes/footer.php");
echo "\r\n \r\n";
include("includes/footer-scripts.php");
echo "\r\n \r\n";
?>