<!-- Suchen -->
<div class="box_innerhead">{#Links#}</div>
{include file="$incpath/links/search.tpl"}


{if $Categs}
<!-- KATEGORIEN START -->
{foreach from=$Categs item=c}
{assign var=lcc value=$lcc+1}
<div style="float:left; width:49%; margin:10px 0 10px 0;">
	<a href="{$c->HLink}"><img style="margin-right:5px" align="left" src="{$imgpath_page}folder.png" alt="" border="0" /></a>
	{if $c->LinkCount>=1}<a href="{$c->HLink}"><strong>{$c->Name} ({$c->LinkCount})</strong></a>{else}<strong>{$c->Name}</strong>{/if}<br />
    {$c->Beschreibung|koobispecialchars}
</div>
{if $lcc % 2==0}<div style="clear:both"></div>{/if}
{/foreach}
<br style="clear:both" />
<br />
<!-- KATEGORIEN ENDE -->
{/if}

{if $smarty.request.categ!=''}
<!-- UEBERSICHT -->
{*
<div class="box_innerhead">{#Links_Overview#}</div>
*}
 {if $Entries}
 {#SortBy#}:
 <a style="text-decoration:none" href="index.php?p=links&amp;area={$area}&amp;categ={$smarty.request.categ|default:1}&amp;name={$CategName}&amp;page={$smarty.request.page|default:1}&amp;sort={$datesort|default:'dateasc'}">{#SortDate#}&nbsp;<img src="{$imgpath_page}{$img_date|default:'sorter_none'}.png" alt="" border="0" /></a>&nbsp;&nbsp;
 <a style="text-decoration:none" href="index.php?p=links&amp;area={$area}&amp;categ={$smarty.request.categ|default:1}&amp;name={$CategName}&amp;page={$smarty.request.page|default:1}&amp;sort={$namesort|default:'nameasc'}">{#SortName#}&nbsp;<img src="{$imgpath_page}{$img_name|default:'sorter_none'}.png" alt="" border="0" /></a>&nbsp;&nbsp;
 <a style="text-decoration:none" href="index.php?p=links&amp;area={$area}&amp;categ={$smarty.request.categ|default:1}&amp;name={$CategName}&amp;page={$smarty.request.page|default:1}&amp;sort={$hitssort|default:'hitsdesc'}">{#Global_Hits#}&nbsp;<img src="{$imgpath_page}{$img_hits|default:'sorter_none'}.png" alt="" border="0" /></a>&nbsp;&nbsp;
 
 {include file="$incpath/links/entries.tpl"}
{else}
<br />
<p align="center"><strong>{#Links_NoInCateg#}</strong></p>
{/if}
{else}


{if $Entries}
<div class="box_innerhead">{#Links_New#}</div>
{include file="$incpath/links/entries.tpl"}
{/if}



{/if}