<div class="tresc">
	<h1 class="title">{$objElement->GetName()}</h1>
	{if $objElement->GetSubname()}
		<div class="subTitle">{$objElement->GetSubname()}</div>
	{/if}
	<div>		
		{if $objArticle->GetPicture()}
			<div class="newsImg"><a title="obrazek" href="{url label=$labelDetal id=$id title=$objArticle->GetTitle()|text2url}"><img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetTitle()}" border="0"/></a></div>
				{/if}
		
{$objArticle->GetDescription()}
		{assign var=k value=0}
		{foreach from=$articleList item=objArticle  name=objArticle }
			{assign var=objDescription value=$objArticle->GetDescriptionObj()}
			{assign var=id value=$objArticle->GetId()}
			{assign var=k value=$k+1}
			<article class="mainNewsItem" style="min-height: 90px;">
				{if $objArticle->GetPicture()}
					<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}" title="{$objArticle->GetTitle()|escape}">
{*						<img src="{$objArticle->GetPictureUrl()}" alt="{$objArticle->GetTitle()}" title="{$objArticle->GetShortnote()|strip_tags|escape}" style="float: left; margin-right: 10px;" />*}
						{assign var=imageItemGallery value=$objArticle->GetPicturePath()}
						<figure class="itemImageGallery" title="{$objArticle->GetShortnote()|strip_tags|escape}" >{thumb file=$imageItemGallery longside=false shortside=false width="280" height="160" link='false' crop=true }</figure>
					</a>
				
				{/if}
				<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}" title="{$objArticle->GetTitle()|escape}"><h2>{$objDescription->GetTitle()}</h2></a>		
				{$objDescription->GetShortnote()|strip_tags}<a href="{url label=$labelDetal id=$id title=$objDescription->GetTitle()|text2url}" title="{$objArticle->GetTitle()|escape}">więcej...</a>
				{*<div class="dateList">{$objArticle->GetDatePublicationWithoutTime()|date_format:"%d.%m.%Y"} r.</div>*}
			</article><div class="cb"></div>
			<p style="border-bottom: 1px solid #8f8f8f; margin: 30px 10px 30px 10px;"></p>
		{/foreach}
		<div style="clear: both;"></div>
		<div class="pager" style="margin-bottom: 10px; margin-right: 5px;">{pagination class=pagermore _current=$objElement->GetUrl() currPage=$page pageCount=$maxPage name=p next='&gt;' prev='&lt;'}</div>
		<div class="cb"></div>
	</div>
</div>