{if $toparticleitems}
<div id="topcontent">
{foreach from=$toparticleitems item=content name=dn}
  {assign var=topcontent2_count value=$topcontent_count2+1}
  {if $content.TopcontentBild != ''}
  <div class="topcontent_img"> <a href="index.php?p=articles&amp;area={$content.Sektion}&amp;action=displayarticle&amp;id={$content.Id}&amp;name={$content.Titel|seotitle}"><img src="uploads/articles/{$content.TopcontentBild}" alt="" border="0" /></a> </div>
  {else}
  <div class="topcontent">
  
  {if $content.Bild != ''}
      <a href="index.php?p=articles&amp;area={$content.Sektion}&amp;action=displayarticle&amp;id={$content.Id}&amp;name={$content.Titel|seotitle}"><img  style="{if $content.BildAusrichtung=='right'}margin:0 0 0 5px{else}margin:0 5px 0 0{/if}" src="uploads/articles/{$content.Bild}" alt="" border="0" align="{$content.BildAusrichtung|default:'left'}" /></a>
   {/if}

    <h3><a class="ticker" href="index.php?p=articles&amp;area={$content.Sektion}&amp;action=displayarticle&amp;id={$content.Id}&amp;name={$content.Titel|seotitle}">{$content.Titel|koobispecialchars}</a></h3>
    <br />
    {if $content.Bild != ''}<br />{/if}
    {$content.Inhalt|truncate:400|sslash}
    <br style="clear:both"  />
    </div>
  {/if}
{/foreach}
</div>
{/if}
