<?php
// Determine filename - Because PHP_SELF returns the path along with the file name, the code below
// strips the path and only includes the filename
$currentPage = substr(strrchr($_SERVER['PHP_SELF'],'/'), -(strlen(strrchr($_SERVER['PHP_SELF'],'/')) -1));
// Retrieve page text from the database
$pageText = NULL;
$pageTextBottom = NULL;
include("incDBConnect.php");
$pageTitle = "Home";
$splashTitle = "Home";
$splashText = "<h1>$pageText</h1>";
$bottomText = "$pageTextBottom";
include("incHeader.php");
include("incTitle.php");
include("incTopMenu.php");
include("incSplash.php");
include("incBottomMenu.php");
include("incTextArea.php");
include("incFooter.php");
?>