{if $smarty.request.where==''}
{if $numall >= 1}
{$countall_text}
<br style="clear:both" />

<div class="infobox">
{if $count_news >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=news&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=news&amp;p=search">{$count_news} {#Page_Search_RNews#}</a></h3><br />
{/if}

{if $count_articles >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=articles&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=articles&amp;p=search">{$count_articles} {#Page_Search_RArticles#}</a></h3><br />
{/if}

{if $count_content >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=content&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=content&amp;p=search">{$count_content} {#Page_Search_RContent#}</a></h3><br />
{/if}

{if $count_faq >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=faq&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=faq&amp;p=search">{$count_faq} {#Page_Search_RFaq#}</a></h3><br />
{/if}

{if $count_downloads >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=downloads&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=downloads&amp;p=search">{$count_downloads} {#Page_Search_RDownloads#}</a></h3><br />
{/if}

{if $count_links >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=links&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=links&amp;p=search">{$count_links} {#Page_Search_RLinks#}</a></h3><br />
{/if}

{if $count_galleries >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=gallery&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=gallery&amp;p=search">{$count_galleries} {#Page_Search_RGals#}</a></h3><br />
{/if}

{if $count_shoparticles >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=shop&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=shop&amp;p=search">{$count_shoparticles} {#Page_Search_RShop#}</a></h3><br />
{/if}

{if $count_products >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=products&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=products&amp;p=search">{$count_products} {#Page_Search_RProducts#}</a></h3><br />
{/if}

{if $count_manufacturer >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=manufacturer&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=manufacturer&amp;p=search">{$count_manufacturer} {#Page_Search_RManufacturer#}</a></h3><br />
{/if}

{if $count_cheats >= 1}
<a href="index.php?q={$smarty.get.q}&amp;where=cheats&amp;p=search"><img class="absmiddle" src="{$imgpath_page}search_small.png" alt="" border="0" /></a>&nbsp;<h3><a href="index.php?q={$smarty.get.q}&amp;where=cheats&amp;p=search">{$count_cheats} {#Page_Search_RCheats#}</a></h3><br />
{/if}
</div>

{else}
<h3>{#Page_Search_Nothing#}</h3>
{/if}
{else}

{******************** Cheats ********************}
{if $cheatitems && $smarty.request.where=='cheats' && get_active('cheats')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Cheats#}</div>
{foreach from=$cheatitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=cheats&amp;action=showcheat&amp;area={$art->Sektion}&amp;plattform={$art->Plattform}&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}

{******************** Hersteller ********************}
{if $manufactureritems && $smarty.request.where=='manufacturer' && get_active('manufacturer')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Manufacturer#}</div>
{foreach from=$manufactureritems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=manufacturer&amp;area={$art->Sektion}&amp;action=showdetails&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}

{******************** PRODUKTE ********************}
{if $productitems && $smarty.request.where=='products' && get_active('products')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Products#}</div>
{foreach from=$productitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=products&amp;area={$art->Sektion}&amp;action=showproduct&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}

{******************** SHOP ********************}
{if $shopitems && $smarty.request.where=='shop' && get_active('shop') && $is_pro==1}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Shop#}</div>
{foreach from=$shopitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=shop&amp;action=showproduct&amp;id={$art->Id|seotitle}&amp;cid={$art->Kategorie|seotitle}&amp;pname={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
 </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}


{******************** GALERIEN ********************}
{if $galleryitems && $smarty.request.where=='gallery' && get_active('gallery')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Links#}</div>
{foreach from=$galleryitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=gallery&amp;action=showgallery&amp;id={$art->Id}&amp;categ={$art->Kategorie}&amp;name={$art->Titel|seotitle}&amp;area={$art->Sektion}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}

{******************** LINKS ********************}
{if $linkitems && $smarty.request.where=='links' && get_active('links')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Links#}</div>
{foreach from=$linkitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=links&amp;action=showdetails&amp;area={$art->Sektion}&amp;categ={$art->Kategorie}&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}

{******************** DOWNLOADS ********************}
{if $downloaditems && $smarty.request.where=='downloads' && get_active('downloads')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Downloads#}</div>
{foreach from=$downloaditems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=downloads&amp;action=showdetails&amp;area={$art->Sektion}&amp;categ={$art->Kategorie}&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}

{******************** F.A.Q. ********************}
{if $faqitems && $smarty.request.where=='faq' && get_active('faq')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Faq#}</div>
{foreach from=$faqitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=faq&amp;faq_id={$art->Parent_Id}&amp;area={$art->Sektion}&amp;name={$art->Titel|seotitle}#{$art->Id}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}
{******************** F.A.Q. ********************}

{******************** NEWS ********************}
{if $newsitems && $smarty.request.where=='news' && get_active('News')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_News#}</div>
{foreach from=$newsitems item=news}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=news&amp;area={$news->Sektion}&amp;newsid={$news->Id}&amp;name={$news->Titel|seotitle}">{$news->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$news->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}
{******************** NEWS ********************}


{******************** ARTIKEL ********************}
{if $articleitems && $smarty.request.where=='articles' && get_active('articles')}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Articles#}</div>
{foreach from=$articleitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=articles&amp;area={$art->Sektion}&amp;action=displayarticle&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}
{******************** ARTIKEL ********************}

{******************** Dokumente ********************}
{if $contentitems && $smarty.request.where=='content'}
<div class="box_innerhead">{#Page_Search_FoundIn#}{#Page_Search_Content#}</div>
{foreach from=$contentitems item=art}
<div class="{cycle name='ne' values='srow_second,srow_first'}"> {assign var='count' value=$count+1}
  <h3>{$count}. &nbsp; <a class="title_result_search" href="index.php?p=content&amp;id={$art->Id}&amp;name={$art->Titel|seotitle}&amp;area={$art->Sektion}">{$art->Titel|koobispecialchars}</a></h3>
  <div class="search_allresults"> {$art->erg|truncate:'200'} <br />
  </div>
</div>
{/foreach}
{if $pages}
<br style="clear:both" />
{$pages}
{/if}
{/if}
{******************** Dokumente ********************}


{/if}
