{block #metadata} galéria a referencie : cpwedding.sk {/block} {block #maincontentblock} {foreach $events as $item}

{$item->title}

{if $item->type=='ref'}

{if $item->img!=''} obrazok-referencie-{$item->title} {/if} {$item->dt} |  {$item->txt}viac

{else} {$item->dt} |  {$item->txt}viac {/if}
 

{/foreach}
 
{/block}