ACC SHELL
{block content}
<div id="leseni">
<div id="galerie">
<h1>Galerie</h1>
<hr />
{var $numberOfPhotosOnLine = 7}
{var $numberOfLines = 5}
{var $photoNumber = 0}
<table>
<tr>
{foreach $photos as $photo}
<td{if ++$photoNumber > $numberOfPhotosOnLine * $numberOfLines} class="hidden"{/if}>
<a href="{$basePath}/images/gallery/Leseni/{$photo}" title="{pathinfo($photo, PATHINFO_FILENAME)}"><img src="{$basePath}/images/gallery/thumbs/Leseni/{$photo}" alt="{$photo}" width=""/></a>
</td>
{if $photoNumber % $numberOfPhotosOnLine == 0}</tr><tr>{/if}
{/foreach}
</tr>
</table>
</div>
</div>
ACC SHELL 2018