Information($m,$s); // Load Required Information if Video is present if ($_REQUEST['vi']){ $vid = $_REQUEST['vi']; $video = new Video; $video->Information(decode($vid)); $video->Views($video->id); if ($_REQUEST['section']){ $sec = $_REQUEST['section']; $section = new Section; $section->Decode($sec); $section->Information($section->sid); $section->Background($section->sid); } $module = "video"; } else if ($_REQUEST['s'] == "search"){ $module = "search"; } else if ($_REQUEST['s'] == "highlights"){ $section = new Section; $section->Background(102); $module = "highlights"; } else if ($_REQUEST['section']){ $sec = $_REQUEST['section']; $section = new Section; $section->Decode($sec); $section->Information($section->sid); $section->Background($section->sid); $module = "section"; } else { $section = new Section; $section->Background(103); $module = "landing"; } // Load Header require_once($_SERVER['DOCUMENT_ROOT'] . "/objects/includes/header.php"); // Load Module require_once($_SERVER['DOCUMENT_ROOT'] . "/modules/site/" . $module . ".php"); // Load Footer require_once($_SERVER['DOCUMENT_ROOT'] . "/objects/includes/footer.php"); ?>