var/cache/dev/twig/a0/a07d6deee6baa79c11827ed5d58dce44b194c4372ee7da31852f8215d97d0ab9.php line 43

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/detailarticlecentral.html.twig */
  14. class __TwigTemplate_d125659617667e469f1d791898df73c5c005688cf1a842c1891cc6e3de40cba8 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->blocks = [
  23.             'meta' => [$this'block_meta'],
  24.             'title' => [$this'block_title'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'userblog_body' => [$this'block_userblog_body'],
  27.             'srcjavascripttemplate' => [$this'block_srcjavascripttemplate'],
  28.             'javascripttemplate' => [$this'block_javascripttemplate'],
  29.         ];
  30.     }
  31.     protected function doGetParent(array $context)
  32.     {
  33.         // line 1
  34.         return "Theme/Users/User/layoutoffert.html.twig";
  35.     }
  36.     protected function doDisplay(array $context, array $blocks = [])
  37.     {
  38.         $macros $this->macros;
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Service/Service/detailarticlecentral.html.twig"));
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Theme/Produit/Service/Service/detailarticlecentral.html.twig"));
  43.         $this->parent $this->loadTemplate("Theme/Users/User/layoutoffert.html.twig""Theme/Produit/Service/Service/detailarticlecentral.html.twig"1);
  44.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  45.         
  46.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  47.         
  48.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  49.     }
  50.     // line 3
  51.     public function block_meta($context, array $blocks = [])
  52.     {
  53.         $macros $this->macros;
  54.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  55.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  56.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  58.         // line 4
  59.         echo "\t";
  60.         $this->displayParentBlock("meta"$context$blocks);
  61.         echo "
  62. \t<meta name=\"keywords\" content=\"";
  63.         // line 5
  64.         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);
  65.         echo ", ";
  66.         echo twig_escape_filter($this->env, (isset($context["keywords"]) || array_key_exists("keywords"$context) ? $context["keywords"] : (function () { throw new RuntimeError('Variable "keywords" does not exist.'5$this->source); })()), "html"nulltrue);
  67.         echo "\"/>
  68. \t<meta name=\"author\" content=\"Noel Kenfack\"/>
  69. \t<meta name=\"description\" content=\"";
  70.         // line 7
  71.         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.'7$this->source); })()), "html"nulltrue);
  72.         echo " - ";
  73.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'7$this->source); })()), "nom", [], "any"falsefalsefalse7), "html"nulltrue);
  74.         echo "\"/>
  75. ";
  76.         
  77.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  78.         
  79.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  80.     }
  81.     // line 10
  82.     public function block_title($context, array $blocks = [])
  83.     {
  84.         $macros $this->macros;
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  86.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  88.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  89.         // line 11
  90.         echo "\t";
  91.         $this->displayParentBlock("title"$context$blocks);
  92.         echo " - ";
  93.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'11$this->source); })()), "breve", [], "any"falsefalsefalse11), "html"nulltrue);
  94.         echo "
  95. ";
  96.         
  97.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  98.         
  99.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  100.     }
  101.     // line 14
  102.     public function block_stylesheets($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  107.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  109.         // line 15
  110.         echo "\t";
  111.         $this->displayParentBlock("stylesheets"$context$blocks);
  112.         echo "
  113. ";
  114.         
  115.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  116.         
  117.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  118.     }
  119.     // line 18
  120.     public function block_userblog_body($context, array $blocks = [])
  121.     {
  122.         $macros $this->macros;
  123.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  124.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userblog_body"));
  125.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  126.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""userblog_body"));
  127.         // line 19
  128.         echo "
  129. <div style=\"background: #90acd1;\">
  130.     <div class=\"container\" style=\"overflow: hidden;\">
  131.         <div class=\"row\" style=\"margin: 15px 0px;\">
  132.         <div class=\"col-md-12\">
  133.         ";
  134.         // line 24
  135.         if ($this->extensions['App\Service\Servicetext\TwigExtensions']->is_mobile()) {
  136.             // line 25
  137.             echo "        <ol class=\"c-navigation-breadcrumbs__directory\">
  138.             <!-- Duplicating the \"Home\" link in both the global navigation and the breadcrumb trail is not recommended. -->
  139.             <li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  140.               <a class=\"c-navigation-breadcrumbs__link\" href=\"\" property=\"item\" typeof=\"WebPage\">
  141.                 <span class=\"u-visually-hidden\" property=\"name\"><span class=\"fa fa-home\"> </span> Accueil</span>
  142.               </a>
  143.               <meta property=\"position\" content=\"1\">
  144.             </li>
  145.     
  146.             <li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  147.               <a class=\"c-navigation-breadcrumbs__link\" href=\"\" property=\"item\" typeof=\"WebPage\">
  148.                 <span property=\"name\"> L'entreprise</span>
  149.               </a>
  150.               <meta property=\"position\" content=\"2\">
  151.             </li>
  152.     
  153.             <li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  154.               <a class=\"c-navigation-breadcrumbs__link\" href=\"#!\" property=\"item\" aria-current=\"location\">
  155.                 <span property=\"name\">À propos de  nous </span>
  156.               </a>
  157.               <meta property=\"position\" content=\"3\">
  158.             </li>
  159.         </ol>
  160.         ";
  161.         } else {
  162.             // line 49
  163.             echo "        <div style=\"padding: 20px 0px;\">
  164.             <ul class=\"breadcrumbs\">
  165.               <li><a href=\"";
  166.             // line 51
  167.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("users_user_acces_plateforme");
  168.             echo "\"><span class=\"fa fa-home\"></span> Accueil</a></li>
  169.               <li><a > L'entreprise</a></li>
  170.               <li>À propos de nous</li>
  171.             </ul>
  172.         </div>
  173.         ";
  174.         }
  175.         // line 57
  176.         echo "
  177.       </div>
  178.       
  179.       
  180.       </div>
  181.     
  182.       
  183.     </div>
  184.     </div>
  185.     <div style=\"background-image: linear-gradient(-1deg, #F6FCFF 0%, #EAF7FF 98%);\">
  186.         <div class=\"container\" style=\"height: 20px;\">
  187.           
  188.         </div>
  189.     </div>
  190. <div class=\"container\" style=\"min-height: 500px;\">
  191.     <div class=\"row\">
  192.         <div class=\"col-md-12\">
  193.             <div class=\"animecourant-panel\" style=\"display: block;\">
  194.                     
  195.             </div>
  196.         </div>
  197.     </div>
  198.     <div class=\"row\" style=\"margin-top: 7px;\">
  199.         <div class=\"col-md-8\">
  200.             <h3 class=\"breadcrumbs-title\" style=\"margin-bottom: 15px;\">
  201.                 <a href=\"";
  202.         // line 85
  203.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_afh_sps", ["position" => "blogads"]);
  204.         echo "\" class=\"btn btn-default btn-lg border\">
  205.                     <span class=\"bi bi-arrow-left-short\"></span> Précédent
  206.                 </a>
  207.                 ";
  208.         // line 88
  209.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'88$this->source); })()), "breve", [], "any"falsefalsefalse88), "html"nulltrue);
  210.         echo "
  211.             </h3>
  212.         </div>
  213.         <div class=\"col-md-4\">
  214.             <div class=\"dropdowncarte\">
  215.                 <button></button>
  216.                 <div class=\"options\">
  217.                     ";
  218.         // line 96
  219.         $context['_parent'] = $context;
  220.         $context['_seq'] = twig_ensure_traversable((isset($context["type_blog"]) || array_key_exists("type_blog"$context) ? $context["type_blog"] : (function () { throw new RuntimeError('Variable "type_blog" does not exist.'96$this->source); })()));
  221.         $context['loop'] = [
  222.           'parent' => $context['_parent'],
  223.           'index0' => 0,
  224.           'index'  => 1,
  225.           'first'  => true,
  226.         ];
  227.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  228.             $length count($context['_seq']);
  229.             $context['loop']['revindex0'] = $length 1;
  230.             $context['loop']['revindex'] = $length;
  231.             $context['loop']['length'] = $length;
  232.             $context['loop']['last'] = === $length;
  233.         }
  234.         foreach ($context['_seq'] as $context["_key"] => $context["type"]) {
  235.             // line 97
  236.             echo "                    <input id=\"target_item_";
  237.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["type"], "id", [], "any"falsefalsefalse97), "html"nulltrue);
  238.             echo "\" type=\"radio\" name=\"region\" value=\"africa\" checked=\"\">
  239.                         <label style=\"--index: ";
  240.             // line 98
  241.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse98), "html"nulltrue);
  242.             echo "\" for=\"target_item_";
  243.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["type"], "id", [], "any"falsefalsefalse98), "html"nulltrue);
  244.             echo "\">
  245.                         <span class=\"fa fa-list-alt\"></span>
  246.                         ";
  247.             // line 100
  248.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["type"], "nom", [], "any"falsefalsefalse100), "html"nulltrue);
  249.             echo "
  250.                     </label>
  251.                     ";
  252.             ++$context['loop']['index0'];
  253.             ++$context['loop']['index'];
  254.             $context['loop']['first'] = false;
  255.             if (isset($context['loop']['length'])) {
  256.                 --$context['loop']['revindex0'];
  257.                 --$context['loop']['revindex'];
  258.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  259.             }
  260.         }
  261.         $_parent $context['_parent'];
  262.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['type'], $context['_parent'], $context['loop']);
  263.         $context array_intersect_key($context$_parent) + $_parent;
  264.         // line 103
  265.         echo "                </div>
  266.                 <svg viewBox=\"0 0 24 24\">
  267.                     <path d=\"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z\"></path>
  268.                 </svg>
  269.             </div>
  270.         </div>
  271.     </div>
  272.     <div class=\"row\" style=\"margin-bottom: 15px;\">
  273.         <div class=\"col-md-4\">
  274.             <div class=\"toutleblock\">
  275.             <nav class=\"navigation\" id=\"mainNav\" style=\"margin-top: 0px;\">
  276.                 <a class=\"navigation__link\" href=\"#0\">
  277.                     <span class=\"fa fa-info-circle\"></span> À propos
  278.                 </a>
  279.                 ";
  280.         // line 120
  281.         $context['_parent'] = $context;
  282.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'120$this->source); })()), "getPartiearticles", [], "any"falsefalsefalse120));
  283.         foreach ($context['_seq'] as $context["_key"] => $context["partie"]) {
  284.             // line 121
  285.             echo "                    <a class=\"navigation__link\" href=\"#";
  286.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "id", [], "any"falsefalsefalse121), "html"nulltrue);
  287.             echo "\">";
  288.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "nom", [], "any"falsefalsefalse121), "html"nulltrue);
  289.             echo "</a>
  290.                 ";
  291.         }
  292.         $_parent $context['_parent'];
  293.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partie'], $context['_parent'], $context['loop']);
  294.         $context array_intersect_key($context$_parent) + $_parent;
  295.         // line 123
  296.         echo "            </nav>
  297.             <div class=\"shadow2 mt-3\" style=\"padding: 15px; background: #fff;\">
  298.                 <h5>Articles de formation récents</h5>
  299.                 ";
  300.         // line 128
  301.         $context['_parent'] = $context;
  302.         $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.'128$this->source); })()));
  303.         foreach ($context['_seq'] as $context["_key"] => $context["course"]) {
  304.             // line 129
  305.             echo "                    <div class=\"mb-3\">
  306.                         <a href=\"";
  307.             // line 130
  308.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("produit_service_detail_article_central", ["id" => twig_get_attribute($this->env$this->source$context["course"], "id", [], "any"falsefalsefalse130)]), "html"nulltrue);
  309.             echo "\">";
  310.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["course"], "nom", [], "any"falsefalsefalse130), "html"nulltrue);
  311.             echo "</a>
  312.                     </div>
  313.                 ";
  314.         }
  315.         $_parent $context['_parent'];
  316.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['course'], $context['_parent'], $context['loop']);
  317.         $context array_intersect_key($context$_parent) + $_parent;
  318.         // line 133
  319.         echo "            </div>
  320.             <div class=\"row\">
  321.                 <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 stop-courant-panel\">
  322.                     
  323.                 </div>
  324.             </div>
  325.             </div>
  326.         </div>
  327.         <div class=\"col-md-8\">
  328.             <div class=\"page-section2 card mb-3\" id=\"0\">
  329.                 <div class=\"card-header\">
  330.                     <h5>";
  331.         // line 146
  332.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'146$this->source); })()), "nom", [], "any"falsefalsefalse146), "html"nulltrue);
  333.         echo "</h5>
  334.                 </div>
  335.                 <div class=\"card-body\">
  336.                     <div class=\"demo-images-annonces\">
  337.                     
  338.                         <a href=\"";
  339.         // line 152
  340.         if ((!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'152$this->source); })()), "imgservice", [], "any"falsefalsefalse152), null))) {
  341.             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, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'152$this->source); })()), "imgservice", [], "any"falsefalsefalse152), "getwebpath", [], "any"falsefalsefalse152)), "html"nulltrue);
  342.         } else {
  343.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  344.         }
  345.         echo "\" title=\"";
  346.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'152$this->source); })()), "nom", [], "any"falsefalsefalse152), "html"nulltrue);
  347.         echo "\" class=\"thumbnail-popup\">
  348.                             <img alt=\"Image ";
  349.         // line 153
  350.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'153$this->source); })()), "nom", [], "any"falsefalsefalse153), "html"nulltrue);
  351.         echo "\" src=\"";
  352.         if ((!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'153$this->source); })()), "imgservice", [], "any"falsefalsefalse153), null))) {
  353.             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, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'153$this->source); })()), "imgservice", [], "any"falsefalsefalse153), "getwebpath", [], "any"falsefalsefalse153)), "html"nulltrue);
  354.         } else {
  355.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  356.         }
  357.         echo "\" class=\"img-fluid\"/>
  358.                         </a>
  359.                         ";
  360.         // line 155
  361.         $context['_parent'] = $context;
  362.         $context['_seq'] = twig_ensure_traversable((isset($context["images_partie"]) || array_key_exists("images_partie"$context) ? $context["images_partie"] : (function () { throw new RuntimeError('Variable "images_partie" does not exist.'155$this->source); })()));
  363.         foreach ($context['_seq'] as $context["_key"] => $context["imgpartie"]) {
  364.             // line 156
  365.             echo "                        <a href=\"";
  366.             if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["imgpartie"], "imgevenement", [], "any"falsefalsefalse156), null))) {
  367.                 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["imgpartie"], "imgevenement", [], "any"falsefalsefalse156), "getwebpath", [], "any"falsefalsefalse156)), "html"nulltrue);
  368.             } else {
  369.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  370.             }
  371.             echo "\" title=\"";
  372.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["imgpartie"], "nom", [], "any"falsefalsefalse156), "html"nulltrue);
  373.             echo "\" class=\"thumbnail-popup\">
  374.                             <img alt=\"Image ";
  375.             // line 157
  376.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["imgpartie"], "nom", [], "any"falsefalsefalse157), "html"nulltrue);
  377.             echo "\" src=\"";
  378.             if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["imgpartie"], "imgevenement", [], "any"falsefalsefalse157), null))) {
  379.                 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["imgpartie"], "imgevenement", [], "any"falsefalsefalse157), "getwebpath", [], "any"falsefalsefalse157)), "html"nulltrue);
  380.             } else {
  381.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  382.             }
  383.             echo "\" class=\"img-fluid\"/>
  384.                         </a>
  385.                         ";
  386.         }
  387.         $_parent $context['_parent'];
  388.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['imgpartie'], $context['_parent'], $context['loop']);
  389.         $context array_intersect_key($context$_parent) + $_parent;
  390.         // line 160
  391.         echo "                        
  392.                     </div>
  393.                     <div style=\"font-size: 16px;\">
  394.                         ";
  395.         // line 164
  396.         echo twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'164$this->source); })()), "description", [], "any"falsefalsefalse164);
  397.         echo "
  398.                     </div>
  399.                 </div>
  400.                 <div class=\"card-footer\">
  401.                     <a href=\"#!\" style=\"display: inline-block; margin-right: 20px;\">
  402.                         12 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"bi bi-hand-thumbs-up\"></span> J'aime
  403.                     </a>
  404.                     <a href=\"#!\">
  405.                         1 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"bi bi-hand-thumbs-down\"></span> J'aime pas
  406.                     </a>
  407.                 </div>
  408.             </div>
  409.             ";
  410.         // line 177
  411.         $context['_parent'] = $context;
  412.         $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'177$this->source); })()), "getPartiearticles", [], "any"falsefalsefalse177));
  413.         foreach ($context['_seq'] as $context["_key"] => $context["partie"]) {
  414.             // line 178
  415.             echo "                <div class=\"page-section2 card mb-3\" id=\"";
  416.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "id", [], "any"falsefalsefalse178), "html"nulltrue);
  417.             echo "\">
  418.                     <div class=\"card-header\">
  419.                         <h5>";
  420.             // line 180
  421.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "nom", [], "any"falsefalsefalse180), "html"nulltrue);
  422.             echo "</h5>
  423.                     </div>
  424.                     <div class=\"card-body\">
  425.                         ";
  426.             // line 183
  427.             if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["partie"], "imgevenement", [], "any"falsefalsefalse183), null))) {
  428.                 // line 184
  429.                 echo "                        <div class=\"demo-images-annonces\">
  430.                             <a href=\"";
  431.                 // line 185
  432.                 if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["partie"], "imgevenement", [], "any"falsefalsefalse185), null))) {
  433.                     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"falsefalsefalse185), "getwebpath", [], "any"falsefalsefalse185)), "html"nulltrue);
  434.                 } else {
  435.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  436.                 }
  437.                 echo "\" title=\"";
  438.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "nom", [], "any"falsefalsefalse185), "html"nulltrue);
  439.                 echo "\" class=\"thumbnail-popup\">
  440.                                 <img alt=\"Image ";
  441.                 // line 186
  442.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["partie"], "nom", [], "any"falsefalsefalse186), "html"nulltrue);
  443.                 echo "\" src=\"";
  444.                 if ((!== twig_compare(twig_get_attribute($this->env$this->source$context["partie"], "imgevenement", [], "any"falsefalsefalse186), null))) {
  445.                     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"falsefalsefalse186), "getwebpath", [], "any"falsefalsefalse186)), "html"nulltrue);
  446.                 } else {
  447.                     echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/images/boost2.png"), "html"nulltrue);
  448.                 }
  449.                 echo "\" class=\"img-fluid\"/>
  450.                             </a>
  451.                         </div>
  452.                         ";
  453.             }
  454.             // line 190
  455.             echo "                        ";
  456.             echo twig_get_attribute($this->env$this->source$context["partie"], "description", [], "any"falsefalsefalse190);
  457.             echo "
  458.                     </div>
  459.                     <div class=\"card-footer\">
  460.                         <a href=\"#!\" style=\"display: inline-block; margin-right: 20px;\">
  461.                             12 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"fa fa-thumbs-o-up\"></span> J'aime
  462.                         </a>
  463.                         <a href=\"#!\">
  464.                             1 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"fa fa-thumbs-o-down\"></span> J'aime pas
  465.                         </a>
  466.                     </div>
  467.                 </div>
  468.             ";
  469.         }
  470.         $_parent $context['_parent'];
  471.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['partie'], $context['_parent'], $context['loop']);
  472.         $context array_intersect_key($context$_parent) + $_parent;
  473.         // line 202
  474.         echo "        </div>
  475.     </div>
  476.     
  477. </div>
  478. ";
  479.         
  480.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  481.         
  482.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  483.     }
  484.     // line 211
  485.     public function block_srcjavascripttemplate($context, array $blocks = [])
  486.     {
  487.         $macros $this->macros;
  488.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  489.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""srcjavascripttemplate"));
  490.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  491.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""srcjavascripttemplate"));
  492.         // line 212
  493.         echo "<script src=\"";
  494.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("template/js/onvisible.js"), "html"nulltrue);
  495.         echo "\" type=\"text/javascript\"></script>
  496. ";
  497.         
  498.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  499.         
  500.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  501.     }
  502.     // line 215
  503.     public function block_javascripttemplate($context, array $blocks = [])
  504.     {
  505.         $macros $this->macros;
  506.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  507.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripttemplate"));
  508.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  509.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripttemplate"));
  510.         // line 216
  511.         echo "
  512. \$(\".demo-images-annonces\").justifiedGallery({rowHeight: 100});
  513. \$('.thumbnail-popup').viewbox();
  514. \$(document).ready(function(){
  515.     \$('a[href*=#]').bind('click', function(e) {
  516.         e.preventDefault(); // prevent hard jump, the default behavior
  517.         var target = \$(this).attr(\"href\"); // Set the target as variable
  518.         // perform animated scrolling by getting top-position of target-element and set it as scroll target
  519.         \$('html, body').stop().animate({
  520.                 scrollTop: \$(target).offset().top
  521.         }, 600, function() {
  522.                 location.hash = target; //attach the hash (#jumptarget) to the pageurl
  523.         });
  524.         return false;
  525.     });
  526. });
  527. \$(window).scroll(function(){
  528.     var scrollDistance = \$(window).scrollTop();
  529.     // Show/hide menu on scroll
  530.     //if (scrollDistance >= 850) {
  531.         //\t\$('nav').fadeIn(\"fast\");
  532.     //} else {
  533.         //\t\$('nav').fadeOut(\"fast\");
  534.     //}
  535.     // Assign active class to nav links while scolling
  536.     \$('.page-section2').each(function(i) {
  537.         if (\$(this).position().top <= scrollDistance) {
  538.             \$('.navigation a.active').removeClass('active');
  539.             \$('.navigation a').eq(i).addClass('active');
  540.         }
  541.     });
  542. }).scroll();
  543. var bouge = 1;
  544. var dimension = 200;
  545. function activateelement()
  546. {
  547. var visibility = visibleElement('.animecourant-panel');
  548. if(visibility && bouge == 0){
  549. \tbouge = 1;
  550. \t\$('.toutleblock').css('position','relative');
  551. \t\$('.toutleblock').css('bottom','0px');
  552. \t\$('.toutleblock').css('margin-bottom','200px');
  553. }
  554. }
  555. function stopelement()
  556. {
  557. var visibility = visibleElement('.stop-courant-panel');
  558. if(visibility && bouge == 1){
  559. \tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
  560. \t{
  561. \t}else{
  562. \tbouge = 0;
  563. \t\$('.toutleblock').css('position','fixed');
  564. \t\$('.toutleblock').css('width',dimension+'px');
  565. \t\$('.toutleblock').css('bottom','7px');
  566. \t\$('.toutleblock').css('margin-bottom','200px');
  567. \t}
  568. }
  569. }
  570. function controlScroll()
  571. {
  572. \tvar largeur = (\$(window).width());
  573. \tdimension = \$('.toutleblock').width();
  574. \tif (largeur >= 768)
  575. \t{
  576. \t\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
  577. \t\t{
  578. \t\t\$('.toutleblock').css('position','fixed');
  579. \t\t\$('.toutleblock').css('width',dimension+'px');
  580. \t\t}else{
  581. \t\twindow.setInterval(function() { stopelement(); }, 100);
  582. \t\twindow.setInterval(function() { activateelement(); }, 100);
  583. \t\t}
  584. \t\t
  585. \t}
  586. }
  587. controlScroll();
  588. \$('#target-menu-blog-";
  589.         // line 306
  590.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["article"]) || array_key_exists("article"$context) ? $context["article"] : (function () { throw new RuntimeError('Variable "article" does not exist.'306$this->source); })()), "type", [], "any"falsefalsefalse306), "id", [], "any"falsefalsefalse306), "html"nulltrue);
  591.         echo "').addClass('position-current-user');
  592. \$('a').tooltip();
  593. ";
  594.         
  595.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  596.         
  597.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  598.     }
  599.     public function getTemplateName()
  600.     {
  601.         return "Theme/Produit/Service/Service/detailarticlecentral.html.twig";
  602.     }
  603.     public function isTraitable()
  604.     {
  605.         return false;
  606.     }
  607.     public function getDebugInfo()
  608.     {
  609.         return array (  659 => 306,  567 => 216,  557 => 215,  544 => 212,  534 => 211,  517 => 202,  498 => 190,  485 => 186,  475 => 185,  472 => 184,  470 => 183,  464 => 180,  458 => 178,  454 => 177,  438 => 164,  432 => 160,  417 => 157,  406 => 156,  402 => 155,  391 => 153,  381 => 152,  372 => 146,  357 => 133,  346 => 130,  343 => 129,  339 => 128,  332 => 123,  321 => 121,  317 => 120,  298 => 103,  281 => 100,  274 => 98,  269 => 97,  252 => 96,  241 => 88,  235 => 85,  205 => 57,  196 => 51,  192 => 49,  166 => 25,  164 => 24,  157 => 19,  147 => 18,  134 => 15,  124 => 14,  109 => 11,  99 => 10,  85 => 7,  78 => 5,  73 => 4,  63 => 3,  40 => 1,);
  610.     }
  611.     public function getSourceContext()
  612.     {
  613.         return new Source("{% extends \"Theme/Users/User/layoutoffert.html.twig\" %}
  614. {% block meta %}
  615. \t{{ parent() }}
  616. \t<meta name=\"keywords\" content=\"{{ site }}, {{ keywords }}\"/>
  617. \t<meta name=\"author\" content=\"Noel Kenfack\"/>
  618. \t<meta name=\"description\" content=\"{{ site }} - {{ article.nom }}\"/>
  619. {% endblock %}
  620. {% block title %}
  621. \t{{ parent() }} - {{ article.breve }}
  622. {% endblock %}
  623. {% block stylesheets %}
  624. \t{{ parent() }}
  625. {% endblock %}
  626. {% block userblog_body %}
  627. <div style=\"background: #90acd1;\">
  628.     <div class=\"container\" style=\"overflow: hidden;\">
  629.         <div class=\"row\" style=\"margin: 15px 0px;\">
  630.         <div class=\"col-md-12\">
  631.         {% if is_mobile() %}
  632.         <ol class=\"c-navigation-breadcrumbs__directory\">
  633.             <!-- Duplicating the \"Home\" link in both the global navigation and the breadcrumb trail is not recommended. -->
  634.             <li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  635.               <a class=\"c-navigation-breadcrumbs__link\" href=\"\" property=\"item\" typeof=\"WebPage\">
  636.                 <span class=\"u-visually-hidden\" property=\"name\"><span class=\"fa fa-home\"> </span> Accueil</span>
  637.               </a>
  638.               <meta property=\"position\" content=\"1\">
  639.             </li>
  640.     
  641.             <li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  642.               <a class=\"c-navigation-breadcrumbs__link\" href=\"\" property=\"item\" typeof=\"WebPage\">
  643.                 <span property=\"name\"> L'entreprise</span>
  644.               </a>
  645.               <meta property=\"position\" content=\"2\">
  646.             </li>
  647.     
  648.             <li class=\"c-navigation-breadcrumbs__item\" property=\"itemListElement\" typeof=\"ListItem\">
  649.               <a class=\"c-navigation-breadcrumbs__link\" href=\"#!\" property=\"item\" aria-current=\"location\">
  650.                 <span property=\"name\">À propos de  nous </span>
  651.               </a>
  652.               <meta property=\"position\" content=\"3\">
  653.             </li>
  654.         </ol>
  655.         {% else %}
  656.         <div style=\"padding: 20px 0px;\">
  657.             <ul class=\"breadcrumbs\">
  658.               <li><a href=\"{{ path('users_user_acces_plateforme') }}\"><span class=\"fa fa-home\"></span> Accueil</a></li>
  659.               <li><a > L'entreprise</a></li>
  660.               <li>À propos de nous</li>
  661.             </ul>
  662.         </div>
  663.         {% endif %}
  664.       </div>
  665.       
  666.       
  667.       </div>
  668.     
  669.       
  670.     </div>
  671.     </div>
  672.     <div style=\"background-image: linear-gradient(-1deg, #F6FCFF 0%, #EAF7FF 98%);\">
  673.         <div class=\"container\" style=\"height: 20px;\">
  674.           
  675.         </div>
  676.     </div>
  677. <div class=\"container\" style=\"min-height: 500px;\">
  678.     <div class=\"row\">
  679.         <div class=\"col-md-12\">
  680.             <div class=\"animecourant-panel\" style=\"display: block;\">
  681.                     
  682.             </div>
  683.         </div>
  684.     </div>
  685.     <div class=\"row\" style=\"margin-top: 7px;\">
  686.         <div class=\"col-md-8\">
  687.             <h3 class=\"breadcrumbs-title\" style=\"margin-bottom: 15px;\">
  688.                 <a href=\"{{ path('produit_service_afh_sps',{'position': 'blogads'}) }}\" class=\"btn btn-default btn-lg border\">
  689.                     <span class=\"bi bi-arrow-left-short\"></span> Précédent
  690.                 </a>
  691.                 {{ article.breve }}
  692.             </h3>
  693.         </div>
  694.         <div class=\"col-md-4\">
  695.             <div class=\"dropdowncarte\">
  696.                 <button></button>
  697.                 <div class=\"options\">
  698.                     {% for type in type_blog %}
  699.                     <input id=\"target_item_{{ type.id }}\" type=\"radio\" name=\"region\" value=\"africa\" checked=\"\">
  700.                         <label style=\"--index: {{ loop.index }}\" for=\"target_item_{{ type.id }}\">
  701.                         <span class=\"fa fa-list-alt\"></span>
  702.                         {{ type.nom }}
  703.                     </label>
  704.                     {% endfor %}
  705.                 </div>
  706.                 <svg viewBox=\"0 0 24 24\">
  707.                     <path d=\"M7.41 8.59L12 13.17l4.59-4.58L18 10l-6 6-6-6 1.41-1.41z\"></path>
  708.                 </svg>
  709.             </div>
  710.         </div>
  711.     </div>
  712.     <div class=\"row\" style=\"margin-bottom: 15px;\">
  713.         <div class=\"col-md-4\">
  714.             <div class=\"toutleblock\">
  715.             <nav class=\"navigation\" id=\"mainNav\" style=\"margin-top: 0px;\">
  716.                 <a class=\"navigation__link\" href=\"#0\">
  717.                     <span class=\"fa fa-info-circle\"></span> À propos
  718.                 </a>
  719.                 {% for partie in article.getPartiearticles %}
  720.                     <a class=\"navigation__link\" href=\"#{{ partie.id }}\">{{ partie.nom }}</a>
  721.                 {% endfor %}
  722.             </nav>
  723.             <div class=\"shadow2 mt-3\" style=\"padding: 15px; background: #fff;\">
  724.                 <h5>Articles de formation récents</h5>
  725.                 {% for course in liste_article %}
  726.                     <div class=\"mb-3\">
  727.                         <a href=\"{{ path('produit_service_detail_article_central', {'id': course.id }) }}\">{{ course.nom }}</a>
  728.                     </div>
  729.                 {% endfor %}
  730.             </div>
  731.             <div class=\"row\">
  732.                 <div class=\"col-xs-12 col-sm-12 col-md-12 col-lg-12 stop-courant-panel\">
  733.                     
  734.                 </div>
  735.             </div>
  736.             </div>
  737.         </div>
  738.         <div class=\"col-md-8\">
  739.             <div class=\"page-section2 card mb-3\" id=\"0\">
  740.                 <div class=\"card-header\">
  741.                     <h5>{{ article.nom }}</h5>
  742.                 </div>
  743.                 <div class=\"card-body\">
  744.                     <div class=\"demo-images-annonces\">
  745.                     
  746.                         <a href=\"{% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" title=\"{{ article.nom }}\" class=\"thumbnail-popup\">
  747.                             <img alt=\"Image {{ article.nom }}\" src=\"{% if article.imgservice != null %}{{ asset(article.imgservice.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" class=\"img-fluid\"/>
  748.                         </a>
  749.                         {% for imgpartie in images_partie %}
  750.                         <a href=\"{% if imgpartie.imgevenement != null %}{{ asset(imgpartie.imgevenement.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" title=\"{{ imgpartie.nom }}\" class=\"thumbnail-popup\">
  751.                             <img alt=\"Image {{ imgpartie.nom }}\" src=\"{% if imgpartie.imgevenement != null %}{{ asset(imgpartie.imgevenement.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" class=\"img-fluid\"/>
  752.                         </a>
  753.                         {% endfor %}
  754.                         
  755.                     </div>
  756.                     <div style=\"font-size: 16px;\">
  757.                         {{ article.description|raw }}
  758.                     </div>
  759.                 </div>
  760.                 <div class=\"card-footer\">
  761.                     <a href=\"#!\" style=\"display: inline-block; margin-right: 20px;\">
  762.                         12 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"bi bi-hand-thumbs-up\"></span> J'aime
  763.                     </a>
  764.                     <a href=\"#!\">
  765.                         1 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"bi bi-hand-thumbs-down\"></span> J'aime pas
  766.                     </a>
  767.                 </div>
  768.             </div>
  769.             {% for partie in article.getPartiearticles %}
  770.                 <div class=\"page-section2 card mb-3\" id=\"{{ partie.id }}\">
  771.                     <div class=\"card-header\">
  772.                         <h5>{{ partie.nom }}</h5>
  773.                     </div>
  774.                     <div class=\"card-body\">
  775.                         {% if partie.imgevenement != null %}
  776.                         <div class=\"demo-images-annonces\">
  777.                             <a href=\"{% if partie.imgevenement != null %}{{ asset(partie.imgevenement.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" title=\"{{ partie.nom }}\" class=\"thumbnail-popup\">
  778.                                 <img alt=\"Image {{ partie.nom }}\" src=\"{% if partie.imgevenement != null %}{{ asset(partie.imgevenement.getwebpath) }}{% else %}{{ asset('template/images/boost2.png') }}{% endif %}\" class=\"img-fluid\"/>
  779.                             </a>
  780.                         </div>
  781.                         {% endif %}
  782.                         {{ partie.description|raw }}
  783.                     </div>
  784.                     <div class=\"card-footer\">
  785.                         <a href=\"#!\" style=\"display: inline-block; margin-right: 20px;\">
  786.                             12 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"fa fa-thumbs-o-up\"></span> J'aime
  787.                         </a>
  788.                         <a href=\"#!\">
  789.                             1 <span class=\"fa fa-circle\" style=\"font-size: 9px;\"></span> <span class=\"fa fa-thumbs-o-down\"></span> J'aime pas
  790.                         </a>
  791.                     </div>
  792.                 </div>
  793.             {% endfor %}
  794.         </div>
  795.     </div>
  796.     
  797. </div>
  798. {% endblock %}
  799. {% block srcjavascripttemplate %}
  800. <script src=\"{{ asset('template/js/onvisible.js') }}\" type=\"text/javascript\"></script>
  801. {% endblock %}
  802. {% block javascripttemplate %}
  803. \$(\".demo-images-annonces\").justifiedGallery({rowHeight: 100});
  804. \$('.thumbnail-popup').viewbox();
  805. \$(document).ready(function(){
  806.     \$('a[href*=#]').bind('click', function(e) {
  807.         e.preventDefault(); // prevent hard jump, the default behavior
  808.         var target = \$(this).attr(\"href\"); // Set the target as variable
  809.         // perform animated scrolling by getting top-position of target-element and set it as scroll target
  810.         \$('html, body').stop().animate({
  811.                 scrollTop: \$(target).offset().top
  812.         }, 600, function() {
  813.                 location.hash = target; //attach the hash (#jumptarget) to the pageurl
  814.         });
  815.         return false;
  816.     });
  817. });
  818. \$(window).scroll(function(){
  819.     var scrollDistance = \$(window).scrollTop();
  820.     // Show/hide menu on scroll
  821.     //if (scrollDistance >= 850) {
  822.         //\t\$('nav').fadeIn(\"fast\");
  823.     //} else {
  824.         //\t\$('nav').fadeOut(\"fast\");
  825.     //}
  826.     // Assign active class to nav links while scolling
  827.     \$('.page-section2').each(function(i) {
  828.         if (\$(this).position().top <= scrollDistance) {
  829.             \$('.navigation a.active').removeClass('active');
  830.             \$('.navigation a').eq(i).addClass('active');
  831.         }
  832.     });
  833. }).scroll();
  834. var bouge = 1;
  835. var dimension = 200;
  836. function activateelement()
  837. {
  838. var visibility = visibleElement('.animecourant-panel');
  839. if(visibility && bouge == 0){
  840. \tbouge = 1;
  841. \t\$('.toutleblock').css('position','relative');
  842. \t\$('.toutleblock').css('bottom','0px');
  843. \t\$('.toutleblock').css('margin-bottom','200px');
  844. }
  845. }
  846. function stopelement()
  847. {
  848. var visibility = visibleElement('.stop-courant-panel');
  849. if(visibility && bouge == 1){
  850. \tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
  851. \t{
  852. \t}else{
  853. \tbouge = 0;
  854. \t\$('.toutleblock').css('position','fixed');
  855. \t\$('.toutleblock').css('width',dimension+'px');
  856. \t\$('.toutleblock').css('bottom','7px');
  857. \t\$('.toutleblock').css('margin-bottom','200px');
  858. \t}
  859. }
  860. }
  861. function controlScroll()
  862. {
  863. \tvar largeur = (\$(window).width());
  864. \tdimension = \$('.toutleblock').width();
  865. \tif (largeur >= 768)
  866. \t{
  867. \t\tif(visibleElement('.animecourant-panel') && visibleElement('.stop-courant-panel'))
  868. \t\t{
  869. \t\t\$('.toutleblock').css('position','fixed');
  870. \t\t\$('.toutleblock').css('width',dimension+'px');
  871. \t\t}else{
  872. \t\twindow.setInterval(function() { stopelement(); }, 100);
  873. \t\twindow.setInterval(function() { activateelement(); }, 100);
  874. \t\t}
  875. \t\t
  876. \t}
  877. }
  878. controlScroll();
  879. \$('#target-menu-blog-{{ article.type.id }}').addClass('position-current-user');
  880. \$('a').tooltip();
  881. {% endblock %}
  882. ""Theme/Produit/Service/Service/detailarticlecentral.html.twig""/home/afhunt/domains/factory.afhunt.com/public_html/factory/templates/Theme/Produit/Service/Service/detailarticlecentral.html.twig");
  883.     }
  884. }