<?php include_once('header.php'); ?>

<h1><?=$h1?></h1>

<div class="centered">
	<form id="kontakt" method="post">
	<table>
	<?php if(!empty($error)){ ?>
	<tr class="error"><td colspan="2"><?=$error?></td></tr>
	<?php } ?>
	<?php if(!empty($ok)){ ?>
	<tr class="allright"><td colspan="2"><?=$ok?></td></tr>
	<?php } ?>
	<tr><td><?=$words[107]?></td><td><input type="text" name="who" size="40" maxlength="40" value="<?php if(!empty($user_data['who']))echo $user_data['who'];?>"></td></tr>
	<tr><td><?=$words[101]?></td><td><input type="text" name="whoemail" size="40" maxlength="40" value="<?php if(!empty($user_data['whoemail']))echo $user_data['whoemail'];?>"></td></tr>
	<tr><td><?=$words[120]?></td><td><input type="text" name="subject" size="40" maxlength="40" value="<?php if(!empty($user_data['subject']))echo $user_data['subject'];?>"></td></tr>
	<tr><td><?=$words[121]?></td><td><textarea name="message" rows="6" style="width: 400px;"><?php if(!empty($user_data['message']))echo $user_data['message'];?></textarea></td></tr>
	<tr><td><?=$words[88]?></td><td><input type="text" name="captchaword" size="40" maxlength="40"></td></tr>
	<tr><td></td><td><?=$_SESSION['captcha']['image'];?></td></tr>
	<tr><td></td><td><input type="submit" value="<?=$words[66]?>"></td></tr>
	</form>
	</table>
</div>



<?php include_once('footer.php'); ?>
