Kód souboru novy_obyvatel_form.php pro opsání

<?php
echo"<html>
<head>
<meta http-equiv=\"Content-Language\" content=\"cs\">
<meta http-equiv=\"Content-Type\" content=\"text/html; charset=windows-1250\">
<title>Registr obyvatel mého města</title>
</head>";

echo"<div align=\"center\">
<table border=\"0\" width=\"800\" cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td></td>
</tr>
</table>
</div>
<form method=\"POST\" action=\"novy_obyvatel.php?volba=1\">
<div align=\"center\">
<table border=\"1\" width=\"800\" cellspacing=\"0\" cellpadding=\"0\" id=\"table1\" bordercolor=\"#000000\" style=\"border-bottom-width: 0px\">
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: solid; border-top-width: 1px; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\"><b><font size=\"6\">Registr obyvatel mého města</font></b></td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">Přidat nového obyvatele&nbsp; </td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">
<a title=\"Výpis všech obavatel netříděný\" target=\"_self\" href=\"vypis.php\">
Výpis všech oyvatel</a></td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\"><a target=\"_self\" href=\"http://www.pokuston2.borec.cz/smazat_obyvatele.php\">
Smazání vybraného obyvatele</a></td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">
<a target=\"_self\" href=\"http://www.pokuston2.borec.cz/edit_obyvatel.php\">Změna obyvatele&nbsp;
</a> </td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">
<a target=\"_self\" href=\"http://www.pokuston2.borec.cz/statistika.php\">Statistika&nbsp;
</a> </td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\"><font color=\"#FF0000\">".$text_chyby."<br>".$text_chyby2."<br>".$text_chyby3."</font></td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
</tr>
<tr>
<td width=\"403\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">Jméno: <input type=\"text\" name=\"jmeno\" size=\"40\"></td>
<td width=\"397\" style=\"border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">Příjmení:
<input type=\"text\" name=\"prijmeni\" size=\"40\"></td>
</tr>
<tr>
<td width=\"403\" align=\"center\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
<td width=\"397\" align=\"center\" style=\"border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
</tr>
<tr>
<td width=\"403\" align=\"center\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
Věk: <input type=\"text\" name=\"vek\" size=\"20\"> <font color=\"#FF0000\">&nbsp;*vkládejte
pouze čísla</font></td>
<td width=\"397\" align=\"center\" style=\"border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
Zaměstnání: <input type=\"text\" name=\"zamestnani\" size=\"40\"></td>
</tr>
<tr>
<td width=\"403\" align=\"center\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: none; border-right-width: medium; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
<td width=\"397\" align=\"center\" style=\"border-left-style: none; border-left-width: medium; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">&nbsp;</td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: none; border-bottom-width: medium\">
<p align=\"center\">Pohlaví: muž
<input type=\"radio\" value=\"M\" checked name=\"pohlavi\">&nbsp; žena
<input type=\"radio\" name=\"pohlavi\" value=\"Z\"></td>
</tr>
<tr>
<td width=\"800\" colspan=\"2\" style=\"border-left-style: solid; border-left-width: 1px; border-right-style: solid; border-right-width: 1px; border-top-style: none; border-top-width: medium; border-bottom-style: solid; border-bottom-width: 1px\">&nbsp;</td>
</tr>
</table>
</div>
<p align=\"center\"><input type=\"submit\" value=\"Odeslat\" name=\"B1\"></p>
</form>";
?>