{if $topnewsitems}

{foreach from=$topnewsitems item=news name=dn}
  {assign var=topnews_count value=$topnews_count+1}
  {if $news.TopnewsBild != ''}
  <div class="topnews_img"> <a href="index.php?p=news&amp;area={$news.Sektion}&amp;newsid={$news.Id}&amp;name={$news.LinkTitle|seotitle}"><img src="{$news.TopnewsBild}" alt="" border="0" /></a> </div>
  {else}
  <div class="topnews">
  
  {if $news.Bild != ''}
    <span class="newsstart_icon">
        <a href="index.php?p=news&amp;area={$news.Sektion}&amp;newsid={$news.Id}&amp;name={$news.LinkTitle|seotitle}"><img  style="{if $news.BildAusrichtung=='right'}margin:0 0 0 5px{else}margin:0 5px 0 0{/if}" src="{$news.Thumb}" alt="" border="0" align="{$news.BildAusrichtung|default:'left'}" /></a>
    </span>
    {/if}
    
    <h3><a class="ticker" href="index.php?p=news&amp;area={$news.Sektion}&amp;newsid={$news.Id}&amp;name={$news.LinkTitle|seotitle}">{$news.Titel|koobispecialchars}</a></h3>
    <br />
    {$news.News|truncate:300|sslash}
    </div>
  {/if}
  <div class="clear"></div>
{/foreach}

{/if}
