<?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;
/* snippets/footer.html.twig */
class __TwigTemplate_6d38a2ef8a103fceea781f33d0255826340f79f5ec894b995aa2e595beee110f extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'snippets' => [$this, 'block_snippets'],
];
}
protected function doGetParent(array $context)
{
// line 1
return "layout-snippets.html.twig";
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "snippets/footer.html.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "snippets/footer.html.twig"));
$this->parent = $this->loadTemplate("layout-snippets.html.twig", "snippets/footer.html.twig", 1);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
// line 3
public function block_snippets($context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippets"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "snippets"));
// line 4
echo "
<footer id=\"footer\">
<div class=\"apk-footer\">
<div class=\"uk-container\">
<div class=\"apk-footer-top\">
<div class=\"uk-grid-medium uk-grid\" uk-grid uk-height-match=\"target: .apk-footer-title\">
<div class=\"uk-width-expand@m uk-width-1-1\">
<div class=\"apk-container-400\">
<a href=\"/";
// line 14
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 14, $this->source); })()), "request", [], "any", false, false, false, 14), "locale", [], "any", false, false, false, 14), "html", null, true);
echo "\">
<img width=\"250\" height=\"88\" src=\"";
// line 15
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 15, $this->source); })()), "getProperty", [0 => "headerLogo"], "method", false, false, false, 15), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Your website name"), "html", null, true);
echo "\">
</a>
<p class=\"apk-font-20\"><strong>";
// line 17
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "textarea", "footerLabel", ["nl2br" => true]);
echo "</strong></p>
";
// line 18
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 18, $this->source); })())) {
// line 19
echo " ";
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "footerPlus");
echo "
";
} else {
// line 21
echo " ";
if (twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "footerPlus"), "data", [], "any", false, false, false, 21)) {
// line 22
echo " <div class=\"apk-font-10\">
";
// line 23
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "footerPlus");
echo "
</div>
";
}
// line 26
echo " ";
}
// line 27
echo " </div>
</div>
<div class=\"uk-width-3-5@m\">
<div class=\"uk-grid-collapse uk-grid\" uk-grid>
<div class=\"uk-width-1-2@s\">
<div class=\"apk-footer-title\">
<span class=\"uk-h3 apk-font-24\">";
// line 33
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Menu"), "html", null, true);
echo "</span>
</div>
<ul class=\"uk-list\">
";
// line 37
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 37, $this->source); })())) {
// line 38
echo " <h2>Colonne de lien 1</h2>
";
}
// line 40
echo "
";
// line 41
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footerBlock1"), "iterator", [], "any", false, false, false, 41));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 42
echo " <li>
";
// line 43
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footerBlock1Link");
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 46
echo "
</ul>
</div>
<div class=\"uk-width-1-3@m uk-width-1-2@s\">
<div class=\"apk-footer-title\"></div>
<ul class=\"uk-list\">
";
// line 54
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 54, $this->source); })())) {
// line 55
echo " <h2>Colonne de lien 2</h2>
";
}
// line 57
echo "
";
// line 58
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footerBlock2"), "iterator", [], "any", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 59
echo " <li>
";
// line 60
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footerBlock2Link");
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 63
echo "
</ul>
</div>
</div>
<div class=\"apk-socials\">
<span>";
// line 69
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Retrouvez-nous sur :"), "html", null, true);
echo "</span>
<ul>
";
// line 71
if (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 71, $this->source); })()), "property", [0 => "facebookUrl"], "method", false, false, false, 71)) {
// line 72
echo " <li class=\"uk-flex uk-flex-middle\">
<a class=\"uk-flex uk-flex-middle\" href=\"";
// line 73
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 73, $this->source); })()), "property", [0 => "facebookUrl"], "method", false, false, false, 73), "html", null, true);
echo "\" target=\"_blank\" title=\"Facebook\">
<img uk-svg width=\"26\" height=\"26\" src=\"/static/img/pictos/facebook.svg\" alt=\"Facebook\">
</a>
</li>
";
}
// line 78
echo "
";
// line 79
if (twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 79, $this->source); })()), "property", [0 => "instagramUrl"], "method", false, false, false, 79)) {
// line 80
echo " <li class=\"uk-flex uk-flex-middle\">
<a class=\"uk-flex uk-flex-middle uk-padding-remove\" href=\"";
// line 81
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 81, $this->source); })()), "property", [0 => "instagramUrl"], "method", false, false, false, 81), "html", null, true);
echo "\" target=\"_blank\" title=\"Instagram\">
<img uk-svg width=\"26\" height=\"26\" src=\"/static/img/pictos/instagram.svg\" alt=\"Instagram\">
</a>
</li>
";
}
// line 86
echo " </ul>
</div>
</div>
<div class=\"apk-footer-billing uk-width-1-1\">
<div class=\"uk-flex uk-flex-middle\">
<div class=\"apk-billing-title uk-text-bold\">
";
// line 93
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Paiement sécurisé"), "html", null, true);
echo "
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/american-express.svg\" alt=\"Amercian Express\">
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/visa.svg\" alt=\"Amercian Express\">
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/mastercard.svg\" alt=\"Amercian Express\">
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/stripe.svg\" alt=\"Amercian Express\">
</div>
</div>
</div>
</div>
</div>
<div class=\"apk-footer-bottom\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-expand@s\">
<ul class=\"apk-inline-list\">
";
// line 118
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 118, $this->source); })())) {
// line 119
echo " <h2>Colonne de lien en ligne</h2>
";
}
// line 121
echo "
";
// line 122
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "footerBlockInline"), "iterator", [], "any", false, false, false, 122));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 123
echo " <li>
";
// line 124
echo $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "footerBlockInlineLink");
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 127
echo "
<li>
<span><strong>© ";
// line 129
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("MyNursery"), "html", null, true);
echo " ";
echo twig_escape_filter($this->env, twig_date_format_filter($this->env, "now", "Y"), "html", null, true);
echo "</strong></span>
</li>
</ul>
</div>
<div class=\"uk-width-auto@s uk-flex uk-flex-right@s uk-flex-left uk-flex-middle apk-font-14\">
<span><strong>";
// line 135
echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("Site web réalisé par Apik Agence web & E-Commerce");
echo "</strong></span>
<a class=\"uk-margin-small-left\" href=\"";
// line 136
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 136, $this->source); })()), "getProperty", [0 => "apikLink"], "method", false, false, false, 136), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("website.apik"), "html", null, true);
echo "\" target=\"_blank\" class=\"uk-logo\" rel=\"nofollow noopener noreferrer\">
<img width=\"42\" height=\"30\" src=\"";
// line 137
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["document"]) || array_key_exists("document", $context) ? $context["document"] : (function () { throw new RuntimeError('Variable "document" does not exist.', 137, $this->source); })()), "getProperty", [0 => "apikLogo"], "method", false, false, false, 137), "html", null, true);
echo "\" alt=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("website.apik"), "html", null, true);
echo "\" />
</a>
</div>
</div>
</div>
</div>
</div>
</footer>
<div id=\"apk-backtotop\">
<a class=\"uk-flex uk-flex-middle uk-flex-center\" href=\"#\" uk-totop uk-scroll aria-disabled=\"true\"></a>
</div>
";
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
}
public function getTemplateName()
{
return "snippets/footer.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 322 => 137, 316 => 136, 312 => 135, 301 => 129, 297 => 127, 288 => 124, 285 => 123, 281 => 122, 278 => 121, 274 => 119, 272 => 118, 244 => 93, 235 => 86, 227 => 81, 224 => 80, 222 => 79, 219 => 78, 211 => 73, 208 => 72, 206 => 71, 201 => 69, 193 => 63, 184 => 60, 181 => 59, 177 => 58, 174 => 57, 170 => 55, 168 => 54, 158 => 46, 149 => 43, 146 => 42, 142 => 41, 139 => 40, 135 => 38, 133 => 37, 126 => 33, 118 => 27, 115 => 26, 109 => 23, 106 => 22, 103 => 21, 97 => 19, 95 => 18, 91 => 17, 84 => 15, 80 => 14, 68 => 4, 58 => 3, 35 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"layout-snippets.html.twig\" %}
{% block snippets %}
<footer id=\"footer\">
<div class=\"apk-footer\">
<div class=\"uk-container\">
<div class=\"apk-footer-top\">
<div class=\"uk-grid-medium uk-grid\" uk-grid uk-height-match=\"target: .apk-footer-title\">
<div class=\"uk-width-expand@m uk-width-1-1\">
<div class=\"apk-container-400\">
<a href=\"/{{ app.request.locale }}\">
<img width=\"250\" height=\"88\" src=\"{{ document.getProperty('headerLogo') }}\" alt=\"{{ \"Your website name\"|trans }}\">
</a>
<p class=\"apk-font-20\"><strong>{{ pimcore_textarea('footerLabel',{ 'nl2br' : true }) }}</strong></p>
{% if editmode %}
{{ pimcore_wysiwyg('footerPlus') }}
{% else %}
{% if pimcore_wysiwyg('footerPlus').data %}
<div class=\"apk-font-10\">
{{ pimcore_wysiwyg('footerPlus') }}
</div>
{% endif %}
{% endif %}
</div>
</div>
<div class=\"uk-width-3-5@m\">
<div class=\"uk-grid-collapse uk-grid\" uk-grid>
<div class=\"uk-width-1-2@s\">
<div class=\"apk-footer-title\">
<span class=\"uk-h3 apk-font-24\">{{ \"Menu\"|trans }}</span>
</div>
<ul class=\"uk-list\">
{% if editmode %}
<h2>Colonne de lien 1</h2>
{% endif %}
{% for i in pimcore_block('footerBlock1').iterator %}
<li>
{{ pimcore_link('footerBlock1Link') }}
</li>
{% endfor %}
</ul>
</div>
<div class=\"uk-width-1-3@m uk-width-1-2@s\">
<div class=\"apk-footer-title\"></div>
<ul class=\"uk-list\">
{% if editmode %}
<h2>Colonne de lien 2</h2>
{% endif %}
{% for i in pimcore_block('footerBlock2').iterator %}
<li>
{{ pimcore_link('footerBlock2Link') }}
</li>
{% endfor %}
</ul>
</div>
</div>
<div class=\"apk-socials\">
<span>{{ \"Retrouvez-nous sur :\"|trans }}</span>
<ul>
{% if document.property('facebookUrl') %}
<li class=\"uk-flex uk-flex-middle\">
<a class=\"uk-flex uk-flex-middle\" href=\"{{ document.property('facebookUrl') }}\" target=\"_blank\" title=\"Facebook\">
<img uk-svg width=\"26\" height=\"26\" src=\"/static/img/pictos/facebook.svg\" alt=\"Facebook\">
</a>
</li>
{% endif %}
{% if document.property('instagramUrl') %}
<li class=\"uk-flex uk-flex-middle\">
<a class=\"uk-flex uk-flex-middle uk-padding-remove\" href=\"{{ document.property('instagramUrl') }}\" target=\"_blank\" title=\"Instagram\">
<img uk-svg width=\"26\" height=\"26\" src=\"/static/img/pictos/instagram.svg\" alt=\"Instagram\">
</a>
</li>
{% endif %}
</ul>
</div>
</div>
<div class=\"apk-footer-billing uk-width-1-1\">
<div class=\"uk-flex uk-flex-middle\">
<div class=\"apk-billing-title uk-text-bold\">
{{ \"Paiement sécurisé\"|trans }}
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/american-express.svg\" alt=\"Amercian Express\">
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/visa.svg\" alt=\"Amercian Express\">
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/mastercard.svg\" alt=\"Amercian Express\">
</div>
<div class=\"apk-billing-card uk-margin-small-left\">
<img uk-svg width=\"40\" height=\"26\" src=\"/static/img/figures/stripe.svg\" alt=\"Amercian Express\">
</div>
</div>
</div>
</div>
</div>
<div class=\"apk-footer-bottom\">
<div class=\"uk-grid-small uk-grid\" uk-grid>
<div class=\"uk-width-expand@s\">
<ul class=\"apk-inline-list\">
{% if editmode %}
<h2>Colonne de lien en ligne</h2>
{% endif %}
{% for i in pimcore_block('footerBlockInline').iterator %}
<li>
{{ pimcore_link('footerBlockInlineLink') }}
</li>
{% endfor %}
<li>
<span><strong>© {{ 'MyNursery'|trans }} {{ \"now\"|date(\"Y\") }}</strong></span>
</li>
</ul>
</div>
<div class=\"uk-width-auto@s uk-flex uk-flex-right@s uk-flex-left uk-flex-middle apk-font-14\">
<span><strong>{{ 'Site web réalisé par Apik Agence web & E-Commerce'|trans|raw }}</strong></span>
<a class=\"uk-margin-small-left\" href=\"{{ document.getProperty('apikLink') }}\" title=\"{{ \"website.apik\"|trans }}\" target=\"_blank\" class=\"uk-logo\" rel=\"nofollow noopener noreferrer\">
<img width=\"42\" height=\"30\" src=\"{{ document.getProperty('apikLogo') }}\" alt=\"{{ \"website.apik\"|trans }}\" />
</a>
</div>
</div>
</div>
</div>
</div>
</footer>
<div id=\"apk-backtotop\">
<a class=\"uk-flex uk-flex-middle uk-flex-center\" href=\"#\" uk-totop uk-scroll aria-disabled=\"true\"></a>
</div>
{% endblock %}", "snippets/footer.html.twig", "/var/www/mynursery.apik-pp.be/www/templates/snippets/footer.html.twig");
}
}