0) { $items = file($database, FILE_IGNORE_NEW_LINES | FILE_SKIP_EMPTY_LINES); foreach ($items as $line) { list($username, $password, $email, $name, $active) = explode('|', trim($line)); if ($username == $_POST['username'] && $active != "0" && $password == $crypt_pass) { $found = true; $db_email = $email; $db_fullname = $name; $db_username = $username; break; } } } if ($found == false) { header('Location: '.$error_page); exit; } else { $_SESSION['email'] = $db_email; $_SESSION['fullname'] = $db_fullname; $_SESSION['username'] = $db_username; $_SESSION['expires_by'] = time() + $session_timeout; $_SESSION['expires_timeout'] = $session_timeout; $rememberme = isset($_POST['rememberme']) ? true : false; if ($rememberme) { setcookie('username', $db_username, time() + 3600*24*30); setcookie('password', $_POST['password'], time() + 3600*24*30); } header('Location: '.$success_page); exit; } } $username = isset($_COOKIE['username']) ? $_COOKIE['username'] : ''; $password = isset($_COOKIE['password']) ? $_COOKIE['password'] : ''; ?> SPORT-PRIJZEN.NL
alt tekst


Medailles mi lint
Medailles mi ketting
Sjieke medailles
Scepters
klik op ut plotje wa ge zien wilt
Graveren is vur niks
Log In