{$Gallery.Name}

{if $Gallery.Description}

{$Gallery.Description}

{/if} {if $Gallery.ImagesList} {foreach from=$Gallery.ImagesList item=Image name=ImageF} {if ($smarty.foreach.ImageF.index+1) is div by 3}{/if} {/foreach}
{$Gallery.Name}
{$Image.Description}
{else}

brak zdj...

{/if}