{if !$showOneHouse}
 
{foreach $pageElements as $item}

{$item->title}

{$item->bgImage}
{/foreach} {/if} {if $showOneHouse}
{!$houseDesc}
obrazok-{$altDesc}
{foreach $smallTb as $item} {$item} {/foreach}
{/if}
{if $showOneHouse} {/if}