Whoops, it looks like you have an invalid PHP version.

Mijnadvertentie site heeft PHP 5 or hoger nodig.

'; exit; }*/ require("basicincludes.php"); //check if blocked $sQuery = "SELECT * FROM blocked WHERE blocked_ip = '".$_SERVER["REMOTE_ADDR"]."' "; $oQueryResult = $oController->db->Execute($sQuery); if($oQueryResult->fetchCount() > 0) { }else{ if($request->view != "") { if($request->view == ADMINDIR) { $oDefines->setPageDefines(LANGUAGE,1); $oController->loadAdminModel("GlobalModel","GlobalModel"); $newrequest = explode("/",$request->action_address); if(count($newrequest) > 2){ $request->view = $newrequest[1]; $oPage = $oPageHandler->getPage($request->view,1); }else{ $request->view = "index"; $oPage = $oPageHandler->getPage($request->view,1); } if(isset($oPage->page_cache) && $oPage->page_cache == 1) { $cache = new Cache; $cache->startCache($oPage->page_cachetime); } if($oPage === false) { $request->view = "notfound"; $oPage = $oPageHandler->getPage($request->view,1); } define("PAGE_ID",$oPage->page_id); define("PAGE_NAME",$oPage->page_internal_name); $oTemplate = new Template(); $oTemplate->setThemeDir(ADMINDIR); $oController->loadAdminModel($oPage->pagemodel_pagemodel,$oPage->pagemodel_pagemodel); } else { $oDefines->setPageDefines(LANGUAGE); $oController->loadModel("GlobalModel","GlobalModel"); $oPage = $oPageHandler->getPage($request->view); define("PAGE_ID",$oPage->page_id); define("PAGE_NAME",$oPage->page_internal_name); if(isset($oPage->page_cache) && $oPage->page_cache == 1) { $cache = new Cache; $cache->startCache($oPage->page_cachetime); } $oTemplate = new Template(); if(TEMPLATE_DIR != "") { $oTemplate->setThemeDir(TEMPLATE_DIR); } else { $oTemplate->setThemeDir(DEFAULT_TEMPLATE_DIRECTORY); } $oController->loadModel($oPage->pagemodel_pagemodel,$oPage->pagemodel_pagemodel); } } else { $oDefines->setPageDefines(LANGUAGE); $oController->loadModel("GlobalModel","GlobalModel"); $oPage = $oPageHandler->getPage("index"); define("PAGE_ID",$oPage->page_id); define("PAGE_NAME",$oPage->page_internal_name); if(isset($oPage->page_cache) && $oPage->page_cache == 1) { $cache = new Cache; $cache->startCache($oPage->page_cachetime); } $oTemplate = new Template(); if(TEMPLATE_DIR != "") { $oTemplate->setThemeDir(TEMPLATE_DIR); } else { $oTemplate->setThemeDir(DEFAULT_TEMPLATE_DIRECTORY); } $oController->loadModel($oPage->pagemodel_pagemodel,$oPage->pagemodel_pagemodel); } $currentPageModel = $oController->getModel($oPage->pagemodel_pagemodel,$oPage->pagemodel_pagemodel); $request->bindModelVars($currentPageModel->getTemplateVariables()); $oController->setRequest($request); if(MAPS == 1) { if(MAP_TYPE == "google") { $oPhoogle = new PhoogleMap(); $oTemplate->setMapObject($oPhoogle); } elseif(MAP_TYPE == "ovi" && OVIMAPSAPICODE != ""){ $oOvi = new OviMap(); $oTemplate->setMapObject($oOvi); } } $oTemplate->setTranslation($_SESSION["language_iso"]); $oController->setTemplateObject($oTemplate); $oController->setClassesObject($oClasses); $oTemplate->setCurrencySign(CURRENCY_SIGN); $oTemplate->setCurrencyValue(CURRENCY_FACTOR); $aCurrencies = $oDefines->getCurrencyDefines(); $oTemplate->setCurrencies($aCurrencies); echo $oController->output(); if(isset($oPage->page_cache) && $oPage->page_cache == 1) { $cache->closeCache(); } } ?>