var/cache/dev/twig/57/57b4f00efb2fe6864e97d3408a6a68ce82f91e6a3a7c2701a2f9a6dddc0711e8.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. /* SocialUserBundle:Registration:index_cupidon.html.twig */
  14. class __TwigTemplate_a8739c132d7f44fa69c1e74a13cc491131454bbc1da53307136bb2c236ac15d7 extends \Twig\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.             'content' => [$this'block_content'],
  24.         ];
  25.     }
  26.     protected function doGetParent(array $context)
  27.     {
  28.         // line 1
  29.         return "SocialFrontendBundle::layout_homepage.html.twig";
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SocialUserBundle:Registration:index_cupidon.html.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""SocialUserBundle:Registration:index_cupidon.html.twig"));
  38.         // line 3
  39.         $this->env->getRuntime("Symfony\\Component\\Form\\FormRenderer")->setTheme((isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'3$this->source); })()), [=> "SocialUserBundle:Form:form.html.twig"], true);
  40.         // line 1
  41.         $this->parent $this->loadTemplate("SocialFrontendBundle::layout_homepage.html.twig""SocialUserBundle:Registration:index_cupidon.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 5
  49.     public function block_content($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""content"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  56.         // line 6
  57.         echo "    <section class=\"navbar navbar-default top-nav navbar-fixed-top\" role=\"navigation\">
  58.         <div class=\"container\">
  59.             <div class=\"row\">
  60.                <div class=\"col-md-12\">
  61.                    <div class=\"navbar-header\">
  62.                        <button type=\"button\" class=\"navbar-toggle btn-menu-size pull-right\" data-toggle=\"collapse\"
  63.                                data-target=\"#navbar-fixed-layout-collapse\"><i class=\"fa fa-fw fa-indent\"></i> Menu</button>
  64.                        <ul class=\"nav-login-responsive nav navbar-nav pull-right\">
  65.                            <li>
  66.                                <a class=\"sibling login\" href=\"";
  67.         // line 15
  68.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login");
  69.         echo "\"
  70.                                   target=\"_self\">
  71.                                    ";
  72.         // line 17
  73.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Login", [], "messages");
  74.         // line 18
  75.         echo "                               </a>
  76.                            </li>
  77.                        </ul>
  78.                        <a class=\"navbar-brand\" href=\"";
  79.         // line 21
  80.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("social_user_homepage");
  81.         echo "\">
  82.                            <img src=\"";
  83.         // line 22
  84.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl(twig_get_attribute($this->env$this->source, (isset($context["theme_manager"]) || array_key_exists("theme_manager"$context) ? $context["theme_manager"] : (function () { throw new RuntimeError('Variable "theme_manager" does not exist.'22$this->source); })()), "getActiveThemeLogo", [], "method"falsefalsefalse22)), "html"nulltrue);
  85.         echo "\" alt=\"\">
  86.                        </a>
  87.                    </div>
  88.                    <div class=\"collapse navbar-collapse\" id=\"navbar-fixed-layout-collapse\">
  89.                        <ul class=\"nav navbar-nav navbar-nav-responsive pull-right\">
  90.                            <li>
  91.                                <a class=\"sibling start-date\" href=\"#start-date\" title=\"title\">
  92.                                    ";
  93.         // line 30
  94.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Start with a <b>hello</b>", [], "messages");
  95.         // line 31
  96.         echo "                               </a>
  97.                            </li>
  98.                            <li>
  99.                                <a class=\"sibling top-members\" href=\"#top-members\" title=\"title\">
  100.                                    ";
  101.         // line 35
  102.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Top Members", [], "messages");
  103.         // line 36
  104.         echo "                               </a>
  105.                            </li>
  106.                            <li>
  107.                                <a class=\"sibling newsletter\" href=\"#suport\" title=\"title\">
  108.                                    ";
  109.         // line 40
  110.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Newsletter", [], "messages");
  111.         // line 41
  112.         echo "                               </a>
  113.                            </li>
  114.                            <li>
  115.                                <a class=\"sibling login\" href=\"";
  116.         // line 44
  117.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("fos_user_security_login");
  118.         echo "\">
  119.                                    ";
  120.         // line 45
  121.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Login", [], "messages");
  122.         // line 46
  123.         echo "                               </a>
  124.                            </li>
  125.                        </ul>
  126.                    </div>
  127.                </div>
  128.             </div>
  129.         </div>
  130.     </section>
  131.     <section id=\"banner-date\">
  132.         <div class=\"innerTB\">
  133.             <div class=\"container\">
  134.                 <div class=\"row\">
  135.                     <div class=\"col-lg-8 col-md-8 col-sm-7\">
  136.                         <h1 class=\"text-intro\">
  137.                             ";
  138.         // line 60
  139.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Flirting has never been easier!", [], "messages");
  140.         echo "<b>";
  141.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Join us!", [], "messages");
  142.         echo "</b>
  143.                         </h1>
  144.                         <ul class=\"details-intro\">
  145.                             <li class=\"first-item-detail\">";
  146.         // line 63
  147.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Share fantasies", [], "messages");
  148.         echo "</li>
  149.                             <li class=\"second-item-detail\">";
  150.         // line 64
  151.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Find your play mate", [], "messages");
  152.         echo "</li>
  153.                             <li class=\"last-item-detail\">";
  154.         // line 65
  155.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Fulfill desires", [], "messages");
  156.         echo "</li>
  157.                         </ul>
  158.                     </div>
  159.                     <div class=\"col-sm-5 col-md-4 col-lg-4\">
  160.                         <form class=\"form-horizontal login-form-responsive\" role=\"form\" novalidate=\"novalidate\" method=\"POST\"
  161.                               autocomplete=\"off\">
  162.                             <div class=\"c-header\">
  163.                                 <h3><span class=\"start-sign-up\">";
  164.         // line 72
  165.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Sign up", [], "messages");
  166.         echo "</span> <br/>
  167.                                     <span class=\"start-meet\">";
  168.         // line 73
  169.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Start flirting now, it's free of charge!", [], "messages");
  170.         // line 74
  171.         echo "</span></h3>
  172.                             </div>
  173.                             ";
  174.         // line 76
  175.         $this->loadTemplate("SocialUserBundle:Registration:registration_form.html.twig""SocialUserBundle:Registration:index_cupidon.html.twig"76)->display(twig_array_merge($context, ["form" => (isset($context["form"]) || array_key_exists("form"$context) ? $context["form"] : (function () { throw new RuntimeError('Variable "form" does not exist.'76$this->source); })())]));
  176.         // line 77
  177.         echo "                            <p class=\"pull-right get-help\">
  178.                                 ";
  179.         // line 78
  180.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Having trouble?", [], "messages");
  181.         // line 81
  182.         echo "                                <a href=\"";
  183.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("social_support");
  184.         echo "\">
  185.                                     ";
  186.         // line 82
  187.         echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->getTranslator()->trans("Get Help", [], "messages");
  188.         // line 85
  189.         echo "                                </a>
  190.                             </p>
  191.                             ";
  192.         // line 87
  193.         $context["pages"] = $this->extensions['Social\FrontendBundle\Extension\TwigExtension']->getCmsPages();
  194.         // line 88
  195.         echo "                            ";
  196.         if (twig_length_filter($this->env, (isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'88$this->source); })()))) {
  197.             // line 89
  198.             echo "                                <ul class=\"cms-pages-list\">
  199.                                     ";
  200.             // line 90
  201.             $context['_parent'] = $context;
  202.             $context['_seq'] = twig_ensure_traversable((isset($context["pages"]) || array_key_exists("pages"$context) ? $context["pages"] : (function () { throw new RuntimeError('Variable "pages" does not exist.'90$this->source); })()));
  203.             foreach ($context['_seq'] as $context["_key"] => $context["page"]) {
  204.                 // line 91
  205.                 echo "                                        <li>
  206.                                             <a href=\"";
  207.                 // line 92
  208.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cms_page_route", ["slug" => twig_get_attribute($this->env$this->source$context["page"], "slug", [], "any"falsefalsefalse92)]), "html"nulltrue);
  209.                 echo "\">
  210.                                                 ";
  211.                 // line 93
  212.                 if ((twig_get_attribute($this->env$this->source$context["page"], "menuIcon", [], "any"truetruefalse93) && (twig_get_attribute($this->env$this->source$context["page"], "menuIcon", [], "any"falsefalsefalse93) != ""))) {
  213.                     // line 94
  214.                     echo "                                                    <i class=\"";
  215.                     echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["page"], "menuIcon", [], "any"falsefalsefalse94), "html"nulltrue);
  216.                     echo "\"></i>
  217.                                                 ";
  218.                 }
  219.                 // line 96
  220.                 echo "                                                ";
  221.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["page"], "title", [], "any"falsefalsefalse96), "html"nulltrue);
  222.                 echo "
  223.                                             </a>
  224.                                         </li>
  225.                                     ";
  226.             }
  227.             $_parent $context['_parent'];
  228.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['page'], $context['_parent'], $context['loop']);
  229.             $context array_intersect_key($context$_parent) + $_parent;
  230.             // line 100
  231.             echo "                                </ul>
  232.                             ";
  233.         }
  234.         // line 102
  235.         echo "                        </form>
  236.                     </div>
  237.                 </div>
  238.             </div>
  239.         </div>
  240.     </section>
  241.     ";
  242.         // line 109
  243.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("SocialUserBundle:Registration:startDateSectionHomepage"));
  244.         echo "
  245.     ";
  246.         // line 111
  247.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("SocialUserBundle:Registration:topMembersSectionHomepage"));
  248.         echo "
  249.     ";
  250.         // line 113
  251.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment(Symfony\Bridge\Twig\Extension\HttpKernelExtension::controller("SocialUserBundle:Registration:supportSectionHomepage"));
  252.         echo "
  253.     ";
  254.         // line 117
  255.         echo "    <div id=\"homepage-age-popup\"></div>
  256. ";
  257.         
  258.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  259.         
  260.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  261.     }
  262.     public function getTemplateName()
  263.     {
  264.         return "SocialUserBundle:Registration:index_cupidon.html.twig";
  265.     }
  266.     public function isTraitable()
  267.     {
  268.         return false;
  269.     }
  270.     public function getDebugInfo()
  271.     {
  272.         return array (  274 => 117,  269 => 113,  264 => 111,  259 => 109,  250 => 102,  246 => 100,  235 => 96,  229 => 94,  227 => 93,  223 => 92,  220 => 91,  216 => 90,  213 => 89,  210 => 88,  208 => 87,  204 => 85,  202 => 82,  197 => 81,  195 => 78,  192 => 77,  190 => 76,  186 => 74,  184 => 73,  180 => 72,  170 => 65,  166 => 64,  162 => 63,  154 => 60,  138 => 46,  136 => 45,  132 => 44,  127 => 41,  125 => 40,  119 => 36,  117 => 35,  111 => 31,  109 => 30,  98 => 22,  94 => 21,  89 => 18,  87 => 17,  82 => 15,  71 => 6,  61 => 5,  50 => 1,  48 => 3,  35 => 1,);
  273.     }
  274.     public function getSourceContext()
  275.     {
  276.         return new Source("{% extends 'SocialFrontendBundle::layout_homepage.html.twig' %}
  277. {% form_theme form 'SocialUserBundle:Form:form.html.twig' %}
  278. {% block content %}
  279.     <section class=\"navbar navbar-default top-nav navbar-fixed-top\" role=\"navigation\">
  280.         <div class=\"container\">
  281.             <div class=\"row\">
  282.                <div class=\"col-md-12\">
  283.                    <div class=\"navbar-header\">
  284.                        <button type=\"button\" class=\"navbar-toggle btn-menu-size pull-right\" data-toggle=\"collapse\"
  285.                                data-target=\"#navbar-fixed-layout-collapse\"><i class=\"fa fa-fw fa-indent\"></i> Menu</button>
  286.                        <ul class=\"nav-login-responsive nav navbar-nav pull-right\">
  287.                            <li>
  288.                                <a class=\"sibling login\" href=\"{{ path('fos_user_security_login') }}\"
  289.                                   target=\"_self\">
  290.                                    {% trans %}Login{% endtrans %}
  291.                                </a>
  292.                            </li>
  293.                        </ul>
  294.                        <a class=\"navbar-brand\" href=\"{{ path('social_user_homepage') }}\">
  295.                            <img src=\"{{ asset(theme_manager.getActiveThemeLogo()) }}\" alt=\"\">
  296.                        </a>
  297.                    </div>
  298.                    <div class=\"collapse navbar-collapse\" id=\"navbar-fixed-layout-collapse\">
  299.                        <ul class=\"nav navbar-nav navbar-nav-responsive pull-right\">
  300.                            <li>
  301.                                <a class=\"sibling start-date\" href=\"#start-date\" title=\"title\">
  302.                                    {% trans %}Start with a <b>hello</b>{% endtrans %}
  303.                                </a>
  304.                            </li>
  305.                            <li>
  306.                                <a class=\"sibling top-members\" href=\"#top-members\" title=\"title\">
  307.                                    {% trans %}Top Members{% endtrans %}
  308.                                </a>
  309.                            </li>
  310.                            <li>
  311.                                <a class=\"sibling newsletter\" href=\"#suport\" title=\"title\">
  312.                                    {% trans %}Newsletter{% endtrans %}
  313.                                </a>
  314.                            </li>
  315.                            <li>
  316.                                <a class=\"sibling login\" href=\"{{ path('fos_user_security_login') }}\">
  317.                                    {% trans %}Login{% endtrans %}
  318.                                </a>
  319.                            </li>
  320.                        </ul>
  321.                    </div>
  322.                </div>
  323.             </div>
  324.         </div>
  325.     </section>
  326.     <section id=\"banner-date\">
  327.         <div class=\"innerTB\">
  328.             <div class=\"container\">
  329.                 <div class=\"row\">
  330.                     <div class=\"col-lg-8 col-md-8 col-sm-7\">
  331.                         <h1 class=\"text-intro\">
  332.                             {% trans %}Flirting has never been easier!{% endtrans %}<b>{% trans %}Join us!{% endtrans %}</b>
  333.                         </h1>
  334.                         <ul class=\"details-intro\">
  335.                             <li class=\"first-item-detail\">{% trans %}Share fantasies{% endtrans %}</li>
  336.                             <li class=\"second-item-detail\">{% trans %}Find your play mate{% endtrans %}</li>
  337.                             <li class=\"last-item-detail\">{% trans %}Fulfill desires{% endtrans %}</li>
  338.                         </ul>
  339.                     </div>
  340.                     <div class=\"col-sm-5 col-md-4 col-lg-4\">
  341.                         <form class=\"form-horizontal login-form-responsive\" role=\"form\" novalidate=\"novalidate\" method=\"POST\"
  342.                               autocomplete=\"off\">
  343.                             <div class=\"c-header\">
  344.                                 <h3><span class=\"start-sign-up\">{% trans %}Sign up{% endtrans %}</span> <br/>
  345.                                     <span class=\"start-meet\">{% trans %}
  346.                                         Start flirting now, it's free of charge!{% endtrans %}</span></h3>
  347.                             </div>
  348.                             {% include 'SocialUserBundle:Registration:registration_form.html.twig' with {form: form} %}
  349.                             <p class=\"pull-right get-help\">
  350.                                 {% trans %}
  351.                                 Having trouble?
  352.                                 {% endtrans %}
  353.                                 <a href=\"{{ path('social_support') }}\">
  354.                                     {% trans %}
  355.                                     Get Help
  356.                                     {% endtrans %}
  357.                                 </a>
  358.                             </p>
  359.                             {% set pages = get_cms_pages() %}
  360.                             {% if pages|length %}
  361.                                 <ul class=\"cms-pages-list\">
  362.                                     {% for page in pages %}
  363.                                         <li>
  364.                                             <a href=\"{{ url('cms_page_route', { slug: page.slug }) }}\">
  365.                                                 {% if page.menuIcon is defined and page.menuIcon != '' %}
  366.                                                     <i class=\"{{ page.menuIcon }}\"></i>
  367.                                                 {% endif %}
  368.                                                 {{ page.title }}
  369.                                             </a>
  370.                                         </li>
  371.                                     {% endfor %}
  372.                                 </ul>
  373.                             {% endif %}
  374.                         </form>
  375.                     </div>
  376.                 </div>
  377.             </div>
  378.         </div>
  379.     </section>
  380.     {{ render(controller('SocialUserBundle:Registration:startDateSectionHomepage')) }}
  381.     {{ render(controller('SocialUserBundle:Registration:topMembersSectionHomepage')) }}
  382.     {{ render(controller('SocialUserBundle:Registration:supportSectionHomepage')) }}
  383.     {#  {{ render(controller('SocialUserBundle:Registration:ourLoversSectionHomepage')) }}
  384.         {{ render(controller('SocialUserBundle:Registration:testimonialsSectionHomepage')) }}#}
  385.     <div id=\"homepage-age-popup\"></div>
  386. {% endblock %}""SocialUserBundle:Registration:index_cupidon.html.twig""/home/dev3social/releases/2024-11-13-10-37-58-0D6gsbYcms/src/Social/UserBundle/Resources/views/Registration/index_cupidon.html.twig");
  387.     }
  388. }