This commit is contained in:
2026-05-15 20:23:25 +02:00
parent c980004309
commit bc5cae7e82
74 changed files with 563 additions and 130 deletions

View File

@@ -0,0 +1,52 @@
<?php
/* Smarty version 3.1.30, created on 2026-05-15 18:51:59
from "C:\visual studio code\projekty\zurawik.pl\template\partial\Shared\MenuLangBox.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a074f2f46c9a3_38684773',
'has_nocache_code' => false,
'file_dependency' =>
array (
'455b4963dc23e0055ed3fdf4535b245267f82345' =>
array (
0 => 'C:\\visual studio code\\projekty\\zurawik.pl\\template\\partial\\Shared\\MenuLangBox.tpl',
1 => 1778862797,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a074f2f46c9a3_38684773 (Smarty_Internal_Template $_smarty_tpl) {
?>
<div class="navLang">
<?php if ($_smarty_tpl->tpl_vars['lang']->value == 'pl') {?>
<a href="<?php echo $_smarty_tpl->tpl_vars['urlMain']->value;?>
/en">en</a>
<?php } else { ?>
<a href="<?php echo $_smarty_tpl->tpl_vars['urlMain']->value;?>
/pl">pl</a>
<?php }?>
</div>
<?php echo '<script'; ?>
>
$(document).ready(function(){
$('.navLang').click(function(){
$('.navLang').toggleClass('navLangLong');
});
$(".navLang").mouseover(function(){
$(".navLang").addClass('navLangLong');
});
$(".navLang").mouseout(function(){
$(".navLang").removeClass('navLangLong');
});
});
<?php echo '</script'; ?>
>
<?php }
}

View File

@@ -0,0 +1,192 @@
<?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 }
}

View File

@@ -0,0 +1,73 @@
<?php
/* Smarty version 3.1.30, created on 2026-05-15 18:51:59
from "C:\visual studio code\projekty\zurawik.pl\template\partial\Shared\BanerBox.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a074f2f33b794_36361663',
'has_nocache_code' => false,
'file_dependency' =>
array (
'd9fe2d1e16928501c222f1ce9d20a785b926afbd' =>
array (
0 => 'C:\\visual studio code\\projekty\\zurawik.pl\\template\\partial\\Shared\\BanerBox.tpl',
1 => 1778862796,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a074f2f33b794_36361663 (Smarty_Internal_Template $_smarty_tpl) {
if (!is_callable('smarty_function_thumb')) require_once 'C:\\visual studio code\\projekty\\zurawik.pl\\core\\plugins\\Smarty\\function.thumb.php';
?>
<section id="slider" class="slider">
<div class="flexslider sliderCont">
<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="" style="object-fit: cover; max-height: 940px;" />
<?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'=>"350",'link'=>'false','crop'=>true),$_smarty_tpl);?>
<?php }?>
<div class="wrap">
<div class="desc-wrap">
<div class="desc" style="display: none;"><p style="opacity: 0; visibility: visible;"><?php echo $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetDescription();?>
</p>
</div>
<h1>&nbsp;</h1>
<h3 style="opacity: 0; visibility: visible;"><?php echo $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetName();?>
</h3>
<h2 style="opacity: 0; visibility: visible;"><?php echo $_smarty_tpl->tpl_vars['objHomeElementBaner']->value->GetDescription();?>
</h2>
</div>
</div>
</div>
</li>
<?php }?>
<?php
}
}
$_smarty_tpl->smarty->ext->_foreach->restore($_smarty_tpl);
?>
</ul>
</div>
</section>
<?php }
}

View File

@@ -0,0 +1,25 @@
<?php
/* Smarty version 3.1.30, created on 2026-05-15 18:51:59
from "C:\visual studio code\projekty\zurawik.pl\template\partial\Shared\MenuBox.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a074f2f283d12_70176871',
'has_nocache_code' => false,
'file_dependency' =>
array (
'3f43c59ca81256b7b11d24052917c1ebb0117987' =>
array (
0 => 'C:\\visual studio code\\projekty\\zurawik.pl\\template\\partial\\Shared\\MenuBox.tpl',
1 => 1778862797,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a074f2f283d12_70176871 (Smarty_Internal_Template $_smarty_tpl) {
}
}

View File

@@ -0,0 +1,25 @@
<?php
/* Smarty version 3.1.30, created on 2026-05-15 18:51:59
from "C:\visual studio code\projekty\zurawik.pl\template\partial\Shared\GetUrlLang.tpl" */
/* @var Smarty_Internal_Template $_smarty_tpl */
if ($_smarty_tpl->_decodeProperties($_smarty_tpl, array (
'version' => '3.1.30',
'unifunc' => 'content_6a074f2f520319_52519897',
'has_nocache_code' => false,
'file_dependency' =>
array (
'd25ce6d5105e689f27f4b5c6d8bf4873e78ed9f6' =>
array (
0 => 'C:\\visual studio code\\projekty\\zurawik.pl\\template\\partial\\Shared\\GetUrlLang.tpl',
1 => 1778862797,
2 => 'file',
),
),
'includes' =>
array (
),
),false)) {
function content_6a074f2f520319_52519897 (Smarty_Internal_Template $_smarty_tpl) {
}
}