{if $items|@count >0 || $hier_page_info.description.$kalba}
{assign var="produktai" value=1}
		<div class="pure-g news-list">

			{if $items|@count > 0}
			{foreach from=$items item="entry"}
 
				<div class="pure-u-1-1 pure-u-md-1-2 pure-u-lg-1-3 pure-u-xl-1-{if $titulinis}5{else}4{/if}">
						<div class="news-list-item">
								<a href="{$entry->detail_url}">
						<span>
							{if $entry->fields.nuotrauka1->value|is_array && $entry->fields.nuotrauka1->value|@count > 0}
									{CGSmartImage src="`$entry->fields.nuotrauka1->value[0].img`" filter_croptofit='118,196,c,1' quality=100}
							{else}
									{CGSmartImage src="/images/no-image.png" filter_croptofit='118,196,c,1' quality=100}
							{/if}
								<span class="title">
										{$entry->fields.pavadinimas->value.$kalba}
								</span>
						</span>
						{cge_have_module m='CGEcommerceBase' assign='tmp'}
						{if $tmp}
								{cgecomm_form_addtocart product=$entry->id viewcartpage=$smarty.config.cart_page addtocarttemplate="add_to_cart" addindividual="0" assign="ikrepseli"}
						{/if}

						{if $entry->fields.kaina->value || $kaina}
						<span>
								<span class="price">
										{if $kaina}{$kaina}{else}{$entry->fields.kaina->value|numberf:2}{/if} {#eur#}
								</span>
						</span>
					</a>
					{$ikrepseli}
					{else}
				</a>
						{/if}



						</div>
				</div>
			{/foreach}
			{/if}

		</div>



							{if isset($pagecount) && $pagecount gt 1}
							<section>
							<div class="pagination">
									<ul>
										{foreach from=$pages_array item="itm"}
											<li class="{$itm.class}">
												{$itm.link}
											</li>
										{/foreach}
									</ul>
								</div>
							</section>
							{/if}


								{*}
								<li class="nav">
										<a href="#">
												<i class="fa fa-angle-left"></i>
										</a>
								</li>
								{*}
								{*}
								<li class="nav">
										<a href="#">
												<i class="fa fa-angle-right"></i>
										</a>
								</li>
								{*}

		{if $hier_page_info.description.$kalba}
		<section>

				<div>
						{$hier_page_info.description.$kalba}
				</div>


				{*}
				<br>

				<div>
						<a href="#" class="ext_button f_12 green-style uppercase">
								Plačiau
						</a>
				</div>
				{*}
		</section>
		{/if}
{/if}
