/*==================================================================*\ ###################################################################### # 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: /listingdetail.php # ---------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------- # LOAD CONFIG # ---------------------------------------------------------------------------------------------------- include("./conf/loadconfig.inc.php"); # ---------------------------------------------------------------------------------------------------- # SESSION # ---------------------------------------------------------------------------------------------------- session_start(); # ---------------------------------------------------------------------------------------------------- # MOD-REWRITE (Must be the first include loaded) # ---------------------------------------------------------------------------------------------------- include(EDIRECTORY_ROOT."/includes/code/mod_rewrite.inc"); # ---------------------------------------------------------------------------------------------------- # SUBMIT # ---------------------------------------------------------------------------------------------------- if ($_SERVER["REQUEST_METHOD"] == "POST") { extract($_POST); if ($_POST["id"]) $listing = new Listing($_POST["id"]); $error = ""; if (!validate_email($to)) $error .= "
/* LEFT COLUMN */ ?> // LEFT SEARCH include("listingsearch.php"); ?> include("browsecategories.php"); ?> if(GOOGLE_ADS_ENABLED == "on") { include(INCLUDES_DIR."/code/google_ads.php"); } ?>
/* RIGHT COLUMN */ ?> /* « Back to Search */ ?> if (!$listingMsg) { $user = true; include(INCLUDES_DIR."/views/view_listing_detail_".$listing->getNumber("level").".inc"); } else { echo "# ---------------------------------------------------------------------------------------------------- # FOOTER # ---------------------------------------------------------------------------------------------------- $banner_section = "listing"; include(EDIRECTORY_ROOT."/layout/footer.php"); ?>".$listingMsg." "; } ?>