Głowie się i głowie i nie wiem czemu mój formularz nie działa

nie moge znaleźć żadnego błędu :/
Proszę jakiegoś speca o looknięcie w kod (dla was to będzie minutka)
<?php
if (empty($_POST['submit'])) {
echo '<table align="center" border="0" cellspacing="3" cellpadding="0"><form method="post"> <tr>
<td align="right" class="uni_01">subject </td>
<td class="uni_01">
<input type="text" name="imie" size="35" value="" class="kontakt"></td>
</tr>
<tr>
<td align="right" class="uni_01">e-mail </td>
<td class="uni_01">
<input type="text" name="email" size="35" value="" class="kontakt">
</td>
</tr>
<tr>
<td align="right" class="uni_01">message </td>
<td class="uni_01">
<textarea name="tresc" cols="50" rows="14"></textarea>
</td>
</tr>
<tr>
<td align="right" valign="top" class="uni_01"> </td>
<td class="uni_01">
<input style="font-weight: bold;" type="submit" name="submit" value="submit">
<input type="reset" value="reset"></form>
</td>
</tr>
</table>';
}
elseif (!empty($_POST['tresc']) && !empty($_POST['imie']) && !empty($_POST['email'])) { $message = 'Temat: $_POST[imie]\n\nTreśc wiadomości: $_POST[tresc]';
$header = 'From: $_POST[email] <$_POST[email]>';
@mail("kawex@scores24.net","KaweX.com - $_POST[imie]","$message","$header") or
die('Nie udalo sie wyslac wiadomości');
echo '<center><font color="#C3A54D">Your email has been sent.<br><br>We will contact you as soon as possible.</font></center> <script type="text/javascript">setTimeout('window.location.href=http://kawex.com',7000)</script>';
}
else echo '<center><blink><font color="#C3A54D">!!</font></blink> Do not leave any fields blank <blink><font color="#C3A54D">!!</font></blink><br><br>[ <a href="contact">back</a> ] </center>';
?>