var/cache/review/twig/44/44c3df4f7ed8269eeb6dbbee14f70c41.php line 100

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. /* ProfileList/list.profiles.html.twig */
  14. class __TwigTemplate_a8169726f405d869ec55b479094189e6 extends Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source $this->getSourceContext();
  22.         $this->parent false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_b91a4435ea3baf1e2b6bfda56133dace $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  30.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->enter($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""ProfileList/list.profiles.html.twig"));
  35.         // line 1
  36.         $context["show_total_count"] = ( !array_key_exists("show_total_count"$context) || (isset($context["show_total_count"]) || array_key_exists("show_total_count"$context) ? $context["show_total_count"] : (function () { throw new RuntimeError('Variable "show_total_count" does not exist.'1$this->source); })()));
  37.         // line 2
  38.         if ((((isset($context["show_total_count"]) || array_key_exists("show_total_count"$context) ? $context["show_total_count"] : (function () { throw new RuntimeError('Variable "show_total_count" does not exist.'2$this->source); })()) && (null != (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'2$this->source); })()))) && twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "totalCount", [], "any"truetruefalse2))) {
  39.             // line 3
  40.             echo "    <h2 class=\"px-3 w-100\">";
  41.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'3$this->source); })()), "totalCount", [], "any"falsefalsefalse3), "html"nulltrue);
  42.             echo " ";
  43.             echo twig_escape_filter($this->env$this->extensions['App\Twig\ToolsExtension']->inclineNumeral(twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'3$this->source); })()), "totalCount", [], "any"falsefalsefalse3), ["товар""товара""товаров"]), "html"nulltrue);
  44.             echo "</h2>
  45. ";
  46.         }
  47.         // line 5
  48.         $context["profiles_array"] = ((is_iterable((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'5$this->source); })()))) ? (((twig_get_attribute($this->env$this->source, ($context["profiles"] ?? null), "array", [], "any"truetruefalse5)) ? (twig_get_attribute($this->env$this->source, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'5$this->source); })()), "array", [], "any"falsefalsefalse5)) : ((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'5$this->source); })())))) : ([]));
  49.         // line 6
  50.         if (((array_key_exists("top_profile"$context) && (null != (isset($context["top_profile"]) || array_key_exists("top_profile"$context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.'6$this->source); })()))) && (null != (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'6$this->source); })())))) {
  51.             // line 7
  52.             echo "    ";
  53.             $context["profiles_array"] = twig_array_merge([(isset($context["top_profile"]) || array_key_exists("top_profile"$context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.'7$this->source); })())], (isset($context["profiles_array"]) || array_key_exists("profiles_array"$context) ? $context["profiles_array"] : (function () { throw new RuntimeError('Variable "profiles_array" does not exist.'7$this->source); })()));
  54.         }
  55.         // line 9
  56.         $context['_parent'] = $context;
  57.         $context['_seq'] = twig_ensure_traversable((isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'9$this->source); })()));
  58.         $context['loop'] = [
  59.           'parent' => $context['_parent'],
  60.           'index0' => 0,
  61.           'index'  => 1,
  62.           'first'  => true,
  63.         ];
  64.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  65.             $length count($context['_seq']);
  66.             $context['loop']['revindex0'] = $length 1;
  67.             $context['loop']['revindex'] = $length;
  68.             $context['loop']['length'] = $length;
  69.             $context['loop']['last'] = === $length;
  70.         }
  71.         foreach ($context['_seq'] as $context["_key"] => $context["profile"]) {
  72.             // line 10
  73.             echo "    <div class=\"col-4\">
  74.         <div class=\"card\" alt=\"";
  75.             // line 11
  76.             ((twig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse11)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse11), "phone", [], "any"falsefalsefalse11), "html"nulltrue))) : (print ("")));
  77.             echo "\" data-profile-id=\"";
  78.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "id", [], "any"falsefalsefalse11), "html"nulltrue);
  79.             echo "\">
  80.             ";
  81.             // line 12
  82.             $context["photo"] = $this->extensions['App\Twig\ProfileAvatarExtension']->profileAvatar($context["profile"]);
  83.             // line 13
  84.             echo "            ";
  85.             if ( !(null === (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'13$this->source); })()))) {
  86.                 // line 14
  87.                 echo "                <img class=\"card-img-top\"
  88.                      src=\"";
  89.                 // line 15
  90.                 echo twig_escape_filter($this->env$this->extensions['App\Twig\ResponsiveAssetExtension']->getResponsiveImageUrl(twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'15$this->source); })()), "path", [], "any"falsefalsefalse15), (((twig_get_attribute($this->env$this->source, (isset($context["photo"]) || array_key_exists("photo"$context) ? $context["photo"] : (function () { throw new RuntimeError('Variable "photo" does not exist.'15$this->source); })()), "type", [], "any"falsefalsefalse15) == "photo")) ? ("profile_media") : ("profile_media_avatar")), "357x500""jpg"), "html"nulltrue);
  91.                 echo "\"
  92.                      alt=\"";
  93.                 // line 16
  94.                 ((twig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse16)) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "seo", [], "any"falsefalsefalse16), "phone", [], "any"falsefalsefalse16), "html"nulltrue))) : (print ("")));
  95.                 echo "\">
  96.             ";
  97.             }
  98.             // line 18
  99.             echo "            <div class=\"card-body\">
  100.                 ";
  101.             // line 19
  102.             if (twig_get_attribute($this->env$this->source$context["profile"], "isApproved", [], "any"falsefalsefalse19)) {
  103.                 echo "APPROVED";
  104.             }
  105.             // line 20
  106.             echo "                <h5 class=\"card-title\"><a
  107.                             href=\"";
  108.             // line 21
  109.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_preview.page", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "city", [], "any"falsefalsefalse21), "uriIdentity", [], "any"falsefalsefalse21), "profile" => twig_get_attribute($this->env$this->source$context["profile"], "uriIdentity", [], "any"falsefalsefalse21)]), "html"nulltrue);
  110.             echo "\"
  111.                             title=\"\">";
  112.             // line 22
  113.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["profile"], "name", [], "any"falsefalsefalse22)), "html"nulltrue);
  114.             echo " (pos: ";
  115.             (((twig_get_attribute($this->env$this->source$context["profile"], "position", [], "any"truetruefalse22) &&  !(null === twig_get_attribute($this->env$this->source$context["profile"], "position", [], "any"falsefalsefalse22)))) ? (print (twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "position", [], "any"falsefalsefalse22), "html"nulltrue))) : (print ("")));
  116.             echo ")</a></h5>
  117.                 ";
  118.             // line 23
  119.             if ((twig_get_attribute($this->env$this->source$context["profile"], "isActive", [], "any"falsefalsefalse23) ||  !twig_get_attribute($this->env$this->source$context["profile"], "hidden", [], "any"falsefalsefalse23))) {
  120.                 // line 24
  121.                 echo "                    <h6 class=\"card-subtitle mb-2\"><a href=\"tel:";
  122.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "phoneNumber", [], "any"falsefalsefalse24), "html"nulltrue);
  123.                 echo "\">";
  124.                 echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source$context["profile"], "phoneNumber", [], "any"falsefalsefalse24), "html"nulltrue);
  125.                 echo "</a>
  126.                     </h6>
  127.                 ";
  128.             }
  129.             // line 27
  130.             echo "                ";
  131.             $context['_parent'] = $context;
  132.             $context['_seq'] = twig_ensure_traversable(twig_get_attribute($this->env$this->source$context["profile"], "stations", [], "any"falsefalsefalse27));
  133.             $context['loop'] = [
  134.               'parent' => $context['_parent'],
  135.               'index0' => 0,
  136.               'index'  => 1,
  137.               'first'  => true,
  138.             ];
  139.             if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  140.                 $length count($context['_seq']);
  141.                 $context['loop']['revindex0'] = $length 1;
  142.                 $context['loop']['revindex'] = $length;
  143.                 $context['loop']['length'] = $length;
  144.                 $context['loop']['last'] = === $length;
  145.             }
  146.             foreach ($context['_seq'] as $context["_key"] => $context["station"]) {
  147.                 // line 28
  148.                 echo "                    <a href=\"";
  149.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("profile_list.list_by_station", ["city" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "city", [], "any"falsefalsefalse28), "uriIdentity", [], "any"falsefalsefalse28), "station" => twig_get_attribute($this->env$this->source$context["station"], "uriIdentity", [], "any"falsefalsefalse28)]), "html"nulltrue);
  150.                 echo "\">";
  151.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["station"], "name", [], "any"falsefalsefalse28)), "html"nulltrue);
  152.                 echo " ";
  153.                 if (twig_get_attribute($this->env$this->source$context["loop"], "first", [], "any"falsefalsefalse28)) {
  154.                     echo "*";
  155.                 }
  156.                 echo "</a>
  157.                     ";
  158.                 // line 29
  159.                 if ( !twig_get_attribute($this->env$this->source$context["loop"], "last", [], "any"falsefalsefalse29)) {
  160.                     echo ", ";
  161.                 }
  162.                 // line 30
  163.                 echo "                ";
  164.                 ++$context['loop']['index0'];
  165.                 ++$context['loop']['index'];
  166.                 $context['loop']['first'] = false;
  167.                 if (isset($context['loop']['length'])) {
  168.                     --$context['loop']['revindex0'];
  169.                     --$context['loop']['revindex'];
  170.                     $context['loop']['last'] = === $context['loop']['revindex0'];
  171.                 }
  172.             }
  173.             $_parent $context['_parent'];
  174.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['station'], $context['_parent'], $context['loop']);
  175.             $context array_intersect_key($context$_parent) + $_parent;
  176.             // line 31
  177.             echo "                <dl class=\"small\">
  178.                     <dt>";
  179.             // line 32
  180.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Возраст", [], "messages");
  181.             echo "</dt>
  182.                     <dd>";
  183.             // line 33
  184.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse33), "age", [], "any"falsefalsefalse33), "html"nulltrue);
  185.             echo "</dd>
  186.                     <dt>";
  187.             // line 34
  188.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Рост", [], "messages");
  189.             echo "</dt>
  190.                     <dd>";
  191.             // line 35
  192.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse35), "height", [], "any"falsefalsefalse35), "html"nulltrue);
  193.             echo "</dd>
  194.                     <dt>";
  195.             // line 36
  196.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Вес", [], "messages");
  197.             echo "</dt>
  198.                     <dd>";
  199.             // line 37
  200.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse37), "weight", [], "any"falsefalsefalse37), "html"nulltrue);
  201.             echo "</dd>
  202.                     <dt>";
  203.             // line 38
  204.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Грудь", [], "messages");
  205.             echo "</dt>
  206.                     <dd>";
  207.             // line 39
  208.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "personParameters", [], "any"falsefalsefalse39), "breastSize", [], "any"falsefalsefalse39), "html"nulltrue);
  209.             echo "</dd>
  210.                 </dl>
  211.                 <dl class=\"small\">
  212.                     <dt>";
  213.             // line 42
  214.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Час", [], "messages");
  215.             echo "</dt>
  216.                     <dd>";
  217.             // line 43
  218.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse43), "oneHourPrice", [], "any"falsefalsefalse43), "html"nulltrue);
  219.             echo " руб</dd>
  220.                     <dt>";
  221.             // line 44
  222.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("2 часа", [], "messages");
  223.             echo "</dt>
  224.                     <dd>";
  225.             // line 45
  226.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse45), "twoHoursPrice", [], "any"falsefalsefalse45), "html"nulltrue);
  227.             echo " руб</dd>
  228.                     <dt>";
  229.             // line 46
  230.             echo $this->env->getExtension('Symfony\Bridge\Twig\Extension\TranslationExtension')->trans("Ночь", [], "messages");
  231.             echo "</dt>
  232.                     <dd>";
  233.             // line 47
  234.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse47), "nightPrice", [], "any"falsefalsefalse47), "html"nulltrue);
  235.             echo " руб</dd>
  236.                 </dl>
  237.                 <p class=\"small\">
  238.                     ";
  239.             // line 50
  240.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "apartmentsPricing", [], "any"falsefalsefalse50), "isProvided", [], "any"falsefalsefalse50)) {
  241.                 // line 51
  242.                 echo "                        ";
  243.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("апартаменты"), "html"nulltrue);
  244.                 echo "
  245.                     ";
  246.             }
  247.             // line 53
  248.             echo "                    ";
  249.             if (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["profile"], "takeOutPricing", [], "any"falsefalsefalse53), "isProvided", [], "any"falsefalsefalse53)) {
  250.                 // line 54
  251.                 echo "                        ";
  252.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("выезд"), "html"nulltrue);
  253.                 echo "
  254.                     ";
  255.             }
  256.             // line 56
  257.             echo "                </p>
  258.                 ";
  259.             // line 59
  260.             echo "                ";
  261.             // line 60
  262.             echo "                ";
  263.             // line 61
  264.             echo "                ";
  265.             // line 62
  266.             echo "                ";
  267.             // line 63
  268.             echo "                ";
  269.             // line 64
  270.             echo "                ";
  271.             // line 65
  272.             echo "                ";
  273.             // line 66
  274.             echo "                ";
  275.             // line 67
  276.             echo "
  277.                 <p class=\"card-text text-muted small\">";
  278.             // line 68
  279.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans(twig_get_attribute($this->env$this->source$context["profile"], "description", [], "any"falsefalsefalse68)), "html"nulltrue);
  280.             echo "</p>
  281.                 <p class=\"card-text text-muted small\">";
  282.             // line 69
  283.             echo ((((array_key_exists("top_profile"$context) && ($context["profile"] != (isset($context["top_profile"]) || array_key_exists("top_profile"$context) ? $context["top_profile"] : (function () { throw new RuntimeError('Variable "top_profile" does not exist.'69$this->source); })()))) && twig_get_attribute($this->env$this->source$context["profile"], "isStandard", [], "any"falsefalsefalse69))) ? ("standard") : (""));
  284.             echo "</p>
  285.                 ";
  286.             // line 72
  287.             $this->loadTemplate("ProfileList/tags.html.twig""ProfileList/list.profiles.html.twig"72)->display(twig_array_merge($context, ["profile" => $context["profile"]]));
  288.             // line 73
  289.             echo "            </div>
  290.         </div>
  291.     </div>
  292.     ";
  293.             ++$context['loop']['index0'];
  294.             ++$context['loop']['index'];
  295.             $context['loop']['first'] = false;
  296.             if (isset($context['loop']['length'])) {
  297.                 --$context['loop']['revindex0'];
  298.                 --$context['loop']['revindex'];
  299.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  300.             }
  301.         }
  302.         $_parent $context['_parent'];
  303.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['profile'], $context['_parent'], $context['loop']);
  304.         $context array_intersect_key($context$_parent) + $_parent;
  305.         // line 79
  306.         echo "
  307. ";
  308.         // line 80
  309.         if (array_key_exists("show_pagination"$context)) {
  310.             // line 81
  311.             echo "    <div class=\"filtered_profiles_pagination\">
  312.         ";
  313.             // line 82
  314.             echo $this->extensions['Porpaginas\Twig\PorpaginasExtension']->renderPagination($this->env, (isset($context["profiles"]) || array_key_exists("profiles"$context) ? $context["profiles"] : (function () { throw new RuntimeError('Variable "profiles" does not exist.'82$this->source); })()));
  315.             echo "
  316.     </div>
  317. ";
  318.         }
  319.         
  320.         $__internal_b91a4435ea3baf1e2b6bfda56133dace->leave($__internal_b91a4435ea3baf1e2b6bfda56133dace_prof);
  321.         
  322.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  323.         
  324.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  325.     }
  326.     /**
  327.      * @codeCoverageIgnore
  328.      */
  329.     public function getTemplateName()
  330.     {
  331.         return "ProfileList/list.profiles.html.twig";
  332.     }
  333.     /**
  334.      * @codeCoverageIgnore
  335.      */
  336.     public function isTraitable()
  337.     {
  338.         return false;
  339.     }
  340.     /**
  341.      * @codeCoverageIgnore
  342.      */
  343.     public function getDebugInfo()
  344.     {
  345.         return array (  328 => 82,  325 => 81,  323 => 80,  320 => 79,  302 => 73,  300 => 72,  294 => 69,  290 => 68,  287 => 67,  285 => 66,  283 => 65,  281 => 64,  279 => 63,  277 => 62,  275 => 61,  273 => 60,  271 => 59,  267 => 56,  261 => 54,  258 => 53,  252 => 51,  250 => 50,  244 => 47,  240 => 46,  236 => 45,  232 => 44,  228 => 43,  224 => 42,  218 => 39,  214 => 38,  210 => 37,  206 => 36,  202 => 35,  198 => 34,  194 => 33,  190 => 32,  187 => 31,  173 => 30,  169 => 29,  158 => 28,  140 => 27,  131 => 24,  129 => 23,  123 => 22,  119 => 21,  116 => 20,  112 => 19,  109 => 18,  104 => 16,  100 => 15,  97 => 14,  94 => 13,  92 => 12,  86 => 11,  83 => 10,  66 => 9,  62 => 7,  60 => 6,  58 => 5,  50 => 3,  48 => 2,  46 => 1,);
  346.     }
  347.     public function getSourceContext()
  348.     {
  349.         return new Source("{% set show_total_count = show_total_count is not defined or show_total_count %}
  350. {% if show_total_count and null != profiles and profiles.totalCount is defined %}
  351.     <h2 class=\"px-3 w-100\">{{ profiles.totalCount }} {{ profiles.totalCount|incline_numeral(['товар', 'товара', 'товаров']) }}</h2>
  352. {% endif %}
  353. {% set profiles_array = (profiles is iterable) ? ((profiles.array is defined) ? profiles.array : profiles) : [] %}
  354. {% if top_profile is defined and null != top_profile and null != profiles %}
  355.     {% set profiles_array = [top_profile]|merge(profiles_array) %}
  356. {% endif %}
  357. {% for profile in profiles %}
  358.     <div class=\"col-4\">
  359.         <div class=\"card\" alt=\"{{ profile.seo ? profile.seo.phone : '' }}\" data-profile-id=\"{{ profile.id }}\">
  360.             {% set photo = profile|avatar %}
  361.             {% if photo is not null %}
  362.                 <img class=\"card-img-top\"
  363.                      src=\"{{ responsive_asset(photo.path, photo.type == 'photo' ? 'profile_media' : 'profile_media_avatar', '357x500', 'jpg') }}\"
  364.                      alt=\"{{ profile.seo ? profile.seo.phone : '' }}\">
  365.             {% endif %}
  366.             <div class=\"card-body\">
  367.                 {% if profile.isApproved %}APPROVED{% endif %}
  368.                 <h5 class=\"card-title\"><a
  369.                             href=\"{{ path('profile_preview.page', {'city': profile.city.uriIdentity, 'profile': profile.uriIdentity}) }}\"
  370.                             title=\"\">{{ profile.name|trans }} (pos: {{ profile.position ?? '' }})</a></h5>
  371.                 {% if profile.isActive or not profile.hidden %}
  372.                     <h6 class=\"card-subtitle mb-2\"><a href=\"tel:{{ profile.phoneNumber }}\">{{ profile.phoneNumber }}</a>
  373.                     </h6>
  374.                 {% endif %}
  375.                 {% for station in profile.stations %}
  376.                     <a href=\"{{ path('profile_list.list_by_station', {'city': profile.city.uriIdentity, 'station': station.uriIdentity}) }}\">{{ station.name|trans }} {% if loop.first %}*{% endif %}</a>
  377.                     {% if not loop.last %}, {% endif %}
  378.                 {% endfor %}
  379.                 <dl class=\"small\">
  380.                     <dt>{% trans %}Возраст{% endtrans %}</dt>
  381.                     <dd>{{ profile.personParameters.age }}</dd>
  382.                     <dt>{% trans %}Рост{% endtrans %}</dt>
  383.                     <dd>{{ profile.personParameters.height }}</dd>
  384.                     <dt>{% trans %}Вес{% endtrans %}</dt>
  385.                     <dd>{{ profile.personParameters.weight }}</dd>
  386.                     <dt>{% trans %}Грудь{% endtrans %}</dt>
  387.                     <dd>{{ profile.personParameters.breastSize }}</dd>
  388.                 </dl>
  389.                 <dl class=\"small\">
  390.                     <dt>{% trans %}Час{% endtrans %}</dt>
  391.                     <dd>{{ profile.apartmentsPricing.oneHourPrice }} руб</dd>
  392.                     <dt>{% trans %}2 часа{% endtrans %}</dt>
  393.                     <dd>{{ profile.apartmentsPricing.twoHoursPrice }} руб</dd>
  394.                     <dt>{% trans %}Ночь{% endtrans %}</dt>
  395.                     <dd>{{ profile.apartmentsPricing.nightPrice }} руб</dd>
  396.                 </dl>
  397.                 <p class=\"small\">
  398.                     {% if profile.apartmentsPricing.isProvided %}
  399.                         {{ 'апартаменты'|trans }}
  400.                     {% endif %}
  401.                     {% if profile.takeOutPricing.isProvided %}
  402.                         {{ 'выезд'|trans }}
  403.                     {% endif %}
  404.                 </p>
  405.                 {#                        <p> #}
  406.                 {#                            <ul> #}
  407.                 {#                                {% for service in profile.providedServices %} #}
  408.                 {#                                    <li class=\"text-success\"> #}
  409.                 {#                                        <a>{{ service.service.name|trans }}</a> #}
  410.                 {#                                    </li> #}
  411.                 {#                                {% endfor %} #}
  412.                 {#                            </ul> #}
  413.                 {#                        </p> #}
  414.                 <p class=\"card-text text-muted small\">{{ profile.description|trans }}</p>
  415.                 <p class=\"card-text text-muted small\">{{ (top_profile is defined and profile != top_profile) and profile.isStandard ? 'standard' }}</p>
  416.                 {% include 'ProfileList/tags.html.twig' with { 'profile': profile } %}
  417.             </div>
  418.         </div>
  419.     </div>
  420.     {# {% if loop.index % 3 == 0 %}</div><div class=\"row mb-3\">{% endif %} #}
  421. {% endfor %}
  422. {% if show_pagination is defined %}
  423.     <div class=\"filtered_profiles_pagination\">
  424.         {{ porpaginas_render(profiles) }}
  425.     </div>
  426. {% endif %}
  427. ""ProfileList/list.profiles.html.twig""/app/templates/ProfileList/list.profiles.html.twig");
  428.     }
  429. }