<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\CoreExtension;
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;
/* includes/footer.html.twig */
class __TwigTemplate_923bb4387dd70c665fe4ad54cd3ff483 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(SandboxExtension::class);
$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", "includes/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", "includes/footer.html.twig"));
// line 1
yield "<!-- Footer -->
<div>
<!-- Page Navigation -->
<div id=\"page-nav\">
<div class=\"page-nav-wrap\">
<div class=\"page-nav-caption footer-padding block-title marquee-title\">
<hr/>
<div class=\"two_fifth two_fifth_margin\">
<div class=\"footer-desc\">
<img src=\"/assets/images/centric_logo_white_text.svg\" class=\"footer-logo\" alt=\"Centric USA Logo\">
";
// line 13
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "wysiwyg", "footer_content");
yield "
</div>
</div>
<div class=\"three_fifth last\">
<div class=\"footer-content-wrapper footer-desc2\">
<div class=\"footer-content\">
";
// line 20
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "mainlinkblock")));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 21
yield "
";
// line 22
$context["delay"] = 0;
// line 23
yield " ";
if ((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 23) == 1)) {
// line 24
yield " ";
$context["delay"] = 100;
// line 25
yield " ";
} elseif (((CoreExtension::getAttribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 25) % 2) == 0)) {
// line 26
yield " ";
$context["delay"] = 200;
// line 27
yield "
";
} else {
// line 29
yield " ";
$context["delay"] = 300;
// line 30
yield " ";
}
// line 31
yield "
<div class=\"one_third_f has-animation \" data-delay=\"";
// line 33
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["delay"]) || array_key_exists("delay", $context) ? $context["delay"] : (function () { throw new RuntimeError('Variable "delay" does not exist.', 33, $this->source); })()), 33, $this->source), "html", null, true);
yield "\">
<div class=\"box-icon-wrapper inline-boxes\">
<div class=\"box-icon\">
";
// line 36
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 36, $this->source); })())) {
// line 37
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "iconClass", ["placeholder" => "add class name like paper-plane , map-marker , phone", "width" => 450]);
yield "
";
} else {
// line 40
yield " ";
$context["iconClass"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "iconClass");
// line 41
yield "
<i class=\"fa fa-";
// line 42
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed((isset($context["iconClass"]) || array_key_exists("iconClass", $context) ? $context["iconClass"] : (function () { throw new RuntimeError('Variable "iconClass" does not exist.', 42, $this->source); })()), 42, $this->source), "html", null, true);
yield " fa-2x\" aria-hidden=\"true\"></i>
";
}
// line 44
yield "
</div>
<div class=\"box-icon-content footer-p\">
";
// line 47
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 47, $this->source); })())) {
// line 48
yield " Select Type:
";
// line 49
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "type", ["width" => 110, "reload" => true, "store" => [["link", "link"], ["text", "text"]]]);
// line 54
yield "
";
}
// line 57
yield "
";
// line 58
if ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "type"), "getData", [], "method", false, false, true, 58) == "text")) {
// line 59
yield "
<p class=\"no-margins\">
";
// line 61
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "name", ["placeholder" => "Add text here like address or phone", "width" => 450]);
yield "
</p>
";
} elseif ((CoreExtension::getAttribute($this->env, $this->source, $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "select", "type"), "getData", [], "method", false, false, true, 64) == "link")) {
// line 65
yield " <p class=\"no-margins\">
";
// line 67
if ((isset($context["editmode"]) || array_key_exists("editmode", $context) ? $context["editmode"] : (function () { throw new RuntimeError('Variable "editmode" does not exist.', 67, $this->source); })())) {
// line 68
yield " ";
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "link");
yield "
";
} else {
// line 70
yield " ";
$context["link"] = $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "link");
// line 71
yield " <a href=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 71, $this->source); })()), "getHref", [], "method", false, false, true, 71), 71, $this->source), "html", null, true);
yield "\" class=\"link\" target=\"";
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 71, $this->source); })()), "getTarget", [], "method", false, false, true, 71), 71, $this->source), "html", null, true);
yield "\">
<span>
";
// line 73
yield $this->sandbox->ensureToStringAllowed(CoreExtension::getAttribute($this->env, $this->source, (isset($context["link"]) || array_key_exists("link", $context) ? $context["link"] : (function () { throw new RuntimeError('Variable "link" does not exist.', 73, $this->source); })()), "getText", [], "method", false, false, true, 73), 73, $this->source);
yield "
</span>
</a>
";
}
// line 78
yield " </p>
";
}
// line 80
yield "
<p>
";
// line 82
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "inputType", ["placeholder" => "Add text type here like email , address or phone", "width" => 450]);
yield "
</p>
</div>
</div>
</div>
";
// line 90
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 92
yield " </div>
</div></div>
<hr/>
</div>
</div>
</div>
<!--/Page Navigation -->
<footer class=\"hidden\">
<div id=\"footer-container\">
<div id=\"backtotop\" class=\"button-wrap left\">
<div class=\"icon-wrap parallax-wrap\">
<div class=\"button-icon parallax-element\">
<i class=\"fa-solid fa-angle-up\"></i>
</div>
</div>
<div class=\"button-text sticky left\">
<span data-hover=\"Back Top\">
";
// line 114
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "backTop", ["placeholder" => "Back Top", "width" => 450]);
yield "
</span>
</div>
</div>
<div class=\"footer-middle\">
<div class=\"copyright\">
";
// line 122
yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatDate("now", "Y"), "html", null, true);
yield "
©
";
// line 124
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "input", "allRightsReserved", ["placeholder" => "All rights reserved.", "width" => 360]);
yield "
</div>
</div>
<div class=\"socials-wrap socials-wrap-New\">
";
// line 133
yield "
<div class=\"socials-text\">
";
// line 136
yield "
";
// line 138
$context['_parent'] = $context;
$context['_seq'] = CoreExtension::ensureTraversable($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->getBlockIterator($this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "block", "termsBlock")));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["l"]) {
// line 139
yield "
";
// line 140
yield $this->extensions['Pimcore\Twig\Extension\DocumentEditableExtension']->renderEditable($context, "link", "termsBlockLink");
yield "
";
// line 142
if (($context["l"] < (Twig\Extension\CoreExtension::length($this->env->getCharset(), $context["loop"]) - 2))) {
// line 143
yield " |
";
}
// line 145
yield "
";
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['l'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 147
yield " </div>
</div>
</div>
</footer>
</div>
<!--/Footer -->
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
return; yield '';
}
/**
* @codeCoverageIgnore
*/
public function getTemplateName()
{
return "includes/footer.html.twig";
}
/**
* @codeCoverageIgnore
*/
public function isTraitable()
{
return false;
}
/**
* @codeCoverageIgnore
*/
public function getDebugInfo()
{
return array ( 342 => 147, 327 => 145, 323 => 143, 321 => 142, 316 => 140, 313 => 139, 296 => 138, 292 => 136, 288 => 133, 279 => 124, 274 => 122, 263 => 114, 239 => 92, 224 => 90, 216 => 82, 212 => 80, 208 => 78, 200 => 73, 192 => 71, 189 => 70, 183 => 68, 181 => 67, 177 => 65, 170 => 61, 166 => 59, 164 => 58, 161 => 57, 156 => 54, 154 => 49, 151 => 48, 149 => 47, 144 => 44, 139 => 42, 136 => 41, 133 => 40, 126 => 37, 124 => 36, 118 => 33, 114 => 31, 111 => 30, 108 => 29, 104 => 27, 101 => 26, 98 => 25, 95 => 24, 92 => 23, 90 => 22, 87 => 21, 70 => 20, 60 => 13, 46 => 1,);
}
public function getSourceContext()
{
return new Source("<!-- Footer -->
<div>
<!-- Page Navigation -->
<div id=\"page-nav\">
<div class=\"page-nav-wrap\">
<div class=\"page-nav-caption footer-padding block-title marquee-title\">
<hr/>
<div class=\"two_fifth two_fifth_margin\">
<div class=\"footer-desc\">
<img src=\"/assets/images/centric_logo_white_text.svg\" class=\"footer-logo\" alt=\"Centric USA Logo\">
{{pimcore_wysiwyg(\"footer_content\")}}
</div>
</div>
<div class=\"three_fifth last\">
<div class=\"footer-content-wrapper footer-desc2\">
<div class=\"footer-content\">
{% for i in pimcore_iterate_block(pimcore_block('mainlinkblock')) %}
{% set delay = 0 %}
{% if loop.index == 1 %}
{% set delay = 100 %}
{% elseif loop.index % 2 == 0 %}
{% set delay = 200 %}
{% else %}
{% set delay = 300 %}
{% endif %}
<div class=\"one_third_f has-animation \" data-delay=\"{{ delay }}\">
<div class=\"box-icon-wrapper inline-boxes\">
<div class=\"box-icon\">
{% if editmode %}
{{ pimcore_input('iconClass', {'placeholder': 'add class name like paper-plane , map-marker , phone' ,\"width\": 450}) }}
{% else %}
{% set iconClass = pimcore_input('iconClass') %}
<i class=\"fa fa-{{ iconClass }} fa-2x\" aria-hidden=\"true\"></i>
{% endif %}
</div>
<div class=\"box-icon-content footer-p\">
{% if editmode %}
Select Type:
{{ pimcore_select(\"type\", {
\"width\": 110,
\"reload\": true,
\"store\": [
[\"link\", \"link\"],
[\"text\", \"text\"]]}) }}
{% endif %}
{% if pimcore_select(\"type\").getData() == \"text\" %}
<p class=\"no-margins\">
{{ pimcore_input('name', {'placeholder': 'Add text here like address or phone' ,\"width\": 450}) }}
</p>
{% elseif pimcore_select(\"type\").getData() == \"link\" %}
<p class=\"no-margins\">
{% if editmode %}
{{ pimcore_link('link') }}
{% else %}
{% set link = pimcore_link('link') %}
<a href=\"{{ link.getHref() }}\" class=\"link\" target=\"{{ link.getTarget() }}\">
<span>
{{ link.getText() | raw }}
</span>
</a>
{% endif %}
</p>
{% endif %}
<p>
{{ pimcore_input('inputType', {'placeholder': 'Add text type here like email , address or phone' ,\"width\": 450}) }}
</p>
</div>
</div>
</div>
{# {% if loop.index == 3 %}
<div class=\"one_third has-animation\" data-delay=\"100\"></div>
{% endif %} #}
{% endfor %}
</div>
</div></div>
<hr/>
</div>
</div>
</div>
<!--/Page Navigation -->
<footer class=\"hidden\">
<div id=\"footer-container\">
<div id=\"backtotop\" class=\"button-wrap left\">
<div class=\"icon-wrap parallax-wrap\">
<div class=\"button-icon parallax-element\">
<i class=\"fa-solid fa-angle-up\"></i>
</div>
</div>
<div class=\"button-text sticky left\">
<span data-hover=\"Back Top\">
{{ pimcore_input('backTop', {'placeholder': 'Back Top' , width : 450}) }}
</span>
</div>
</div>
<div class=\"footer-middle\">
<div class=\"copyright\">
{{ 'now'|date('Y') }}
©
{{ pimcore_input('allRightsReserved', {'placeholder': 'All rights reserved.' , width : 360}) }}
</div>
</div>
<div class=\"socials-wrap socials-wrap-New\">
{# <div class=\"socials-icon\">
<i class=\"fa-solid fa-share-nodes\"></i>
</div> #}
<div class=\"socials-text\">
{# {{ pimcore_input('followUs', {'placeholder': 'Follow Us' , width : 450}) }} #}
{% for l in pimcore_iterate_block(pimcore_block('termsBlock')) %}
{{ pimcore_link('termsBlockLink') }}
{% if l < loop|length -2 %}
|
{% endif %}
{% endfor %}
</div>
</div>
</div>
</footer>
</div>
<!--/Footer -->
", "includes/footer.html.twig", "/var/www/html/templates/includes/footer.html.twig");
}
public function checkSecurity()
{
static $tags = array("for" => 20, "set" => 22, "if" => 23);
static $filters = array("escape" => 33, "raw" => 73, "date" => 122, "length" => 142);
static $functions = array("pimcore_wysiwyg" => 13, "pimcore_iterate_block" => 20, "pimcore_block" => 20, "pimcore_input" => 37, "pimcore_select" => 49, "pimcore_link" => 68);
try {
$this->sandbox->checkSecurity(
['for', 'set', 'if'],
['escape', 'raw', 'date', 'length'],
['pimcore_wysiwyg', 'pimcore_iterate_block', 'pimcore_block', 'pimcore_input', 'pimcore_select', 'pimcore_link'],
$this->source
);
} 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;
}
}
}