error_reporting(E_ERROR | E_WARNING | E_PARSE);
include("inc/configuration.php");
include("languages.php");
if ($new=="yes") {
include('inc/javascriptTypes.php');
include('inc/Formitable.class.php');
require_once ('inc/jscalendar/calendar.php');
$calendar = new DHTML_Calendar('/'.$configuration["working_dir"].'/inc/jscalendar/', 'nl', 'calendar-blue', false);
$calendar->load_files();
if($table!="modules/guestbook") include ("inc/security.php");
}
//Google maps support
if($table=="modules/googlemaps"&&isActiveModuleName("googlemaps")) {
include 'modules/googlemapswrapper.php';
}
$myUserinfo = unserialize(stripslashes($userinfo));
if(isset($lang)) {
setcookie("SiteLanguage",$lang);
}
if ($SiteLanguage=="") $SiteLanguage="nl";
doStatistics($table,$myUserinfo["ID"]);
?>
$title=$configuration["title"] . " ";
if($myUserinfo["userName"]!="") $title .= $translang[$SiteLanguage]["loggedin"].$myUserinfo["userName"]." ";
if(isset($zoek)) $title .= $translang[$SiteLanguage]["zoeken"].$zoek." ";
echo $title;
?>
if ($new=="yes") include 'inc/header.php';
if($table=="inloggen") setKeyboardFocus("login","user");
elseif($configuration["showAdvancedSearch"]==1&&$table!="modules/googlemaps") setKeyboardFocus("zoek","searchphrase");
else {}
?>
" media="all" />
//Show them rss feed (when nieuws module is enabled)
if(isActiveModuleName("nieuws")) echo ' ';
?>
if($configuration["showAdvancedSearch"]==1&&!isset($new)&&$table!="modules/googlemaps") echo '';
else echo '';
?>
>
&field=picture height=" echo $configuration["header"]["height"]; ?>">
width=100% cellspacing=0 cellpadding=0>
include 'menu.php'; ?>
// De regel hieronder bepaalt of het vak om te kunnen zoeken getoond moet worden of niet.
# showSearchFormSimple();
?>
if (isset($table)&&(!isset($new)||$new=="no")) {
//check the include and if OK, the include the script
if(checkInclude($table)) include $table.".php";
else die("Error: possible hack attempt, contact you administrator if you see this error unexpected.");
}
else if (isset($table)&&($new=="yes")) {
include 'new.php';
}
else {
include 'home.php';
}
?>
if($configuration["debug"]) {
debugArray($translang);
debugArray($configuration);
}
?>