diff --git a/index.php b/index.php index 9eab20c..4211f78 100644 --- a/index.php +++ b/index.php @@ -5,391 +5,408 @@ include_once('includes/session.inc.php'); include_once('includes/misc.inc.php'); if (isset($_GET['logout']) or isset($_POST['logout'])) { - logout(); - header("Location: index.php"); + logout(); + header("Location: index.php"); } if (!is_logged_in() and isset($_POST['formname']) && $_POST['formname'] == "loginform") { - if (try_login() === TRUE) { - set_logged_in($_POST['username']); - } else { - $errormsg = "Error while trying to authenticate you\n"; - } + if (try_login() === TRUE) { + set_logged_in($_POST['username']); + } else { + $errormsg = "Error while trying to authenticate you\n"; + } } ?> - - - - - - - - - + + + + + + + + + + + + + + + +?>
- -
- '.$errormsg.'
'; - } - ?> -
- - - - - - - - - - - - - -
Gebruikersnaam:
Wachtwoord:
- -
-
-
+ +
+ ' . $errormsg . '
'; + } + ?> +
+ + + + + + + + + + + + + +
Gebruikersnaam:
Wachtwoord:
+ +
+
+ - -
- -
-
-
-
- -
-
-
- -
- - + +
+ +
+
+
+
+ +
+
+
+ +
+ +