<table width="100%" border="0" cellpadding="0" cellspacing="0" class="box_newsticker">
  {section name=year loop=$curr_year step=-1 max=10} {assign var=year value=$smarty.section.year.index} {assign var=y_news value=$all_news.$year} {if count($y_news)}
  <tr>
    <td class="time" style="padding:2px"> {* &nbsp;<span class="time_ticker">{$lang.newsfromyear}{$year}</span> *} </td>
  </tr>
  <tr>
    <td > {section name=week loop=54 step=-1 max=53} {assign var=week value=$smarty.section.week.index} {assign var=w_news value=$y_news.$week} {if count($w_news)} {section name=dow loop=8 step=-1 max=7} {assign var=dow value=$smarty.section.dow.index} {assign var=d_news value=$w_news.$dow} {assign var=e_news value=$w_news.$dow} {if count($d_news)}
        <table width="100%"  border="0" cellspacing="0" cellpadding="1">
          <tr>
            <td colspan="3" class="newsticker_header"> {foreach from=$e_news item=news name=datum} {if $smarty.foreach.datum.first} <span class="time_ticker">{$news->time_start|date_format:"%Y.%m.%d"}</span><br />
            {/if} {/foreach} </td>
          </tr>
        </table>
        <table width="98%"  border="0" align="center" cellpadding="0" cellspacing="0">
        {foreach from=$d_news item=news name=title}
          <tr>
            <td width="1%" valign="top"> {if $news->icon}<img src="uploads/newscat_icons/{$news->icon}" alt="" hspace="3" />{/if} </td>
            <td valign="top" style="padding-top:5px"><a class="ticker" href="{$news->link}">{$news->title}</a> {* // TOPNEWSICON {if $news->isontop=='yes'} <img class="absmiddle" src="templates/{$theme}/img/page/topnews.gif" alt="" /> {/if} *}{if $news->image}<a href="{$news->link}"><img src="{$news->image}" alt="" border="0" align="{$news->image_align|default:'left'}" /></a>{/if}{if $news->shortintro}<br />
            <span class="text_ticker">{$news->shortintro}</span> {/if} {if $news->text}<br />
                      <span class="intro">{$news->time_start|date_format:"%H:%M"}... {$news->text|truncate:200}</span> {/if}
                      <table width="100%"  border="0" cellspacing="0" cellpadding="0">
                        <tr>
                          <td style="padding-top:3px"><small> <a href="{$news->link}">{$lang.readmorenews} {$news->hits} {$lang.hitstext}</a> &nbsp;|&nbsp; <a href="{$news->userlink}">{$news->uname}</a> {if $news->comments} &nbsp;|&nbsp; <a href="{$news->link}#comments">{$news->comments} {$news->commtext}</a> &nbsp;|&nbsp; <img class="absmiddle" src="templates/{$theme}/img/page/printer.gif" alt="" border="0" />&nbsp; <a href="{$news->link}&amp;print=1" target="_blank">{$lang.printtext}</a> {/if} </small> </td>
                        </tr>
                    </table></td>
          </tr>
        {if !$smarty.foreach.title.last}
        <tr>
          <td colspan="2"><img src="templates/{$theme}/img/page/pixel.gif" alt="" width="7" height="7" /></td>
        </tr>
        {else}
        <tr>
          <td colspan="2">&nbsp;</td>
        </tr>
        {/if} {/foreach}
        </table>
        {/if} {/section} {/if} {/section} </td>
  </tr>
  {/if} {/section}
</table>
<br />
{include file="news/nav.tpl"}
<br />
{if checkactive("archives")} {include file='news/news_selector.tpl'} {/if} 