<?php
/* Smarty version 3.1.30, created on 2026-04-24 12:54:52
  from "/home/www/_rejestracja/template/partial/Shared/BanerBox.tpl" */

/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
  'version' => '3.1.30',
  'unifunc' => 'content_69eb4bfc2ed093_97756106',
  'has_nocache_code' => false,
  'file_dependency' => 
  array (
    '827761f18c3b3cf486b8152360c0a0ad5e96e422' => 
    array (
      0 => '/home/www/_rejestracja/template/partial/Shared/BanerBox.tpl',
      1 => 1490816443,
      2 => 'file',
    ),
  ),
  'includes' => 
  array (
  ),
),false)) {
function content_69eb4bfc2ed093_97756106 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_thumb')) require_once '/home/www/_rejestracja/core/plugins/Smarty/function.thumb.php';
if (!is_callable('smarty_modifier_translate')) require_once '/home/www/_rejestracja/core/plugins/Smarty/modifier.translate.php';
?>
<section id="slider" class="slider">
	<div class="flexslider">
		<ul class="slides">
			<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayToEditBaner']->value, 'objHomeElementBaner', false, 'keyHome');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['keyHome']->value => $_smarty_tpl->tpl_vars['objHomeElementBaner']->value) {
?>
				<?php if ($_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetPhotoUrl()) {?>
					<li>
						<div class="clearfix">
							<?php if (isset($_smarty_tpl->tpl_vars['indexSG']->value)) {?>
								<img src="<?php echo $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetPhotoUrl();?>
" alt="" />
							<?php } else { ?>
								<?php $_smarty_tpl->_assignInScope('imageSlider', $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetPhotoPath());
?>
								<?php echo smarty_function_thumb(array('file'=>$_smarty_tpl->tpl_vars['imageSlider']->value,'longside'=>false,'shortside'=>false,'width'=>"1200",'height'=>"290",'link'=>'false','crop'=>true),$_smarty_tpl);?>

							<?php }?>
							<div class="wrap">
								<div class="desc-wrap">											
									<div class="desc"><p style="opacity: 0; visibility: visible;"><?php echo $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetDescription();?>
</p>

									</div>
									<h3 style="opacity: 0; visibility: visible;"><?php echo $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetName();?>
</h3>
									<a class="more" href="<?php echo (($tmp = @$_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetSourceUrl())===null||$tmp==='' ? '#' : $tmp);?>
" style="opacity: 0; visibility: visible;"><?php echo smarty_modifier_translate('read_more_slider');?>
</a>
								</div>
							</div>
						</div>
					</li>
				<?php }?>  
			<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>


		</ul>	
	</div>
</section>



<?php }
}
