\n"; if ($_POST['submit']=='abmelden') { $_SESSION['login'] = false; echo "Benutzer abgemeldet!"; } if ($_POST['submit']=='login') { $userid = strtolower($_POST['user']); $passwd = $_POST['passwd']; if($userid == 'schuetzen' && $passwd == 'schsch') { echo "Benutzer $userid angemeldet!

\n"; //echo "Kalender"; /*print"";*/ include("jax_calendar.php"); //echo "%!$wrapper ./jax_calendar/calendar.php$!%" $_SESSION['login'] = true; } else { echo "Benutzername oder Passwort falsch, bitte erneut versuchen!
\n"; $_SESSION['login'] = false; } } if ($_SESSION['login'] == false) { print "\t\t

Benutzeranmeldung:

\n"; print "
\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t\n"; print "\t\t
Benutzer:
Passwort:
\n"; print "
\n"; } else { print "\t\t

Benutzer angemeldet!

"; include("jax_calendar.php"); print "\t
\n"; print "\t\t\n"; print "\t
\n"; } print "\t\t\n"; ?>