/*==================================================================*\ ###################################################################### # 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: /content/index.php # ---------------------------------------------------------------------------------------------------- # ---------------------------------------------------------------------------------------------------- # LOAD CONFIG # ---------------------------------------------------------------------------------------------------- include("../conf/loadconfig.inc.php"); # ---------------------------------------------------------------------------------------------------- # AUX # ---------------------------------------------------------------------------------------------------- extract($_POST); extract($_GET); $contentObj = new Content(); $content_id = $contentObj->retrieveIDByURL($content); if ($content_id) { $contentObj = new Content($content_id); $content_show = $contentObj->retrieveContentByURL($content); $content_title = $contentObj->getString("type"); $headertagtitle = $contentObj->getString("type"); $headertagdescription = $contentObj->getString("description"); $headertagkeywords = $contentObj->getString("keywords"); } else { $content_show = ""; $headertagtitle = ""; $headertagdescription = ""; $headertagkeywords = ""; } # ---------------------------------------------------------------------------------------------------- # HEADER # ---------------------------------------------------------------------------------------------------- $headertag_title = $headertagtitle; $headertag_description = $headertagdescription; $headertag_keywords = $headertagkeywords; include(EDIRECTORY_ROOT."/layout/header.php"); ?>
Content not available!
"; } ?> # ---------------------------------------------------------------------------------------------------- # FOOTER # ---------------------------------------------------------------------------------------------------- include(EDIRECTORY_ROOT."/layout/footer.php"); ?>