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

{if $articlesitems}
{foreach from=$articlesitems item=articles name=dn}

{assign var=year value=$articles.ZeitStart|date_format:"%Y"}

<!-- 
{if $YearTemp != $articles.ZeitStart|date_format:"%Y"}
<div style="text-align:right; margin: 10px 0 10px 0"><h2>{#Gaming_articles_fromyear#}&nbsp;{$year}</h2></div>
{/if}
-->


<!--  TAG UND DATUM -->
{if $DateTemp != $articles.ZeitStart|date_format:"%d.%Y"}
<div class="newsticker_header"><strong>
{$articles.ZeitStart|date_format:$lang_settings.Zeitformat}</strong></div>
{/if}

<!-- Titel -->
<div class="news_content">
<div class="news_title_archive"><h2><a class="ticker" href="index.php?p=articles&amp;area={$articles.Sektion}&amp;action=displayarticle&amp;id={$articles.Id}&amp;name={$articles.LinkTitle|seotitle}">{$articles.Titel|koobispecialchars}</a></h2></div>
<br />
{if $articles.Kennwort!=''}
<strong>{#Content_passwordProtectedInf#}</strong>
{else}
<!-- Bild -->
{if $articles.Bild != ''}
	<a href="index.php?p=articles&amp;area={$articles.Sektion}&amp;action=displayarticle&amp;id={$articles.Id}&amp;name={$articles.LinkTitle|seotitle}"><img class="news_icon_{if $articles.BildAusrichtung=='left'}left{else}right{/if}" src="uploads/articles/{$articles.Bild}" alt="" border="0" align="{$articles.BildAusrichtung|default:'right'}"/></a>
{/if}

<!-- Intro -->
{if $articles.Intro}<div class="news_intro">{$articles.Intro|koobispecialchars}</div>{/if}

<!-- Texteinleitung -->
{if $articles.News}
	<div class="news_text_archive">
    {$articles.News|sslash|truncate:500}
    </div>
{/if}
{/if}
<br style="clear:both" />
<br />
<div class="news_footer">
<table width="100%">
<tr>
<td>
{#Gaming_articles_type#}: <strong><a href="{$articles.TypLink}">{$articles.TypName}</a></strong><br />
{#Gaming_articles_from#}: <strong><a href="index.php?p=user&amp;id={$articles.Autor}&amp;area={$area}">{$articles.User}</a></strong>, {$articles.Zeit|date_format:$lang_settings.Stundenformat}
&nbsp;&nbsp;{$articles.Hits} {#Hits#}
</td>
<td align="right">
<a href="index.php?p=articles&amp;area={$articles.Sektion}&amp;action=displayarticle&amp;id={$articles.Id}&amp;name={$articles.LinkTitle|seotitle}"><img class="absmiddle" src="{$imgpath}/page/arrow_right_small.png" alt="" border="0" /></a> <strong><a title="{#Gaming_articles_readall#}" href="index.php?p=articles&amp;area={$articles.Sektion}&amp;action=displayarticle&amp;id={$articles.Id}&amp;name={$articles.LinkTitle|seotitle}">{#Gaming_articles_readall#}</a></strong>
</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=$articles.ZeitStart|date_format:"%d.%Y"}
{assign var=YearTemp value=$articles.ZeitStart|date_format:"%Y"}

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


{$pages}
<br />

<div class="noprint">
<a title="{#RSSAboT#}" style="text-decoration:none" target="_blank" href="{$rssfeed_link}"><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/gaming/articles_archive_search.tpl"}
</div>
</div>
{/if}
<br />
</div>
</div>