include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/appHeader.php"); include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/globalphpclasses/clsIframe.php"); include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/globalphpclasses/clsLogin.php"); include_once($_SERVER['DOCUMENT_ROOT'] . "/includes/globalphpclasses/clsContent.php"); /* Lets declare the vars */ $strOrigin = NULL; $strSZUser = NULL; $strLB = NULL; $objContent = new clsContent(); /* Lets get form variables */ if (array_key_exists("origin", $_REQUEST)) { $strOrigin = trim( $_REQUEST["origin"] ); } if (array_key_exists("szUser", $_REQUEST)) { $strSZUser = trim( $_REQUEST["szUser"] ); } if (array_key_exists("lb", $_REQUEST)) { $strLB = trim( $_REQUEST["lb"] ); } if (array_key_exists("origin", $_COOKIE)) { $strOrigin = trim( $_COOKIE["origin"] ); } $objCDMTopNavigation = new clsNavigation(); //--Set Title--// $objCDMTopNavigation->__set("strSportType","Fantasy ".ucfirst(cstSPORTTYPE)); $objCDMTopNavigation->__set("strPageTitle",cstGAMENAME); $objCDMTopNavigation->__set("strPageName","home"); $objCDMTopNavigation->__set("strArea","home"); $objCDMTopNavigation->__set("strMetaTagSite",cstSPORT); if ($objCompany->company_abrev != "tgc") { $objCDMTopNavigation->setHTMLHeaders(); } $objIframe = new clsIframe(); //--Lets figure out which masthead to show, Enter now, GIP, or Game over--// $mastHead = NULL; $difference = $objIframe->getDateDifference(cstENTRYDEADLINE,"signupcost"); if ($difference["minutes"] == 0 && $difference["seconds"] == 0) { //--Enter deadline over, game in progress--// $mastHead = "-gip"; $difference2 = $objIframe->getDateDifference(cstGAMEOVER,"signupcost"); if ($difference2["minutes"] == 0 && $difference2["seconds"] == 0) { //--Game Over--// $mastHead = "-gameover"; } } $objCDMTopNavigation->getTopNavigation(); if ($objCompany->company_abrev == "tgc") { ?>
![]() |