<?php
#   Copyright by Manuel
#   Support www.ilch.de

defined ('main') or die ( 'no direct access' );

$suchtpl = <<<HTML
<form action="index.php?search" method="GET">
<a href="index.php?search"><div class="search_es"></div></a>
<input class="search_field" type="text" value="Suchbegriff eingeben" onFocus="if (value == 'Suchbegriff eingeben') {value = ''}" onBlur="if (value == '') {value = 'Suchbegriff eingeben'}" name="search" />
<input type="hidden" name="in" value="2" />
<input class="search_button" type="submit" value="" />
</form>
HTML;

$tpl = new tpl ($suchtpl,3);
$tpl->set ('size', 16);
if(isset($_GET['search']))
	$tpl->set ('search', escape($_GET['search'],'string'));
else $tpl->set ('search', '');
$tpl->out(0);

?>