$data[2], "tekst" => "$data[0]", "link" => trim($data[1])); } } foreach ($buttons as $key => $row) { $volgorde[$key] = $row["volgorde"]; } array_multisort($volgorde, SORT_ASC, $buttons); } // Get text if (!$var_id) { $var_id = 1; } $txt_data = explode("|eol|", @file_get_contents("cms/_content/$var_id.txt")); $tekst = $txt_data[1]; $l_user = trim($txt_data[3]); $l_pass = trim($txt_data[4]); if ($l_user && $l_pass) { function authenticate_user() { Header("WWW-Authenticate: Basic realm=\"Beveiligde pagina\""); Header("HTTP/1.0 401 Unauthorized"); echo "Geen toegang !\n"; exit; } if(!isset($PHP_AUTH_USER) || $PHP_AUTH_USER != "$l_user" || $PHP_AUTH_PW != "$l_pass") { authenticate_user(); } if ($PHP_AUTH_USER != "$l_user" || $PHP_AUTH_PW != "$l_pass") { header("Location: http://www.bridgeandtarget.nl/"); } } ?> SATS | Syn Alia Training Systems
\n"; } ?>