NR 1:
<html> <head> {$headerinclude} </head> <body> {$header} <table width="100%" border="0" align="center"> <tr> {$usercpnav} <td valign="top"> {$errors} <table border="0" cellspacing="{$theme['borderwidth']}" cellpadding="{$theme['tablespace']}" class="tborder"> <tr> </tr> <tr> </tr> <tr> </tr> </table> <br /> </td> </tr> </table> {$footer} </body>
góra.php
<?php $punkt = 0; $wykonal = false; { if ($_GET['f5'] == '1') $punkt += "0"; if ($_GET['f5'] == '2') $punkt += "0"; if ($_GET['f5'] == '3') $punkt += "0"; if ($_GET['f5'] == '4') $punkt += "1"; } { if ($_GET['f6'] == '1') $punkt += "0"; if ($_GET['f6'] == '2') $punkt += "0"; if ($_GET['f6'] == '3') $punkt += "0"; if ($_GET['f6'] == '4') $punkt += "1"; } { if ($_GET['f7'] == '1') $punkt += "1"; if ($_GET['f7'] == '2') $punkt += "0"; if ($_GET['f7'] == '3') $punkt += "0"; if ($_GET['f7'] == '4') $punkt += "0"; } { if ($_GET['f8'] == '1') $punkt += "0"; if ($_GET['f8'] == '2') $punkt += "1"; if ($_GET['f8'] == '3') $punkt += "0"; if ($_GET['f8'] == '4') $punkt += "0"; } { if ($_GET['f9'] == '1') $punkt += "1"; if ($_GET['f9'] == '2') $punkt += "0"; if ($_GET['f9'] == '3') $punkt += "0"; if ($_GET['f9'] == '4') $punkt += "0"; } { if ($_GET['f10'] == '1') $punkt += "1"; if ($_GET['f10'] == '2') $punkt += "0"; if ($_GET['f10'] == '3') $punkt += "0"; if ($_GET['f10'] == '4') $punkt += "0"; } { if ($_GET['f11'] == '1') $punkt += "0"; if ($_GET['f11'] == '2') $punkt += "0"; if ($_GET['f11'] == '3') $punkt += "1"; if ($_GET['f11'] == '4') $punkt += "0"; } { if ($_GET['f12'] == '1') $punkt += "0"; if ($_GET['f12'] == '2') $punkt += "0"; if ($_GET['f12'] == '3') $punkt += "0"; if ($_GET['f12'] == '4') $punkt += "1"; } { if ($_GET['f13'] == '1') $punkt += "0"; if ($_GET['f13'] == '2') $punkt += "1"; if ($_GET['f13'] == '3') $punkt += "0"; if ($_GET['f13'] == '4') $punkt += "0"; } { if ($_GET['f14'] == '1') $punkt += "0"; if ($_GET['f14'] == '2') $punkt += "1"; if ($_GET['f14'] == '3') $punkt += "0"; if ($_GET['f14'] == '4') $punkt += "0"; } if($punkt <= 9) { echo "<p><span style=\"color: #CC0000\">Formularz został błędnie uzupełniony, popraw błędy.</span></p>"; $wykonal = false; } else { echo "<p><span style=\"color: #66CC00\">Gratulację wszystkie odpowiedzi podane przez Ciebie są poprawne, miłej gry!</span></p>"; echo "<p><a href=\"rejestracja4.php\" style=\"width:100%\">PrzejdĽ do formularza zakładania postaci</a></p>"; $wykonal = true; } ?>