/*==================================================================*\ ###################################################################### # eDirectory 4.0.1 - Licence Number L62338e2 # # ------------------------------------------------------------------ # # Copyright 2005 Arca Solutions, Inc. All Rights Reserved. # # # # This file may not be redistributed in whole or part. # # # # ---------------- eDirectory IS NOT FREE SOFTWARE ----------------- # # # # http://www.edirectory.com | http://www.edirectory.com/license.html # ###################################################################### \*==================================================================*/ # ---------------------------------------------------------------------------------------------------- # * FILE: /conf/preconfig.inc.php # ---------------------------------------------------------------------------------------------------- error_reporting(E_ALL ^ E_NOTICE); # ---------------------------------------------------------------------------------------------------- # SUPPORT HTACCESS # ---------------------------------------------------------------------------------------------------- define(SUPPORT_HTACCESS, true); # ---------------------------------------------------------------------------------------------------- # INCLUDE GENERAL CONFIG # ---------------------------------------------------------------------------------------------------- include("config.inc.php"); ?> /*==================================================================*\ ###################################################################### # eDirectory 4.0.1 - Licence Number L62338e2 # # ------------------------------------------------------------------ # # Copyright 2005 Arca Solutions, Inc. All Rights Reserved. # # # # This file may not be redistributed in whole or part. # # # # ---------------- eDirectory IS NOT FREE SOFTWARE ----------------- # # # # http://www.edirectory.com | http://www.edirectory.com/license.html # ###################################################################### \*==================================================================*/ # ---------------------------------------------------------------------------------------------------- # * FILE: /events.php # ---------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------- # LOAD CONFIG # ---------------------------------------------------------------------------------------------------- include("./conf/loadconfig.inc.php"); # ---------------------------------------------------------------------------------------------------- # VALIDATE FEATURE # ---------------------------------------------------------------------------------------------------- if (EVENT_FEATURE != "on") { exit; } # ---------------------------------------------------------------------------------------------------- # USER ZIP LOCATION # ---------------------------------------------------------------------------------------------------- $expire = 60*60*24*30*12; unset($userZipLocation); if ($_COOKIE["UserZipLocation"]) { setcookie("UserZipLocation", $_COOKIE["UserZipLocation"], time() + $expire, "".EDIRECTORY_FOLDER.""); $userZipLocation = $_COOKIE["UserZipLocation"]; } if (isset($_GET["zip"]) || isset($_POST["zip"])) { $userziplocation = $_GET["zip"] ? $_GET["zip"] : $_POST["zip"]; if ($userziplocation) { setcookie("UserZipLocation", $userziplocation, time() + $expire, "".EDIRECTORY_FOLDER.""); $userZipLocation = $userziplocation; } else { setcookie("UserZipLocation", "", time() - $expire, "".EDIRECTORY_FOLDER.""); unset($userZipLocation); } } if ($userZipLocation) { $_POST["zip"] = $userZipLocation; $_GET["zip"] = $userZipLocation; $zip = $userZipLocation; } # ---------------------------------------------------------------------------------------------------- # HEADER # ---------------------------------------------------------------------------------------------------- $extrastyle = array(DEFAULT_URL."/layout/event_front.css", DEFAULT_URL."/layout/event_color.css"); $banner_section = "event"; include(EDIRECTORY_ROOT."/layout/header.php"); $user = true; ?>
/* LEFT COLUMN */ ?> // LEFT SEARCH include("eventsearch.php"); ?> if(GOOGLE_ADS_ENABLED == "on") { echo ""; include(INCLUDES_DIR."/code/google_ads.php"); echo " "; } ?> if (BANNER_FEATURE == "on") { ?> $banner_section = "event"; $banner = system_showBanner("TEXT_AD", $category_id, $banner_section, $amount = 1); if ($banner) { ?> } ?> } ?>
/* RIGHT COLUMN */ ?> $contentObj = new Content(); $content = $contentObj->retrieveContentByType("Event Home"); if ($content) { echo "".$content.""; } ?> include("eventcategories.php"); ?> include("featured_event.php"); ?>
// EVENT CALENDAR include(EDIRECTORY_ROOT.'/functions/calendar_funct.php'); if ($_GET["this_date"]) cal_display_month("",$_GET["this_date"]); else cal_display_month(); ?> if (BANNER_FEATURE == "on") { ?> $banner_section = "event"; $banner = system_showBanner("FEATURED", $category_id, $banner_section, $amount = 1); if ($banner) { ?># ---------------------------------------------------------------------------------------------------- # FOOTER # ---------------------------------------------------------------------------------------------------- $banner_section = "event"; include(EDIRECTORY_ROOT."/layout/footer.php"); ?>} ?> } ?>Advertisers
=$banner?>