var/cache/dev/twig/3d/3d4f0f759b980173eca941043c1681f4.php line 35

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* default/snippet/footer.html.twig */
  14. class __TwigTemplate_1f3903db223236796311423304313eab extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/snippet/footer.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default/snippet/footer.html.twig"));
  35.         // line 1
  36.         if ((isset($context["editmode"]) || array_key_exists("editmode"$context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.'1$this->source); })())) {
  37.             // line 2
  38.             echo "    <style>
  39.         .header-container {
  40.             background-color: #1A1821;
  41.             min-height: 500px;
  42.             color: #fff !important;
  43.             padding: 10px;
  44.         }
  45.         a {
  46.             color: #fff;
  47.         }
  48.     </style>
  49.     <div class=\"container header-container\">
  50.         <h1>Oszlopok:</h1>
  51.         ";
  52.             // line 16
  53.             $context["footerBlocks"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""footer-columns");
  54.             // line 17
  55.             echo "        ";
  56.             $context['_parent'] = $context;
  57.             $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"falsefalsetrue17));
  58.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  59.                 // line 18
  60.                 echo "            <hr style=\"border-bottom: 2px solid #fff;\">
  61.             <div style=\"padding-left: 20px;\">
  62.             <h3>";
  63.                 // line 20
  64.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title", ["placeholder" => "Oszlop címe..."]);
  65.                 // line 22
  66.                 echo "</h3>
  67.             <h4>Linkek:</h4>
  68.             <div style=\"padding-left: 20px;\">
  69.             ";
  70.                 // line 25
  71.                 $context['_parent'] = $context;
  72.                 $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"falsefalsetrue25));
  73.                 foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  74.                     // line 26
  75.                     echo "                <div>
  76.                     <p>Link:<br>";
  77.                     // line 27
  78.                     echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link", ["required" => "linkonly"]);
  79.                     echo "</p>
  80.                     <hr>
  81.                 </div>
  82.             ";
  83.                 }
  84.                 $_parent $context['_parent'];
  85.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  86.                 $context array_intersect_key($context$_parent) + $_parent;
  87.                 // line 31
  88.                 echo "            <h3>
  89.                 Simplepay Logo:
  90.                 ";
  91.                 // line 33
  92.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""simplepay-col", ["store" => [["0""Nem"], ["1""Igen"]], "defaultValue" => "0"]);
  93.                 // line 39
  94.                 echo "
  95.             </h3>
  96.             </div>
  97.             </div>
  98.         ";
  99.             }
  100.             $_parent $context['_parent'];
  101.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  102.             $context array_intersect_key($context$_parent) + $_parent;
  103.             // line 44
  104.             echo "
  105.         <h1>Szöveges mezők:</h1>
  106.         ";
  107.             // line 47
  108.             $context['_parent'] = $context;
  109.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""footerTextBlock"), "iterator", [], "any"falsefalsetrue47));
  110.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  111.                 // line 48
  112.                 echo "            ";
  113.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  114.                 echo "
  115.         ";
  116.             }
  117.             $_parent $context['_parent'];
  118.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  119.             $context array_intersect_key($context$_parent) + $_parent;
  120.             // line 50
  121.             echo "
  122.         <h1>Social links:<h1>
  123.             ";
  124.             // line 52
  125.             echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""sociallinks-col", ["store" => [["0""Nem"], ["1""Igen"]], "defaultValue" => "1"]);
  126.             // line 58
  127.             echo "
  128.         
  129. ";
  130.         } else {
  131.             // line 63
  132.             echo "    <footer>
  133.         <div class=\"container\">
  134.         <div class=\"row\">
  135.         ";
  136.             // line 66
  137.             $context["footerBlocks"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""footer-columns");
  138.             // line 67
  139.             echo "        ";
  140.             $context['_parent'] = $context;
  141.             $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"falsefalsetrue67));
  142.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  143.                 // line 68
  144.                 echo "        <div class=\"col-12 col-md-3\">
  145.             ";
  146.                 // line 69
  147.                 if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title"), "isEmpty", [], "method"falsefalsetrue69)) {
  148.                     // line 70
  149.                     echo "                <h4>";
  150.                     echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"input""title");
  151.                     echo "</h4>
  152.             ";
  153.                 }
  154.                 // line 72
  155.                 echo "            ";
  156.                 if ( !twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""footer-col"), "isEmpty", [], "method"falsefalsetrue72)) {
  157.                     // line 73
  158.                     echo "            <ul>
  159.                 ";
  160.                     // line 74
  161.                     $context['_parent'] = $context;
  162.                     $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"falsefalsetrue74));
  163.                     foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  164.                         // line 75
  165.                         echo "                    <li>
  166.                     ";
  167.                         // line 76
  168.                         echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"link""link");
  169.                         echo "
  170.                     </li>
  171.                 ";
  172.                     }
  173.                     $_parent $context['_parent'];
  174.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  175.                     $context array_intersect_key($context$_parent) + $_parent;
  176.                     // line 79
  177.                     echo "            </ul>
  178.             ";
  179.                 }
  180.                 // line 81
  181.                 echo "            ";
  182.                 if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""simplepay-col"), "getData", [], "method"falsefalsetrue81) == 1)) {
  183.                     // line 82
  184.                     echo "            <a href=\"https://simplepartner.hu/PaymentService/Fizetesi_tajekoztato.pdf\" target=\"_blank\">
  185.                 <img style=\"max-width: 100%; position: relative; z-index: 100;\" src=\"";
  186.                     // line 83
  187.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("themes/frontend/images/simplepay_logo_big.png"), "html"nulltrue);
  188.                     echo "\" alt=\"\" class=\"img-fluid\">
  189.             </a>
  190.             ";
  191.                 }
  192.                 // line 86
  193.                 echo "            </div>
  194.         ";
  195.             }
  196.             $_parent $context['_parent'];
  197.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  198.             $context array_intersect_key($context$_parent) + $_parent;
  199.             // line 88
  200.             echo "        </div>
  201.             <div class=\"row contactDatas\">
  202.             ";
  203.             // line 90
  204.             $context['_parent'] = $context;
  205.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"block""footerTextBlock"), "iterator", [], "any"falsefalsetrue90));
  206.             foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  207.                 // line 91
  208.                 echo "                <div class=\"col-12 col-md-3\">
  209.                     ";
  210.                 // line 92
  211.                 echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"wysiwyg""content");
  212.                 echo "
  213.                 </div>
  214.             ";
  215.             }
  216.             $_parent $context['_parent'];
  217.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  218.             $context array_intersect_key($context$_parent) + $_parent;
  219.             // line 95
  220.             echo "            ";
  221.             if ((twig_get_attribute($this->env$this->source$this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context"select""sociallinks-col"), "getData", [], "method"falsefalsetrue95) == 1)) {
  222.                 // line 96
  223.                 echo "                ";
  224.                 if ( !(isset($context["sclub"]) || array_key_exists("sclub"$context) ? $context["sclub"] : (function () { throw new RuntimeError('Variable "sclub" does not exist.'96$this->source); })())) {
  225.                     // line 97
  226.                     echo "                    <div class=\"col-12 col-md-3 social\">
  227.                         <ul>
  228.                             <li><a href=\"https://www.facebook.com/seikoboutiquebudapest/\" title=\"Facebook\"
  229.                                 target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
  230.                             <li><a href=\"https://www.youtube.com/channel/UCzCX1hS5uBt05uad76LEq2Q\" title=\"Youtube\"
  231.                                 target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
  232.                             <li><a href=\"https://www.instagram.com/seikoboutiquebudapest\" title=\"Instagram\" target=\"_blank\"><i
  233.                                             class=\"fab fa-fw fa-instagram\"></i></a></li>
  234.                         </ul>
  235.                     </div>
  236.                 ";
  237.                 } else {
  238.                     // line 108
  239.                     echo "                    <div class=\"col-12 col-md-3 social-sclub\">
  240.                         <ul>
  241.                             <li><a href=\"https://hu-hu.facebook.com/seikoora\" title=\"Facebook\"
  242.                                 target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
  243.                             <li><a href=\"https://www.youtube.com/seikotmc\" title=\"Youtube\"
  244.                                 target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
  245.                             <li><a href=\"https://www.instagram.com/seikohungary/\" title=\"Instagram\" target=\"_blank\"><i
  246.                                             class=\"fab fa-fw fa-instagram\"></i></a></li>
  247.                         </ul>
  248.                     </div>
  249.                 ";
  250.                 }
  251.                 // line 120
  252.                 echo "            ";
  253.             }
  254.             // line 121
  255.             echo "            </div>
  256.         </div>
  257.     </footer>
  258. ";
  259.         }
  260.         // line 125
  261.         echo "
  262. <div id=\"compareDiv\" style=\"\">
  263.     ";
  264.         // line 127
  265.         $this->loadTemplate("@CoreShopFrontend/Product/_compare_window.html.twig""default/snippet/footer.html.twig"127)->display($context);
  266.         // line 128
  267.         echo "</div>";
  268.         
  269.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  270.         
  271.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  272.     }
  273.     public function getTemplateName()
  274.     {
  275.         return "default/snippet/footer.html.twig";
  276.     }
  277.     public function isTraitable()
  278.     {
  279.         return false;
  280.     }
  281.     public function getDebugInfo()
  282.     {
  283.         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,);
  284.     }
  285.     public function getSourceContext()
  286.     {
  287.         return new Source("{% if editmode %}
  288.     <style>
  289.         .header-container {
  290.             background-color: #1A1821;
  291.             min-height: 500px;
  292.             color: #fff !important;
  293.             padding: 10px;
  294.         }
  295.         a {
  296.             color: #fff;
  297.         }
  298.     </style>
  299.     <div class=\"container header-container\">
  300.         <h1>Oszlopok:</h1>
  301.         {% set footerBlocks = pimcore_block('footer-columns') %}
  302.         {% for i in footerBlocks.iterator %}
  303.             <hr style=\"border-bottom: 2px solid #fff;\">
  304.             <div style=\"padding-left: 20px;\">
  305.             <h3>{{ pimcore_input('title', {
  306.             'placeholder': 'Oszlop címe...'
  307.             }) }}</h3>
  308.             <h4>Linkek:</h4>
  309.             <div style=\"padding-left: 20px;\">
  310.             {% for i in pimcore_block('footer-col').iterator %}
  311.                 <div>
  312.                     <p>Link:<br>{{ pimcore_link('link', {'required': 'linkonly'}) }}</p>
  313.                     <hr>
  314.                 </div>
  315.             {% endfor %}
  316.             <h3>
  317.                 Simplepay Logo:
  318.                 {{ pimcore_select('simplepay-col', {
  319.                     \"store\": [
  320.                         [\"0\", \"Nem\"],
  321.                         [\"1\", \"Igen\"],
  322.                     ],
  323.                     \"defaultValue\" : \"0\"
  324.                 }) }}
  325.             </h3>
  326.             </div>
  327.             </div>
  328.         {% endfor %}
  329.         <h1>Szöveges mezők:</h1>
  330.         {% for i in pimcore_block('footerTextBlock').iterator %}
  331.             {{ pimcore_wysiwyg('content') }}
  332.         {% endfor %}
  333.         <h1>Social links:<h1>
  334.             {{ pimcore_select('sociallinks-col', {
  335.                 \"store\": [
  336.                     [\"0\", \"Nem\"],
  337.                     [\"1\", \"Igen\"],
  338.                 ],
  339.                 \"defaultValue\" : \"1\"
  340.                 }) }}
  341.         
  342. {#        <h1>Nyitvatartás:</h1>#}
  343. {#        {{ pimcore_wysiwyg('openings') }}#}
  344. {% else %}
  345.     <footer>
  346.         <div class=\"container\">
  347.         <div class=\"row\">
  348.         {% set footerBlocks = pimcore_block('footer-columns') %}
  349.         {% for i in footerBlocks.iterator %}
  350.         <div class=\"col-12 col-md-3\">
  351.             {% if not pimcore_input('title').isEmpty() %}
  352.                 <h4>{{ pimcore_input('title') }}</h4>
  353.             {% endif %}
  354.             {% if not pimcore_block('footer-col').isEmpty() %}
  355.             <ul>
  356.                 {% for i in pimcore_block('footer-col').iterator %}
  357.                     <li>
  358.                     {{ pimcore_link('link') }}
  359.                     </li>
  360.                 {% endfor %}
  361.             </ul>
  362.             {% endif %}
  363.             {% if pimcore_select('simplepay-col').getData() == 1 %}
  364.             <a href=\"https://simplepartner.hu/PaymentService/Fizetesi_tajekoztato.pdf\" target=\"_blank\">
  365.                 <img style=\"max-width: 100%; position: relative; z-index: 100;\" src=\"{{ asset('themes/frontend/images/simplepay_logo_big.png') }}\" alt=\"\" class=\"img-fluid\">
  366.             </a>
  367.             {% endif %}
  368.             </div>
  369.         {% endfor %}
  370.         </div>
  371.             <div class=\"row contactDatas\">
  372.             {% for i in pimcore_block('footerTextBlock').iterator %}
  373.                 <div class=\"col-12 col-md-3\">
  374.                     {{ pimcore_wysiwyg('content') }}
  375.                 </div>
  376.             {% endfor %}
  377.             {% if pimcore_select('sociallinks-col').getData() == 1 %}
  378.                 {% if not sclub %}
  379.                     <div class=\"col-12 col-md-3 social\">
  380.                         <ul>
  381.                             <li><a href=\"https://www.facebook.com/seikoboutiquebudapest/\" title=\"Facebook\"
  382.                                 target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
  383.                             <li><a href=\"https://www.youtube.com/channel/UCzCX1hS5uBt05uad76LEq2Q\" title=\"Youtube\"
  384.                                 target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
  385.                             <li><a href=\"https://www.instagram.com/seikoboutiquebudapest\" title=\"Instagram\" target=\"_blank\"><i
  386.                                             class=\"fab fa-fw fa-instagram\"></i></a></li>
  387.                         </ul>
  388.                     </div>
  389.                 {% else %}
  390.                     <div class=\"col-12 col-md-3 social-sclub\">
  391.                         <ul>
  392.                             <li><a href=\"https://hu-hu.facebook.com/seikoora\" title=\"Facebook\"
  393.                                 target=\"_blank\"><i class=\"fab fa-fw fa-facebook-f\"></i></a></li>
  394.                             <li><a href=\"https://www.youtube.com/seikotmc\" title=\"Youtube\"
  395.                                 target=\"_blank\"><i class=\"fab fa-fw fa-youtube\"></i></a></li>
  396.                             <li><a href=\"https://www.instagram.com/seikohungary/\" title=\"Instagram\" target=\"_blank\"><i
  397.                                             class=\"fab fa-fw fa-instagram\"></i></a></li>
  398.                         </ul>
  399.                     </div>
  400.                 {% endif %}
  401.             {% endif %}
  402.             </div>
  403.         </div>
  404.     </footer>
  405. {% endif %}
  406. <div id=\"compareDiv\" style=\"\">
  407.     {% include '@CoreShopFrontend/Product/_compare_window.html.twig' %}
  408. </div>""default/snippet/footer.html.twig""/home/zoltan/public_html/boutique-v2/templates/default/snippet/footer.html.twig");
  409.     }
  410.     
  411.     public function checkSecurity()
  412.     {
  413.         static $tags = array("if" => 1"set" => 16"for" => 17"include" => 127);
  414.         static $filters = array("escape" => 83);
  415.         static $functions = array("pimcore_block" => 16"pimcore_input" => 20"pimcore_link" => 27"pimcore_select" => 33"pimcore_wysiwyg" => 48"asset" => 83);
  416.         try {
  417.             $this->sandbox->checkSecurity(
  418.                 ['if''set''for''include'],
  419.                 ['escape'],
  420.                 ['pimcore_block''pimcore_input''pimcore_link''pimcore_select''pimcore_wysiwyg''asset']
  421.             );
  422.         } catch (SecurityError $e) {
  423.             $e->setSourceContext($this->source);
  424.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  425.                 $e->setTemplateLine($tags[$e->getTagName()]);
  426.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  427.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  428.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  429.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  430.             }
  431.             throw $e;
  432.         }
  433.     }
  434. }