setUpload( "uploads/" ); // instellen als er een andere naam word gebruikt # $RootVars->setSubdir( "new/" ); // alleen gebruiken voor sub directory op een domein: http://www.webmind.nl/site/ # $RootVars->setCMSdir( "onderhoud/" ); // alleen gebruiken als het anders dan cms is! # $RootVars->setPdwUpload( "media/" ); // instellen als er een andere naam word gebruikt $RootVars->init(); // haal gegevens op. $RootVars->setShowInfo(false); // true geeft class info. /* --- [ variabelen ] ---------------------------------------------------------------------------------------------------------------- */ $rootURL = $RootVars->getRootURL(); $rootDir = $RootVars->getRootDIR(); $uploadURL = $RootVars->getUploadURL(); $uploadDir = $RootVars->getUploadDIR(); $rootCMS = $rootURL.$RootVars->getCMSdir(); $rootDirCMS = $rootDir.$RootVars->getCMSdir(); $pdwPath = $RootVars->getPdwUploadPath(); $SubDir = $RootVars->getSubdir(); $adminmail = "info@eilandurk.nl"; $rightnow = time(); if(_DB_USER=="root") touch(str_replace($SubDir,"",$rootDir), time()); /* --- [ louis vuitton hack check ] ---------------------------------------------------------------------------------------------------------------- */ if(strpos("_test".$_SERVER['REQUEST_URI'], "/index.php/")) { header( "HTTP/1.1 404 Not Found" ); header("location: ".$rootURL."index.php?mode=error&type=404"); exit; } /* --- [ session check ] ---------------------------------------------------------------------------------------------------------------- */ if(isset($_SESSION)){ if(!isset($_SESSION['taalid'])) $_SESSION['taalid'] = 1; $_SESSION['rootURL'] = $rootURL; $_SESSION['rootDir'] = $rootDir; $_SESSION['uploadURL'] = $uploadURL; $_SESSION['uploadDir'] = $uploadDir; $_SESSION['DirCMS'] = $RootVars->getCMSdir(); $_SESSION['pdw_upload_path'] = $pdwPath; $_SESSION['SubDir'] = $SubDir; $_SESSION['add_sub'] = ''; } if($_SERVER['SERVER_PORT']!=80) $_SESSION['add_sub'] = $SubDir; /* --- [ menu parameters ] ---------------------------------------------------------------------------------------------------------------- */ #$portfolio_init = ''; if($_REQUEST['mode']=="portfolio" || $_REQUEST['mode']=="fotoalbum") $portfolio_init = "$.HSCore.components.HSCubeportfolio.init('.cbp');"; $menu_options = array( '1' => array( '1' => array( '0' => 'light g-bg-white g-transition-0_3 g-py-10', '1' => 'g-py-10', '2' => 'u-shadow-v18 g-py-0', '3' => '' ), '2' => array( '0' => 'dark g-bg-black g-transition-0_3 g-py-10', '1' => 'g-py-10', '2' => 'g-py-0', '3' => '' ), '3' => array( '0' => 'dark g-bg-primary g-transition-0_3 g-py-10', '1' => 'g-py-10', '2' => 'g-py-0', '3' => '' ), '4' => array( '0' => 'dark g-bg-primary-gradient-opacity-v1 g-transition-0_3 g-py-10', '1' => 'g-py-10', '2' => 'g-py-0', '3' => '' ), '5' => array( '0' => 'dark g-transition-0_3 g-py-10 g-py-10', '1' => 'g-py-10', '2' => 'g-bg-black-opacity-0_7 g-py-0', '3' => 'style="background-color: transparent !important;"' ), '6' => array( '0' => 'light g-bg-white-opacity-0_7 g-transition-0_3 g-py-10', '1' => 'g-py-10', '2' => 'u-shadow-v18 g-py-0', '3' => '' ), '7' => array( '0' => 'dark g-transition-0_3 g-bg-black-opacity-0_4 g-py-10', '1' => 'g-bg-black-opacity-0_7 g-py-10', '2' => 'g-bg-black-opacity-0_4 g-py-0', '3' => '' ), '8' => array( '0' => 'light g-brd-bottom g-brd-gray-dark-v5 g-transition-0_3 g-py-10', '1' => 'u-header__section--light g-brd-bottom g-py-10', '2' => 'u-header__section--dark g-bg-black-opacity-0_7 g-py-0', '3' => '' ), 'div-ul' => '