<table width="1000" border="0" cellpadding="0" cellspacing="0">
<tr>
<td colspan="22">
<img src="Bilder/header.jpg" width="1000" height="118" alt=""></td>
</tr>
<tr>
<td>
<img src="Bilder/menu_left.jpg" width="22" height="16" alt=""></td>
<?php
$username = $_POST["username"];
$passwort = $_POST["password"];
$passwort = md5($passwort);
$log = 0;
$userdatei = fopen ("user/user.txt","r");
while (!feof($userdatei)) {
$zeile = fgets($userdatei,500);
$userdata = explode("|", $zeile);
if ($userdata[0] == $username and $passwort == trim($userdata[1])) {
$log = 1;
?>
<td colspan="2">
<a href="javascript:document.home.submit();" target="_self" title="Home"><img src="Bilder/home.jpg" width="50" height="16" alt="Home"></a></td>
<td>
<a href="javascript:document.gb.submit();" target="_self" title="Gästebuch"><img src="Bilder/gastebuch.jpg" width="99" height="16" alt="Gästebuch"></a></td>
<td colspan="3">
<a href="javascript:document.logout.submit();" target="_self" title="Logout"><img src="Bilder/logout.jpg" width="89" height="16" alt="Logout"></a></td>
<td>
<a href="javascript:document.spielen.submit();" target="_self" title="Spielen"><img src="Bilder/spielen.jpg" width="91" height="16" alt="Spielen"></a></td>
<td>
<a href="javascript:document.links.submit();" target="_self" title="Links"><img src="Bilder/links.jpg" width="63" height="16" alt="Links"></a></td>
<td colspan="3">
<a href="javascript:document.linkme.submit();" target="_self" title="Link me"><img src="Bilder/linkme.jpg" width="82" height="16" alt="Link me"></a></td>
<td>
<a href="javascript:document.vote4me.submit();" target="_self" title="Vote 4 me"><img src="Bilder/vote4me.jpg" width="100" height="16" alt="Vote 4 me"></a></td>
<td colspan="3">
<a href="javascript:document.userlist.submit();" target="_self" title="Userlist"><img src="Bilder/userlist.jpg" width="91" height="16" alt="Userlist"></a></td>
<td>
<a href="mailto:info@chrisber.de" target="_self" title="Mail me"><img src="Bilder/mailme.jpg" width="80" height="16" alt="Mail me"></a></td>
<td colspan="3">
<a href="javascript:document.impressum.submit();" target="_self" title="Impressum/Disclaimer"><img src="Bilder/impressum.jpg" width="183" height="16" alt="Impressum/Disclaimer"></a></td>
<?php
}
}
fclose($userdatei);
if ($log==0) {
?>
<td colspan="2">
<a href="?s=home" target="_self" title="Home"><img src="Bilder/home.jpg" width="50" height="16" alt="Home"></a></td>
<td>
<a href="?s=gb" target="_self" title="Gästebuch"><img src="Bilder/gastebuch.jpg" width="99" height="16" alt="Gästebuch"></a></td>
<td colspan="3">
<a href="?s=login" target="_self" title="Login"><img src="Bilder/login.jpg" width="64" height="16" alt="Login"></a></td>
<td>
<a href="?s=registrieren" target="_self" title="Registrieren"><img src="Bilder/registrieren.jpg" width="116" height="16" alt="Registrieren"></a></td>
<td>
<a href="?s=links" target="_self" title="Links"><img src="Bilder/links.jpg" width="63" height="16" alt="Links"></a></td>
<td colspan="3">
<a href="?s=linkme" target="_self" title="Link me"><img src="Bilder/linkme.jpg" width="82" height="16" alt="Link me"></a></td>
<td>
<a href="?s=vote4me" target="_self" title="Vote 4 me"><img src="Bilder/vote4me.jpg" width="100" height="16" alt="Vote 4 me"></a></td>
<td colspan="3">
<a href="?s=userlist" target="_self" title="Userlist"><img src="Bilder/userlist.jpg" width="91" height="16" alt="Userlist"></a></td>
<td>
<a href="mailto:info@chrisber.de" target="_self" title="Mail me"><img src="Bilder/mailme.jpg" width="80" height="16" alt="Mail me"></a></td>
<td colspan="3">
<a href="?s=impressum" target="_self" title="Impressum/Disclaimer"><img src="Bilder/impressum.jpg" width="183" height="16" alt="Impressum/Disclaimer"></a></td>
<?php
}
?>
... |