var/cache/dev/twig/4d/4d59ce8bedb49e94f70e3a8023f6482351eee2f48bcd83a7573fc303142b4664.php line 40

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\CoreExtension;
  6. use Twig\Extension\SandboxExtension;
  7. use Twig\Markup;
  8. use Twig\Sandbox\SecurityError;
  9. use Twig\Sandbox\SecurityNotAllowedTagError;
  10. use Twig\Sandbox\SecurityNotAllowedFilterError;
  11. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  12. use Twig\Source;
  13. use Twig\Template;
  14. /* tournaments.html.twig */
  15. class __TwigTemplate_5cf2dba2287a3267024f07b7376fc4880e0dd7b8bdc7525ab9e4bc12b7a28548 extends Template
  16. {
  17.     private $source;
  18.     private $macros = [];
  19.     public function __construct(Environment $env)
  20.     {
  21.         parent::__construct($env);
  22.         $this->source $this->getSourceContext();
  23.         $this->blocks = [
  24.             'title' => [$this'block_title'],
  25.             'body' => [$this'block_body'],
  26.         ];
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 1
  31.         return "base.html.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""tournaments.html.twig"));
  38.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""tournaments.html.twig"));
  40.         $this->parent $this->loadTemplate("base.html.twig""tournaments.html.twig"1);
  41.         yield from $this->parent->unwrap()->yield($contextarray_merge($this->blocks$blocks));
  42.         
  43.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  44.         
  45.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  46.     }
  47.     // line 3
  48.     public function block_title($context, array $blocks = [])
  49.     {
  50.         $macros $this->macros;
  51.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  53.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  55.         yield "Турнир - FlashBet";
  56.         
  57.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  58.         
  59.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  60.         return; yield '';
  61.     }
  62.     // line 5
  63.     public function block_body($context, array $blocks = [])
  64.     {
  65.         $macros $this->macros;
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  67.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  68.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  69.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""body"));
  70.         // line 6
  71.         yield "<div class=\"container chat-open\">
  72. \t<div class=\"page-title\">
  73. \t\t<h3>Активный турнир</h3>
  74. \t</div>
  75. \t<div class=\"open-tournament-grid\">
  76. \t\t<div class=\"tournament-start-wrapper\">
  77. \t\t\t<h3>Счастливая карта</h3>
  78. \t\t\t<p><img src=\"./assets/icons/purple-coins.svg\" alt=\"\" />";
  79.         // line 13
  80.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["pool"]) || array_key_exists("pool"$context) ? $context["pool"] : (function () { throw new RuntimeError('Variable "pool" does not exist.'13$this->source); })()), "html"nulltrue);
  81.         yield "</p>
  82. \t\t\t<div class=\"tournament-btn-wrapper\">
  83. \t\t\t\t";
  84.         // line 15
  85.         if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'15$this->source); })()), "tournament", [], "any"falsefalsefalse15), 1))) {
  86.             // line 16
  87.             yield "\t\t\t\t<button class=\"btn-fouth\" disabled>Вы участвуете!</button>
  88. \t\t\t\t";
  89.         } else {
  90.             // line 18
  91.             yield "\t\t\t\t<button class=\"btn-fouth\">Учавствовать</button>
  92. \t\t\t\t";
  93.         }
  94.         // line 20
  95.         yield "\t\t\t\t<div class=\"tournament-timer\">
  96. \t\t\t\t\t<span class=\"time\">00</span>
  97. \t\t\t\t\t<span class=\"timer-separator\">:</span>
  98. \t\t\t\t\t<span class=\"time\">00</span>
  99. \t\t\t\t\t<span class=\"timer-separator\">:</span>
  100. \t\t\t\t\t<span class=\"time\">00</span>
  101. \t\t\t\t\t<span class=\"timer-separator\">:</span>
  102. \t\t\t\t\t<span class=\"time\">00</span>
  103. \t\t\t\t</div>
  104. \t\t\t</div>
  105. \t\t\t<div class=\"tournament-start-grad\"></div>
  106. \t\t</div>
  107. \t\t<div class=\"tournament-information-wrapper\">
  108. \t\t\t<div class=\"tournament-information-card\">
  109. \t\t\t\t<h3 class=\"tournament-information-title\">Условия турнира</h3>
  110. \t\t\t\t<p class=\"tournament-information-subtitle\">
  111. \t\t\t\t\tДля того, чтобы принять участие, у вас должен быть
  112. \t\t\t\t\tкак минимум 1 депозит за последние 7 дней. Очки начисляются
  113. \t\t\t\t\tот суммы ставки. Ставки учитываются только
  114. \t\t\t\t\tв слотах
  115. \t\t\t\t</p>
  116. \t\t\t</div>
  117. \t\t\t<div class=\"tournament-information-card\">
  118. \t\t\t\t<h3 class=\"tournament-information-title\">Призовые места</h3>
  119. \t\t\t\t<div class=\"prizes-wrapper\">
  120. \t\t\t\t\t<div class=\"prizes-count\">
  121. \t\t\t\t\t\t<span
  122. \t\t\t\t\t\t\t  ><img
  123. \t\t\t\t\t\t\t\t\tsrc=\"./assets/icons/tournament-cup.svg\"
  124. \t\t\t\t\t\t\t\t\talt=\"tournament-cup\"
  125. \t\t\t\t\t\t\t\t\t/></span>
  126. \t\t\t\t\t\t<p>3 победителя</p>
  127. \t\t\t\t\t</div>
  128. \t\t\t\t\t<div class=\"members-count\">
  129. \t\t\t\t\t\t<span
  130. \t\t\t\t\t\t\t  ><img
  131. \t\t\t\t\t\t\t\t\tsrc=\"./assets/icons/persons-icon.svg\"
  132. \t\t\t\t\t\t\t\t\talt=\"persons-icon\"
  133. \t\t\t\t\t\t\t\t\t/></span>
  134. \t\t\t\t\t\t<p>";
  135.         // line 59
  136.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape((isset($context["count"]) || array_key_exists("count"$context) ? $context["count"] : (function () { throw new RuntimeError('Variable "count" does not exist.'59$this->source); })()), "html"nulltrue);
  137.         yield " участник(-ов)</p>
  138. \t\t\t\t\t</div>
  139. \t\t\t\t</div>
  140. \t\t\t</div>
  141. \t\t</div>
  142. \t</div>
  143. \t<div class=\"tournament-players-table-wrapper\">
  144. \t\t<h3 class=\"tournament-players-table-title\">Рейтинг игроков</h3>
  145. \t\t<div class=\"tournament-players-table-header\">
  146. \t\t\t<div class=\"\">
  147. \t\t\t\t<p>Место</p>
  148. \t\t\t\t<p>Пользователь</p>
  149. \t\t\t</div>
  150. \t\t\t<div>
  151. \t\t\t\t<p>Награда</p>
  152. \t\t\t\t<p>Очки</p>
  153. \t\t\t</div>
  154. \t\t</div>
  155. \t\t<div class=\"tournament-players-table-body\">
  156. \t\t\t<div class=\"tournament-players-table-body\">
  157. \t\t\t\t<div class=\"tournament-players-table-item\">
  158. \t\t\t\t\t<div class=\"tournament-players-table-item-left\">
  159. \t\t\t\t\t\t<p class=\"tournament-place-value your-place\">Вы</p>
  160. \t\t\t\t\t\t<p class=\"tournament-player\">
  161. \t\t\t\t\t\t\t<img src=\"";
  162.         // line 84
  163.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'84$this->source); })()), "img", [], "any"falsefalsefalse84), "html"nulltrue);
  164.         yield "\" alt=\"\" style=\"opacity: 1;\">
  165. \t\t\t\t\t\t\t";
  166.         // line 85
  167.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'85$this->source); })()), "login", [], "any"falsefalsefalse85), "html"nulltrue);
  168.         yield "
  169. \t\t\t\t\t\t</p>
  170. \t\t\t\t\t</div>
  171. \t\t\t\t\t<div class=\"tournament-players-table-item-right\">
  172. \t\t\t\t\t\t<p class=\"\">
  173. \t\t\t\t\t\t</p>
  174. \t\t\t\t\t\t<p class=\"tournament-point-value\">
  175. \t\t\t\t\t\t\t<img src=\"/assets/icons/green-star.svg?reload=1754056668793\" alt=\"\" style=\"opacity: 1;\">
  176. \t\t\t\t\t\t\t";
  177.         // line 93
  178.         yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source, (isset($context["user"]) || array_key_exists("user"$context) ? $context["user"] : (function () { throw new RuntimeError('Variable "user" does not exist.'93$this->source); })()), "points", [], "any"falsefalsefalse93), "html"nulltrue);
  179.         yield "
  180. \t\t\t\t\t\t</p>
  181. \t\t\t\t\t</div>
  182. \t\t\t\t</div>
  183. \t\t\t</div>
  184. \t\t\t";
  185.         // line 99
  186.         $context['_parent'] = $context;
  187.         $context['_seq'] = CoreExtension::ensureTraversable((isset($context["top3"]) || array_key_exists("top3"$context) ? $context["top3"] : (function () { throw new RuntimeError('Variable "top3" does not exist.'99$this->source); })()));
  188.         $context['loop'] = [
  189.           'parent' => $context['_parent'],
  190.           'index0' => 0,
  191.           'index'  => 1,
  192.           'first'  => true,
  193.         ];
  194.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  195.             $length count($context['_seq']);
  196.             $context['loop']['revindex0'] = $length 1;
  197.             $context['loop']['revindex'] = $length;
  198.             $context['loop']['length'] = $length;
  199.             $context['loop']['last'] = === $length;
  200.         }
  201.         foreach ($context['_seq'] as $context["_key"] => $context["player"]) {
  202.             // line 100
  203.             yield "\t\t\t<div class=\"tournament-players-table-item\">
  204. \t\t\t\t<div class=\"tournament-players-table-item-left\">
  205. \t\t\t\t\t<p class=\"tournament-place-value ";
  206.             // line 102
  207.             if ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse102), 1))) {
  208.                 yield "first-place";
  209.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse102), 2))) {
  210.                 yield "second-place";
  211.             } elseif ((=== CoreExtension::compare(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse102), 3))) {
  212.                 yield "third-place";
  213.             }
  214.             yield "\">";
  215.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse102), "html"nulltrue);
  216.             yield "</p>
  217. \t\t\t\t\t<p class=\"tournament-player\">
  218. \t\t\t\t\t\t<img src=\"";
  219.             // line 104
  220.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(((CoreExtension::getAttribute($this->env$this->source$context["player"], "img", [], "any"truetruefalse104)) ? (Twig\Extension\CoreExtension::default(CoreExtension::getAttribute($this->env$this->source$context["player"], "img", [], "any"falsefalsefalse104), "/assets/images/user-avatar.png")) : ("/assets/images/user-avatar.png")), "html"nulltrue);
  221.             yield "\" alt=\"\" />
  222. \t\t\t\t\t\t";
  223.             // line 105
  224.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape(CoreExtension::getAttribute($this->env$this->source$context["player"], "login", [], "any"falsefalsefalse105), "html"nulltrue);
  225.             yield "
  226. \t\t\t\t\t</p>
  227. \t\t\t\t</div>
  228. \t\t\t\t<div class=\"tournament-players-table-item-right\">
  229. \t\t\t\t\t<p class=\"tournament-reward-value\">
  230. \t\t\t\t\t\t<img src=\"/assets/icons/orange-coin.svg\" alt=\"\" />
  231. \t\t\t\t\t\t";
  232.             // line 111
  233.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->source, (isset($context["rewards"]) || array_key_exists("rewards"$context) ? $context["rewards"] : (function () { throw new RuntimeError('Variable "rewards" does not exist.'111$this->source); })()), CoreExtension::getAttribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsefalse111), [], "array"falsefalsefalse111), 2"."" "), "html"nulltrue);
  234.             yield "
  235. \t\t\t\t\t</p>
  236. \t\t\t\t\t<p class=\"tournament-point-value\">
  237. \t\t\t\t\t\t<img src=\"/assets/icons/green-star.svg\" alt=\"\" />
  238. \t\t\t\t\t\t";
  239.             // line 115
  240.             yield $this->env->getRuntime('Twig\Runtime\EscaperRuntime')->escape($this->extensions['Twig\Extension\CoreExtension']->formatNumber(CoreExtension::getAttribute($this->env$this->source$context["player"], "points", [], "any"falsefalsefalse115), 0"."" "), "html"nulltrue);
  241.             yield "
  242. \t\t\t\t\t</p>
  243. \t\t\t\t</div>
  244. \t\t\t</div>
  245. \t\t\t";
  246.             ++$context['loop']['index0'];
  247.             ++$context['loop']['index'];
  248.             $context['loop']['first'] = false;
  249.             if (isset($context['loop']['length'])) {
  250.                 --$context['loop']['revindex0'];
  251.                 --$context['loop']['revindex'];
  252.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  253.             }
  254.         }
  255.         $_parent $context['_parent'];
  256.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['player'], $context['_parent'], $context['loop']);
  257.         $context array_intersect_key($context$_parent) + $_parent;
  258.         // line 120
  259.         yield "\t\t</div> <br>
  260. \t</div>
  261. </div>
  262. ";
  263.         
  264.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  265.         
  266.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  267.         return; yield '';
  268.     }
  269.     /**
  270.      * @codeCoverageIgnore
  271.      */
  272.     public function getTemplateName()
  273.     {
  274.         return "tournaments.html.twig";
  275.     }
  276.     /**
  277.      * @codeCoverageIgnore
  278.      */
  279.     public function isTraitable()
  280.     {
  281.         return false;
  282.     }
  283.     /**
  284.      * @codeCoverageIgnore
  285.      */
  286.     public function getDebugInfo()
  287.     {
  288.         return array (  280 => 120,  261 => 115,  254 => 111,  245 => 105,  241 => 104,  228 => 102,  224 => 100,  207 => 99,  198 => 93,  187 => 85,  183 => 84,  155 => 59,  114 => 20,  110 => 18,  106 => 16,  104 => 15,  99 => 13,  90 => 6,  80 => 5,  60 => 3,  37 => 1,);
  289.     }
  290.     public function getSourceContext()
  291.     {
  292.         return new Source("{% extends 'base.html.twig' %}
  293. {% block title %}Турнир - FlashBet{% endblock %}
  294. {% block body %}
  295. <div class=\"container chat-open\">
  296. \t<div class=\"page-title\">
  297. \t\t<h3>Активный турнир</h3>
  298. \t</div>
  299. \t<div class=\"open-tournament-grid\">
  300. \t\t<div class=\"tournament-start-wrapper\">
  301. \t\t\t<h3>Счастливая карта</h3>
  302. \t\t\t<p><img src=\"./assets/icons/purple-coins.svg\" alt=\"\" />{{ pool }}</p>
  303. \t\t\t<div class=\"tournament-btn-wrapper\">
  304. \t\t\t\t{% if user.tournament == 1 %}
  305. \t\t\t\t<button class=\"btn-fouth\" disabled>Вы участвуете!</button>
  306. \t\t\t\t{% else %}
  307. \t\t\t\t<button class=\"btn-fouth\">Учавствовать</button>
  308. \t\t\t\t{% endif %}
  309. \t\t\t\t<div class=\"tournament-timer\">
  310. \t\t\t\t\t<span class=\"time\">00</span>
  311. \t\t\t\t\t<span class=\"timer-separator\">:</span>
  312. \t\t\t\t\t<span class=\"time\">00</span>
  313. \t\t\t\t\t<span class=\"timer-separator\">:</span>
  314. \t\t\t\t\t<span class=\"time\">00</span>
  315. \t\t\t\t\t<span class=\"timer-separator\">:</span>
  316. \t\t\t\t\t<span class=\"time\">00</span>
  317. \t\t\t\t</div>
  318. \t\t\t</div>
  319. \t\t\t<div class=\"tournament-start-grad\"></div>
  320. \t\t</div>
  321. \t\t<div class=\"tournament-information-wrapper\">
  322. \t\t\t<div class=\"tournament-information-card\">
  323. \t\t\t\t<h3 class=\"tournament-information-title\">Условия турнира</h3>
  324. \t\t\t\t<p class=\"tournament-information-subtitle\">
  325. \t\t\t\t\tДля того, чтобы принять участие, у вас должен быть
  326. \t\t\t\t\tкак минимум 1 депозит за последние 7 дней. Очки начисляются
  327. \t\t\t\t\tот суммы ставки. Ставки учитываются только
  328. \t\t\t\t\tв слотах
  329. \t\t\t\t</p>
  330. \t\t\t</div>
  331. \t\t\t<div class=\"tournament-information-card\">
  332. \t\t\t\t<h3 class=\"tournament-information-title\">Призовые места</h3>
  333. \t\t\t\t<div class=\"prizes-wrapper\">
  334. \t\t\t\t\t<div class=\"prizes-count\">
  335. \t\t\t\t\t\t<span
  336. \t\t\t\t\t\t\t  ><img
  337. \t\t\t\t\t\t\t\t\tsrc=\"./assets/icons/tournament-cup.svg\"
  338. \t\t\t\t\t\t\t\t\talt=\"tournament-cup\"
  339. \t\t\t\t\t\t\t\t\t/></span>
  340. \t\t\t\t\t\t<p>3 победителя</p>
  341. \t\t\t\t\t</div>
  342. \t\t\t\t\t<div class=\"members-count\">
  343. \t\t\t\t\t\t<span
  344. \t\t\t\t\t\t\t  ><img
  345. \t\t\t\t\t\t\t\t\tsrc=\"./assets/icons/persons-icon.svg\"
  346. \t\t\t\t\t\t\t\t\talt=\"persons-icon\"
  347. \t\t\t\t\t\t\t\t\t/></span>
  348. \t\t\t\t\t\t<p>{{ count }} участник(-ов)</p>
  349. \t\t\t\t\t</div>
  350. \t\t\t\t</div>
  351. \t\t\t</div>
  352. \t\t</div>
  353. \t</div>
  354. \t<div class=\"tournament-players-table-wrapper\">
  355. \t\t<h3 class=\"tournament-players-table-title\">Рейтинг игроков</h3>
  356. \t\t<div class=\"tournament-players-table-header\">
  357. \t\t\t<div class=\"\">
  358. \t\t\t\t<p>Место</p>
  359. \t\t\t\t<p>Пользователь</p>
  360. \t\t\t</div>
  361. \t\t\t<div>
  362. \t\t\t\t<p>Награда</p>
  363. \t\t\t\t<p>Очки</p>
  364. \t\t\t</div>
  365. \t\t</div>
  366. \t\t<div class=\"tournament-players-table-body\">
  367. \t\t\t<div class=\"tournament-players-table-body\">
  368. \t\t\t\t<div class=\"tournament-players-table-item\">
  369. \t\t\t\t\t<div class=\"tournament-players-table-item-left\">
  370. \t\t\t\t\t\t<p class=\"tournament-place-value your-place\">Вы</p>
  371. \t\t\t\t\t\t<p class=\"tournament-player\">
  372. \t\t\t\t\t\t\t<img src=\"{{ user.img }}\" alt=\"\" style=\"opacity: 1;\">
  373. \t\t\t\t\t\t\t{{ user.login }}
  374. \t\t\t\t\t\t</p>
  375. \t\t\t\t\t</div>
  376. \t\t\t\t\t<div class=\"tournament-players-table-item-right\">
  377. \t\t\t\t\t\t<p class=\"\">
  378. \t\t\t\t\t\t</p>
  379. \t\t\t\t\t\t<p class=\"tournament-point-value\">
  380. \t\t\t\t\t\t\t<img src=\"/assets/icons/green-star.svg?reload=1754056668793\" alt=\"\" style=\"opacity: 1;\">
  381. \t\t\t\t\t\t\t{{ user.points }}
  382. \t\t\t\t\t\t</p>
  383. \t\t\t\t\t</div>
  384. \t\t\t\t</div>
  385. \t\t\t</div>
  386. \t\t\t{% for player in top3 %}
  387. \t\t\t<div class=\"tournament-players-table-item\">
  388. \t\t\t\t<div class=\"tournament-players-table-item-left\">
  389. \t\t\t\t\t<p class=\"tournament-place-value {% if loop.index == 1 %}first-place{% elseif loop.index == 2 %}second-place{% elseif loop.index == 3 %}third-place{% endif %}\">{{ loop.index }}</p>
  390. \t\t\t\t\t<p class=\"tournament-player\">
  391. \t\t\t\t\t\t<img src=\"{{ player.img|default('/assets/images/user-avatar.png') }}\" alt=\"\" />
  392. \t\t\t\t\t\t{{ player.login }}
  393. \t\t\t\t\t</p>
  394. \t\t\t\t</div>
  395. \t\t\t\t<div class=\"tournament-players-table-item-right\">
  396. \t\t\t\t\t<p class=\"tournament-reward-value\">
  397. \t\t\t\t\t\t<img src=\"/assets/icons/orange-coin.svg\" alt=\"\" />
  398. \t\t\t\t\t\t{{ rewards[loop.index]|number_format(2, '.', ' ') }}
  399. \t\t\t\t\t</p>
  400. \t\t\t\t\t<p class=\"tournament-point-value\">
  401. \t\t\t\t\t\t<img src=\"/assets/icons/green-star.svg\" alt=\"\" />
  402. \t\t\t\t\t\t{{ player.points|number_format(0, '.', ' ') }}
  403. \t\t\t\t\t</p>
  404. \t\t\t\t</div>
  405. \t\t\t</div>
  406. \t\t\t{% endfor %}
  407. \t\t</div> <br>
  408. \t</div>
  409. </div>
  410. {% endblock %}""tournaments.html.twig""/var/www/flashbet/templates/tournaments.html.twig");
  411.     }
  412. }