var/cache/dev/twig/fe/fe97f9658c560a22a76c33f67fbea99c53f3f76d8f40d8d1e327ec98cb7939d3.php line 51

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. /* public/index.html.twig */
  14. class __TwigTemplate_cd250ddb62e126e672f824d1bbed9d9309e4e3d11d5ad1d0ae5aea7ccf8b2176 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.             'pageCSS' => [$this'block_pageCSS'],
  24.             'content' => [$this'block_content'],
  25.             'modal' => [$this'block_modal'],
  26.             'pageJS' => [$this'block_pageJS'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "public/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""public/index.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""public/index.html.twig"));
  41.         $this->parent $this->loadTemplate("public/base.html.twig""public/index.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_pageCSS($context, array $blocks = [])
  50.     {
  51.         $macros $this->macros;
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  53.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageCSS"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageCSS"));
  56.         // line 4
  57.         echo "    <style>
  58.         .partage-fb {
  59.             bottom: 40px;
  60.             right: 50px;
  61.             top: auto;
  62.             font-size: 13px;
  63.             /* font-weight: 700; */
  64.             padding: 14px 26px;
  65.             color: #4C97FD;
  66.             background: white;
  67.             transition: all 0.3s linear;
  68.         }
  69.         .partage-fb:hover {
  70.             bottom: 40px;
  71.             right: 50px;
  72.             top: auto;
  73.             font-size: 13px;
  74.             /* font-weight: 700; */
  75.             padding: 14px 26px;
  76.             background: #4C97FD;
  77.             color: white;
  78.         }
  79.     </style>
  80. ";
  81.         
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  83.         
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  85.     }
  86.     // line 29
  87.     public function block_content($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  92.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  94.         // line 30
  95.         echo "    <!--section  -->
  96.     ";
  97.         // line 32
  98.         echo "    ";
  99.         // line 33
  100.         echo "    ";
  101.         // line 34
  102.         echo "    ";
  103.         // line 35
  104.         echo "    ";
  105.         // line 36
  106.         echo "    ";
  107.         // line 37
  108.         echo "    ";
  109.         // line 38
  110.         echo "    ";
  111.         // line 39
  112.         echo "    ";
  113.         // line 40
  114.         echo "    ";
  115.         // line 41
  116.         echo "    ";
  117.         // line 42
  118.         echo "    ";
  119.         // line 43
  120.         echo "    ";
  121.         // line 44
  122.         echo "    ";
  123.         // line 45
  124.         echo "    ";
  125.         // line 46
  126.         echo "    ";
  127.         // line 47
  128.         echo "    ";
  129.         // line 48
  130.         echo "    ";
  131.         // line 49
  132.         echo "    ";
  133.         // line 50
  134.         echo "    ";
  135.         // line 51
  136.         echo "    ";
  137.         // line 52
  138.         echo "    ";
  139.         // line 53
  140.         echo "    ";
  141.         // line 54
  142.         echo "    ";
  143.         // line 55
  144.         echo "    <!--section end-->
  145.     <div class=\"hero-map-wrap\">
  146.         <div class=\"hero-map\">
  147.             <!-- Map -->
  148.             <div class=\"map-container  fw-map big_map\">
  149.                 <div id=\"map-main\"></div>
  150.                 <ul class=\"mapnavigation no-list-style\">
  151.                     <li><a href=\"#\" class=\"prevmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-left\"></i></span></a>
  152.                     </li>
  153.                     <li><a href=\"#\" class=\"nextmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-right\"></i></span></a>
  154.                     </li>
  155.                 </ul>
  156.                 <div class=\"scrollContorl mapnavbtn tolt\" data-microtip-position=\"top-left\"
  157.                      data-tooltip=\"Enable Scrolling\"><span><i class=\"fal fa-unlock\"></i></span></div>
  158.                 <div class=\"location-btn geoLocation tolt\" data-microtip-position=\"top-left\"
  159.                      data-tooltip=\"Your location\"><span><i class=\"fal fa-location\"></i></span></div>
  160.             </div>
  161.             <!-- Map end -->
  162.             <div class=\"header-sec-link\">
  163.                 <a href=\"#sec1\" class=\"custom-scroll-link\"><i class=\"fal fa-angle-double-down\"></i></a>
  164.             </div>
  165.         </div>
  166.     </div>
  167.     <!--section  -->
  168.     <section class=\"slw-sec\" id=\"sec1\">
  169.         <div class=\"section-title\">
  170.             <h2>Les Dernières Prières</h2>
  171.             <span class=\"section-separator\"></span>
  172.         </div>
  173.         <div class=\"listing-slider-wrap fl-wrap\">
  174.             <div class=\"listing-slider fl-wrap\">
  175.                 <div class=\"swiper-container\">
  176.                     <div class=\"swiper-wrapper\">
  177.                         ";
  178.         // line 90
  179.         $context['_parent'] = $context;
  180.         $context['_seq'] = twig_ensure_traversable((isset($context["lastPrayers"]) || array_key_exists("lastPrayers"$context) ? $context["lastPrayers"] : (function () { throw new RuntimeError('Variable "lastPrayers" does not exist.'90$this->source); })()));
  181.         $context['loop'] = [
  182.           'parent' => $context['_parent'],
  183.           'index0' => 0,
  184.           'index'  => 1,
  185.           'first'  => true,
  186.         ];
  187.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  188.             $length count($context['_seq']);
  189.             $context['loop']['revindex0'] = $length 1;
  190.             $context['loop']['revindex'] = $length;
  191.             $context['loop']['length'] = $length;
  192.             $context['loop']['last'] = === $length;
  193.         }
  194.         foreach ($context['_seq'] as $context["_key"] => $context["prayer"]) {
  195.             // line 91
  196.             echo "                            ";
  197.             echo twig_include($this->env$context"public/common/_prayer_slide_item.html.twig");
  198.             echo "
  199.                         ";
  200.             ++$context['loop']['index0'];
  201.             ++$context['loop']['index'];
  202.             $context['loop']['first'] = false;
  203.             if (isset($context['loop']['length'])) {
  204.                 --$context['loop']['revindex0'];
  205.                 --$context['loop']['revindex'];
  206.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  207.             }
  208.         }
  209.         $_parent $context['_parent'];
  210.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prayer'], $context['_parent'], $context['loop']);
  211.         $context array_intersect_key($context$_parent) + $_parent;
  212.         // line 93
  213.         echo "                    </div>
  214.                 </div>
  215.                 <div class=\"listing-carousel-button listing-carousel-button-next2\"><i
  216.                             class=\"fas fa-caret-right\"></i></div>
  217.                 <div class=\"listing-carousel-button listing-carousel-button-prev2\"><i
  218.                             class=\"fas fa-caret-left\"></i></div>
  219.             </div>
  220.             <div class=\"tc-pagination_wrap\">
  221.                 <div class=\"tc-pagination2\"></div>
  222.             </div>
  223.         </div>
  224.     </section>
  225.     <!--section end-->
  226.     <div class=\"sec-circle fl-wrap\"></div>
  227.     <!--section -->
  228.     <section class=\"gray-bg hidden-section particles-wrapper\" id=\"sec2\">
  229.         <div class=\"container\">
  230.             <div class=\"section-title\">
  231.                 <h2>Participants par localisation</h2>
  232.                 <span class=\"section-separator\"></span>
  233.             </div>
  234.             <div class=\"listing-item-grid_container fl-wrap\">
  235.                 <div class=\"row\">
  236.                     <!--  listing-item-grid  -->
  237.                     ";
  238.         // line 119
  239.         $context['_parent'] = $context;
  240.         $context['_seq'] = twig_ensure_traversable(twig_slice($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'119$this->source); })()), "cities", [], "any"falsefalsefalse119), 06));
  241.         foreach ($context['_seq'] as $context["_key"] => $context["city"]) {
  242.             // line 120
  243.             echo "                        <a href=\"";
  244.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prayer", ["prayer" => ["city" => twig_get_attribute($this->env$this->source$context["city"], "name", [], "any"falsefalsefalse120)]]), "html"nulltrue);
  245.             echo "\">
  246.                             <div class=\"col-sm-4 city-item\" data-city-name=\"";
  247.             // line 121
  248.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["city"], "name", [], "any"falsefalsefalse121), "html"nulltrue);
  249.             echo "\">
  250.                                 <div class=\"listing-item-grid\">
  251.                                     ";
  252.             // line 123
  253.             $context["cityImagePath"] = ((twig_get_attribute($this->env$this->source$context["city"], "image", [], "any"falsefalsefalse123)) ? (($this->extensions['App\Twig\Extension\Utils']->getParameter("image_city_directory_prefix") . twig_get_attribute($this->env$this->source$context["city"], "image", [], "any"falsefalsefalse123))) : ("images/localisation.jpg"));
  254.             // line 124
  255.             echo "                                    <div class=\"bg\"
  256.                                          data-bg=\"";
  257.             // line 125
  258.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("asset_url", ["path" => (isset($context["cityImagePath"]) || array_key_exists("cityImagePath"$context) ? $context["cityImagePath"] : (function () { throw new RuntimeError('Variable "cityImagePath" does not exist.'125$this->source); })()), "h" => "530"]), "html"nulltrue);
  259.             echo "\"></div>
  260.                                     <div class=\"d-gr-sec\"></div>
  261.                                     <div class=\"listing-counter color2-bg\"><span>";
  262.             // line 127
  263.             echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["city"], "participants", [], "any"falsefalsefalse127)), "html"nulltrue);
  264.             echo " </span>
  265.                                         Participant";
  266.             // line 128
  267.             echo (((=== twig_compare(twig_length_filter($this->envtwig_get_attribute($this->env$this->source$context["city"], "participants", [], "any"falsefalsefalse128)), 1))) ? ("s") : (""));
  268.             echo "</div>
  269.                                     <div class=\"listing-item-grid_title\">
  270.                                         <h3>
  271.                                             <a href=\"";
  272.             // line 131
  273.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("prayer", ["prayer" => ["city" => twig_get_attribute($this->env$this->source$context["city"], "name", [], "any"falsefalsefalse131)]]), "html"nulltrue);
  274.             echo "\">";
  275.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["city"], "name", [], "any"falsefalsefalse131), "html"nulltrue);
  276.             echo "</a>
  277.                                         </h3>
  278.                                         ";
  279.             // line 134
  280.             echo "                                    </div>
  281.                                 </div>
  282.                             </div>
  283.                         </a>
  284.                     ";
  285.         }
  286.         $_parent $context['_parent'];
  287.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['city'], $context['_parent'], $context['loop']);
  288.         $context array_intersect_key($context$_parent) + $_parent;
  289.         // line 139
  290.         echo "                    <!--  listing-item-grid end  -->
  291.                 </div>
  292.             </div>
  293.             <a href=\"";
  294.         // line 142
  295.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("city");
  296.         echo "\" class=\"btn dec_btn color2-bg\">Voir toutes les localisations
  297.                 <i class=\"fal fa-arrow-alt-right\" style=\"color:#fff;\"></i></a>
  298.         </div>
  299.     </section>
  300.     <!--section end-->
  301.     <!--  section  -->
  302.     <section class=\"parallax-section small-par\" data-scrollax-parent=\"true\">
  303.         <div class=\"bg par-elem \" data-bg=\"";
  304.         // line 150
  305.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("images/bg.jpg"), "html"nulltrue);
  306.         echo "\"
  307.              data-scrollax=\"properties: { translateY: '30%' }\"></div>
  308.         <div class=\"overlay  op7\"></div>
  309.         <div class=\"container\">
  310.             <div class=\" single-facts single-facts_2 fl-wrap\">
  311.                 <!-- inline-facts -->
  312.                 <div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
  313.                     <div class=\"inline-facts\">
  314.                         <div class=\"milestone-counter\">
  315.                             <div class=\"stats animaper\">
  316.                                 <div class=\"num\" data-content=\"0\"
  317.                                      data-num=\"";
  318.         // line 161
  319.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'161$this->source); })()), "prayingCities", [], "any"falsefalsefalse161)), "html"nulltrue);
  320.         echo "\">";
  321.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'161$this->source); })()), "prayingCities", [], "any"falsefalsefalse161)), "html"nulltrue);
  322.         echo "</div>
  323.                             </div>
  324.                         </div>
  325.                         <h6>Nombre de villes priant pour madagascar</h6>
  326.                     </div>
  327.                 </div>
  328.                 <!-- inline-facts end -->
  329.                 <!-- inline-facts  -->
  330.                 <div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
  331.                     <div class=\"inline-facts\">
  332.                         <div class=\"milestone-counter\">
  333.                             <div class=\"stats animaper\">
  334.                                 <div class=\"num\" data-content=\"0\"
  335.                                      data-num=\"";
  336.         // line 174
  337.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'174$this->source); })()), "prayers", [], "any"falsefalsefalse174)), "html"nulltrue);
  338.         echo "\">";
  339.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'174$this->source); })()), "prayers", [], "any"falsefalsefalse174)), "html"nulltrue);
  340.         echo "</div>
  341.                             </div>
  342.                         </div>
  343.                         <h6>Nombre total de sujet de prières</h6>
  344.                     </div>
  345.                 </div>
  346.                 <!-- inline-facts end -->
  347.                 <!-- inline-facts  -->
  348.                 <div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
  349.                     <div class=\"inline-facts\">
  350.                         <div class=\"milestone-counter\">
  351.                             <div class=\"stats animaper\">
  352.                                 <div class=\"num\" data-content=\"0\"
  353.                                      data-num=\"";
  354.         // line 187
  355.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'187$this->source); })()), "religious", [], "any"falsefalsefalse187)), "html"nulltrue);
  356.         echo "\">";
  357.         echo twig_escape_filter($this->envtwig_length_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["stat"]) || array_key_exists("stat"$context) ? $context["stat"] : (function () { throw new RuntimeError('Variable "stat" does not exist.'187$this->source); })()), "religious", [], "any"falsefalsefalse187)), "html"nulltrue);
  358.         echo "</div>
  359.                             </div>
  360.                         </div>
  361.                         <h6>Nombre total de personne ayant prié pour Madagascar</h6>
  362.                     </div>
  363.                 </div>
  364.                 <!-- inline-facts end -->
  365.             </div>
  366.         </div>
  367.     </section>
  368.     <!--section end-->
  369.     <!--section  -->
  370.     <section class=\"process-section\" data-scrollax-parent=\"true\">
  371.         <div class=\"container\">
  372.             <div class=\"section-title\">
  373.                 <h2>Comment Ça Marche</h2>
  374.                 ";
  375.         // line 205
  376.         echo "                <span class=\"section-separator\"></span>
  377.                 ";
  378.         // line 207
  379.         echo "                ";
  380.         // line 208
  381.         echo "                ";
  382.         // line 209
  383.         echo "            </div>
  384.             <div class=\"process-wrap fl-wrap\">
  385.                 <ul class=\"no-list-style\">
  386.                     <li>
  387.                         <div class=\"process-item\">
  388.                             <span class=\"process-count\">01 </span>
  389.                             <div class=\"time-line-icon\"><i class=\"fal fa-user-plus\"></i></div>
  390.                             <h4> S'inscrire</h4>
  391.                         </div>
  392.                         <span class=\"pr-dec\"></span>
  393.                     </li>
  394.                     <li>
  395.                         <div class=\"process-item\">
  396.                             <span class=\"process-count\">03</span>
  397.                             <div class=\"time-line-icon\"><i class=\"fal fa-praying-hands\"></i></div>
  398.                             <h4> Prier pour Madagascar</h4>
  399.                         </div>
  400.                     </li>
  401.                     <li>
  402.                         <div class=\"process-item\">
  403.                             <span class=\"process-count\">02</span>
  404.                             <div class=\"time-line-icon\"><i class=\"fal fa-mail-bulk\"></i></div>
  405.                             <h4> Soumettre un sujet de prière pour le pays</h4>
  406.                         </div>
  407.                         <span class=\"pr-dec\"></span>
  408.                     </li>
  409.                 </ul>
  410.                 <div class=\"process-end\"><i class=\"fal fa-check\"></i></div>
  411.             </div>
  412.         </div>
  413.     </section>
  414.     <!--section end-->
  415.     ";
  416.         // line 270
  417.         echo "
  418. ";
  419.         
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  421.         
  422.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  423.     }
  424.     // line 273
  425.     public function block_modal($context, array $blocks = [])
  426.     {
  427.         $macros $this->macros;
  428.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  429.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modal"));
  430.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  431.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""modal"));
  432.         // line 274
  433.         echo "    ";
  434.         $this->displayParentBlock("modal"$context$blocks);
  435.         echo "
  436.     ";
  437.         // line 275
  438.         $context['_parent'] = $context;
  439.         $context['_seq'] = twig_ensure_traversable((isset($context["lastPrayers"]) || array_key_exists("lastPrayers"$context) ? $context["lastPrayers"] : (function () { throw new RuntimeError('Variable "lastPrayers" does not exist.'275$this->source); })()));
  440.         $context['loop'] = [
  441.           'parent' => $context['_parent'],
  442.           'index0' => 0,
  443.           'index'  => 1,
  444.           'first'  => true,
  445.         ];
  446.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  447.             $length count($context['_seq']);
  448.             $context['loop']['revindex0'] = $length 1;
  449.             $context['loop']['revindex'] = $length;
  450.             $context['loop']['length'] = $length;
  451.             $context['loop']['last'] = === $length;
  452.         }
  453.         foreach ($context['_seq'] as $context["_key"] => $context["prayer"]) {
  454.             // line 276
  455.             echo "        ";
  456.             echo twig_include($this->env$context"public/prayer/_listing_item_modal.html.twig");
  457.             echo "
  458.     ";
  459.             ++$context['loop']['index0'];
  460.             ++$context['loop']['index'];
  461.             $context['loop']['first'] = false;
  462.             if (isset($context['loop']['length'])) {
  463.                 --$context['loop']['revindex0'];
  464.                 --$context['loop']['revindex'];
  465.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  466.             }
  467.         }
  468.         $_parent $context['_parent'];
  469.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['prayer'], $context['_parent'], $context['loop']);
  470.         $context array_intersect_key($context$_parent) + $_parent;
  471.         
  472.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  473.         
  474.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  475.     }
  476.     // line 281
  477.     public function block_pageJS($context, array $blocks = [])
  478.     {
  479.         $macros $this->macros;
  480.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  481.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  482.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  483.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""pageJS"));
  484.         // line 282
  485.         echo "    ";
  486.         $this->displayParentBlock("pageJS"$context$blocks);
  487.         echo "
  488.     <script>
  489.         \$(document).on(\"click\", \".praying-btn\", function () {
  490.             let element = this;
  491.             let \$element = \$(element);
  492.             let url = \$element.data('url') ? \$element.data('url') : null;
  493.             let dataMethod = \$element.data('method') ? \$element.data('method') : 'POST';
  494.             let args = {
  495.                 element: `#\${element.id}`,
  496.                 url,
  497.                 dataMethod,
  498.             }
  499.             sendPraying(args)
  500.         });
  501.     </script>
  502.     <script src=\"";
  503.         // line 298
  504.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("townhub/js/map-plugins.js"), "html"nulltrue);
  505.         echo "\"></script>
  506.     <script>
  507.         ";
  508.         // line 300
  509.         echo twig_include($this->env$context"public/prayer/_map.js.twig");
  510.         echo "
  511.     </script>
  512. ";
  513.         
  514.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  515.         
  516.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  517.     }
  518.     public function getTemplateName()
  519.     {
  520.         return "public/index.html.twig";
  521.     }
  522.     public function isTraitable()
  523.     {
  524.         return false;
  525.     }
  526.     public function getDebugInfo()
  527.     {
  528.         return array (  546 => 300,  541 => 298,  521 => 282,  511 => 281,  486 => 276,  469 => 275,  464 => 274,  454 => 273,  443 => 270,  408 => 209,  406 => 208,  404 => 207,  401 => 205,  379 => 187,  361 => 174,  343 => 161,  329 => 150,  318 => 142,  313 => 139,  303 => 134,  296 => 131,  290 => 128,  286 => 127,  281 => 125,  278 => 124,  276 => 123,  271 => 121,  266 => 120,  262 => 119,  234 => 93,  217 => 91,  200 => 90,  163 => 55,  161 => 54,  159 => 53,  157 => 52,  155 => 51,  153 => 50,  151 => 49,  149 => 48,  147 => 47,  145 => 46,  143 => 45,  141 => 44,  139 => 43,  137 => 42,  135 => 41,  133 => 40,  131 => 39,  129 => 38,  127 => 37,  125 => 36,  123 => 35,  121 => 34,  119 => 33,  117 => 32,  114 => 30,  104 => 29,  71 => 4,  61 => 3,  38 => 1,);
  529.     }
  530.     public function getSourceContext()
  531.     {
  532.         return new Source("{% extends 'public/base.html.twig' %}
  533. {% block pageCSS %}
  534.     <style>
  535.         .partage-fb {
  536.             bottom: 40px;
  537.             right: 50px;
  538.             top: auto;
  539.             font-size: 13px;
  540.             /* font-weight: 700; */
  541.             padding: 14px 26px;
  542.             color: #4C97FD;
  543.             background: white;
  544.             transition: all 0.3s linear;
  545.         }
  546.         .partage-fb:hover {
  547.             bottom: 40px;
  548.             right: 50px;
  549.             top: auto;
  550.             font-size: 13px;
  551.             /* font-weight: 700; */
  552.             padding: 14px 26px;
  553.             background: #4C97FD;
  554.             color: white;
  555.         }
  556.     </style>
  557. {% endblock %}
  558. {% block content %}
  559.     <!--section  -->
  560.     {#    <section class=\"hero-section\" data-scrollax-parent=\"true\"> #}
  561.     {#        <div class=\"bg-tabs-wrap\"> #}
  562.     {#            <video class=\"h-full w-full object-cover home-slide-video\" autoplay=\"\" loop=\"\" muted=\"\" playsinline=\"\"> #}
  563.     {#                <source src=\"{{ asset('videos/bg.mp4') }}\" type=\"video/mp4\"> #}
  564.     {#            </video> #}
  565.     {#            <div class=\"bg-parallax-wrap home-slide-image\" data-scrollax=\"properties: { translateY: '200px' }\"> #}
  566.     {#                <div class=\"bg bg_tabs\" data-bg=\"{{ asset('images/bg.jpg') }}\"></div> #}
  567.     {#                #}
  568.     {#                <div class=\"overlay op7\"></div> #}
  569.     {#            </div> #}
  570.     {#        </div> #}
  571.     {#        <div class=\"container small-container\" style=\"min-height: calc( 100vh - 279px ); display: grid\"> #}
  572.     {#            <div class=\"intro-item fl-wrap\"> #}
  573.     {#                <span class=\"section-separator\"></span> #}
  574.     {#                <div class=\"bubbles\"> #}
  575.     {#                    <h1>JE PRIE POUR MADAGASCAR</h1> #}
  576.     {#                    <h3>Un mouvement d'unité pour Madagascar</h3> #}
  577.     {#                </div> #}
  578.     {#            </div> #}
  579.     {#        </div> #}
  580.     {#        <div class=\"header-sec-link\"> #}
  581.     {#            <a href=\"#sec1\" class=\"custom-scroll-link\"><i class=\"fal fa-angle-double-down\"></i></a> #}
  582.     {#        </div> #}
  583.     {#    </section> #}
  584.     <!--section end-->
  585.     <div class=\"hero-map-wrap\">
  586.         <div class=\"hero-map\">
  587.             <!-- Map -->
  588.             <div class=\"map-container  fw-map big_map\">
  589.                 <div id=\"map-main\"></div>
  590.                 <ul class=\"mapnavigation no-list-style\">
  591.                     <li><a href=\"#\" class=\"prevmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-left\"></i></span></a>
  592.                     </li>
  593.                     <li><a href=\"#\" class=\"nextmap-nav mapnavbtn\"><span><i class=\"fas fa-caret-right\"></i></span></a>
  594.                     </li>
  595.                 </ul>
  596.                 <div class=\"scrollContorl mapnavbtn tolt\" data-microtip-position=\"top-left\"
  597.                      data-tooltip=\"Enable Scrolling\"><span><i class=\"fal fa-unlock\"></i></span></div>
  598.                 <div class=\"location-btn geoLocation tolt\" data-microtip-position=\"top-left\"
  599.                      data-tooltip=\"Your location\"><span><i class=\"fal fa-location\"></i></span></div>
  600.             </div>
  601.             <!-- Map end -->
  602.             <div class=\"header-sec-link\">
  603.                 <a href=\"#sec1\" class=\"custom-scroll-link\"><i class=\"fal fa-angle-double-down\"></i></a>
  604.             </div>
  605.         </div>
  606.     </div>
  607.     <!--section  -->
  608.     <section class=\"slw-sec\" id=\"sec1\">
  609.         <div class=\"section-title\">
  610.             <h2>Les Dernières Prières</h2>
  611.             <span class=\"section-separator\"></span>
  612.         </div>
  613.         <div class=\"listing-slider-wrap fl-wrap\">
  614.             <div class=\"listing-slider fl-wrap\">
  615.                 <div class=\"swiper-container\">
  616.                     <div class=\"swiper-wrapper\">
  617.                         {% for prayer in lastPrayers %}
  618.                             {{ include('public/common/_prayer_slide_item.html.twig') }}
  619.                         {% endfor %}
  620.                     </div>
  621.                 </div>
  622.                 <div class=\"listing-carousel-button listing-carousel-button-next2\"><i
  623.                             class=\"fas fa-caret-right\"></i></div>
  624.                 <div class=\"listing-carousel-button listing-carousel-button-prev2\"><i
  625.                             class=\"fas fa-caret-left\"></i></div>
  626.             </div>
  627.             <div class=\"tc-pagination_wrap\">
  628.                 <div class=\"tc-pagination2\"></div>
  629.             </div>
  630.         </div>
  631.     </section>
  632.     <!--section end-->
  633.     <div class=\"sec-circle fl-wrap\"></div>
  634.     <!--section -->
  635.     <section class=\"gray-bg hidden-section particles-wrapper\" id=\"sec2\">
  636.         <div class=\"container\">
  637.             <div class=\"section-title\">
  638.                 <h2>Participants par localisation</h2>
  639.                 <span class=\"section-separator\"></span>
  640.             </div>
  641.             <div class=\"listing-item-grid_container fl-wrap\">
  642.                 <div class=\"row\">
  643.                     <!--  listing-item-grid  -->
  644.                     {% for city in stat.cities|slice(0,6) %}
  645.                         <a href=\"{{ path('prayer', { \"prayer\": {\"city\" : city.name}}) }}\">
  646.                             <div class=\"col-sm-4 city-item\" data-city-name=\"{{ city.name }}\">
  647.                                 <div class=\"listing-item-grid\">
  648.                                     {% set cityImagePath = city.image ? get_parameter('image_city_directory_prefix') ~ city.image : 'images/localisation.jpg' %}
  649.                                     <div class=\"bg\"
  650.                                          data-bg=\"{{ url('asset_url', {'path': cityImagePath, 'h':'530' }) }}\"></div>
  651.                                     <div class=\"d-gr-sec\"></div>
  652.                                     <div class=\"listing-counter color2-bg\"><span>{{ city.participants|length }} </span>
  653.                                         Participant{{ city.participants|length > 1 ? \"s\" : \"\" }}</div>
  654.                                     <div class=\"listing-item-grid_title\">
  655.                                         <h3>
  656.                                             <a href=\"{{ path('prayer', { \"prayer\": {\"city\" : city.name}}) }}\">{{ city.name }}</a>
  657.                                         </h3>
  658.                                         {#                                    <p>Constant care and attention to the patients makes good record</p> #}
  659.                                     </div>
  660.                                 </div>
  661.                             </div>
  662.                         </a>
  663.                     {% endfor %}
  664.                     <!--  listing-item-grid end  -->
  665.                 </div>
  666.             </div>
  667.             <a href=\"{{ path('city') }}\" class=\"btn dec_btn color2-bg\">Voir toutes les localisations
  668.                 <i class=\"fal fa-arrow-alt-right\" style=\"color:#fff;\"></i></a>
  669.         </div>
  670.     </section>
  671.     <!--section end-->
  672.     <!--  section  -->
  673.     <section class=\"parallax-section small-par\" data-scrollax-parent=\"true\">
  674.         <div class=\"bg par-elem \" data-bg=\"{{ asset('images/bg.jpg') }}\"
  675.              data-scrollax=\"properties: { translateY: '30%' }\"></div>
  676.         <div class=\"overlay  op7\"></div>
  677.         <div class=\"container\">
  678.             <div class=\" single-facts single-facts_2 fl-wrap\">
  679.                 <!-- inline-facts -->
  680.                 <div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
  681.                     <div class=\"inline-facts\">
  682.                         <div class=\"milestone-counter\">
  683.                             <div class=\"stats animaper\">
  684.                                 <div class=\"num\" data-content=\"0\"
  685.                                      data-num=\"{{ stat.prayingCities|length }}\">{{ stat.prayingCities|length }}</div>
  686.                             </div>
  687.                         </div>
  688.                         <h6>Nombre de villes priant pour madagascar</h6>
  689.                     </div>
  690.                 </div>
  691.                 <!-- inline-facts end -->
  692.                 <!-- inline-facts  -->
  693.                 <div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
  694.                     <div class=\"inline-facts\">
  695.                         <div class=\"milestone-counter\">
  696.                             <div class=\"stats animaper\">
  697.                                 <div class=\"num\" data-content=\"0\"
  698.                                      data-num=\"{{ stat.prayers|length }}\">{{ stat.prayers|length }}</div>
  699.                             </div>
  700.                         </div>
  701.                         <h6>Nombre total de sujet de prières</h6>
  702.                     </div>
  703.                 </div>
  704.                 <!-- inline-facts end -->
  705.                 <!-- inline-facts  -->
  706.                 <div class=\"inline-facts-wrap\" style=\"width: 33.3% !important;\">
  707.                     <div class=\"inline-facts\">
  708.                         <div class=\"milestone-counter\">
  709.                             <div class=\"stats animaper\">
  710.                                 <div class=\"num\" data-content=\"0\"
  711.                                      data-num=\"{{ stat.religious|length }}\">{{ stat.religious|length }}</div>
  712.                             </div>
  713.                         </div>
  714.                         <h6>Nombre total de personne ayant prié pour Madagascar</h6>
  715.                     </div>
  716.                 </div>
  717.                 <!-- inline-facts end -->
  718.             </div>
  719.         </div>
  720.     </section>
  721.     <!--section end-->
  722.     <!--section  -->
  723.     <section class=\"process-section\" data-scrollax-parent=\"true\">
  724.         <div class=\"container\">
  725.             <div class=\"section-title\">
  726.                 <h2>Comment Ça Marche</h2>
  727.                 {#                <div class=\"section-subtitle\">Discover &amp; Connect</div> #}
  728.                 <span class=\"section-separator\"></span>
  729.                 {#                <p>Morbi varius, nulla sit amet rutrum elementum, est elit finibus tellus, ut tristique #}
  730.                 {#                    elit #}
  731.                 {#                    risus at metus.</p> #}
  732.             </div>
  733.             <div class=\"process-wrap fl-wrap\">
  734.                 <ul class=\"no-list-style\">
  735.                     <li>
  736.                         <div class=\"process-item\">
  737.                             <span class=\"process-count\">01 </span>
  738.                             <div class=\"time-line-icon\"><i class=\"fal fa-user-plus\"></i></div>
  739.                             <h4> S'inscrire</h4>
  740.                         </div>
  741.                         <span class=\"pr-dec\"></span>
  742.                     </li>
  743.                     <li>
  744.                         <div class=\"process-item\">
  745.                             <span class=\"process-count\">03</span>
  746.                             <div class=\"time-line-icon\"><i class=\"fal fa-praying-hands\"></i></div>
  747.                             <h4> Prier pour Madagascar</h4>
  748.                         </div>
  749.                     </li>
  750.                     <li>
  751.                         <div class=\"process-item\">
  752.                             <span class=\"process-count\">02</span>
  753.                             <div class=\"time-line-icon\"><i class=\"fal fa-mail-bulk\"></i></div>
  754.                             <h4> Soumettre un sujet de prière pour le pays</h4>
  755.                         </div>
  756.                         <span class=\"pr-dec\"></span>
  757.                     </li>
  758.                 </ul>
  759.                 <div class=\"process-end\"><i class=\"fal fa-check\"></i></div>
  760.             </div>
  761.         </div>
  762.     </section>
  763.     <!--section end-->
  764.     {#{% if postsFb %}
  765.         <!--section  -->
  766.         <section class=\"slw-sec\" id=\"sec1\">
  767.             <div class=\"section-title\">
  768.                 <h2>Les Dernières Publications</h2>
  769.                 <span class=\"section-separator\"></span>
  770.             </div>
  771.             <div class=\"listing-slider-wrap fl-wrap\">
  772.                 <div class=\"listing-slider fl-wrap\">
  773.                     <div class=\"swiper-container\">
  774.                         <div class=\"swiper-wrapper\">
  775.                             {% for postFb in postsFb.data %}
  776.                                 {{ include('public/common/_facebook_post_slide_item.html.twig') }}
  777.                             {% endfor %}
  778.                         </div>
  779.                     </div>
  780.                     <div class=\"listing-carousel-button listing-carousel-button-next2\"><i
  781.                                 class=\"fas fa-caret-right\"></i></div>
  782.                     <div class=\"listing-carousel-button listing-carousel-button-prev2\"><i
  783.                                 class=\"fas fa-caret-left\"></i></div>
  784.                 </div>
  785.                 <div class=\"tc-pagination_wrap\">
  786.                     <div class=\"tc-pagination2\"></div>
  787.                 </div>
  788.             </div>
  789.         </section>
  790.         <!--section end-->
  791.     {% endif %}#}
  792. {% endblock %}
  793. {% block modal %}
  794.     {{ parent() }}
  795.     {% for prayer in lastPrayers %}
  796.         {{ include('public/prayer/_listing_item_modal.html.twig') }}
  797.     {% endfor %}
  798. {% endblock %}
  799. {% block pageJS %}
  800.     {{ parent() }}
  801.     <script>
  802.         \$(document).on(\"click\", \".praying-btn\", function () {
  803.             let element = this;
  804.             let \$element = \$(element);
  805.             let url = \$element.data('url') ? \$element.data('url') : null;
  806.             let dataMethod = \$element.data('method') ? \$element.data('method') : 'POST';
  807.             let args = {
  808.                 element: `#\${element.id}`,
  809.                 url,
  810.                 dataMethod,
  811.             }
  812.             sendPraying(args)
  813.         });
  814.     </script>
  815.     <script src=\"{{ asset('townhub/js/map-plugins.js') }}\"></script>
  816.     <script>
  817.         {{ include('public/prayer/_map.js.twig') }}
  818.     </script>
  819. {% endblock %}
  820. ""public/index.html.twig""/var/www/my-preprod/php74/jppmada/srcs/templates/public/index.html.twig");
  821.     }
  822. }