/*==================================================================*\ ###################################################################### # # # Copyright 2005 Arca Solutions, Inc. All Rights Reserved. # # # # This file may not be redistributed in whole or part. # # eDirectory is licensed on a per-domain basis. # # # # ---------------- eDirectory IS NOT FREE SOFTWARE ----------------- # # # # http://www.edirectory.com | http://www.edirectory.com/license.html # ###################################################################### \*==================================================================*/ # ---------------------------------------------------------------------------------------------------- # * FILE: /promotion/index.php # ---------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------- # LOAD CONFIG # ---------------------------------------------------------------------------------------------------- include("../conf/loadconfig.inc.php"); # ---------------------------------------------------------------------------------------------------- # SITE CONTENT # ---------------------------------------------------------------------------------------------------- $contentObj = new Content(); $sitecontentinfo = $contentObj->retrieveContentInfoByType("Promotion Home"); if ($sitecontentinfo) { $headertagtitle = $sitecontentinfo["title"]; $headertagdescription = $sitecontentinfo["description"]; $headertagkeywords = $sitecontentinfo["keywords"]; $sitecontent = $sitecontentinfo["content"]; } else { $headertagtitle = ""; $headertagdescription = ""; $headertagkeywords = ""; $sitecontent = ""; } # ---------------------------------------------------------------------------------------------------- # HEADER # ---------------------------------------------------------------------------------------------------- $extrastyle = array(DEFAULT_URL."/layout/coupon_front.css", DEFAULT_URL."/layout/coupon_color.css"); $banner_section = "listing"; $headertag_title = $headertagtitle; $headertag_description = $headertagdescription; $headertag_keywords = $headertagkeywords; include(EDIRECTORY_ROOT."/layout/header.php"); ?> /*
LEFT COLUMN ?> include(PROMOTION_EDIRECTORY_ROOT."/search.php"); ?>*/ ?> //GOOGLE ADS include(INCLUDES_DIR."/code/google_ads.php"); ?>
/* RIGHT COLUMN */ ?> if ($sitecontent) { echo "".$sitecontent.""; } ?> include(PROMOTION_EDIRECTORY_ROOT."/categories.php"); ?> include(PROMOTION_EDIRECTORY_ROOT."/featured.php"); ?> $contentObj = new Content(); $content = $contentObj->retrieveContentByType("Promotion Home Bottom"); if ($content) { echo ""; echo ""; } ?>".$content.""; echo "
$banner_section = "listing"; $banner = system_showBanner("FEATURED", $category_id, $banner_section, $amount = 2); if ($banner) { ?># ---------------------------------------------------------------------------------------------------- # FOOTER # ---------------------------------------------------------------------------------------------------- $banner_section = "listing"; include(EDIRECTORY_ROOT."/layout/footer.php"); ?>} ?> $banner_section = "listing"; $banner = system_showBanner("SPONSORED_LINKS", $category_id, $banner_section, $amount = 3); if ($banner) { ?> } ?>Advertisers