<?
if($aendern);{
echo "<form method=\"POST\" name=\"eintragen\" action=\"index.php?goto=eintragen_&vorschau=ok\">
<h2 align=\"center\"><font face=\"Arial\">Ändern deines Eintrages</font></h2>
<table width=\"50%\" align=\"center\" bgcolor=\"#FF9933\">
<tr>
<td width=\"100%\" align=\"center\"><b><font size=\"3\" face=\"Arial\">Name:</font></b><br><input type=\"text\" name=\"name\" value=\"".$_POST['name']."\" size=\"35\"></td>
</tr>
<tr>
<td width=\"100%\" align=\"center\"><font face=\"Arial\" size=\"3\"><b>Homepage:</b></font><br><input type=\"text\" name=\"homepage\" value=\"".$_POST['homepage']."\" size=\"35\"></td>
</tr>
<tr>
<td width=\"100%\" align=\"center\"><font size=\"3\" face=\"Arial\"><b>Email:</b></font><br><input type=\"text\" name=\"email\" value=\"".$_POST['email']."\" size=\"35\"></td>
</tr>
<tr>
<td width=\"100%\" align=\"center\"><b><font face=\"Arial\" size=\"3\">Bewertung:</font></b><br><select size=\"1\" value=\"".$_POST['bewertung']."\" name=\"bewertung\">
<option>super geil</option>
<option>super</option>
<option>toll</option>
<option>ok</option>
<option>naja</option>
<option>nicht so gut</option>
<option>schlecht</option>
<option>e!</option>
</select></td>
</tr>
<tr>
<td width=\"100%\" align=\"center\"><font face=\"Arial\" size=\"3\"><b>Nachicht:</b></font><br><textarea rows=\"10\" name=\"text\" value=\"".$_POST['text']."\" cols=\"55\"></textarea><br>show_smilies();</td>
</tr>
<tr>
<td width=\"100%\" align=\"center\"><input type=\"submit\" value=\"Vorschau\" name=\"B1\">
<input type=\"reset\" value=\"Löschen\" name=\"B2\"></td>
</tr>
</table>
</form>";
}else{
?>
<form method="POST" name="eintragen" action="index.php?goto=eintragen_&vorschau=ok">
<h2 align="center"><font face="Arial">Eintragen ins Gästebuch</font></h2>
<table width="50%" align="center" bgcolor="#FF9933">
<tr>
<td width="100%" align="center"><b><font size="3" face="Arial">Name:</font></b><br><input type="text" name="name" size="35"></td>
</tr>
<tr>
<td width="100%" align="center"><font face="Arial" size="3"><b>Homepage:</b></font><br><input type="text" name="homepage" size="35"></td>
</tr>
<tr>
<td width="100%" align="center"><font size="3" face="Arial"><b>Email:</b></font><br><input type="text" name="email" size="35"></td>
</tr>
<tr>
<td width="100%" align="center"><b><font face="Arial" size="3">Bewertung:</font></b><br><select size="1" name="bewertung">
<option>super geil</option>
<option>super</option>
<option>toll</option>
<option>ok</option>
<option>naja</option>
<option>nicht so gut</option>
<option>schlecht</option>
<option>e!</option>
</select></td>
</tr>
<tr>
<td width="100%" align="center"><font face="Arial" size="3"><b>Nachicht:</b></font><br><textarea rows="10" name="text" cols="55"></textarea><?php echo " <br> "; show_smilies(); ?></td>
</tr>
<tr>
<td width="100%" align="center"><input type="submit" value="Vorschau" name="B1">
<input type="reset" value="Löschen" name="B2"></td>
</tr>
</table>
</form>
<?
}
?>