var/cache/dev/twig/81/81c2d0287449ee5062a9ef3544d87da483db871d9886581da06875ce26c82232.php line 33

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. /* Theme/Produit/Service/Service/articlesblog.html.twig */
  14. class __TwigTemplate_144f4b3b284327b0c0e4de86a46dad38d277d0cb872dbdaf44d4c1d3a483d992 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Service/Service/articlesblog.html.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Service/Service/articlesblog.html.twig"));
  33.         // line 1
  34.         echo "<div class=\"my-container\">
  35. <div class=\"row\">
  36. \t<div class=\"col-md-12\" style=\"margin-bottom: 7px;\">
  37. \t<div class=\"step-indicator\" style=\"display: inline-block; width: 100%; margin: 0px; background: #f9f9f9;\">
  38. \t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">";
  39.         // line 5
  40.         echo twig_escape_filter($this->env, (isset($context["site"]) || array_key_exists("site"$context) ? $context["site"] : (function () { throw new RuntimeError('Variable "site" does not exist.'5$this->source); })()), "html"nulltrue);
  41.         echo "</div></a>
  42. \t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">À propos</div></a>
  43. \t\t<a class=\"stepcard\" href=\"#!\" style=\"display: inline-block;  width: 22%;\"><div class=\"coustom-my-text\">Le Blog</div></a>
  44. \t</div>
  45. \t</div>
  46. </div>
  47. </div>
  48. <div style=\"background: #f5f7f8; padding-top: 20px;\">
  49. \t<div class=\"my-container\">
  50. \t\t<div class=\"row\">
  51. \t\t<div class=\"col-md-4\">
  52. \t\t\t";
  53.         // line 17
  54.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("App\\Controller\\Produit\\Service\\ServiceController:menuarticle", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'17$this->source); })())]));
  55.         echo "
  56. \t\t</div>
  57. \t\t<div class=\"col-md-8\">
  58. \t\t
  59. \t\t\t<div class=\"menu-ui \"style=\"border-radius: 0px; margin-bottom: 10px;\">
  60. \t\t\t\t<div class=\"menu-wrapper\">
  61. \t\t\t\t\t<div class=\"menu-content\">
  62. \t\t\t\t\t";
  63.         // line 24
  64.         $context['_parent'] = $context;
  65.         $context['_seq'] = twig_ensure_traversable((isset($context["liste_article"]) || array_key_exists("liste_article"$context) ? $context["liste_article"] : (function () { throw new RuntimeError('Variable "liste_article" does not exist.'24$this->source); })()));
  66.         foreach ($context['_seq'] as $context["_key"] => $context["article"]) {
  67.             // line 25
  68.             echo "\t\t\t\t\t<div class=\"topic\">
  69. \t\t\t\t\t\t<div class=\"open\">
  70. \t\t\t\t\t\t<span class=\"faq-t\" style=\"top: 40px;\"></span>
  71. \t\t\t\t\t\t<h2 class=\"question\">
  72. \t\t\t\t\t\t<img src=\"";
  73.             // line 29
  74.             if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["article"], "imgservice", [], "any"falsefalsefalse29), null))) {
  75.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["article"], "imgservice", [], "any"falsefalsefalse29), "getwebpath", [], "any"falsefalsefalse29)), "html"nulltrue);
  76.             } else {
  77.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  78.             }
  79.             echo "\" alt=\"";
  80.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "keyword", [], "any"falsefalsefalse29), "html"nulltrue);
  81.             echo "\" style=\"width: 100px; height: 100px; float: left; margin-right: 7px; background: #ddd; margin-top: -20px;\" >  
  82. \t\t\t\t\t\t<span style=\"font-size: 25px;\">";
  83.             // line 30
  84.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "nom", [], "any"falsefalsefalse30), "html"nulltrue);
  85.             echo "</span>
  86. \t\t\t\t\t\t<div style=\"color: #333; margin-top: 10px;\">
  87. \t\t\t\t\t\t   ";
  88.             // line 33
  89.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "breve", [], "any"falsefalsefalse33), "html"nulltrue);
  90.             echo " <span class=\"badge\" style=\"float: right; color: #222\">";
  91.             echo twig_escape_filter($this->env, (twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "evenements", [], "any"falsefalsefalse33)) + 1), "html"nulltrue);
  92.             echo "</span>
  93. \t\t\t\t\t\t</div>
  94. \t\t\t\t\t\t</h2> 
  95. \t\t\t\t\t\t</div>
  96. \t\t\t\t\t\t<div class=\"answer\">
  97. \t\t\t\t\t\t";
  98.             // line 38
  99.             echo $this->extensions['App\Service\Servicetext\TwigExtensions']->rewriteLink(twig_get_attribute($this->env$this->source$context["article"], "description", [], "any"falsefalsefalse38));
  100.             echo "</br>
  101. \t\t\t\t\t\t
  102. \t\t\t\t\t\t\t<div class=\"row\">
  103. \t\t\t\t\t\t\t\t";
  104.             // line 41
  105.             $context['_parent'] = $context;
  106.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["article"], "evenements", [], "any"falsefalsefalse41));
  107.             foreach ($context['_seq'] as $context["_key"] => $context["partie"]) {
  108.                 // line 42
  109.                 echo "\t\t\t\t\t\t\t\t<div class=\"col s12\" style=\"margin-top: 20px; padding: 5px 20px; border-top: 1px solid #ddd; display: block!important;\">
  110. \t\t\t\t\t\t\t\t<h2 style=\"font-size: 25px; margin: 0px;\">";
  111.                 // line 43
  112.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "nom", [], "any"falsefalsefalse43), "html"nulltrue);
  113.                 echo "</h2>
  114. \t\t\t\t\t\t\t\t";
  115.                 // line 45
  116.                 if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["partie"], "imgevenement", [], "any"falsefalsefalse45), null))) {
  117.                     // line 46
  118.                     echo "\t\t\t\t\t\t\t\t\t<div>
  119. \t\t\t\t\t\t\t\t\t\t<img src=\"";
  120.                     // line 47
  121.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["partie"], "imgevenement", [], "any"falsefalsefalse47), "getWebPath", [], "any"falsefalsefalse47)), "html"nulltrue);
  122.                     echo "\" alt=\"";
  123.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["article"], "keyword", [], "any"falsefalsefalse47), "html"nulltrue);
  124.                     echo "\" style=\"width: 100%; margin: 7px 0px;\">
  125. \t\t\t\t\t\t\t\t\t</div>
  126. \t\t\t\t\t\t\t\t";
  127.                 }
  128.                 // line 50
  129.                 echo "
  130. \t\t\t\t\t\t\t\t";
  131.                 // line 51
  132.                 echo $this->extensions['App\Service\Servicetext\TwigExtensions']->rewriteLink(twig_get_attribute($this->env$this->source$context["partie"], "description", [], "any"falsefalsefalse51));
  133.                 echo "
  134. \t\t\t\t\t\t\t\t</div>
  135. \t\t\t\t\t\t\t\t";
  136.             }
  137.             $_parent $context['_parent'];
  138.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partie'], $context['_parent'], $context['loop']);
  139.             $context array_intersect_key($context$_parent) + $_parent;
  140.             // line 54
  141.             echo "\t\t\t\t\t\t\t\t<div class=\"clearfix\"></div>
  142. \t\t\t\t\t\t\t</div>
  143. \t\t\t\t\t\t</div>
  144. \t\t\t\t\t</div>
  145. \t\t\t\t\t";
  146.         }
  147.         $_parent $context['_parent'];
  148.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['article'], $context['_parent'], $context['loop']);
  149.         $context array_intersect_key($context$_parent) + $_parent;
  150.         // line 59
  151.         echo "
  152. \t\t\t\t\t<span class=\"clearfix\"></span>
  153. \t\t\t\t\t";
  154.         // line 61
  155.         if ((=== twig_compare((isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'61$this->source); })()), 0))) {
  156.             // line 62
  157.             echo "\t\t\t\t
  158. \t\t\t\t\t";
  159.             // line 63
  160.             if (((=== twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'63$this->source); })()), 1)) && (>= twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'63$this->source); })()), (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'63$this->source); })()))))) {
  161.                 // line 64
  162.                 echo "\t\t\t\t\t";
  163.                 $context["pagepre"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'64$this->source); })()) - 1);
  164.                 // line 65
  165.                 echo "\t\t\t\t\t";
  166.             } else {
  167.                 // line 66
  168.                 echo "\t\t\t\t\t\t";
  169.                 $context["pagepre"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'66$this->source); })());
  170.                 // line 67
  171.                 echo "\t\t\t\t\t";
  172.             }
  173.             // line 68
  174.             echo "
  175. \t\t\t\t\t";
  176.             // line 69
  177.             if ((-=== twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'69$this->source); })()), (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'69$this->source); })())))) {
  178.                 // line 70
  179.                 echo "\t\t\t\t\t\t";
  180.                 $context["pagesuiv"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'70$this->source); })()) + 1);
  181.                 // line 71
  182.                 echo "\t\t\t\t\t";
  183.             } else {
  184.                 // line 72
  185.                 echo "\t\t\t\t\t\t";
  186.                 $context["pagesuiv"] = 1;
  187.                 // line 73
  188.                 echo "\t\t\t\t\t";
  189.             }
  190.             // line 74
  191.             echo "
  192. \t\t\t\t\t";
  193.             // line 75
  194.             if ((-=== twig_compare((isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'75$this->source); })()), 5))) {
  195.                 // line 76
  196.                 echo "\t\t\t\t\t\t";
  197.                 $context["debut"] = 1;
  198.                 // line 77
  199.                 echo "\t\t\t\t\t\t";
  200.                 $context["fin"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'77$this->source); })());
  201.                 // line 78
  202.                 echo "\t\t\t\t\t";
  203.             } else {
  204.                 // line 79
  205.                 echo "\t\t\t\t\t\t";
  206.                 if (((=== twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'79$this->source); })()), 2)) && (-=== twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'79$this->source); })()), ((isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'79$this->source); })()) - 2))))) {
  207.                     // line 80
  208.                     echo "\t\t\t\t\t\t\t";
  209.                     $context["debut"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'80$this->source); })()) - 2);
  210.                     // line 81
  211.                     echo "\t\t\t\t\t\t\t";
  212.                     if ((<= twig_compare(((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'81$this->source); })()) + 2), (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'81$this->source); })())))) {
  213.                         // line 82
  214.                         echo "\t\t\t\t\t\t\t\t";
  215.                         $context["fin"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'82$this->source); })());
  216.                         // line 83
  217.                         echo "\t\t\t\t\t\t\t";
  218.                     } else {
  219.                         // line 84
  220.                         echo "\t\t\t\t\t\t\t\t";
  221.                         $context["fin"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'84$this->source); })()) + 2);
  222.                         // line 85
  223.                         echo "\t\t\t\t\t\t\t";
  224.                     }
  225.                     // line 86
  226.                     echo "\t\t\t\t\t\t";
  227.                 } else {
  228.                     // line 87
  229.                     echo "\t\t\t\t\t\t\t";
  230.                     if ((>= twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'87$this->source); })()), 2))) {
  231.                         // line 88
  232.                         echo "\t\t\t\t\t\t\t\t";
  233.                         if ((=== twig_compare((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'88$this->source); })()), 1))) {
  234.                             // line 89
  235.                             echo "\t\t\t\t\t\t\t\t\t";
  236.                             $context["debut"] = 1;
  237.                             // line 90
  238.                             echo "\t\t\t\t\t\t\t\t\t";
  239.                             $context["fin"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'90$this->source); })()) + 3);
  240.                             // line 91
  241.                             echo "\t\t\t\t\t\t\t\t";
  242.                         } else {
  243.                             // line 92
  244.                             echo "\t\t\t\t\t\t\t\t\t";
  245.                             $context["debut"] = 1;
  246.                             // line 93
  247.                             echo "\t\t\t\t\t\t\t\t\t";
  248.                             $context["fin"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'93$this->source); })()) + 2);
  249.                             // line 94
  250.                             echo "\t\t\t\t\t\t\t\t";
  251.                         }
  252.                         // line 95
  253.                         echo "\t\t\t\t\t\t\t";
  254.                     } else {
  255.                         // line 96
  256.                         echo "\t\t\t\t\t\t\t\t";
  257.                         $context["debut"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'96$this->source); })()) - 2);
  258.                         // line 97
  259.                         echo "\t\t\t\t\t\t\t\t";
  260.                         if ((<= twig_compare(((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'97$this->source); })()) + 2), (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'97$this->source); })())))) {
  261.                             // line 98
  262.                             echo "\t\t\t\t\t\t\t\t\t";
  263.                             $context["fin"] = (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'98$this->source); })());
  264.                             // line 99
  265.                             echo "\t\t\t\t\t\t\t\t";
  266.                         } else {
  267.                             // line 100
  268.                             echo "\t\t\t\t\t\t\t\t\t";
  269.                             $context["fin"] = ((isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'100$this->source); })()) + 2);
  270.                             // line 101
  271.                             echo "\t\t\t\t\t\t\t\t";
  272.                         }
  273.                         // line 102
  274.                         echo "\t\t\t\t\t\t\t";
  275.                     }
  276.                     // line 103
  277.                     echo "\t\t\t\t\t\t";
  278.                 }
  279.                 // line 104
  280.                 echo "\t\t\t\t\t\t
  281. \t\t\t\t\t";
  282.             }
  283.             // line 106
  284.             echo "\t\t\t\t\t<div>
  285. \t\t\t\t\t  <ul class=\"pagination\" style=\"margin-top: 20px; display: block;\"> 
  286. \t\t\t\t\t\t<li><a href=\"";
  287.             // line 108
  288.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'108$this->source); })()), "page" => 1]), "html"nulltrue);
  289.             echo "\" title=\"Première page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-backward\" style=\"font-size: 13px;\"></span></a></li>
  290. \t\t\t\t\t\t<li><a href=\"";
  291.             // line 109
  292.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'109$this->source); })()), "page" => (isset($context["pagepre"]) || array_key_exists("pagepre"$context) ? $context["pagepre"] : (function () { throw new RuntimeError('Variable "pagepre" does not exist.'109$this->source); })())]), "html"nulltrue);
  293.             echo "\" title=\"Page précedente\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-backward\" style=\"font-size: 13px;\"></span></a></li>
  294. \t\t\t\t\t\t";
  295.             // line 110
  296.             $context['_parent'] = $context;
  297.             $context['_seq'] = twig_ensure_traversable(range((isset($context["debut"]) || array_key_exists("debut"$context) ? $context["debut"] : (function () { throw new RuntimeError('Variable "debut" does not exist.'110$this->source); })()), (isset($context["fin"]) || array_key_exists("fin"$context) ? $context["fin"] : (function () { throw new RuntimeError('Variable "fin" does not exist.'110$this->source); })())));
  298.             foreach ($context['_seq'] as $context["_key"] => $context["p"]) {
  299.                 // line 111
  300.                 echo "\t\t\t\t\t\t<li value=\"";
  301.                 echo twig_escape_filter($this->env$context["p"], "html"nulltrue);
  302.                 echo "\"><a href=\"";
  303.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'111$this->source); })()), "page" => $context["p"]]), "html"nulltrue);
  304.                 echo "\" class=\"";
  305.                 if ((=== twig_compare($context["p"], (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'111$this->source); })())))) {
  306.                     echo "activepage";
  307.                 }
  308.                 echo "\" style=\"margin: 4px 0px;\">";
  309.                 echo twig_escape_filter($this->env$context["p"], "html"nulltrue);
  310.                 echo "</a></li>
  311. \t\t\t\t\t\t";
  312.             }
  313.             $_parent $context['_parent'];
  314.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['p'], $context['_parent'], $context['loop']);
  315.             $context array_intersect_key($context$_parent) + $_parent;
  316.             // line 113
  317.             echo "\t\t\t\t\t\t<li><a href=\"";
  318.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'113$this->source); })()), "page" => (isset($context["pagesuiv"]) || array_key_exists("pagesuiv"$context) ? $context["pagesuiv"] : (function () { throw new RuntimeError('Variable "pagesuiv" does not exist.'113$this->source); })())]), "html"nulltrue);
  319.             echo "\"  title=\"Page suivante\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-forward\" style=\"font-size: 13px;\"></span></a></li>
  320. \t\t\t\t\t\t<li><a href=\"";
  321.             // line 114
  322.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'114$this->source); })()), "page" => (isset($context["nombrepage"]) || array_key_exists("nombrepage"$context) ? $context["nombrepage"] : (function () { throw new RuntimeError('Variable "nombrepage" does not exist.'114$this->source); })())]), "html"nulltrue);
  323.             echo "\" title=\"Dernière page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-forward\" style=\"font-size: 13px;\"></span></a></li>
  324. \t\t\t\t\t   </ul>
  325. \t\t\t\t\t<div class=\"clearfix\"></div>
  326. \t\t\t\t\t</div>
  327. \t\t\t\t\t";
  328.         } else {
  329.             // line 119
  330.             echo "\t\t\t\t\t<div>
  331. \t\t\t\t\t  <ul class=\"pagination\" style=\"margin-top: 20px; display: block;\">
  332. \t\t\t\t\t  <li><a href=\"";
  333.             // line 121
  334.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'121$this->source); })()), "page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'121$this->source); })())]), "html"nulltrue);
  335.             echo "\" title=\"Première page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-backward\" style=\"font-size: 13px;\"></span></a></li>
  336. \t\t\t\t\t\t<li><a href=\"";
  337.             // line 122
  338.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'122$this->source); })()), "page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'122$this->source); })())]), "html"nulltrue);
  339.             echo "\" title=\"Page précedente\" style=\"width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-backward\" style=\"font-size: 13px;\"></span></a></li>
  340. \t\t\t\t\t\t<li><a href=\"";
  341.             // line 124
  342.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'124$this->source); })()), "page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'124$this->source); })())]), "html"nulltrue);
  343.             echo "\" class=\"activepage\" style=\"margin: 4px 0px;\">0</a></li>
  344. \t\t\t\t\t\t<li><a href=\"";
  345.             // line 126
  346.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'126$this->source); })()), "page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'126$this->source); })())]), "html"nulltrue);
  347.             echo "\"  title=\"Page suivante\" style=\"width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-forward\" style=\"font-size: 13px;\"></span></a></li>
  348. \t\t\t\t\t\t<li><a href=\"";
  349.             // line 127
  350.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => (isset($context["position"]) || array_key_exists("position"$context) ? $context["position"] : (function () { throw new RuntimeError('Variable "position" does not exist.'127$this->source); })()), "page" => (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'127$this->source); })())]), "html"nulltrue);
  351.             echo "\" title=\"Dernière page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-forward\" style=\"font-size: 13px;\"></span></a></li>
  352. \t\t\t\t\t   </ul>
  353. \t\t\t\t\t<div class=\"clearfix\"></div>
  354. \t\t\t\t\t</div>
  355. \t\t\t\t\t";
  356.         }
  357.         // line 131
  358.         echo "\t
  359. \t\t\t\t\t</div>
  360. \t\t\t\t</div>
  361. \t\t\t</div>
  362. \t\t
  363. \t\t</div>
  364. \t\t</div>
  365. \t</div>
  366. </div>";
  367.         
  368.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  369.         
  370.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  371.     }
  372.     public function getTemplateName()
  373.     {
  374.         return "Theme/Produit/Service/Service/articlesblog.html.twig";
  375.     }
  376.     public function isTraitable()
  377.     {
  378.         return false;
  379.     }
  380.     public function getDebugInfo()
  381.     {
  382.         return array (  372 => 131,  364 => 127,  360 => 126,  355 => 124,  350 => 122,  346 => 121,  342 => 119,  334 => 114,  329 => 113,  312 => 111,  308 => 110,  304 => 109,  300 => 108,  296 => 106,  292 => 104,  289 => 103,  286 => 102,  283 => 101,  280 => 100,  277 => 99,  274 => 98,  271 => 97,  268 => 96,  265 => 95,  262 => 94,  259 => 93,  256 => 92,  253 => 91,  250 => 90,  247 => 89,  244 => 88,  241 => 87,  238 => 86,  235 => 85,  232 => 84,  229 => 83,  226 => 82,  223 => 81,  220 => 80,  217 => 79,  214 => 78,  211 => 77,  208 => 76,  206 => 75,  203 => 74,  200 => 73,  197 => 72,  194 => 71,  191 => 70,  189 => 69,  186 => 68,  183 => 67,  180 => 66,  177 => 65,  174 => 64,  172 => 63,  169 => 62,  167 => 61,  163 => 59,  153 => 54,  144 => 51,  141 => 50,  133 => 47,  130 => 46,  128 => 45,  123 => 43,  120 => 42,  116 => 41,  110 => 38,  100 => 33,  94 => 30,  84 => 29,  78 => 25,  74 => 24,  64 => 17,  49 => 5,  43 => 1,);
  383.     }
  384.     public function getSourceContext()
  385.     {
  386.         return new Source("<div class=\"my-container\">
  387. <div class=\"row\">
  388. \t<div class=\"col-md-12\" style=\"margin-bottom: 7px;\">
  389. \t<div class=\"step-indicator\" style=\"display: inline-block; width: 100%; margin: 0px; background: #f9f9f9;\">
  390. \t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">{{ site }}</div></a>
  391. \t\t<a class=\"stepcard completed\" href=\"\" style=\"display: inline-block; width: 22%;\"><div class=\"coustom-my-text\">À propos</div></a>
  392. \t\t<a class=\"stepcard\" href=\"#!\" style=\"display: inline-block;  width: 22%;\"><div class=\"coustom-my-text\">Le Blog</div></a>
  393. \t</div>
  394. \t</div>
  395. </div>
  396. </div>
  397. <div style=\"background: #f5f7f8; padding-top: 20px;\">
  398. \t<div class=\"my-container\">
  399. \t\t<div class=\"row\">
  400. \t\t<div class=\"col-md-4\">
  401. \t\t\t{{ render(controller(\"App\\\\Controller\\\\Produit\\\\Service\\\\ServiceController:menuarticle\", {'position': position})) }}
  402. \t\t</div>
  403. \t\t<div class=\"col-md-8\">
  404. \t\t
  405. \t\t\t<div class=\"menu-ui \"style=\"border-radius: 0px; margin-bottom: 10px;\">
  406. \t\t\t\t<div class=\"menu-wrapper\">
  407. \t\t\t\t\t<div class=\"menu-content\">
  408. \t\t\t\t\t{% for article in liste_article %}
  409. \t\t\t\t\t<div class=\"topic\">
  410. \t\t\t\t\t\t<div class=\"open\">
  411. \t\t\t\t\t\t<span class=\"faq-t\" style=\"top: 40px;\"></span>
  412. \t\t\t\t\t\t<h2 class=\"question\">
  413. \t\t\t\t\t\t<img src=\"{% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" alt=\"{{ article.keyword }}\" style=\"width: 100px; height: 100px; float: left; margin-right: 7px; background: #ddd; margin-top: -20px;\" >  
  414. \t\t\t\t\t\t<span style=\"font-size: 25px;\">{{ article.nom }}</span>
  415. \t\t\t\t\t\t<div style=\"color: #333; margin-top: 10px;\">
  416. \t\t\t\t\t\t   {{ article.breve }} <span class=\"badge\" style=\"float: right; color: #222\">{{ article.evenements|length + 1 }}</span>
  417. \t\t\t\t\t\t</div>
  418. \t\t\t\t\t\t</h2> 
  419. \t\t\t\t\t\t</div>
  420. \t\t\t\t\t\t<div class=\"answer\">
  421. \t\t\t\t\t\t{{ article.description|rewriteLink|raw }}</br>
  422. \t\t\t\t\t\t
  423. \t\t\t\t\t\t\t<div class=\"row\">
  424. \t\t\t\t\t\t\t\t{% for partie in article.evenements %}
  425. \t\t\t\t\t\t\t\t<div class=\"col s12\" style=\"margin-top: 20px; padding: 5px 20px; border-top: 1px solid #ddd; display: block!important;\">
  426. \t\t\t\t\t\t\t\t<h2 style=\"font-size: 25px; margin: 0px;\">{{ partie.nom }}</h2>
  427. \t\t\t\t\t\t\t\t{% if partie.imgevenement != null %}
  428. \t\t\t\t\t\t\t\t\t<div>
  429. \t\t\t\t\t\t\t\t\t\t<img src=\"{{ asset(partie.imgevenement.getWebPath) }}\" alt=\"{{ article.keyword }}\" style=\"width: 100%; margin: 7px 0px;\">
  430. \t\t\t\t\t\t\t\t\t</div>
  431. \t\t\t\t\t\t\t\t{% endif %}
  432. \t\t\t\t\t\t\t\t{{ partie.description|rewriteLink|raw }}
  433. \t\t\t\t\t\t\t\t</div>
  434. \t\t\t\t\t\t\t\t{% endfor %}
  435. \t\t\t\t\t\t\t\t<div class=\"clearfix\"></div>
  436. \t\t\t\t\t\t\t</div>
  437. \t\t\t\t\t\t</div>
  438. \t\t\t\t\t</div>
  439. \t\t\t\t\t{% endfor %}
  440. \t\t\t\t\t<span class=\"clearfix\"></span>
  441. \t\t\t\t\t{% if nombrepage > 0 %}
  442. \t\t\t\t
  443. \t\t\t\t\t{% if page > 1 and page <= nombrepage %}
  444. \t\t\t\t\t{% set pagepre = page - 1 %}
  445. \t\t\t\t\t{% else %}
  446. \t\t\t\t\t\t{% set pagepre = nombrepage %}
  447. \t\t\t\t\t{% endif %}
  448. \t\t\t\t\t{% if page < nombrepage %}
  449. \t\t\t\t\t\t{% set pagesuiv = page + 1 %}
  450. \t\t\t\t\t{% else %}
  451. \t\t\t\t\t\t{% set pagesuiv =  1 %}
  452. \t\t\t\t\t{% endif %}
  453. \t\t\t\t\t{% if nombrepage < 5 %}
  454. \t\t\t\t\t\t{% set debut = 1 %}
  455. \t\t\t\t\t\t{% set fin = nombrepage %}
  456. \t\t\t\t\t{% else %}
  457. \t\t\t\t\t\t{% if page > 2 and page < (nombrepage - 2) %}
  458. \t\t\t\t\t\t\t{% set debut = page - 2 %}
  459. \t\t\t\t\t\t\t{% if page + 2 >= nombrepage %}
  460. \t\t\t\t\t\t\t\t{% set fin = nombrepage %}
  461. \t\t\t\t\t\t\t{% else %}
  462. \t\t\t\t\t\t\t\t{% set fin = page + 2 %}
  463. \t\t\t\t\t\t\t{% endif %}
  464. \t\t\t\t\t\t{% else %}
  465. \t\t\t\t\t\t\t{% if page <= 2 %}
  466. \t\t\t\t\t\t\t\t{% if page == 1 %}
  467. \t\t\t\t\t\t\t\t\t{% set debut = 1 %}
  468. \t\t\t\t\t\t\t\t\t{% set fin = page + 3 %}
  469. \t\t\t\t\t\t\t\t{% else %}
  470. \t\t\t\t\t\t\t\t\t{% set debut = 1 %}
  471. \t\t\t\t\t\t\t\t\t{% set fin = page + 2 %}
  472. \t\t\t\t\t\t\t\t{% endif %}
  473. \t\t\t\t\t\t\t{% else %}
  474. \t\t\t\t\t\t\t\t{% set debut = page - 2 %}
  475. \t\t\t\t\t\t\t\t{% if page + 2 >= nombrepage %}
  476. \t\t\t\t\t\t\t\t\t{% set fin = nombrepage %}
  477. \t\t\t\t\t\t\t\t{% else %}
  478. \t\t\t\t\t\t\t\t\t{% set fin = page + 2 %}
  479. \t\t\t\t\t\t\t\t{% endif %}
  480. \t\t\t\t\t\t\t{% endif %}
  481. \t\t\t\t\t\t{% endif %}
  482. \t\t\t\t\t\t
  483. \t\t\t\t\t{% endif %}
  484. \t\t\t\t\t<div>
  485. \t\t\t\t\t  <ul class=\"pagination\" style=\"margin-top: 20px; display: block;\"> 
  486. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': 1 }) }}\" title=\"Première page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-backward\" style=\"font-size: 13px;\"></span></a></li>
  487. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': pagepre }) }}\" title=\"Page précedente\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-backward\" style=\"font-size: 13px;\"></span></a></li>
  488. \t\t\t\t\t\t{% for p in debut..fin %}
  489. \t\t\t\t\t\t<li value=\"{{ p }}\"><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': p }) }}\" class=\"{% if p == page %}activepage{% endif %}\" style=\"margin: 4px 0px;\">{{ p }}</a></li>
  490. \t\t\t\t\t\t{% endfor %}
  491. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': pagesuiv }) }}\"  title=\"Page suivante\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-forward\" style=\"font-size: 13px;\"></span></a></li>
  492. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': nombrepage }) }}\" title=\"Dernière page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-forward\" style=\"font-size: 13px;\"></span></a></li>
  493. \t\t\t\t\t   </ul>
  494. \t\t\t\t\t<div class=\"clearfix\"></div>
  495. \t\t\t\t\t</div>
  496. \t\t\t\t\t{% else %}
  497. \t\t\t\t\t<div>
  498. \t\t\t\t\t  <ul class=\"pagination\" style=\"margin-top: 20px; display: block;\">
  499. \t\t\t\t\t  <li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}\" title=\"Première page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-backward\" style=\"font-size: 13px;\"></span></a></li>
  500. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}\" title=\"Page précedente\" style=\"width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-backward\" style=\"font-size: 13px;\"></span></a></li>
  501. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}\" class=\"activepage\" style=\"margin: 4px 0px;\">0</a></li>
  502. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}\"  title=\"Page suivante\" style=\"width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center;\"><span class=\"fa fa-step-forward\" style=\"font-size: 13px;\"></span></a></li>
  503. \t\t\t\t\t\t<li><a href=\"{{ path('produit_service_afh_sps', {'position': position, 'page': page }) }}\" title=\"Dernière page\" style=\" width: 34px; height: 34px; border-radius: 17px; padding-top: 5px; margin: 2px; text-align: center; line-height: 8px;\"><span class=\"fa fa-fast-forward\" style=\"font-size: 13px;\"></span></a></li>
  504. \t\t\t\t\t   </ul>
  505. \t\t\t\t\t<div class=\"clearfix\"></div>
  506. \t\t\t\t\t</div>
  507. \t\t\t\t\t{% endif %}\t
  508. \t\t\t\t\t</div>
  509. \t\t\t\t</div>
  510. \t\t\t</div>
  511. \t\t
  512. \t\t</div>
  513. \t\t</div>
  514. \t</div>
  515. </div>""Theme/Produit/Service/Service/articlesblog.html.twig""/home/afhunt/domains/factory.afhunt.com/public_html/factory/templates/Theme/Produit/Service/Service/articlesblog.html.twig");
  516.     }
  517. }