<?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;
/* front/theme1/activites.html.twig */
class __TwigTemplate_5d15ea4481e810d15b24acd569f2e59a extends Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'stylesheets' => [$this, 'block_stylesheets'],
'body' => [$this, 'block_body'],
];
}
protected function doGetParent(array $context)
{
// line 1
return $this->loadTemplate((("front/" . twig_get_attribute($this->env, $this->source, 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.', 1, $this->source); })()), "request", [], "any", false, false, false, 1), "server", [], "any", false, false, false, 1), "get", [0 => "APP_THEME"], "method", false, false, false, 1)) . "/base.html.twig"), "front/theme1/activites.html.twig", 1);
}
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", "front/theme1/activites.html.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "front/theme1/activites.html.twig"));
$this->getParent($context)->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 3
public function block_stylesheets($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(), "block", "stylesheets"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheets"));
// line 4
echo " ";
$this->displayParentBlock("stylesheets", $context, $blocks);
echo "
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 8
public function block_body($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(), "block", "body"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "body"));
// line 9
echo " <div class=\"page_cms page_activite pt-5\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
";
// line 15
if ((array_key_exists("breadcrumb", $context) && !twig_test_empty((isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 15, $this->source); })())))) {
// line 16
echo " ";
echo twig_include($this->env, $context, (("front/" . twig_get_attribute($this->env, $this->source, 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.', 16, $this->source); })()), "request", [], "any", false, false, false, 16), "server", [], "any", false, false, false, 16), "get", [0 => "APP_THEME"], "method", false, false, false, 16)) . "/partials/breadcrumb.html.twig"));
echo "
<h1 class=\"page-title\">";
// line 17
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_last($this->env, (isset($context["breadcrumb"]) || array_key_exists("breadcrumb", $context) ? $context["breadcrumb"] : (function () { throw new RuntimeError('Variable "breadcrumb" does not exist.', 17, $this->source); })())), "name", [], "any", false, false, false, 17), "html", null, true);
echo "</h1>
";
}
// line 19
echo " </div>
</div>
</div>
</div>
</div>
<div class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-sm-12 text-center\">
<h2>Toutes nos prestations de plombier-chauffagiste</h2>
<p> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</div>
</div>
";
// line 36
if ((array_key_exists("activites", $context) && !twig_test_empty((isset($context["activites"]) || array_key_exists("activites", $context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.', 36, $this->source); })())))) {
// line 37
echo " <div class=\"row\">
";
// line 38
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["activites"]) || array_key_exists("activites", $context) ? $context["activites"] : (function () { throw new RuntimeError('Variable "activites" does not exist.', 38, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 39
echo " <div class=\"col-sm-12 col-md-6\">
<div class=\"panel panel-success mb-4\">
<div class=\"panel-heading\"><span class=\"panel-title\"> <a href=\"";
// line 41
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 41)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 41), "html", null, true);
echo "\" target=\"_top\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 41), "html", null, true);
echo "</a></span></div>
<div class=\"panel-body\">
";
// line 43
if ((twig_get_attribute($this->env, $this->source, $context["item"], "urls_principal", [], "any", true, true, false, 43) && !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "urls_principal", [], "any", false, false, false, 43)))) {
// line 44
echo " <ul>
";
// line 45
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "urls_principal", [], "any", false, false, false, 45), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 45, $this->source); })()), "type", [], "any", false, false, false, 45) == "page_ref"); }));
foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
// line 46
echo " <li>
<a href=\"";
// line 47
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item_url"], "slug", [], "any", false, false, false, 47)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 47), "html", null, true);
echo "\" target=\"_top\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 47), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 49
echo "
";
// line 51
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "urls_principal", [], "any", false, false, false, 51), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 51, $this->source); })()), "type", [], "any", false, false, false, 51) == "page_actualite"); }));
foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
// line 52
echo " <li>
<a href=\"";
// line 53
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item_url"], "slug", [], "any", false, false, false, 53)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 53), "html", null, true);
echo "\" target=\"_top\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 53), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 55
echo "
";
// line 57
if ((twig_get_attribute($this->env, $this->source, $context["item"], "activite_secondiare", [], "any", true, true, false, 57) && !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "activite_secondiare", [], "any", false, false, false, 57)))) {
// line 58
echo " ";
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env, $this->source, $context["item"], "activite_secondiare", [], "any", false, false, false, 58));
foreach ($context['_seq'] as $context["_key"] => $context["item"]) {
// line 59
echo " <div class=\"sous_activite\">
<a href=\"";
// line 60
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item"], "slug", [], "any", false, false, false, 60)]), "html", null, true);
echo "\"><i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "titre", [], "any", false, false, false, 60), "html", null, true);
echo "</a>
";
// line 61
if ((twig_get_attribute($this->env, $this->source, $context["item"], "urls", [], "any", true, true, false, 61) && !twig_test_empty(twig_get_attribute($this->env, $this->source, $context["item"], "urls", [], "any", false, false, false, 61)))) {
// line 62
echo " <ul>
";
// line 63
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "urls", [], "any", false, false, false, 63), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 63, $this->source); })()), "type", [], "any", false, false, false, 63) == "page_ref"); }));
foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
// line 64
echo " <li>
<a href=\"";
// line 65
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item_url"], "slug", [], "any", false, false, false, 65)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 65), "html", null, true);
echo "\" target=\"_top\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 65), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 68
echo "
";
// line 69
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_array_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item"], "urls", [], "any", false, false, false, 69), function ($__v__) use ($context, $macros) { $context["v"] = $__v__; return (twig_get_attribute($this->env, $this->source, (isset($context["v"]) || array_key_exists("v", $context) ? $context["v"] : (function () { throw new RuntimeError('Variable "v" does not exist.', 69, $this->source); })()), "type", [], "any", false, false, false, 69) == "page_actualite"); }));
foreach ($context['_seq'] as $context["_key"] => $context["item_url"]) {
// line 70
echo " <li>
<a href=\"";
// line 71
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("page", ["slug" => twig_get_attribute($this->env, $this->source, $context["item_url"], "slug", [], "any", false, false, false, 71)]), "html", null, true);
echo "\" title=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 71), "html", null, true);
echo "\" target=\"_top\"> ";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["item_url"], "titre", [], "any", false, false, false, 71), "html", null, true);
echo "</a>
</li>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item_url'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 74
echo " </ul>
";
}
// line 76
echo " </div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 78
echo " ";
}
echo "
</ul>
";
}
// line 81
echo " </div>
</div>
</div>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['item'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 85
echo " </div>
";
}
// line 87
echo "
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "front/theme1/activites.html.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 300 => 87, 296 => 85, 287 => 81, 280 => 78, 273 => 76, 269 => 74, 256 => 71, 253 => 70, 249 => 69, 246 => 68, 233 => 65, 230 => 64, 226 => 63, 223 => 62, 221 => 61, 215 => 60, 212 => 59, 207 => 58, 205 => 57, 201 => 55, 188 => 53, 185 => 52, 181 => 51, 177 => 49, 164 => 47, 161 => 46, 157 => 45, 154 => 44, 152 => 43, 143 => 41, 139 => 39, 135 => 38, 132 => 37, 130 => 36, 111 => 19, 106 => 17, 101 => 16, 99 => 15, 91 => 9, 81 => 8, 68 => 4, 58 => 3, 36 => 1,);
}
public function getSourceContext()
{
return new Source("{% extends \"front/\"~ app.request.server.get('APP_THEME') ~\"/base.html.twig\" %}
{% block stylesheets %}
{{parent()}}
{% endblock %}
{% block body %}
<div class=\"page_cms page_activite pt-5\">
<div class=\"breadcrumb-style-default\">
<div class=\"container\">
<div class=\"row\">
<div class=\"col-lg-12\">
<div class=\"inner text-center\">
{% if breadcrumb is defined and breadcrumb is not empty %}
{{ include ('front/'~ app.request.server.get('APP_THEME') ~'/partials/breadcrumb.html.twig')}}
<h1 class=\"page-title\">{{breadcrumb|last.name}}</h1>
{% endif %}
</div>
</div>
</div>
</div>
</div>
<div class=\"container-fluid wrapper\">
<div class=\"row\">
<div class=\"col-sm-12 text-center\">
<h2>Toutes nos prestations de plombier-chauffagiste</h2>
<p> Lorem Ipsum is simply dummy text of the printing and typesetting industry.
Lorem Ipsum has been the industry's standard dummy text ever since the 1500s,
when an unknown printer took a galley of type and scrambled it to make a type specimen book.
It has survived not only five centuries, but also the leap into electronic typesetting, remaining essentially unchanged. It was popularised in the 1960s with the release of Letraset sheets containing Lorem Ipsum passages, and more recently with desktop publishing software like Aldus PageMaker including versions of Lorem Ipsum.</p>
</div>
</div>
{% if activites is defined and activites is not empty %}
<div class=\"row\">
{% for item in activites %}
<div class=\"col-sm-12 col-md-6\">
<div class=\"panel panel-success mb-4\">
<div class=\"panel-heading\"><span class=\"panel-title\"> <a href=\"{{path('page',{slug:item.slug})}}\" title=\"{{item.titre}}\" target=\"_top\">{{item.titre}}</a></span></div>
<div class=\"panel-body\">
{% if item.urls_principal is defined and item.urls_principal is not empty %}
<ul>
{% for item_url in item.urls_principal|filter(v => v.type == \"page_ref\") %}
<li>
<a href=\"{{path('page', {slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
</li>
{% endfor %}
{% for item_url in item.urls_principal|filter(v => v.type == \"page_actualite\") %}
<li>
<a href=\"{{path('page', {slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
</li>
{% endfor %}
{% if item.activite_secondiare is defined and item.activite_secondiare is not empty %}
{% for item in item.activite_secondiare %}
<div class=\"sous_activite\">
<a href=\"{{path('page',{slug:item.slug})}}\"><i class=\"fa fa-long-arrow-right\" aria-hidden=\"true\"></i> {{item.titre}}</a>
{% if item.urls is defined and item.urls is not empty %}
<ul>
{% for item_url in item.urls|filter(v => v.type == \"page_ref\") %}
<li>
<a href=\"{{path('page',{slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
</li>
{% endfor %}
{% for item_url in item.urls|filter(v => v.type == \"page_actualite\") %}
<li>
<a href=\"{{path('page',{slug:item_url.slug})}}\" title=\"{{item_url.titre}}\" target=\"_top\"> {{item_url.titre}}</a>
</li>
{% endfor %}
</ul>
{% endif %}
</div>
{% endfor %}
{% endif %}
</ul>
{% endif %}
</div>
</div>
</div>
{% endfor %}
</div>
{% endif %}
</div>
</div>
{% endblock %}
", "front/theme1/activites.html.twig", "/var/www/vhosts/hrz.fr/new-site.hrz.fr/templates/front/theme1/activites.html.twig");
}
}