/*==================================================================*\ ###################################################################### # # # 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: /advertise.php # ---------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------- # LOAD CONFIG # ---------------------------------------------------------------------------------------------------- include("./conf/loadconfig.inc.php"); # ---------------------------------------------------------------------------------------------------- # SITE CONTENT # ---------------------------------------------------------------------------------------------------- $contentObj = new Content(); $sitecontentinfo = $contentObj->retrieveContentInfoByType("Advertise with Us"); if ($sitecontentinfo) { $headertagtitle = $sitecontentinfo["title"]; $headertagdescription = $sitecontentinfo["description"]; $headertagkeywords = $sitecontentinfo["keywords"]; $sitecontent = $sitecontentinfo["content"]; } else { $headertagtitle = ""; $headertagdescription = ""; $headertagkeywords = ""; $sitecontent = ""; } # ---------------------------------------------------------------------------------------------------- # HEADER # ---------------------------------------------------------------------------------------------------- $extrastyle = DEFAULT_URL."/layout/advertise_front.css"; $headertag_title = $headertagtitle; $headertag_description = $headertagdescription; $headertag_keywords = $headertagkeywords; include(EDIRECTORY_ROOT."/layout/header.php"); ?>
if ($sitecontent) { echo "# ---------------------------------------------------------------------------------------------------- # FOOTER # ---------------------------------------------------------------------------------------------------- include(EDIRECTORY_ROOT."/layout/footer.php"); ?>".$sitecontent.""; } ?>$contentObj = new Content(); $content = $contentObj->retrieveContentByType("Advertise with Us Bottom"); if ($content) { echo "
- Business Listing Options
if (EVENT_FEATURE == "on") { ?>- Event Listing Options
} ?> if (BANNER_FEATURE == "on") { ?>- Banner Options
} ?> if (CLASSIFIED_FEATURE == "on") { ?>- Classified Listing Options
} ?> if (ARTICLE_FEATURE == "on") { ?>- Article
} ?>- include(EDIRECTORY_ROOT."/signup_listing.php"); ?>
if (EVENT_FEATURE == "on") { ?>
- include(EDIRECTORY_ROOT."/signup_event.php"); ?>
} ?> if (BANNER_FEATURE == "on") { ?>
- include(EDIRECTORY_ROOT."/signup_banner.php"); ?>
} ?> if (CLASSIFIED_FEATURE == "on") { ?>
- include(EDIRECTORY_ROOT."/signup_classified.php"); ?>
} ?> if (ARTICLE_FEATURE == "on") { ?>
- include(EDIRECTORY_ROOT."/signup_article.php"); ?>
} ?>
"; echo ""; } ?>".$content.""; echo "