32 lines
1.5 KiB
Smarty
32 lines
1.5 KiB
Smarty
<section id="slider" class="slider">
|
|
<div class="flexslider sliderCont">
|
|
<ul class="slides">
|
|
{foreach from=$arrayToEditBaner item=objHomeElementBaner key=keyHome}
|
|
{if $objHomeElementBaner->GetPhotoUrl()}
|
|
<li>
|
|
<div class="clearfix">
|
|
{if isset($indexSG)}
|
|
<img src="{$objHomeElementBaner->GetPhotoUrl()}" alt="" style="object-fit: cover; max-height: 940px;" />
|
|
{else}
|
|
{assign var=imageSlider value=$objHomeElementBaner->GetPhotoPath()}
|
|
{thumb file=$imageSlider longside=false shortside=false width="1200" height="350" link='false' crop=true }
|
|
{/if}
|
|
<div class="wrap">
|
|
<div class="desc-wrap">
|
|
<div class="desc" style="display: none;"><p style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetDescription()}</p>
|
|
|
|
</div>
|
|
<h1> </h1>
|
|
<h3 style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetName()}</h3>
|
|
<h2 style="opacity: 0; visibility: visible;">{$objHomeElementBaner->GetDescription()}</h2>
|
|
</div>
|
|
</div>
|
|
</div>
|
|
</li>
|
|
{/if}
|
|
{/foreach}
|
|
|
|
</ul>
|
|
</div>
|
|
</section>
|
|
{*<div class="parallax-window" data-parallax="scroll" data-image-src="{$urlStatic}/image/Strona/slider1.jpg" data-natural-width="1400" data-natural-height="940"> </div>*} |