= 5) { $G = $_GET; $P = $_POST; $S = $_SERVER; $C = $_COOKIE; $F = $_FILES; } else { $G = $HTTP_GET_VARS; $P = $HTTP_POST_VARS; $S = $_SERVER; $C = $HTTP_COOKIE_VARS; $F = $_FILES; } //remove escapechars if ((function_exists("get_magic_quotes_gpc") && get_magic_quotes_gpc())) { stripslashes_deep($G); stripslashes_deep($P); stripslashes_deep($C); } while (substr($includes, -1) == '/') { $includes = substr($includes, 0, -1); } //load every .inc.php file inside the toolbox $dir_handle = @opendir($includes . '/toolbox') or die("Unable to open toolbox"); while ($file = readdir($dir_handle)) { if (strpos($file, '.inc.php') !== false) include($includes . '/toolbox/' . $file); } closedir($dir_handle); //path resolution $uri = explode('?',urldecode($S['REQUEST_URI'])); $path = explode('/',str_replace('//','/',$uri[0])); reset($path); $x = 1; foreach ($path as $directory) { if ($directory != '') { if (($x == 1) && (($directory == 'en') || ($directory == 'nl') || ($directory == 'fr') || ($directory == 'de'))) { if ($directory == 'en') { $language = 'en'; } elseif ($directory == 'fr') { $language = 'fr'; } elseif ($directory == 'de') { $language = 'de'; } else { $language = 'nl'; } } else { $xpath[$x] = makeplaintext($directory); $x++; } } } if ($language == '') $language = 'nl'; $path = $xpath; //=== //prepare configuration include('config/config.inc.php'); include($includes . '/dbconnect.inc.php'); maak_verbinding(); ?> 0) { while ($item = MYSQL_FETCH_ASSOC($result)) { $picture = (int)$item['picture']; $pic = dbfs_getbyid($picture); $thumbnail = $pic['name'] . '.' . $pic['extension']; $fullsize = $pic['name'] . '_o.' . $pic['extension']; } } $img = ''; $tekst = $img . '
' . $tekst . '
'; */ ${($language . '_active')} = 'first'; echo smplate('pages/header.html'); ?>