var/cache/dev/twig/2c/2c4d2656f36432031b96e7b911001cfa.php line 49

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. /* home/index.html.twig */
  14. class __TwigTemplate_97606f7d009d83000777c54a0c2251f8 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.             'title_suffix' => [$this'block_title_suffix'],
  24.             'body' => [$this'block_body'],
  25.             'javascripts' => [$this'block_javascripts'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return $this->loadTemplate($this->extensions['App\Twig\MiscExtension']->getBaseTemplateName(twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'1$this->source); })()), "request", [], "any"falsefalsefalse1)), "home/index.html.twig"1);
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""home/index.html.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""home/index.html.twig"));
  40.         $this->getParent($context)->display($contextarray_merge($this->blocks$blocks));
  41.         
  42.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  43.         
  44.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  45.     }
  46.     // line 2
  47.     public function block_title_suffix($context, array $blocks = [])
  48.     {
  49.         $macros $this->macros;
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  51.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_suffix"));
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  53.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title_suffix"));
  54.         echo "Home";
  55.         
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  57.         
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  59.     }
  60.     // line 4
  61.     public function block_body($context, array $blocks = [])
  62.     {
  63.         $macros $this->macros;
  64.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  65.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  66.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  67.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         // line 5
  69.         echo "    <div class=\"kyc-phone-container\">
  70.     ";
  71.         // line 6
  72.         if (($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MEMBER") &&  !$this->extensions['App\Twig\MemberExtension']->shallHardcore())) {
  73.             // line 7
  74.             echo "        <div class=\"kyc-incentive-container gradient-danger\">
  75.             <h2><img src=\"";
  76.             // line 8
  77.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kyc/18.png"), "html"nulltrue);
  78.             echo "\"> Jetzt Hardcore freischalten!</h2>  
  79.             <p>
  80.               Sichere dir den Zugang zu allen Hardcore-Inhalten - sofort & sicher!
  81.             </p>
  82.             <div class=\"container-fluid\">
  83.                 <div class=\"row\">
  84.                     <div class=\"col-xs-12 col-sm-6\">
  85.                         <img src=\"";
  86.             // line 15
  87.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kyc/check.png"), "html"nulltrue);
  88.             echo "\"> Altersprüfung mit Yoti
  89.                     </div>
  90.                     <div class=\"col-xs-12 col-sm-6\">
  91.                         <img src=\"";
  92.             // line 18
  93.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kyc/lock.png"), "html"nulltrue);
  94.             echo "\"> 100% Datenschutz
  95.                     </div>
  96.                     <div class=\"col-xs-12 col-sm-6\">
  97.                         <img src=\"";
  98.             // line 21
  99.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kyc/rocket.png"), "html"nulltrue);
  100.             echo "\"> Sofortiger Zugriff nach Verifizierung
  101.                     </div>
  102.                     <div class=\"col-xs-12 col-sm-6\">
  103.                         <img src=\"";
  104.             // line 24
  105.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kyc/flame.png"), "html"nulltrue);
  106.             echo "\"> 500 Coins geschenkt
  107.                     </div>
  108.                 </div>
  109.             </div>
  110.             <a href=\"";
  111.             // line 28
  112.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_user_kyc_index");
  113.             echo "\">
  114.               <button class=\"btn\"> <img src=\"";
  115.             // line 29
  116.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("build/images/kyc/finger.png"), "html"nulltrue);
  117.             echo "\"> Jetzt verifizieren &amp; freischalten</button>
  118.             </a>
  119.         </div>
  120.     ";
  121.         }
  122.         // line 33
  123.         echo "    <div id=\"handy-banner\"></div>
  124.     </div>
  125.     <div class=\"slider-home mb-3\">
  126.         ";
  127.         // line 37
  128.         $this->loadTemplate("_widgets/home-amateur-6.html.twig""home/index.html.twig"37)->display(twig_array_merge($context, ["amateurs" => (isset($context["onlineAmateurs"]) || array_key_exists("onlineAmateurs"$context) ? $context["onlineAmateurs"] : (function () { throw new RuntimeError('Variable "onlineAmateurs" does not exist.'37$this->source); })())]));
  129.         // line 38
  130.         echo "    </div>
  131.     <div id=\"homepage-feed-container\" class=\"d-block ";
  132.         // line 40
  133.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'40$this->source); })()), "request", [], "any"falsefalsefalse40), "pathInfo", [], "any"falsefalsefalse40) != "/infostream")) {
  134.             echo "d-md-none";
  135.         }
  136.         echo "\">
  137.         <ul id=\"react-homepage-feed\" class=\"p-0\"></ul>
  138.         ";
  139.         // line 42
  140.         if ((null === twig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'42$this->source); })()), "user", [], "any"falsefalsefalse42))) {
  141.             // line 43
  142.             echo "        <div id=\"jquery-homepage-feed\">
  143.             ";
  144.             // line 44
  145.             $context['_parent'] = $context;
  146.             $context['_seq'] = twig_ensure_traversable(((twig_get_attribute($this->env$this->source, ($context["feedHtmls"] ?? null), "initial", [], "any"truetruefalse44)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["feedHtmls"] ?? null), "initial", [], "any"falsefalsefalse44), [])) : ([])));
  147.             foreach ($context['_seq'] as $context["_key"] => $context["itemHtml"]) {
  148.                 // line 45
  149.                 echo "                <div class=\"feed-item\">";
  150.                 echo $context["itemHtml"];
  151.                 echo "</div>
  152.             ";
  153.             }
  154.             $_parent $context['_parent'];
  155.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['itemHtml'], $context['_parent'], $context['loop']);
  156.             $context array_intersect_key($context$_parent) + $_parent;
  157.             // line 47
  158.             echo "        </div>
  159.         ";
  160.         }
  161.         // line 49
  162.         echo "    </div>
  163.     <hr class=\"d-block d-md-none\">
  164.     <h2 class=\"mb-3\">Ausgewählte Amateure ...</h2>
  165.     <div class=\"resultlist row\">
  166.         ";
  167.         // line 54
  168.         $context['_parent'] = $context;
  169.         $context['_seq'] = twig_ensure_traversable((isset($context["otherAmateurs"]) || array_key_exists("otherAmateurs"$context) ? $context["otherAmateurs"] : (function () { throw new RuntimeError('Variable "otherAmateurs" does not exist.'54$this->source); })()));
  170.         $context['loop'] = [
  171.           'parent' => $context['_parent'],
  172.           'index0' => 0,
  173.           'index'  => 1,
  174.           'first'  => true,
  175.         ];
  176.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  177.             $length count($context['_seq']);
  178.             $context['loop']['revindex0'] = $length 1;
  179.             $context['loop']['revindex'] = $length;
  180.             $context['loop']['length'] = $length;
  181.             $context['loop']['last'] = === $length;
  182.         }
  183.         foreach ($context['_seq'] as $context["_key"] => $context["amateur"]) {
  184.             // line 55
  185.             echo "            ";
  186.             $this->loadTemplate("_widgets/home-amateur.html.twig""home/index.html.twig"55)->display(twig_array_merge($context, ["member" => $context["amateur"]]));
  187.             // line 56
  188.             echo "        ";
  189.             ++$context['loop']['index0'];
  190.             ++$context['loop']['index'];
  191.             $context['loop']['first'] = false;
  192.             if (isset($context['loop']['length'])) {
  193.                 --$context['loop']['revindex0'];
  194.                 --$context['loop']['revindex'];
  195.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  196.             }
  197.         }
  198.         $_parent $context['_parent'];
  199.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['amateur'], $context['_parent'], $context['loop']);
  200.         $context array_intersect_key($context$_parent) + $_parent;
  201.         // line 57
  202.         echo "    </div>
  203.     <a href=\"";
  204.         // line 58
  205.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_user_amateur_online");
  206.         echo "\" class=\"btn btn-secondary btn-block mb-3 frivol-xhr\">Mehr Amateure zum kennenlernen</a>
  207.     <h2 class=\"mb-3\">Top Videos unserer Amateure</h2>
  208.     <div class=\"resultlist row\">
  209.         ";
  210.         // line 62
  211.         $context['_parent'] = $context;
  212.         $context['_seq'] = twig_ensure_traversable((isset($context["videos"]) || array_key_exists("videos"$context) ? $context["videos"] : (function () { throw new RuntimeError('Variable "videos" does not exist.'62$this->source); })()));
  213.         $context['loop'] = [
  214.           'parent' => $context['_parent'],
  215.           'index0' => 0,
  216.           'index'  => 1,
  217.           'first'  => true,
  218.         ];
  219.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  220.             $length count($context['_seq']);
  221.             $context['loop']['revindex0'] = $length 1;
  222.             $context['loop']['revindex'] = $length;
  223.             $context['loop']['length'] = $length;
  224.             $context['loop']['last'] = === $length;
  225.         }
  226.         foreach ($context['_seq'] as $context["_key"] => $context["video"]) {
  227.             // line 63
  228.             echo "            ";
  229.             $this->loadTemplate("_widgets/home-content-video.html.twig""home/index.html.twig"63)->display(twig_array_merge($context, ["video" => $context["video"]]));
  230.             // line 64
  231.             echo "        ";
  232.             ++$context['loop']['index0'];
  233.             ++$context['loop']['index'];
  234.             $context['loop']['first'] = false;
  235.             if (isset($context['loop']['length'])) {
  236.                 --$context['loop']['revindex0'];
  237.                 --$context['loop']['revindex'];
  238.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  239.             }
  240.         }
  241.         $_parent $context['_parent'];
  242.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['video'], $context['_parent'], $context['loop']);
  243.         $context array_intersect_key($context$_parent) + $_parent;
  244.         // line 65
  245.         echo "    </div>
  246.     <a href=\"";
  247.         // line 66
  248.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("app_content_video_topmonth");
  249.         echo "\" class=\"btn btn-secondary btn-block frivol-xhr\">Mehr Videos</a>
  250. ";
  251.         
  252.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  253.         
  254.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  255.     }
  256.     // line 71
  257.     public function block_javascripts($context, array $blocks = [])
  258.     {
  259.         $macros $this->macros;
  260.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  261.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  262.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  263.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  264.         // line 72
  265.         echo "    ";
  266.         if (( !twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'72$this->source); })()), "request", [], "any"falsefalsefalse72), "isXmlHttpRequest", [], "any"falsefalsefalse72) && $this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_MEMBER"))) {
  267.             // line 73
  268.             echo "        ";
  269.             $this->displayParentBlock("javascripts"$context$blocks);
  270.             echo "
  271.     ";
  272.         } else {
  273.             // line 75
  274.             echo "        ";
  275.             $this->displayParentBlock("javascripts"$context$blocks);
  276.             echo "
  277.         <script type=\"text/javascript\">
  278.             \$(function() {
  279.                 let msgs = [
  280.                     ";
  281.             // line 79
  282.             $context['_parent'] = $context;
  283.             $context['_seq'] = twig_ensure_traversable(((twig_get_attribute($this->env$this->source, ($context["feedHtmls"] ?? null), "delayed", [], "any"truetruefalse79)) ? (_twig_default_filter(twig_get_attribute($this->env$this->source, ($context["feedHtmls"] ?? null), "delayed", [], "any"falsefalsefalse79), [])) : ([])));
  284.             foreach ($context['_seq'] as $context["delay"] => $context["feedItem"]) {
  285.                 // line 80
  286.                 echo "                    {'delay': ";
  287.                 echo twig_escape_filter($this->env, ($context["delay"] * 1000), "html"nulltrue);
  288.                 echo ", 'html': '<div class=\"feed-item\">";
  289.                 echo twig_escape_filter($this->envtwig_escape_filter($this->env$context["feedItem"], "js"), "html"nulltrue);
  290.                 echo "</div>'},
  291.                     ";
  292.             }
  293.             $_parent $context['_parent'];
  294.             unset($context['_seq'], $context['_iterated'], $context['delay'], $context['feedItem'], $context['_parent'], $context['loop']);
  295.             $context array_intersect_key($context$_parent) + $_parent;
  296.             // line 82
  297.             echo "                ];
  298.                 msgs.forEach(function(val) {
  299.                     setTimeout(function () {
  300.                         \$('#jquery-homepage-feed').prepend(val.html);
  301.                         \$('#jquery-homepage-feed .feed-item:last-child').remove();
  302.                     }, val.delay);
  303.                 });
  304.             });
  305.         </script>
  306. ";
  307.         }
  308.         
  309.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  310.         
  311.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  312.     }
  313.     public function getTemplateName()
  314.     {
  315.         return "home/index.html.twig";
  316.     }
  317.     public function isTraitable()
  318.     {
  319.         return false;
  320.     }
  321.     public function getDebugInfo()
  322.     {
  323.         return array (  326 => 82,  315 => 80,  311 => 79,  303 => 75,  297 => 73,  294 => 72,  284 => 71,  271 => 66,  268 => 65,  254 => 64,  251 => 63,  234 => 62,  227 => 58,  224 => 57,  210 => 56,  207 => 55,  190 => 54,  183 => 49,  179 => 47,  170 => 45,  166 => 44,  163 => 43,  161 => 42,  154 => 40,  150 => 38,  148 => 37,  142 => 33,  135 => 29,  131 => 28,  124 => 24,  118 => 21,  112 => 18,  106 => 15,  96 => 8,  93 => 7,  91 => 6,  88 => 5,  78 => 4,  59 => 2,  37 => 1,);
  324.     }
  325.     public function getSourceContext()
  326.     {
  327.         return new Source("{% extends baseTemplateName(app.request) %}
  328. {% block title_suffix %}Home{% endblock %}
  329. {% block body %}
  330.     <div class=\"kyc-phone-container\">
  331.     {% if is_granted('ROLE_MEMBER') and not shallHardcore() %}
  332.         <div class=\"kyc-incentive-container gradient-danger\">
  333.             <h2><img src=\"{{ asset('build/images/kyc/18.png') }}\"> Jetzt Hardcore freischalten!</h2>  
  334.             <p>
  335.               Sichere dir den Zugang zu allen Hardcore-Inhalten - sofort & sicher!
  336.             </p>
  337.             <div class=\"container-fluid\">
  338.                 <div class=\"row\">
  339.                     <div class=\"col-xs-12 col-sm-6\">
  340.                         <img src=\"{{ asset('build/images/kyc/check.png') }}\"> Altersprüfung mit Yoti
  341.                     </div>
  342.                     <div class=\"col-xs-12 col-sm-6\">
  343.                         <img src=\"{{ asset('build/images/kyc/lock.png') }}\"> 100% Datenschutz
  344.                     </div>
  345.                     <div class=\"col-xs-12 col-sm-6\">
  346.                         <img src=\"{{ asset('build/images/kyc/rocket.png') }}\"> Sofortiger Zugriff nach Verifizierung
  347.                     </div>
  348.                     <div class=\"col-xs-12 col-sm-6\">
  349.                         <img src=\"{{ asset('build/images/kyc/flame.png') }}\"> 500 Coins geschenkt
  350.                     </div>
  351.                 </div>
  352.             </div>
  353.             <a href=\"{{ path('app_user_kyc_index')}}\">
  354.               <button class=\"btn\"> <img src=\"{{ asset('build/images/kyc/finger.png') }}\"> Jetzt verifizieren &amp; freischalten</button>
  355.             </a>
  356.         </div>
  357.     {% endif %}
  358.     <div id=\"handy-banner\"></div>
  359.     </div>
  360.     <div class=\"slider-home mb-3\">
  361.         {% include '_widgets/home-amateur-6.html.twig' with { amateurs: onlineAmateurs } %}
  362.     </div>
  363.     <div id=\"homepage-feed-container\" class=\"d-block {% if app.request.pathInfo != '/infostream' %}d-md-none{% endif %}\">
  364.         <ul id=\"react-homepage-feed\" class=\"p-0\"></ul>
  365.         {% if app.user is null %}
  366.         <div id=\"jquery-homepage-feed\">
  367.             {% for itemHtml in feedHtmls.initial|default([]) %}
  368.                 <div class=\"feed-item\">{{ itemHtml|raw }}</div>
  369.             {% endfor %}
  370.         </div>
  371.         {% endif %}
  372.     </div>
  373.     <hr class=\"d-block d-md-none\">
  374.     <h2 class=\"mb-3\">Ausgewählte Amateure ...</h2>
  375.     <div class=\"resultlist row\">
  376.         {% for amateur in otherAmateurs %}
  377.             {% include '_widgets/home-amateur.html.twig' with { member: amateur } %}
  378.         {% endfor %}
  379.     </div>
  380.     <a href=\"{{ path('app_user_amateur_online') }}\" class=\"btn btn-secondary btn-block mb-3 frivol-xhr\">Mehr Amateure zum kennenlernen</a>
  381.     <h2 class=\"mb-3\">Top Videos unserer Amateure</h2>
  382.     <div class=\"resultlist row\">
  383.         {% for video in videos %}
  384.             {% include '_widgets/home-content-video.html.twig' with { video: video } %}
  385.         {% endfor %}
  386.     </div>
  387.     <a href=\"{{ path('app_content_video_topmonth') }}\" class=\"btn btn-secondary btn-block frivol-xhr\">Mehr Videos</a>
  388. {% endblock %}
  389. {% block javascripts %}
  390.     {% if not app.request.isXmlHttpRequest and is_granted('ROLE_MEMBER') %}
  391.         {{ parent() }}
  392.     {% else %}
  393.         {{ parent() }}
  394.         <script type=\"text/javascript\">
  395.             \$(function() {
  396.                 let msgs = [
  397.                     {% for delay,feedItem in feedHtmls.delayed|default([]) %}
  398.                     {'delay': {{ delay * 1000 }}, 'html': '<div class=\"feed-item\">{{ feedItem|e('js') }}</div>'},
  399.                     {% endfor %}
  400.                 ];
  401.                 msgs.forEach(function(val) {
  402.                     setTimeout(function () {
  403.                         \$('#jquery-homepage-feed').prepend(val.html);
  404.                         \$('#jquery-homepage-feed .feed-item:last-child').remove();
  405.                     }, val.delay);
  406.                 });
  407.             });
  408.         </script>
  409. {% endif %}
  410. {% endblock %}
  411. ""home/index.html.twig""/var/www/frontend-dev/apps/frontend/templates/home/index.html.twig");
  412.     }
  413. }