first commit

This commit is contained in:
2025-03-12 17:06:23 +01:00
commit 2241f7131f
13185 changed files with 1692479 additions and 0 deletions

View File

@@ -0,0 +1,195 @@
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="preload" as="style">
<link href="https://fonts.googleapis.com/css?family=Poppins:300,400,400i,600,600i&display=swap&subset=latin-ext" rel="stylesheet" type="text/css">
{if $theme_config->getConfigParameter('layout_config.banner_font_description') == 'serif'}
{literal}
<style>
.homepage-carousel .swiper-slide .caption p
{
font-family: 'Playfair Display',serif;
font-weight: 400;
font-size: 22px;
line-height: 130%;
}
</style>
{/literal}
{/if}
{if $theme_config->getConfigParameter('layout_config.banner_font_title') == 'dancing_script'}
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="preload" as="style">
<link href="https://fonts.googleapis.com/css2?family=Dancing+Script&display=swap" rel="stylesheet" type="text/css">
{literal}
<style>
.homepage-carousel .swiper-slide .caption h3
{
font-family: 'Dancing Script', cursive;
font-weight: 400;
font-size: 48px;
line-height: 100%;
margin-bottom: 10px;
}
@media (min-width: 768px){
.homepage-carousel .swiper-slide .caption h3
{
font-size: 65px;
}
}
</style>
{/literal}
{elseif $theme_config->getConfigParameter('layout_config.banner_font_title') == 'great_vibes'}
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="preload" as="style">
<link href="https://fonts.googleapis.com/css2?family=Great+Vibes&display=swap" rel="stylesheet" type="text/css">
{literal}
<style>
.homepage-carousel .swiper-slide .caption h3
{
font-family: 'Great Vibes', cursive;
font-weight: 400;
font-size: 48px;
line-height: 80%;
margin-bottom: 10px;
}
@media (min-width: 768px){
.homepage-carousel .swiper-slide .caption h3
{
font-size: 65px;
}
}
</style>
{/literal}
{elseif $theme_config->getConfigParameter('layout_config.banner_font_title') == 'comfortaa'}
<link href="https://fonts.googleapis.com/css2?family=Comfortaa&display=swap" rel="preload" as="style">
<link href="https://fonts.googleapis.com/css2?family=Comfortaa&display=swap" rel="stylesheet" type="text/css">
{literal}
<style>
.homepage-carousel .swiper-slide .caption h3
{
font-family: 'Comfortaa', sans-serif;
font-weight: 400;
margin-bottom: 10px;
}
@media (min-width: 768px){
.homepage-carousel .swiper-slide .caption h3
{
font-size: 48px;
}
}
</style>
{/literal}
{/if}
{literal}
<!--[if IE 9]>
<style type="text/css">
select.form-control
{
padding-right: 0;
background-image: none;
}
</style>
<![endif]-->
<script type="text/javascript">
//<![CDATA[
jQuery(function($) {
var menuHeight = $('#header-navbar').height();
var dropdown = $('#header-navbar .dropdown-menu');
var dropdownSettings = $('#nav-settings .dropdown-menu');
function menuFix() {
if ($(window).width() > 768) {
var scrolled = $(window).scrollTop();
var menuTop = $('#header-navbar-position').offset().top;
var windowHeight = $(window).height();
var headerHeight = $('#header').outerHeight();
if (scrolled > menuTop) {
$('#header-navbar').addClass('navbar-fixed-top');
$('#header-navbar-position').css('min-height', menuHeight - 1);
dropdown.css('max-height', windowHeight - menuHeight - 15);
dropdownSettings.css('max-height', windowHeight - menuHeight - 15 - 48);
} else if (scrolled < menuTop) {
$('#header-navbar').removeClass('navbar-fixed-top');
$('#header-navbar-position').css('min-height', '');
dropdown.css('max-height', windowHeight - headerHeight - menuHeight - 15);
dropdownSettings.css('max-height', windowHeight - headerHeight - menuHeight - 15 - 48);
};
} else {
dropdown.removeAttr("style");
};
}
$(document).ready(function(){
$('body [data-equalizer]').equalizer({ use_tallest: true });
$(window).scroll(function () {
if ($(this).scrollTop() > 200) {
$('#toTopNew').addClass('show');
} else {
$('#toTopNew').removeClass('show');
}
});
$('#toTopNew').click(function () {
$("html, body").animate({
scrollTop: 0
}, 300);
return false;
});
$(window).load(function(){
setTimeout(function(){
if (($('#chat-application').length == 1) || ($('#livechat').length == 1) || ($('.fb_dialog_content iframe').length == 1)) {
$('#toTopNew').addClass('upper');
}
}, 500);
});
var scroll = false;
var $window = $(window);
$window.scroll(function() {
scroll = true;
});
setInterval(function() {
if (scroll) {
if($window.scrollTop() + $window.height() >= $(document).height()-250) {
$('#phone-call').addClass('show');
}else{
$('#phone-call').removeClass('show');
}
scroll = false;
}
}, 255);
$('#nav-button-search.collapsed').click(function() {
setTimeout(function(){
$('#nav-search .form-control').focus();
}, 300);
});
if ($('#nav-settings > ul > li:empty').length == 2)
{
$('#nav-button-settings').hide();
}
if ($(window).width() < 768) {
var windowHeightMobile = $(window).height();
var menuHeightMobile = $('#header-navbar').height();
$('#header-navbar .navbar-collapse').css('max-height', windowHeightMobile - menuHeightMobile);
};
menuFix();
});
$(window).scroll(function(){
menuFix();
});
$(window).resize(function(){
menuFix();
});
});
//]]>
</script>
{/literal}

View File

@@ -0,0 +1,105 @@
<div id="top"{if $theme_config->getConfigParameter('layout_config.home_page_baner_top_space') == 'no_space'} class="baner-no-space"{/if}>
<div class="container">
<div id="header" class="hidden-xs">
<div class="flex-sm">
<div id="logo-top" {if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}class="slogan-width"{/if}>
<div>
<a href="{$homepage_url}">
<img class="img-responsive" src="{image_path image='logo.png'}" alt="" />
</a>
</div>
</div>
{if $sf_context->getActionName()=="index" && $sf_context->getModuleName()=="stFrontendMain"}
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
<div class="slogan"><h1 class="hidden-xs">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></h1></div>
{/if}
{else}
{if $theme->hasThemeContent('h1-homepage-part1') || $theme->hasThemeContent('h1-homepage-part2')}
<div class="slogan"><div class="hidden-xs h4">{theme_content id='h1-homepage-part1'} <small>{theme_content id='h1-homepage-part2'}</small></div></div>
{/if}
{/if}
<div id="top-social">
{st_get_component module="stSocialLinksFrontend" component="show"}
</div>
</div>
</div>
</div>
<div id="header-navbar-position">
<nav id="header-navbar" role="navigation">
<div class="container">
<div id="logo" class="visible-xs">
<div>
<a href="{$homepage_url}">
<img src="{image_path image='logo_small.png'}" alt="" />
</a>
</div>
</div>
<div id="navbar-buttons" class="btn-group pull-right">
<button id="nav-button-search" type="button" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-search" data-parent="#header-navbar">
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M14.4121122,14.4121122 L20,20"/> <circle cx="10" cy="10" r="6"/> </svg>
</button>
{if !($product_config->get('hide_basket'))}
<button id="nav-button-shopping-cart" class="btn btn-navbar collapsed empty" data-toggle="collapse" data-target="#nav-shopping-cart" data-parent="#header-navbar">
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M6 6h15l-1.5 9h-12z"/><circle cx="9" cy="19" r="1"/> <circle cx="18" cy="19" r="1"/><path d="M6 6H3"/> </svg>
<small class="quantity"></small>
</button>
{/if}
<button id="nav-button-user" class="btn btn-navbar collapsed" data-toggle="collapse" data-target="#nav-user" data-parent="#header-navbar">
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="28px" height="28px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><path d="M4,20 C4,17 8,17 10,15 C11,14 8,14 8,9 C8,5.667 9.333,4 12,4 C14.667,4 16,5.667 16,9 C16,14 13,14 14,15 C16,17 20,17 20,20"/> </svg>
<small class="login-status">&nbsp;</small>
</button>
<button id="nav-button-settings" class="btn btn-navbar hidden-xs collapsed" data-toggle="collapse" data-target="#nav-settings" data-parent="#header-navbar">
<svg role="img" xmlns="http://www.w3.org/2000/svg" width="26px" height="26px" viewBox="0 0 24 24" stroke-width="1" stroke-linecap="round" stroke-linejoin="round" fill="none"><circle cx="12" cy="12" r="10"/> <path stroke-linecap="round" d="M12,22 C14.6666667,19.5757576 16,16.2424242 16,12 C16,7.75757576 14.6666667,4.42424242 12,2 C9.33333333,4.42424242 8,7.75757576 8,12 C8,16.2424242 9.33333333,19.5757576 12,22 Z"/> <path stroke-linecap="round" d="M2.5 9L21.5 9M2.5 15L21.5 15"/> </svg>
</button>
</div>
<div class="navbar-header">
<button id="nav-button-menu" type="button" class="navbar-toggle collapsed" data-toggle="collapse" data-target="#nav-menu" data-parent="#header-navbar">
<span class="icon-bar"></span>
<span class="icon-bar"></span>
<span class="icon-bar"></span>
</button>
</div>
<div id="nav-menu" class="navbar-collapse collapse">
{st_get_component module="stCategoryTree" component="horizontal"}
</div>
<div class="navbar-dropdown">
<div id="nav-shopping-cart" class="navbar-collapse collapse">
{st_get_component module="stBasket" component="show"}
</div>
<div id="nav-user" class="navbar-collapse collapse">
<ul class="nav navbar-nav">
{st_get_component module="stUser" component="loginStatus"}
</ul>
</div>
{strip}
<div id="nav-settings" class="hidden-xs navbar-collapse collapse">
<ul class="nav navbar-nav">
<li class="dropdown">
{st_get_component module="stLanguageFrontend" component="choose"}
</li>
<li class="dropdown">
{st_get_component module="stCurrencyFrontend" component="pickCurrency"}
</li>
</ul>
{slot name="nav-setting" hidden="true"}{/slot}
</div>
{/strip}
<div id="nav-search" class="navbar-collapse collapse hidden-xs">
{include_file id="_search"}
</div>
</div>
</div>
</nav>
{php}
$c = sfContext::getInstance();
if ($c->getModuleName() == 'stFrontendMain' && $c->getActionName() == 'index') {
{/php}
{st_get_component module="stSlideBannerFrontend" component="show"}
{php} } {/php}
</div>
</div>

View File

@@ -0,0 +1,69 @@
{assign var='homepage_section5' value=$theme_config->getConfigParameter('layout_config.homepage_section5')}
{assign var='homepage_section6' value=$theme_config->getConfigParameter('layout_config.homepage_section6')}
{assign var='homepage_section7' value=$theme_config->getConfigParameter('layout_config.homepage_section7')}
<header class="homepage">
{include_file id="_header"}
</header>
<div id="one-column-layout">
<div class="container">
<div class="bg-white">
{$content}
{if $homepage_section5 == 'main_categories'}
{st_get_component module="stProduct" component="treeMain"}
{elseif $homepage_section5 == 'product_group1'}
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
{elseif $homepage_section5 == 'product_group2'}
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
{elseif $homepage_section5 == 'product_group3'}
{st_get_component module="stProduct" component="new"}
{elseif $homepage_section5 == 'seo' || !$homepage_section5}
{include_file id="_seo"}
{elseif $homepage_section5 == 'main_text'}
{st_get_component module="stFrontendMain" component="mainText"}
{elseif $homepage_section5 == 'blog'}
{st_get_component module="stBlogFrontend" component="index"}
{/if}
{if $homepage_section6 == 'main_categories'}
{st_get_component module="stProduct" component="treeMain"}
{elseif $homepage_section6 == 'product_group1'}
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
{elseif $homepage_section6 == 'product_group2'}
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
{elseif $homepage_section6 == 'product_group3'}
{st_get_component module="stProduct" component="new"}
{elseif $homepage_section6 == 'seo'}
{include_file id="_seo"}
{elseif $homepage_section6 == 'main_text' || !$homepage_section6}
{st_get_component module="stFrontendMain" component="mainText"}
{elseif $homepage_section6 == 'blog'}
{st_get_component module="stBlogFrontend" component="index"}
{/if}
{if $homepage_section7 == 'main_categories'}
{st_get_component module="stProduct" component="treeMain"}
{elseif $homepage_section7 == 'product_group1'}
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
{elseif $homepage_section7 == 'product_group2'}
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
{elseif $homepage_section7 == 'product_group3'}
{st_get_component module="stProduct" component="new"}
{elseif $homepage_section7 == 'seo'}
{include_file id="_seo"}
{elseif $homepage_section7 == 'main_text'}
{st_get_component module="stFrontendMain" component="mainText"}
{elseif $homepage_section7 == 'blog' || !$homepage_section7}
{st_get_component module="stBlogFrontend" component="index"}
{/if}
{slot name="main-index-bottom" hidden="true"}{/slot}
</div>
</div>
<footer>
{include_file id="_footer"}
</footer>
</div>

View File

@@ -0,0 +1,78 @@
{assign var='homepage_section5' value=$theme_config->getConfigParameter('layout_config.homepage_section5')}
{assign var='homepage_section6' value=$theme_config->getConfigParameter('layout_config.homepage_section6')}
{assign var='homepage_section7' value=$theme_config->getConfigParameter('layout_config.homepage_section7')}
<header class="homepage">
{include_file id="_header"}
</header>
<div id="two-column-layout">
<div class="container">
<div class="bg-white">
<div class="row">
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">
{$content}
</div>
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
<div id="category-thumbnail" class="thumbnail">
{st_get_component module="stCategoryTree" component="vertical"}
</div>
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
{slot name="left-column-bottom" hidden="true"}{/slot}
</div>
</div>
{if $homepage_section5 == 'main_categories'}
{st_get_component module="stProduct" component="treeMain"}
{elseif $homepage_section5 == 'product_group1'}
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
{elseif $homepage_section5 == 'product_group2'}
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
{elseif $homepage_section5 == 'product_group3'}
{st_get_component module="stProduct" component="new"}
{elseif $homepage_section5 == 'seo' || !$homepage_section5}
{include_file id="_seo"}
{elseif $homepage_section5 == 'main_text'}
{st_get_component module="stFrontendMain" component="mainText"}
{elseif $homepage_section5 == 'blog'}
{st_get_component module="stBlogFrontend" component="index"}
{/if}
{if $homepage_section6 == 'main_categories'}
{st_get_component module="stProduct" component="treeMain"}
{elseif $homepage_section6 == 'product_group1'}
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
{elseif $homepage_section6 == 'product_group2'}
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
{elseif $homepage_section6 == 'product_group3'}
{st_get_component module="stProduct" component="new"}
{elseif $homepage_section6 == 'seo'}
{include_file id="_seo"}
{elseif $homepage_section6 == 'main_text' || !$homepage_section6}
{st_get_component module="stFrontendMain" component="mainText"}
{elseif $homepage_section6 == 'blog'}
{st_get_component module="stBlogFrontend" component="index"}
{/if}
{if $homepage_section7 == 'main_categories'}
{st_get_component module="stProduct" component="treeMain"}
{elseif $homepage_section7 == 'product_group1'}
{st_get_component module="stProduct" component="productGroup" product_group="MAIN_PAGE"}
{elseif $homepage_section7 == 'product_group2'}
{st_get_component module="stProduct" component="productGroup" product_group="RECOMMEND"}
{elseif $homepage_section7 == 'product_group3'}
{st_get_component module="stProduct" component="new"}
{elseif $homepage_section7 == 'seo'}
{include_file id="_seo"}
{elseif $homepage_section7 == 'main_text'}
{st_get_component module="stFrontendMain" component="mainText"}
{elseif $homepage_section7 == 'blog' || !$homepage_section7}
{st_get_component module="stBlogFrontend" component="index"}
{/if}
{slot name="main-index-bottom" hidden="true"}{/slot}
</div>
</div>
<footer>
{include_file id="_footer"}
</footer>
</div>

View File

@@ -0,0 +1,35 @@
<header
{php}
$c = sfContext::getInstance();
if ($c->getModuleName() == 'stFrontendMain' && $c->getActionName() == 'index') {
{/php}
class="homepage"
{php} } {/php}>
{include_file id="_header"}
</header>
<div id="one-column-layout">
<div class="container">
{php}
$c = sfContext::getInstance();
if
(($c->getModuleName() == 'stProduct' && $c->getActionName() == 'list') ||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'groupList') ||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'producerList') ||
($c->getModuleName() == 'stProduct' && $c->getActionName() == 'show') ||
($c->getModuleName() == 'stWebpageFrontend' && $c->getActionName() == 'index'))
{
{/php}
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
{php} } {/php}
{st_get_component module="stProduct" component="filters" modal_only=true}
<div class="bg-white">
{$content}
</div>
</div>
<footer>
{include_file id="_footer"}
</footer>
</div>

View File

@@ -0,0 +1,25 @@
<header>
{include_file id="_header"}
</header>
<div id="two-column-layout">
<div class="container">
{st_get_component module="stNavigationFrontend" component="breadcrumbs"}
<div class="bg-white">
<div class="row">
<div id="content" class="col-md-9 col-md-push-3 col-lg-9 col-lg-push-3">{$content}</div>
<div id="left" class="col-md-3 col-md-pull-9 col-lg-3 col-lg-pull-9 hidden-sm hidden-xs">
<div id="category-thumbnail" class="thumbnail">
{st_get_component module="stCategoryTree" component="vertical"}
{st_get_component module="stProduct" component="filters"}
</div>
{st_get_component module="stBoxFrontend" component="boxGroup" params="box_group=LEFT"}
{st_get_component module="stTrustedShopsFrontend" component="showRatingWidget"}
{slot name="left-column-bottom" hidden="true"}{/slot}
</div>
</div>
</div>
</div>
<footer>
{include_file id="_footer"}
</footer>
</div>