select_one ( "select id from authentification where username='" . $_POST ['username'] . "' AND password='" . $_POST ['password'] . "'" ); //$db->print_last_query(); if ($userID > 0) { $position = $db->select_one ( "select status from authentification where num=" . $userID ); $_SESSION ['userName'] = $_POST ['username']; $_SESSION ['CMSuserID'] = $userID; $_SESSION ['position'] = $position; header ( "Location: main.php" ); exit (); } } ?> Login | Profi Admin

CMS - Login

You just need to hit the button and you're in!

Incorrect username or password !

"; } ?>

Authentification