Files
zurawik.pl/temp/compile/8768d31bf749e2f6a78ab2370f5b35cb23532d83_0.file.Index.tpl.php
2026-05-15 20:23:25 +02:00

193 lines
8.1 KiB
PHP

<?php
/* Smarty version 3.1.30, created on 2026-05-15 18:51:59
from "C:\visual studio code\projekty\zurawik.pl\template\partial\Index\Index.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a074f2f58d4d6_78141986',
'has_nocache_code' => false,
'file_dependency' =>
array (
'8768d31bf749e2f6a78ab2370f5b35cb23532d83' =>
array (
0 => 'C:\\visual studio code\\projekty\\zurawik.pl\\template\\partial\\Index\\Index.tpl',
1 => 1778862796,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a074f2f58d4d6_78141986 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_modifier_replace')) require_once 'C:\\visual studio code\\projekty\\zurawik.pl\\core\\lib\\Smarty3\\plugins\\modifier.replace.php';
?>
<!--
<section id="intro" class="main style3 primary">
<div class="container">
<div class="rowIntro scrollHiddenOn" >
<?php echo '<script'; ?>
>
$(function () {
$('.containerSecurity').mouseenter(function () {
$('.front.security').transition({rotateY: '180deg', easing: 'ease', duration: 800});
$('.back.security').transition({rotateY: '0deg', easing: 'ease', duration: 800});
});
$('.containerSecurity').mouseleave(function () {
$('.back.security').transition({rotateY: '180deg', easing: 'ease', duration: 800});
$('.front.security').transition({rotateY: '0deg', easing: 'ease', duration: 800});
});
$('.containerEnergy').mouseenter(function () {
$('.front.energy').transition({rotateY: '180deg', easing: 'ease', duration: 800});
$('.back.energy').transition({rotateY: '0deg', easing: 'ease', duration: 800});
});
$('.containerEnergy').mouseleave(function () {
$('.back.energy').transition({rotateY: '180deg', easing: 'ease', duration: 800});
$('.front.energy').transition({rotateY: '0deg', easing: 'ease', duration: 800});
});
$('.containerProperty').mouseenter(function () {
$('.front.property').transition({rotateY: '180deg', easing: 'ease', duration: 800});
$('.back.property').transition({rotateY: '0deg', easing: 'ease', duration: 800});
});
$('.containerProperty').mouseleave(function () {
$('.back.property').transition({rotateY: '180deg', easing: 'ease', duration: 800});
$('.front.property').transition({rotateY: '0deg', easing: 'ease', duration: 800});
});
});
<?php echo '</script'; ?>
>
<div class="col-4 col-s-12 posRel containerSecurity">
<section class="introBox security flipBox front">
<div class="securityIcon"></div>
<div class="lineTop lineTopSecurity"></div>
<header>
<div class="introBoxText">
<?php echo $_smarty_tpl->tpl_vars['objBox1']->value->GetDescription();?>
</div>
</header>
<div class="lineBottom lineBottomSecurity "></div>
</section>
<section class="introBox security flipBox back" <?php if ($_smarty_tpl->tpl_vars['objBox1']->value->GetSourceUrl()) {?>onclick="window.location.href = 'http://<?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['objBox1']->value->GetSourceUrl(),"http://",'');?>
';" style="cursor: pointer;" <?php }?> >
<div class="securityIcon_back"></div>
</section>
</div>
<div class="col-4 col-s-12 posRel containerEnergy">
<section class="introBox energy flipBox front">
<div class="energyIcon"></div>
<div class="lineTop lineTopEnergy"></div>
<header>
<div class="introBoxText">
<?php echo $_smarty_tpl->tpl_vars['objBox2']->value->GetDescription();?>
</div>
</header>
<div class="lineBottom lineBottomEnergy"></div>
</section>
<section class="introBox energy flipBox back" <?php if ($_smarty_tpl->tpl_vars['objBox2']->value->GetSourceUrl()) {?>onclick="window.location.href = 'http://<?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['objBox2']->value->GetSourceUrl(),"http://",'');?>
';" style="cursor: pointer;" <?php }?> >
<div class="energyIcon_back"></div>
</section>
</div>
<div class="col-4 col-s-12 posRel containerProperty">
<section class="introBox property flipBox front">
<div class="propertyIcon"></div>
<div class="lineTop lineTopProperty"></div>
<header>
<div class="introBoxText">
<?php echo $_smarty_tpl->tpl_vars['objBox3']->value->GetDescription();?>
</div>
</header>
<div class="lineBottom lineBottomProperty"></div>
</section>
<section class="introBox property flipBox back" <?php if ($_smarty_tpl->tpl_vars['objBox3']->value->GetSourceUrl()) {?>onclick="window.location.href = 'http://<?php echo smarty_modifier_replace($_smarty_tpl->tpl_vars['objBox3']->value->GetSourceUrl(),"http://",'');?>
';" style="cursor: pointer;" <?php }?> >
<div class="propertyIcon_back"></div>
</section>
</div>
<div class="cb"></div>
</div>
</div>
<div class="cb"></div>
</section> !-->
<?php
$_from = $_smarty_tpl->smarty->ext->_foreach->init($_smarty_tpl, $_smarty_tpl->tpl_vars['arrayObjHomeArticle']->value, 'objArticleSG', false, 'keyHome');
if ($_from !== null) {
foreach ($_from as $_smarty_tpl->tpl_vars['keyHome']->value => $_smarty_tpl->tpl_vars['objArticleSG']->value) {
?>
<?php echo '<script'; ?>
>
$(function () {
$( window ).scroll(function() {
if ($('.containerBoxNr<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
').visible(true)) {
$('.boxSG<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
').addClass('scrollHiddenOff');
$('.boxSG<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
').removeClass('scrollHiddenOn');
} else {
$('.boxSG<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
').addClass('scrollHiddenOn');
$('.boxSG<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
').removeClass('scrollHiddenOff');
}
});
});
<?php echo '</script'; ?>
>
<section id="contentMain" class="main style3 primary containerBoxNr<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
">
<div class="container trescSG boxSG<?php echo $_smarty_tpl->tpl_vars['keyHome']->value;?>
" >
<?php if ($_smarty_tpl->tpl_vars['objArticleSG']->value->GetName()) {?>
<header>
<h2><?php echo $_smarty_tpl->tpl_vars['objArticleSG']->value->GetName();?>
</h2>
</header>
<?php }?>
<div class="trescSGText">
<?php echo $_smarty_tpl->tpl_vars['objArticleSG']->value->GetDescription();?>
</div>
</div>
</section>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
<div class="cb"></div>
<?php }
}