/**
* 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: ÄÖÜ!
*/
$root = "";
include_once "open.inc.php";
include_once "core/config.inc.php";
include_once "modules/module.inc.php";
if($config_checkframeset)
echo '';
else
echo '';
?>
if(!$config_checkframeset)
include "header.inc.php";
?>
if($config_checkframeset)
include "index.inc.php";
else {
echo "\t".''."\n\n";
echo "\t".''."\n\n";
echo "\t".''."\n\n";
echo ''."\n\n";
echo ''."\n\n";
include "pre_content.inc.php";
if(file_exists("start.inc.txt")) {
readfile("start.inc.txt");
}
include_once "ImageflowModule.object.inc.php";
echo '
';
if(isset($_GET["id"])) {
$id = (int)$_GET["id"];
$idcond = 'where category_id=\''.$id.'\'';
}
else {
$idcond = '';
}
$resitems = mysql_query("select imageflow_images.* from imageflow_images $idcond order by IF(sort_order IS NULL,1,0), sort_order, title, id");
$ImageflowModule->flowlisting($resitems, 1, "images/imageflow");
echo '
';
echo '
';
include_once "NewsModule.object.inc.php";
include_once "EventModule.object.inc.php";
$resevents = mysql_query("select events.*, event_categories.category, event_categories.sort_order from events left join event_categories on events.category_id=event_categories.id where visible='1' and featured='1' and events.beg_date >= curdate() order by events.beg_date, events.beg_time, IF(event_categories.sort_order IS NULL,1,0), event_categories.sort_order, event_categories.category, events.title");
$selectnews = "select news.*, news_categories.category from news left join news_categories on news.category_id=news_categories.id where release_date <= curdate() and IF(expiry_date is null,1,expiry_date >= curdate()) and featured='1' order by news.release_date desc, news.headline limit 2";
if(mysql_num_rows(mysql_query($selectnews))) {
echo '';
echo '