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

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