var/cache/te_dev/twig/c2/c2fb246fe9c2abd329a047aa6e87ecba339e22290b907762ea2e2aa1fc7b8e5d.php line 58

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. /* @Web/Page/index.html.twig */
  14. class __TwigTemplate_26111cde4d64a44d074d8579711c4c545e3c34442461af04a03110d6de2ccfef 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.             'title' => [$this'block_title'],
  24.             'meta' => [$this'block_meta'],
  25.             'stylesheets' => [$this'block_stylesheets'],
  26.             'javascripts' => [$this'block_javascripts'],
  27.             'content' => [$this'block_content'],
  28.         ];
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 1
  33.         return "@Web/layout.html.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  39.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Page/index.html.twig"));
  40.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Page/index.html.twig"));
  42.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""@Web/Page/index.html.twig"));
  44.         // line 23
  45.         $context["isDoc"] = ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "isAbout", [], "any"falsefalsefalse23) || twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "isPayment", [], "any"falsefalsefalse23)) || (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'23$this->source); })()), "url", [], "any"falsefalsefalse23) == "conditions"));
  46.         // line 1
  47.         $this->parent $this->loadTemplate("@Web/layout.html.twig""@Web/Page/index.html.twig"1);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  51.         
  52.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  53.         
  54.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  55.     }
  56.     // line 3
  57.     public function block_title($context, array $blocks = [])
  58.     {
  59.         $macros $this->macros;
  60.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  61.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  62.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  64.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  65.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""title"));
  66.         // line 4
  67.         echo "\t";
  68.         echo twig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'4$this->source); })()), "title", [], "any"falsefalsefalse4);
  69.         echo "
  70. ";
  71.         
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  73.         
  74.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  75.         
  76.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  77.     }
  78.     // line 7
  79.     public function block_meta($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  83.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  84.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  85.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  86.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""meta"));
  88.         // line 8
  89.         echo "\t<meta name=\"keywords\" content=\"";
  90.         echo twig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'8$this->source); })()), "keywords", [], "any"falsefalsefalse8);
  91.         echo "\" />
  92. \t<meta name=\"description\" content=\"";
  93.         // line 9
  94.         echo twig_get_attribute($this->env$this->source, (isset($context["meta"]) || array_key_exists("meta"$context) ? $context["meta"] : (function () { throw new RuntimeError('Variable "meta" does not exist.'9$this->source); })()), "description", [], "any"falsefalsefalse9);
  95.         echo "\" />
  96. ";
  97.         
  98.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  99.         
  100.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  101.         
  102.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  103.     }
  104.     // line 12
  105.     public function block_stylesheets($context, array $blocks = [])
  106.     {
  107.         $macros $this->macros;
  108.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  109.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  110.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  111.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  112.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  113.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheets"));
  114.         // line 13
  115.         echo "\t";
  116.         $this->displayParentBlock("stylesheets"$context$blocks);
  117.         echo "
  118. \t<link rel=\"stylesheet\" href=\"";
  119.         // line 14
  120.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_css/pages.min.css"), "html"nulltrue);
  121.         echo "\" />
  122. ";
  123.         
  124.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  125.         
  126.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  127.         
  128.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  129.     }
  130.     // line 17
  131.     public function block_javascripts($context, array $blocks = [])
  132.     {
  133.         $macros $this->macros;
  134.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  135.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascripts"));
  140.         // line 18
  141.         echo "\t";
  142.         $this->displayParentBlock("javascripts"$context$blocks);
  143.         echo "
  144. \t<script type=\"text/javascript\" src=\"";
  145.         // line 19
  146.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("_js/page.min.js"), "html"nulltrue);
  147.         echo "\" charset=\"utf-8\"></script>
  148. ";
  149.         
  150.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  151.         
  152.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  153.         
  154.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  155.     }
  156.     // line 25
  157.     public function block_content($context, array $blocks = [])
  158.     {
  159.         $macros $this->macros;
  160.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d $this->extensions["Sentry\\SentryBundle\\Tracing\\Twig\\TwigTracingExtension"];
  161.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->enter($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  162.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  163.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  164.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  165.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""content"));
  166.         // line 26
  167.         echo "\t<div class=\"pages clearfix";
  168.         if ((isset($context["isDoc"]) || array_key_exists("isDoc"$context) ? $context["isDoc"] : (function () { throw new RuntimeError('Variable "isDoc" does not exist.'26$this->source); })())) {
  169.             echo " docs";
  170.         }
  171.         echo "\">
  172. \t\t<h1>";
  173.         // line 27
  174.         echo twig_escape_filter($this->envtwig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'27$this->source); })()), "title", [], "any"falsefalsefalse27), "html"nulltrue);
  175.         echo "</h1>
  176. \t\t";
  177.         // line 29
  178.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'29$this->source); })()), "commentShow", [], "any"falsefalsefalse29)) {
  179.             // line 30
  180.             echo "\t\t\t<span
  181. \t\t\t\tclass=\"top-header-button heading-button first-of-type js-call-popup-button qa\"
  182. \t\t\t\tdata-target-id=\"comments-block\"
  183. \t\t\t>
  184. \t\t\t\t";
  185.             // line 34
  186.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("comment_add_question"), "html"nulltrue);
  187.             echo "
  188. \t\t\t</span>
  189. \t\t\t<span
  190. \t\t\t\tclass=\"top-header-button heading-button js-call-popup-button\"
  191. \t\t\t\tdata-target-id=\"subscribe-block\"
  192. \t\t\t>
  193. \t\t\t\t";
  194.             // line 40
  195.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("subscribe"), "html"nulltrue);
  196.             echo "
  197. \t\t\t</span>
  198. \t\t\t";
  199.             // line 42
  200.             $this->loadTemplate("@Web/Comment/comment-tab.html.twig""@Web/Page/index.html.twig"42)->display(twig_array_merge($context, ["unid" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'42$this->source); })()), "unid", [], "any"falsefalsefalse42), "entity" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'42$this->source); })()), "id", [], "any"falsefalsefalse42), "type" => 4"place" => "top"]));
  201.             // line 43
  202.             echo "\t\t";
  203.         }
  204.         // line 44
  205.         echo "
  206. \t\t";
  207.         // line 45
  208.         if ((array_key_exists("linkEdit"$context) && ((isset($context["linkEdit"]) || array_key_exists("linkEdit"$context) ? $context["linkEdit"] : (function () { throw new RuntimeError('Variable "linkEdit" does not exist.'45$this->source); })()) != ""))) {
  209.             // line 46
  210.             echo "\t\t\t[ <a href=\"";
  211.             echo twig_escape_filter($this->env, (isset($context["linkEdit"]) || array_key_exists("linkEdit"$context) ? $context["linkEdit"] : (function () { throw new RuntimeError('Variable "linkEdit" does not exist.'46$this->source); })()), "html"nulltrue);
  212.             echo "\" class=\"link-edit\" target=\"_blank\" rel=\"noopener\">edit</a> ]
  213. \t\t";
  214.         }
  215.         // line 48
  216.         echo "
  217. \t\t";
  218.         // line 49
  219.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'49$this->source); })()), "isPayment", [], "any"falsefalsefalse49)) {
  220.             // line 50
  221.             echo "\t\t\t<div class=\"price-warning price-warning-";
  222.             echo twig_escape_filter($this->env$this->extensions['WebBundle\Twig\AppExtension']->userLocale(), "html"nulltrue);
  223.             echo "\">
  224. \t\t\t\t";
  225.             // line 51
  226.             if (($this->extensions['WebBundle\Twig\AppExtension']->userCountry() == "ru")) {
  227.                 // line 52
  228.                 echo "\t\t\t\t\t<p>";
  229.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("page_price_warning", ["%cur%" => $this->extensions['WebBundle\Twig\AppExtension']->curLimit()]);
  230.                 echo "</p>
  231. \t\t\t\t\t<p>";
  232.                 // line 53
  233.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("page_price_warning_2", ["%cur%" => $this->extensions['WebBundle\Twig\AppExtension']->curLimit()]);
  234.                 echo "</p>
  235. \t\t\t\t";
  236.             } else {
  237.                 // line 55
  238.                 echo "\t\t\t\t\t<p>";
  239.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("page_price_warning_new");
  240.                 echo "</p>
  241. \t\t\t\t";
  242.             }
  243.             // line 57
  244.             echo "\t\t\t</div>
  245. \t\t";
  246.         }
  247.         // line 59
  248.         echo "
  249. \t</div>
  250. \t<div
  251. \t\tclass=\"body-content-page
  252. \t\t";
  253.         // line 63
  254.         if ((isset($context["isDoc"]) || array_key_exists("isDoc"$context) ? $context["isDoc"] : (function () { throw new RuntimeError('Variable "isDoc" does not exist.'63$this->source); })())) {
  255.             echo " docs";
  256.         }
  257.         // line 64
  258.         echo "\t\t";
  259.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'64$this->source); })()), "isPayment", [], "any"falsefalsefalse64)) {
  260.             echo " payment-and-delivery-page";
  261.         }
  262.         // line 65
  263.         echo "\t\t";
  264.         if ((twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'65$this->source); })()), "url", [], "any"falsefalsefalse65) == "conditions")) {
  265.             echo " conditions";
  266.         }
  267.         echo "\"
  268. \t>
  269. \t\t";
  270.         // line 67
  271.         echo twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'67$this->source); })()), "body", [], "any"falsefalsefalse67);
  272.         echo "
  273. \t</div>
  274. \t";
  275.         // line 70
  276.         if (twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'70$this->source); })()), "commentShow", [], "any"falsefalsefalse70)) {
  277.             // line 71
  278.             echo "\t\t";
  279.             $this->loadTemplate("@Web/Comment/comment-tab.html.twig""@Web/Page/index.html.twig"71)->display(twig_array_merge($context, ["unid" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'71$this->source); })()), "unid", [], "any"falsefalsefalse71), "entity" => twig_get_attribute($this->env$this->source, (isset($context["page"]) || array_key_exists("page"$context) ? $context["page"] : (function () { throw new RuntimeError('Variable "page" does not exist.'71$this->source); })()), "id", [], "any"falsefalsefalse71), "type" => 4"place" => "bottom"]));
  280.             // line 72
  281.             echo "\t";
  282.         }
  283.         
  284.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  285.         
  286.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  287.         
  288.         $__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d->leave($__internal_17fc5a9d7f60dc995440a5a315cc27cefd5208dd5c9d418ecd10c2a16ddca18d_prof);
  289.     }
  290.     public function getTemplateName()
  291.     {
  292.         return "@Web/Page/index.html.twig";
  293.     }
  294.     public function isTraitable()
  295.     {
  296.         return false;
  297.     }
  298.     public function getDebugInfo()
  299.     {
  300.         return array (  328 => 72,  325 => 71,  323 => 70,  317 => 67,  309 => 65,  304 => 64,  300 => 63,  294 => 59,  290 => 57,  284 => 55,  279 => 53,  274 => 52,  272 => 51,  267 => 50,  265 => 49,  262 => 48,  256 => 46,  254 => 45,  251 => 44,  248 => 43,  246 => 42,  241 => 40,  232 => 34,  226 => 30,  224 => 29,  219 => 27,  212 => 26,  199 => 25,  184 => 19,  179 => 18,  166 => 17,  151 => 14,  146 => 13,  133 => 12,  118 => 9,  113 => 8,  100 => 7,  84 => 4,  71 => 3,  57 => 1,  55 => 23,  39 => 1,);
  301.     }
  302.     public function getSourceContext()
  303.     {
  304.         return new Source("{% extends '@Web/layout.html.twig' %}
  305. {% block title %}
  306. \t{{ meta.title | raw }}
  307. {% endblock %}
  308. {% block meta %}
  309. \t<meta name=\"keywords\" content=\"{{ meta.keywords | raw }}\" />
  310. \t<meta name=\"description\" content=\"{{ meta.description | raw }}\" />
  311. {% endblock %}
  312. {% block stylesheets %}
  313. \t{{ parent() }}
  314. \t<link rel=\"stylesheet\" href=\"{{ asset('_css/pages.min.css') }}\" />
  315. {% endblock %}
  316. {% block javascripts %}
  317. \t{{ parent() }}
  318. \t<script type=\"text/javascript\" src=\"{{ asset('_js/page.min.js') }}\" charset=\"utf-8\"></script>
  319. {% endblock %}
  320. {# для новых стилей docs страниц #}
  321. {% set isDoc = page.isAbout or page.isPayment or page.url == \"conditions\" %}
  322. {% block content %}
  323. \t<div class=\"pages clearfix{% if isDoc %} docs{% endif %}\">
  324. \t\t<h1>{{ page.title }}</h1>
  325. \t\t{% if page.commentShow %}
  326. \t\t\t<span
  327. \t\t\t\tclass=\"top-header-button heading-button first-of-type js-call-popup-button qa\"
  328. \t\t\t\tdata-target-id=\"comments-block\"
  329. \t\t\t>
  330. \t\t\t\t{{ 'comment_add_question' | trans }}
  331. \t\t\t</span>
  332. \t\t\t<span
  333. \t\t\t\tclass=\"top-header-button heading-button js-call-popup-button\"
  334. \t\t\t\tdata-target-id=\"subscribe-block\"
  335. \t\t\t>
  336. \t\t\t\t{{ 'subscribe' | trans }}
  337. \t\t\t</span>
  338. \t\t\t{% include '@Web/Comment/comment-tab.html.twig' with {'unid': page.unid, 'entity': page.id, 'type': 4, 'place': 'top'} %}
  339. \t\t{% endif %}
  340. \t\t{% if linkEdit is defined and linkEdit != '' %}
  341. \t\t\t[ <a href=\"{{ linkEdit }}\" class=\"link-edit\" target=\"_blank\" rel=\"noopener\">edit</a> ]
  342. \t\t{% endif %}
  343. \t\t{% if page.isPayment %}
  344. \t\t\t<div class=\"price-warning price-warning-{{ userLocale() }}\">
  345. \t\t\t\t{% if userCountry() == 'ru' %}
  346. \t\t\t\t\t<p>{{ 'page_price_warning' | trans({'%cur%': curLimit() }) | raw }}</p>
  347. \t\t\t\t\t<p>{{ 'page_price_warning_2' | trans({'%cur%': curLimit() }) | raw }}</p>
  348. \t\t\t\t{% else %}
  349. \t\t\t\t\t<p>{{ 'page_price_warning_new' | trans | raw }}</p>
  350. \t\t\t\t{% endif %}
  351. \t\t\t</div>
  352. \t\t{% endif %}
  353. \t</div>
  354. \t<div
  355. \t\tclass=\"body-content-page
  356. \t\t{% if isDoc %} docs{% endif %}
  357. \t\t{% if page.isPayment %} payment-and-delivery-page{% endif %}
  358. \t\t{% if page.url == \"conditions\" %} conditions{% endif %}\"
  359. \t>
  360. \t\t{{ page.body | raw }}
  361. \t</div>
  362. \t{% if page.commentShow %}
  363. \t\t{% include '@Web/Comment/comment-tab.html.twig' with {'unid': page.unid, 'entity': page.id, 'type': 4, 'place': 'bottom'} %}
  364. \t{% endif %}
  365. {% endblock %}
  366. ""@Web/Page/index.html.twig""/var/www/dev5.tile.expert/src/WebBundle/Resources/views/Page/index.html.twig");
  367.     }
  368. }