<form action="index.php" method="get" enctype="multipart/form-data" name="suche">
  <div style="padding:5px">
    <input name="q" type="text" value="{$smarty.get.q|default:$smarty.get.high|truncate:100|escape:'html'}" size="20" />
    <br />
	{if checkactive('news')}
    <input class="noborder" name="search_news" type="checkbox"value="1" {if $smarty.get.search_news=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_news}
    <br />
	{/if}
	{if checkactive('articles')}
    <input class="noborder" name="search_articles" type="checkbox" value="1" {if $smarty.get.search_articles=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_articles}
    <br />
	{/if}
	{if checkactive('download')}
    <input class="noborder" name="search_downloads" type="checkbox"  value="1" {if $smarty.get.search_downloads=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_downloads}
    <br />
	{/if}
	{if checkactive('links')}
    <input class="noborder" name="search_links" type="checkbox" value="1" {if $smarty.get.search_links=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_links}
    <br />
	{/if}
	
	{if checkactive('faq')}
	<input class="noborder" name="search_faq" type="checkbox"  value="1" {if $smarty.get.search_faq=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_faq}
    <br />
	{/if}
	
	{if checkactive('gallery')}
	<input class="noborder" name="search_gallery" type="checkbox"  value="1" {if $smarty.get.search_gallery=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_gallery}
    <br />
	{/if}
	
	
	<input class="noborder" name="search_static" type="checkbox"  value="1" {if $smarty.get.search_static=='1' || $smarty.get.q==''}checked="checked"{/if} />&nbsp;&nbsp;{$lang.s_static}
	<br />
    <input size="20" class="button" type="submit" value="{$lang.search}" />
    <input name="p" type="hidden"  value="query" />
    <input name="area" type="hidden"  value="{$area}" />
</div>



</form>
