<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* default/snippet/footer.html.twig */
class __TwigTemplate_1f3903db223236796311423304313eab extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/snippet/footer.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "default/snippet/footer.html.twig"));
// line 1
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 1, $this->source); })())) {
// line 2
echo " <style>
.header-container {
background-color: #1A1821;
min-height: 500px;
color: #fff !important;
padding: 10px;
}
a {
color: #fff;
}
</style>
<div class=\"container header-container\">
<h1>Oszlopok:</h1>
";
// line 16
$context["footerBlocks"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-columns");
// line 17
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["footerBlocks"]) || array_key_exists("footerBlocks", $context) ? $context["footerBlocks"] : (function () { throw new RuntimeError('Variable "footerBlocks" does not exist.', 17, $this->source); })()), "iterator", [], "any", false, false, true, 17));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 18
echo " <hr style=\"border-bottom: 2px solid #fff;\">
<div style=\"padding-left: 20px;\">
<h3>";
// line 20
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "title", ["placeholder" => "Oszlop címe..."]);
// line 22
echo "</h3>
<h4>Linkek:</h4>
<div style=\"padding-left: 20px;\">
";
// line 25
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-col"), "iterator", [], "any", false, false, true, 25));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 26
echo " <div>
<p>Link:<br>";
// line 27
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "link", ["required" => "linkonly"]);
echo "</p>
<hr>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 31
echo " <h3>
Simplepay Logo:
";
// line 33
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "simplepay-col", ["store" => [["0", "Nem"], ["1", "Igen"]], "defaultValue" => "0"]);
// line 39
echo "
</h3>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 44
echo "
<h1>Szöveges mezők:</h1>
";
// line 47
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footerTextBlock"), "iterator", [], "any", false, false, true, 47));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 48
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "content");
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 50
echo "
<h1>Social links:<h1>
";
// line 52
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "sociallinks-col", ["store" => [["0", "Nem"], ["1", "Igen"]], "defaultValue" => "1"]);
// line 58
echo "
";
} else {
// line 63
echo " <footer>
<div class=\"container\">
<div class=\"row\">
";
// line 66
$context["footerBlocks"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-columns");
// line 67
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, (isset($context["footerBlocks"]) || array_key_exists("footerBlocks", $context) ? $context["footerBlocks"] : (function () { throw new RuntimeError('Variable "footerBlocks" does not exist.', 67, $this->source); })()), "iterator", [], "any", false, false, true, 67));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 68
echo " <div class=\"col-12 col-md-3\">
";
// line 69
if ( !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "title"), "isEmpty", [], "method", false, false, true, 69)) {
// line 70
echo " <h4>";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "title");
echo "</h4>
";
}
// line 72
echo " ";
if ( !twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-col"), "isEmpty", [], "method", false, false, true, 72)) {
// line 73
echo " <ul>
";
// line 74
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footer-col"), "iterator", [], "any", false, false, true, 74));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 75
echo " <li>
";
// line 76
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "link");
echo "
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 79
echo " </ul>
";
}
// line 81
echo " ";
if ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "simplepay-col"), "getData", [], "method", false, false, true, 81) == 1)) {
// line 82
echo " <a href=\"https://simplepartner.hu/PaymentService/Fizetesi_tajekoztato.pdf\" target=\"_blank\">
<img style=\"max-width: 100%; position: relative; z-index: 100;\" src=\"";
// line 83
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/images/simplepay_logo_big.png"), "html", null, true);
echo "\" alt=\"\" class=\"img-fluid\">
</a>
";
}
// line 86
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 88
echo " </div>
<div class=\"row contactDatas\">
";
// line 90
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footerTextBlock"), "iterator", [], "any", false, false, true, 90));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 91
echo " <div class=\"col-12 col-md-3\">
";
// line 92
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "content");
echo "
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 95
echo " ";
if ((twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "sociallinks-col"), "getData", [], "method", false, false, true, 95) == 1)) {
// line 96
echo " ";
if ( !(isset($context["sclub"]) || array_key_exists("sclub", $context) ? $context["sclub"] : (function () { throw new RuntimeError('Variable "sclub" does not exist.', 96, $this->source); })())) {
// line 97
echo " <div class=\"col-12 col-md-3 social\">
<ul>
<li><a href=\"https://www.facebook.com/seikoboutiquebudapest/\" title=\"Facebook\"
target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
<li><a href=\"https://www.youtube.com/channel/UCzCX1hS5uBt05uad76LEq2Q\" title=\"Youtube\"
target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
<li><a href=\"https://www.instagram.com/seikoboutiquebudapest\" title=\"Instagram\" target=\"_blank\"><i
class=\"fab fa-fw fa-instagram\"></i></a></li>
</ul>
</div>
";
} else {
// line 108
echo " <div class=\"col-12 col-md-3 social-sclub\">
<ul>
<li><a href=\"https://hu-hu.facebook.com/seikoora\" title=\"Facebook\"
target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
<li><a href=\"https://www.youtube.com/seikotmc\" title=\"Youtube\"
target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
<li><a href=\"https://www.instagram.com/seikohungary/\" title=\"Instagram\" target=\"_blank\"><i
class=\"fab fa-fw fa-instagram\"></i></a></li>
</ul>
</div>
";
}
// line 120
echo " ";
}
// line 121
echo " </div>
</div>
</footer>
";
}
// line 125
echo "
<div id=\"compareDiv\" style=\"\">
";
// line 127
$this->loadTemplate("@CoreShopFrontend/Product/_compare_window.html.twig", "default/snippet/footer.html.twig", 127)->display($context);
// line 128
echo "</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "default/snippet/footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 279 => 128, 277 => 127, 273 => 125, 267 => 121, 264 => 120, 250 => 108, 237 => 97, 234 => 96, 231 => 95, 222 => 92, 219 => 91, 215 => 90, 211 => 88, 204 => 86, 198 => 83, 195 => 82, 192 => 81, 188 => 79, 179 => 76, 176 => 75, 172 => 74, 169 => 73, 166 => 72, 160 => 70, 158 => 69, 155 => 68, 150 => 67, 148 => 66, 143 => 63, 138 => 58, 136 => 52, 132 => 50, 123 => 48, 119 => 47, 114 => 44, 104 => 39, 102 => 33, 98 => 31, 88 => 27, 85 => 26, 81 => 25, 76 => 22, 74 => 20, 70 => 18, 65 => 17, 63 => 16, 47 => 2, 45 => 1,);
}
public function getSourceContext()
{
return new Source("{% if editmode %}
<style>
.header-container {
background-color: #1A1821;
min-height: 500px;
color: #fff !important;
padding: 10px;
}
a {
color: #fff;
}
</style>
<div class=\"container header-container\">
<h1>Oszlopok:</h1>
{% set footerBlocks = pimcore_block('footer-columns') %}
{% for i in footerBlocks.iterator %}
<hr style=\"border-bottom: 2px solid #fff;\">
<div style=\"padding-left: 20px;\">
<h3>{{ pimcore_input('title', {
'placeholder': 'Oszlop címe...'
}) }}</h3>
<h4>Linkek:</h4>
<div style=\"padding-left: 20px;\">
{% for i in pimcore_block('footer-col').iterator %}
<div>
<p>Link:<br>{{ pimcore_link('link', {'required': 'linkonly'}) }}</p>
<hr>
</div>
{% endfor %}
<h3>
Simplepay Logo:
{{ pimcore_select('simplepay-col', {
\"store\": [
[\"0\", \"Nem\"],
[\"1\", \"Igen\"],
],
\"defaultValue\" : \"0\"
}) }}
</h3>
</div>
</div>
{% endfor %}
<h1>Szöveges mezők:</h1>
{% for i in pimcore_block('footerTextBlock').iterator %}
{{ pimcore_wysiwyg('content') }}
{% endfor %}
<h1>Social links:<h1>
{{ pimcore_select('sociallinks-col', {
\"store\": [
[\"0\", \"Nem\"],
[\"1\", \"Igen\"],
],
\"defaultValue\" : \"1\"
}) }}
{# <h1>Nyitvatartás:</h1>#}
{# {{ pimcore_wysiwyg('openings') }}#}
{% else %}
<footer>
<div class=\"container\">
<div class=\"row\">
{% set footerBlocks = pimcore_block('footer-columns') %}
{% for i in footerBlocks.iterator %}
<div class=\"col-12 col-md-3\">
{% if not pimcore_input('title').isEmpty() %}
<h4>{{ pimcore_input('title') }}</h4>
{% endif %}
{% if not pimcore_block('footer-col').isEmpty() %}
<ul>
{% for i in pimcore_block('footer-col').iterator %}
<li>
{{ pimcore_link('link') }}
</li>
{% endfor %}
</ul>
{% endif %}
{% if pimcore_select('simplepay-col').getData() == 1 %}
<a href=\"https://simplepartner.hu/PaymentService/Fizetesi_tajekoztato.pdf\" target=\"_blank\">
<img style=\"max-width: 100%; position: relative; z-index: 100;\" src=\"{{ asset('themes/frontend/images/simplepay_logo_big.png') }}\" alt=\"\" class=\"img-fluid\">
</a>
{% endif %}
</div>
{% endfor %}
</div>
<div class=\"row contactDatas\">
{% for i in pimcore_block('footerTextBlock').iterator %}
<div class=\"col-12 col-md-3\">
{{ pimcore_wysiwyg('content') }}
</div>
{% endfor %}
{% if pimcore_select('sociallinks-col').getData() == 1 %}
{% if not sclub %}
<div class=\"col-12 col-md-3 social\">
<ul>
<li><a href=\"https://www.facebook.com/seikoboutiquebudapest/\" title=\"Facebook\"
target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
<li><a href=\"https://www.youtube.com/channel/UCzCX1hS5uBt05uad76LEq2Q\" title=\"Youtube\"
target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
<li><a href=\"https://www.instagram.com/seikoboutiquebudapest\" title=\"Instagram\" target=\"_blank\"><i
class=\"fab fa-fw fa-instagram\"></i></a></li>
</ul>
</div>
{% else %}
<div class=\"col-12 col-md-3 social-sclub\">
<ul>
<li><a href=\"https://hu-hu.facebook.com/seikoora\" title=\"Facebook\"
target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
<li><a href=\"https://www.youtube.com/seikotmc\" title=\"Youtube\"
target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
<li><a href=\"https://www.instagram.com/seikohungary/\" title=\"Instagram\" target=\"_blank\"><i
class=\"fab fa-fw fa-instagram\"></i></a></li>
</ul>
</div>
{% endif %}
{% endif %}
</div>
</div>
</footer>
{% endif %}
<div id=\"compareDiv\" style=\"\">
{% include '@CoreShopFrontend/Product/_compare_window.html.twig' %}
</div>", "default/snippet/footer.html.twig", "/home/zoltan/public_html/boutique-v2/templates/default/snippet/footer.html.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 1, "set" => 16, "for" => 17, "include" => 127);
static $filters = array("escape" => 83);
static $functions = array("pimcore_block" => 16, "pimcore_input" => 20, "pimcore_link" => 27, "pimcore_select" => 33, "pimcore_wysiwyg" => 48, "asset" => 83);
try {
$this->sandbox->checkSecurity(
['if', 'set', 'for', 'include'],
['escape'],
['pimcore_block', 'pimcore_input', 'pimcore_link', 'pimcore_select', 'pimcore_wysiwyg', 'asset']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}