{strip}
<table width="100%" cellpadding="5" cellspacing="15"><tr>
{foreach from=$items item=gal}
{assign var=c value=$c+1}
<td class="gallery_box" >
<div style="text-align:center">
<div id="loading2" align="center"  style="display:none;">
<img style="margin-bottom:15px" src="{$imgpath_page}loading.gif">
</div>
<a {popup text=$gal->PopUpText} href="index.php?p=gallery&amp;action=showimage&amp;id={$gal->Id}&amp;galid={$smarty.request.id}&amp;ascdesc={$smarty.request.ascdesc|default:'desc'}" title=""><img class="roundedImage" src="{$gal->Thumbnail}" alt="" border="0" /></a>
<br />
<a href="javascript:void(0);" {popup text=$config_vars.Gallery_OpenInDiashow} onclick="window.open('index.php?p=gallery&amp;action=showimage&amp;id={$gal->Id}&amp;galid={$smarty.request.id}&amp;blanc=1&amp;first_id={$Gallery_inf->First->Id}&amp;ascdesc=desc','','width=800,height=800,scrollbars=1')">{#Gallery_Diashow#}</a>
<br />
{if $Galsettings->Info_Klein==1}
<small>Hits: {$gal->Klicks} | Kommentare: {$gal->comments}</small>
{/if}
</div>
</td>
{if $c % $trenn==0}</tr><tr>{/if}
{/foreach}
</tr>
</table>
{/strip}