<link rel="stylesheet" type="text/css" href="<?php echo $main_url; ?>pages/application/template/modules/modules_css/formularza_kontaktowy_style.css" />


<?= $this->messages->get_message('green') ?>


<script type="text/javascript" src="http://plugins.jquery.com/files/issues/jquery.metadata.js_.txt"></script>
<script type="text/javascript" src="http://ajax.microsoft.com/ajax/jquery.validate/1.7/jquery.validate.pack.js"></script>
<script type="text/javascript">
$(document).ready(function(){
	$.metadata.setType("attr", "validate");
	$("form#wfk").validate();	
});
</script>


<div id="formularz_modul"> 
<form id="wfk" action="http://<?= $adres ?>/_kontakt/_wyslij_formularz" method="post">
<table border="0" style="border:0;">
	<tr>
    	<td class="width_f">Imię:</td>
        <td><input type="text" name="imie" title="Pole wymagane!" validate="required:true" /></td>
    </tr>
    <tr>
    	<td class="width_f">Nazwisko:</td>
        <td><input type="text" name="nazwisko" title="Pole wymagane!" validate="required:true" /></td>
    </tr>
    <tr>
    	<td class="width_f">Adres e-mail:</td>
        <td><input type="text" name="mail" title="Pole wymagane! Podaj poprawny adres e-mail!" validate="{required:true,email:true}" /></td>
    </tr>
    <tr>
    	<td class="width_f">Treść:</td>
        <td><textarea name="info" rows="6" title="Pole wymagane!" validate="required:true" ></textarea></td>
    </tr>
    <tr>
    	<td colspan="2">
        <input type="hidden" name="page" value="<?=$name_url;?>" />
        <input type="submit" value="Wyślij" />
       	</td>
    </tr>
</table>
</form>
</div>
<div style="clear:both;"></div>

