var/cache/dev/twig/45/45a82a31e5a7a90387dab1d19cb61dbf59cd211b91b41d1890673c36b8c13976.php line 105

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. /* Slivki/mobile/sale/videoguide/details.html.twig */
  14. class __TwigTemplate_7cb6f98690fddf66529190c14a077bb35da84270544edaf068d6942ae2b7002e 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.             'styles' => [$this'block_styles'],
  24.             'content' => [$this'block_content'],
  25.             'popup' => [$this'block_popup'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.         ];
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 1
  32.         return "Slivki/mobile/base.html.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/mobile/sale/videoguide/details.html.twig"));
  39.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Slivki/mobile/sale/videoguide/details.html.twig"));
  41.         $this->parent $this->loadTemplate("Slivki/mobile/base.html.twig""Slivki/mobile/sale/videoguide/details.html.twig"1);
  42.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  43.         
  44.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  45.         
  46.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  47.     }
  48.     // line 3
  49.     public function block_styles($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""styles"));
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  55.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""styles"));
  56.         // line 4
  57.         echo "    <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css\" />
  58.     ";
  59.         // line 5
  60.         $this->displayParentBlock("styles"$context$blocks);
  61.         echo "
  62. ";
  63.         
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  65.         
  66.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  67.     }
  68.     // line 8
  69.     public function block_content($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  76.         // line 9
  77.         echo "<div id=\"videoguideDetailsPage\">
  78.     <nav aria-label=\"breadcrumb\">
  79.         <ol class=\"breadcrumb m-0 py-1 px-2 bg-white\">
  80.             <li class=\"breadcrumb-item\"><a href=\"";
  81.         // line 12
  82.         echo twig_escape_filter($this->env, (isset($context["base_url"]) || array_key_exists("base_url"$context) ? $context["base_url"] : (function () { throw new RuntimeError('Variable "base_url" does not exist.'12$this->source); })()), "html"nulltrue);
  83.         echo "\">Главная</a></li>
  84.             <li class=\"breadcrumb-item\"><a href=\"";
  85.         // line 13
  86.         echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["videoguideCategory"]) || array_key_exists("videoguideCategory"$context) ? $context["videoguideCategory"] : (function () { throw new RuntimeError('Variable "videoguideCategory" does not exist.'13$this->source); })()), "category", [], "any"falsefalsefalse13), "getID", [], "method"falsefalsefalse13)), "html"nulltrue);
  87.         echo "\">";
  88.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["videoguideCategory"]) || array_key_exists("videoguideCategory"$context) ? $context["videoguideCategory"] : (function () { throw new RuntimeError('Variable "videoguideCategory" does not exist.'13$this->source); })()), "category", [], "any"falsefalsefalse13), "getName", [], "method"falsefalsefalse13), "html"nulltrue);
  89.         echo "</a></li>
  90.             <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  91.         // line 14
  92.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'14$this->source); })()), "getTitle", [], "method"falsefalsefalse14), "html"nulltrue);
  93.         echo "</li>
  94.         </ol>
  95.     </nav>
  96.     <div class=\"m-2\">
  97.         <div class=\"embed-responsive embed-responsive-16by9\">
  98.             <iframe src=\"//www.youtube.com/embed/";
  99.         // line 19
  100.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'19$this->source); })()), "getVideoGuideYoutubeID", [], "method"falsefalsefalse19), "html"nulltrue);
  101.         echo "\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe>
  102.         </div>
  103.         <h1 class=\"my-3 p-0\">";
  104.         // line 21
  105.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'21$this->source); })()), "getTitle", [], "method"falsefalsefalse21), "html"nulltrue);
  106.         echo "</h1>
  107.         <div class=\"clearfix\">
  108.             <div class=\"text-muted float-left\">
  109.                 <div><i class=\"slivki-icon-calendar-empty\"></i> Опубликовано: ";
  110.         // line 24
  111.         echo twig_escape_filter($this->envtwig_date_format_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'24$this->source); })()), "getSince", [], "method"falsefalsefalse24), "d.m.Y"), "html"nulltrue);
  112.         echo "</div>
  113.                 <div><i class=\"slivki-icon-eye\"></i> Просмотров: ";
  114.         // line 25
  115.         echo twig_escape_filter($this->env, (isset($context["visitCount"]) || array_key_exists("visitCount"$context) ? $context["visitCount"] : (function () { throw new RuntimeError('Variable "visitCount" does not exist.'25$this->source); })()), "html"nulltrue);
  116.         echo "</div>
  117.             </div>
  118.             ";
  119.         // line 27
  120.         if ((((twig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'27$this->source); })()), "getOfferLinkUrl", [], "method"falsefalsefalse27) && twig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'27$this->source); })()), "getOfferLinkName", [], "method"falsefalsefalse27)) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'27$this->source); })()), "getOfferLinkUrl", [], "method"falsefalsefalse27), ""))) && (!== twig_compare(twig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'27$this->source); })()), "getOfferLinkName", [], "method"falsefalsefalse27), "")))) {
  121.             // line 28
  122.             echo "                <div class=\"clearfix mb-2\"></div>
  123.                 <a class=\"bg-slivki text-white rounded-20 border-slivki py-2 px-3 float-left\" href=\"";
  124.             // line 29
  125.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'29$this->source); })()), "getOfferLinkUrl", [], "method"falsefalsefalse29), "html"nulltrue);
  126.             echo "\">";
  127.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'29$this->source); })()), "getOfferLinkName", [], "method"falsefalsefalse29), "html"nulltrue);
  128.             echo "</a>
  129.             ";
  130.         }
  131.         // line 31
  132.         echo "            <div class=\"slivki-share-block-open text-dark border p-2 float-right\"><i class=\"slivki-icon-share\"></i>Поделиться</div>
  133.         </div>
  134.     </div>
  135.     <div class=\"row no-gutters\">
  136.         ";
  137.         // line 35
  138.         if (array_key_exists("authorCategory"$context)) {
  139.             // line 36
  140.             echo "            <div class=\"text-center col-sm-6\">
  141.                 <a class=\"card border-0 d-inline-block videoguide-author-category my-1 clearfix\" href=\"";
  142.             // line 37
  143.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getURL("Slivki:Sale:category"twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'37$this->source); })()), "category", [], "any"falsefalsefalse37), "getID", [], "method"falsefalsefalse37)), "html"nulltrue);
  144.             echo "\" target=\"_blank\">
  145.                     <div class=\"row no-gutters\">
  146.                         <div class=\"col-auto\">
  147.                             <img width=\"64\" height=\"64\" class=\"d-block border rounded-circle float-left p-1 mr-2\" src=\"";
  148.             // line 40
  149.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->getImageURL(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'40$this->source); })()), "category", [], "any"falsefalsefalse40), "getHotFeedIconMedia", [], "method"falsefalsefalse40), 128128), "html"nulltrue);
  150.             echo "\" alt=''/>
  151.                         </div>
  152.                         <div class=\"col text-left\">
  153.                             <div class=\"card-block px-1 text-dark\">
  154.                                 ";
  155.             // line 44
  156.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'44$this->source); })()), "category", [], "any"falsefalsefalse44), "getName", [], "method"falsefalsefalse44), "html"nulltrue);
  157.             echo "<br />
  158.                                 <span class=\"text-muted\">";
  159.             // line 45
  160.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'45$this->source); })()), "category", [], "any"falsefalsefalse45), "getEntityCount", [], "method"falsefalsefalse45), "html"nulltrue);
  161.             echo " репортаж";
  162.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->pluralFilter([=> ""=> "a"=> "ей"], twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'45$this->source); })()), "category", [], "any"falsefalsefalse45), "getEntityCount", [], "method"falsefalsefalse45)), "html"nulltrue);
  163.             echo "</span><br />
  164.                                 <span class=\"text-muted\">";
  165.             // line 46
  166.             echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'46$this->source); })()), "visitCount", [], "any"falsefalsefalse46), "html"nulltrue);
  167.             echo " просмотр";
  168.             echo twig_escape_filter($this->env$this->extensions['Slivki\Twig\SlivkiTwigExtension']->pluralFilter([=> ""=> "a"=> "ов"], twig_get_attribute($this->env$this->source, (isset($context["authorCategory"]) || array_key_exists("authorCategory"$context) ? $context["authorCategory"] : (function () { throw new RuntimeError('Variable "authorCategory" does not exist.'46$this->source); })()), "visitCount", [], "any"falsefalsefalse46)), "html"nulltrue);
  169.             echo "</span>
  170.                             </div>
  171.                         </div>
  172.                     </div>
  173.                 </a>
  174.             </div>
  175.         ";
  176.         }
  177.         // line 53
  178.         echo "        ";
  179.         $this->loadTemplate("Slivki/mobile/sale/vote_entity_block.html.twig""Slivki/mobile/sale/videoguide/details.html.twig"53)->display(twig_array_merge($context, ["pleaseVoteText" => "Оцените, пожалуйста, это видео:""additionalClass" => "col-sm-6"]));
  180.         // line 55
  181.         echo "    </div>
  182.     <div class=\"bg-light-gray py-3 my-2 text-center subscribe-on-youtube\">
  183.         <div class=\"d-inline-block text-center align-middle mr-sm-2 mb-sm-0 mb-2\">
  184.             <strong>Подписывайтесь на наш канал в Youtube!</strong><br>
  185.             Свежие обзоры из магазинов каждый день!
  186.         </div>
  187.         <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCDy2sjRppCchend8p76cBxA?sub_confirmation=1\">
  188.             ► Подписаться
  189.         </a>
  190.     </div>
  191.     <div id=\"commentsBlock\" class=\"m-2 d-none\"></div>
  192.     <div class=\"h6 m-2\"><strong>Следущее:</strong></div>
  193.     <div id=\"nextVideoGuides\" class=\"row no-gutters\">
  194.         ";
  195.         // line 70
  196.         $this->loadTemplate("Slivki/mobile/sale/videoguide/next.html.twig""Slivki/mobile/sale/videoguide/details.html.twig"70)->display($context);
  197.         // line 71
  198.         echo "    </div>
  199.     <img class=\"d-block my-3 mx-auto\" id='nextVideoGuideLoader' src='/images/image-preview-ajax-loader.gif' alt='Загрузка...'/>
  200. </div>
  201. <input type=\"hidden\" id=\"entityID\" value=\"";
  202.         // line 74
  203.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["sale"]) || array_key_exists("sale"$context) ? $context["sale"] : (function () { throw new RuntimeError('Variable "sale" does not exist.'74$this->source); })()), "getID", [], "method"falsefalsefalse74), "html"nulltrue);
  204.         echo "\">
  205. <input type=\"hidden\" id=\"seenVideoguides\" value=\"";
  206.         // line 75
  207.         echo twig_escape_filter($this->env, (isset($context["seenVideoguides"]) || array_key_exists("seenVideoguides"$context) ? $context["seenVideoguides"] : (function () { throw new RuntimeError('Variable "seenVideoguides" does not exist.'75$this->source); })()), "html"nulltrue);
  208.         echo "\">
  209. ";
  210.         
  211.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  212.         
  213.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  214.     }
  215.     // line 78
  216.     public function block_popup($context, array $blocks = [])
  217.     {
  218.         $macros $this->macros;
  219.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  220.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  221.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  222.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""popup"));
  223.         // line 79
  224.         echo "    ";
  225.         $this->displayParentBlock("popup"$context$blocks);
  226.         echo "
  227.     ";
  228.         // line 80
  229.         $this->loadTemplate("Slivki/mobile/share_block.html.twig""Slivki/mobile/sale/videoguide/details.html.twig"80)->display($context);
  230.         
  231.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  232.         
  233.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  234.     }
  235.     // line 83
  236.     public function block_javascripts($context, array $blocks = [])
  237.     {
  238.         $macros $this->macros;
  239.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  240.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  241.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  242.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  243.         // line 84
  244.         echo "    <script src=\"https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js\"></script>
  245.     <script src=\"https://yastatic.net/share2/share.js\"></script>
  246.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js\"></script>
  247.     ";
  248.         // line 87
  249.         $this->displayParentBlock("javascripts"$context$blocks);
  250.         echo "
  251.     <script src=\"/mobile/js/videoguide.js?v=";
  252.         // line 88
  253.         echo twig_escape_filter($this->env, (isset($context["mobile_videoguide_js_version"]) || array_key_exists("mobile_videoguide_js_version"$context) ? $context["mobile_videoguide_js_version"] : (function () { throw new RuntimeError('Variable "mobile_videoguide_js_version" does not exist.'88$this->source); })()), "html"nulltrue);
  254.         echo "\"></script>
  255. ";
  256.         
  257.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  258.         
  259.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  260.     }
  261.     public function getTemplateName()
  262.     {
  263.         return "Slivki/mobile/sale/videoguide/details.html.twig";
  264.     }
  265.     public function isTraitable()
  266.     {
  267.         return false;
  268.     }
  269.     public function getDebugInfo()
  270.     {
  271.         return array (  284 => 88,  280 => 87,  275 => 84,  265 => 83,  255 => 80,  250 => 79,  240 => 78,  228 => 75,  224 => 74,  219 => 71,  217 => 70,  200 => 55,  197 => 53,  185 => 46,  179 => 45,  175 => 44,  168 => 40,  162 => 37,  159 => 36,  157 => 35,  151 => 31,  144 => 29,  141 => 28,  139 => 27,  134 => 25,  130 => 24,  124 => 21,  119 => 19,  111 => 14,  105 => 13,  101 => 12,  96 => 9,  86 => 8,  74 => 5,  71 => 4,  61 => 3,  38 => 1,);
  272.     }
  273.     public function getSourceContext()
  274.     {
  275.         return new Source("{% extends 'Slivki/mobile/base.html.twig' %}
  276. {% block styles %}
  277.     <link rel=\"stylesheet\" href=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.css\" />
  278.     {{ parent() }}
  279. {% endblock %}
  280. {% block content %}
  281. <div id=\"videoguideDetailsPage\">
  282.     <nav aria-label=\"breadcrumb\">
  283.         <ol class=\"breadcrumb m-0 py-1 px-2 bg-white\">
  284.             <li class=\"breadcrumb-item\"><a href=\"{{ base_url }}\">Главная</a></li>
  285.             <li class=\"breadcrumb-item\"><a href=\"{{ getURL(\"Slivki:Sale:category\", videoguideCategory.category.getID()) }}\">{{ videoguideCategory.category.getName() }}</a></li>
  286.             <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ sale.getTitle() }}</li>
  287.         </ol>
  288.     </nav>
  289.     <div class=\"m-2\">
  290.         <div class=\"embed-responsive embed-responsive-16by9\">
  291.             <iframe src=\"//www.youtube.com/embed/{{ sale.getVideoGuideYoutubeID() }}\" frameborder=\"0\" allow=\"autoplay; encrypted-media\" allowfullscreen></iframe>
  292.         </div>
  293.         <h1 class=\"my-3 p-0\">{{ sale.getTitle() }}</h1>
  294.         <div class=\"clearfix\">
  295.             <div class=\"text-muted float-left\">
  296.                 <div><i class=\"slivki-icon-calendar-empty\"></i> Опубликовано: {{ sale.getSince()|date('d.m.Y') }}</div>
  297.                 <div><i class=\"slivki-icon-eye\"></i> Просмотров: {{ visitCount }}</div>
  298.             </div>
  299.             {% if sale.getOfferLinkUrl() and sale.getOfferLinkName() and sale.getOfferLinkUrl() != '' and sale.getOfferLinkName() != '' %}
  300.                 <div class=\"clearfix mb-2\"></div>
  301.                 <a class=\"bg-slivki text-white rounded-20 border-slivki py-2 px-3 float-left\" href=\"{{ sale.getOfferLinkUrl() }}\">{{ sale.getOfferLinkName() }}</a>
  302.             {% endif %}
  303.             <div class=\"slivki-share-block-open text-dark border p-2 float-right\"><i class=\"slivki-icon-share\"></i>Поделиться</div>
  304.         </div>
  305.     </div>
  306.     <div class=\"row no-gutters\">
  307.         {% if authorCategory is defined %}
  308.             <div class=\"text-center col-sm-6\">
  309.                 <a class=\"card border-0 d-inline-block videoguide-author-category my-1 clearfix\" href=\"{{ getURL(\"Slivki:Sale:category\", authorCategory.category.getID()) }}\" target=\"_blank\">
  310.                     <div class=\"row no-gutters\">
  311.                         <div class=\"col-auto\">
  312.                             <img width=\"64\" height=\"64\" class=\"d-block border rounded-circle float-left p-1 mr-2\" src=\"{{ getImageURL(authorCategory.category.getHotFeedIconMedia(), 128, 128) }}\" alt=''/>
  313.                         </div>
  314.                         <div class=\"col text-left\">
  315.                             <div class=\"card-block px-1 text-dark\">
  316.                                 {{ authorCategory.category.getName() }}<br />
  317.                                 <span class=\"text-muted\">{{ authorCategory.category.getEntityCount() }} репортаж{{ ['', 'a', 'ей']|plural(authorCategory.category.getEntityCount()) }}</span><br />
  318.                                 <span class=\"text-muted\">{{ authorCategory.visitCount }} просмотр{{ ['', 'a', 'ов']|plural(authorCategory.visitCount) }}</span>
  319.                             </div>
  320.                         </div>
  321.                     </div>
  322.                 </a>
  323.             </div>
  324.         {% endif %}
  325.         {% include 'Slivki/mobile/sale/vote_entity_block.html.twig'
  326.             with {'pleaseVoteText': 'Оцените, пожалуйста, это видео:', 'additionalClass': 'col-sm-6'} %}
  327.     </div>
  328.     <div class=\"bg-light-gray py-3 my-2 text-center subscribe-on-youtube\">
  329.         <div class=\"d-inline-block text-center align-middle mr-sm-2 mb-sm-0 mb-2\">
  330.             <strong>Подписывайтесь на наш канал в Youtube!</strong><br>
  331.             Свежие обзоры из магазинов каждый день!
  332.         </div>
  333.         <a target=\"_blank\" href=\"https://www.youtube.com/channel/UCDy2sjRppCchend8p76cBxA?sub_confirmation=1\">
  334.             ► Подписаться
  335.         </a>
  336.     </div>
  337.     <div id=\"commentsBlock\" class=\"m-2 d-none\"></div>
  338.     <div class=\"h6 m-2\"><strong>Следущее:</strong></div>
  339.     <div id=\"nextVideoGuides\" class=\"row no-gutters\">
  340.         {% include 'Slivki/mobile/sale/videoguide/next.html.twig' %}
  341.     </div>
  342.     <img class=\"d-block my-3 mx-auto\" id='nextVideoGuideLoader' src='/images/image-preview-ajax-loader.gif' alt='Загрузка...'/>
  343. </div>
  344. <input type=\"hidden\" id=\"entityID\" value=\"{{ sale.getID() }}\">
  345. <input type=\"hidden\" id=\"seenVideoguides\" value=\"{{ seenVideoguides }}\">
  346. {% endblock %}
  347. {% block popup %}
  348.     {{ parent() }}
  349.     {% include 'Slivki/mobile/share_block.html.twig' %}
  350. {% endblock %}
  351. {% block javascripts %}
  352.     <script src=\"https://yastatic.net/es5-shims/0.0.2/es5-shims.min.js\"></script>
  353.     <script src=\"https://yastatic.net/share2/share.js\"></script>
  354.     <script src=\"https://cdnjs.cloudflare.com/ajax/libs/fancybox/3.3.5/jquery.fancybox.min.js\"></script>
  355.     {{ parent() }}
  356.     <script src=\"/mobile/js/videoguide.js?v={{ mobile_videoguide_js_version }}\"></script>
  357. {% endblock %}""Slivki/mobile/sale/videoguide/details.html.twig""/mnt/data/virtwww/slivki/templates/Slivki/mobile/sale/videoguide/details.html.twig");
  358.     }
  359. }