<div class="box_innerhead">{#NewsStart#}</div>
<div id="archivebox">

{*{include file="$incpath/news/categ_jump.tpl"}*}
 
{if $newsitems}
{foreach from=$newsitems item=news name=dn}

{assign var=year value=$news.ZeitStart|date_format:"%Y"}
{*
{if $YearTemp != $news.ZeitStart|date_format:"%Y"}
<div class="time_header">{#NewsFromYear#}&nbsp;{$year}</div>
{/if}
*}



{* ------ TAG UND DATUM ------ *}
{* ------ TEMPORÄRES DATUM PRÜFEN, DAMIT NEWS EINES GLEICHEN DATUM IN EINEM BLOCK ANGEZEIGT WERDEN KÖNNEN ------ *}
{if $DateTemp != $news.ZeitStart|date_format:"%d.%Y"}
<div class="newsticker_header"><strong>
{$news.ZeitStart|date_format:$lang_settings.Zeitformat}</strong></div>
{/if}

{* ------ NEWSTITEL ------ *}
<div class="news_content">
<div class="news_title_archive"><h2><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></h2></div>

{* ------ NEWSBILD ------ *}
{if $news.Bild != ''}
	<a href="index.php?p=news&amp;area={$news.Sektion}&amp;newsid={$news.Id}&amp;name={$news.LinkTitle|seotitle}"><img class="news_icon_{if $news.BildAusrichtung=='left'}left{else}right{/if}" src="{$news.Bild}" alt="" border="0" align="{$news.BildAusrichtung|default:'right'}"/></a>
{/if}

{* ------ NEWSINTRO ------ *}
{if $news.Intro}
	<div class="text_ticker">{$news.Intro|strip_tags|sslash}</div>
{/if}

{* ------ NEWTEXT ------ *}
{if $news.News}
	<div class="newstext">
		{$news.News|sslash|truncate:300}
    </div>
{/if}


<div class="news_footer" style="clear:both">
<table width="100%">
<tr>
<td>
{#Gaming_articles_from#}: <strong><a href="index.php?p=user&amp;id={$news.Autor}&amp;area={$area}">{$news.User}</a></strong>, {$news.Zeit|date_format:$lang_settings.Stundenformat}
&nbsp;|&nbsp;{$news.Hits} {#Hits#}{if $news->comments} | {#Comments#}{/if} 
</td>
<td align="right">
<img class="absmiddle" src="{$imgpath}/page/arrow_right_small.png" alt="{#ReadNews#}" border="0" /> <a title="{#ReadNews#}" href="index.php?p=news&amp;area={$news.Sektion}&amp;newsid={$news.Id}&amp;name={$news.LinkTitle|seotitle}">{#ReadNews#}</a>
&nbsp;
<img class="absmiddle" src="{$imgpath}/page/print.png" alt="{#ReadNews#}" border="0" /> <a title="{#Print#}" target="_blank" href="index.php?p=news&amp;area={$news.Sektion}&amp;newsid={$news.Id}&amp;name={$news.LinkTitle|seotitle}&amp;print=1">{#Print#}</a>

</td>
</tr>
</table>
</div>
</div>


<div style="padding:3px;clear:both">&nbsp;</div>

{* ------ TEMPORAERES DATUM SETZEN, DAMIT NEWS EINES GLEICHEN DATUM IN EINEM BLOCK ANGEZEIGT WERDEN KÖNNEN ------ *}
{assign var=DateTemp value=$news.ZeitStart|date_format:"%d.%Y"}
{assign var=YearTemp value=$news.ZeitStart|date_format:"%Y"}

{/foreach}
{else}
<div class="box_data">
<h3>{#NoNews#}</h3>
</div>
{/if}


{$pages}
<br />

<div class="noprint">
<a title="{#RSSAboT#}" style="text-decoration:none" target="_blank" href="{$rss_newslink}"><img class="absmiddle" src="{$imgpath}/page/syndicate.gif" alt="{#RSSAboT#}" border="0" />{#RSSAbo#}</a>
<br />
{if $printversion != 1}
<script type="text/javascript">
<!-- //
$(document).ready(function()
{ldelim}
	$('div.newsarc_search').toggleElements( {ldelim} fxAnimation:'hide', fxSpeed:'normal', className:'toggler',onClick:NewsarcCloser,onHide:NewsarcOpener{rdelim} );
{rdelim});

function NewsarcOpener() {ldelim}$.cookie('newsarc_search','opened', {ldelim}expires: 30,path: '{$cookiepath}'{rdelim});{rdelim}
function NewsarcCloser() {ldelim}$.cookie('newsarc_search', '', {ldelim}expires: 30,path: '{$cookiepath}'{rdelim});{rdelim}
// -->
</script>
<p>&nbsp;</p>
<p>&nbsp;</p>
<div class="round">
<div class="newsarc_search {if $smarty.cookies.newsarc_search=='opened'}{else}opened{/if}" title="{#Search#}">
{include file="$incpath/news/archive_search.tpl"}
</div>
</div>
{/if}
<br />
</div>
</div>