{$objElement->GetName()}

{if $objElement->GetSubname()}
{$objElement->GetSubname()}
{/if} {if isset($idCategory) && $idCategory != 1 && isset($labelDetal)}

{$objArticle->GetTitle()}

{if $objArticle->GetPicture()}
{$objArticle->GetTitle()}
{/if} {assign var=descriptionArray value=$objArticle->GetDescriptionArray()} {foreach from=$descriptionArray name=article item=article key=key}
{$article|replace:'
{/foreach} { if $descriptionArray|@count > 1 }
{foreach from=$descriptionArray name=pagi item=article key=key} {$key+1}   {/foreach}
{ /if }
{translate word='back'}
{else} {if $lang == 'pl'} {assign var=kontakt value='http://www.ogiela.pl/pl/formularz_zapytania'} {else} {assign var=kontakt value='http://www.ogiela.pl/en/contact_form'} {/if} {$objArticle->GetDescription()|replace:'#KONTAKT#':$kontakt}
{foreach from=$arrayImage item=image key=key name=imageGallery} 3}style="display: none;" {/if}> {assign var=imageGallery value=$image->GetFullPathOrgId($objArticle->GetId())} {thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true } {**} {/foreach} {if $smarty.foreach.imageGallery.index > 3} {/if}
 
{foreach from=$articleList item=articleSubObj}

{$articleSubObj->GetTitle()}

{$articleSubObj->GetDescription()}
{assign var=imageSubGallery value=$articleSubObj->getArrayImage()} {assign var=idSubGallery value=$articleSubObj->getId()} {foreach $imageSubGallery as $imageSub} {* {foreach from=$imageSubGallery item=imageSub name=%$idSubGallery%} *} 3}style="display: none;" {/if}> {assign var=imageGallery value=$imageSub->GetFullPathOrgId($articleSubObj->GetId())} {thumb file=$imageGallery longside=false shortside=false width="250" height="160" link='false' crop=true } {**} {/foreach} {if $imageSub@index > 3} {/if}
{/foreach}
 
{/if}