/**
* This file is part of the »opcodeCMS« PHP-Framework (Version 1.0)
* Copyright by Dominik Jain (core framework) and Anil K. Jain (modules)
* This code may not be changed, copied or distributed without prior permission.
* Please, visit http://www.opcodecms.de for contact information, licensing and support. Encoding check: ÄÖÜ!
*/
include_once "open.inc.php";
include_once "core/config.inc.php";
include_once "modules/module.inc.php";
if (file_exists("MenuModule.object.inc.php"))
include_once "MenuModule.object.inc.php";
?>
- Sitemap
if(!$config_checkframeset)
include "header.inc.php";
?>
if($config_checkframeset)
echo '';
else {
echo '';
include "pre_content.inc.php";
}
?>
Sitemap
if (file_exists("MenuModule.object.inc.php")) {
if($MenuModule->useRelease) {
$cond_release = "and IF(release_date is null,1,release_date <= curdate())";
}
else {
$cond_release = "";
}
if($MenuModule->useExpiry) {
$cond_expiry = "and IF(expiry_date is null,1,expiry_date >= curdate())";
}
else {
$cond_expiry = "";
}
$resitems = mysql_query("select * from menu_items where item_id is NULL and visible=1 $cond_release $cond_expiry order by IF(sort_order IS NULL,1,0), sort_order, title_ger");
$MenuModule->listing($resitems, 1, NULL, 5);
}
else
include_once "sitemap.inc.php";
?>
if(!$config_checkframeset)
include "post_content.inc.php";
?>