var/cache/dev/twig/60/60fce1b362a092db5a1a3b3a3f8d9504a67d6d800d6d0a95ac98cd600d26c765.php line 57

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. /* block.twig */
  14. class __TwigTemplate_533b59000105e533f7c033452f5ea607e90771e5e8e3d3b4d7ab8f719f0cbb05 extends \Eccube\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->parent false;
  23.         $this->blocks = [
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  33.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""block.twig"));
  35.         // line 11
  36.         $context['_parent'] = $context;
  37.         $context['_seq'] = twig_ensure_traversable((isset($context["Blocks"]) || array_key_exists("Blocks"$context) ? $context["Blocks"] : (function () { throw new RuntimeError('Variable "Blocks" does not exist.'11$this->source); })()));
  38.         foreach ($context['_seq'] as $context["_key"] => $context["Block"]) {
  39.             // line 12
  40.             echo "    <!-- ▼";
  41.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  42.             echo " -->
  43.     ";
  44.             // line 13
  45.             if (twig_get_attribute($this->env$this->source$context["Block"], "use_controller", [], "any"falsefalsetrue13)) {
  46.                 // line 14
  47.                 echo "        ";
  48.                 echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath(("block_" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsetrue14), 14$this->source))));
  49.                 echo "
  50.     ";
  51.             } else {
  52.                 // line 16
  53.                 echo "        ";
  54.                 echo $this->extensions['Eccube\Twig\Extension\TwigIncludeExtension']->include_dispatch($context, (("Block/" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "file_name", [], "any"falsefalsetrue16), 16$this->source)) . ".twig"));
  55.                 echo "
  56.     ";
  57.             }
  58.             // line 18
  59.             echo "    <!-- ▲";
  60.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Block"], "name", [], "any"falsefalsetrue18), 18$this->source), "html"nulltrue);
  61.             echo " -->
  62. ";
  63.         }
  64.         $_parent $context['_parent'];
  65.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Block'], $context['_parent'], $context['loop']);
  66.         $context array_intersect_key($context$_parent) + $_parent;
  67.         
  68.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  69.         
  70.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  71.     }
  72.     public function getTemplateName()
  73.     {
  74.         return "block.twig";
  75.     }
  76.     public function isTraitable()
  77.     {
  78.         return false;
  79.     }
  80.     public function getDebugInfo()
  81.     {
  82.         return array (  68 => 18,  62 => 16,  56 => 14,  54 => 13,  49 => 12,  45 => 11,);
  83.     }
  84.     public function getSourceContext()
  85.     {
  86.         return new Source("{#
  87. This file is part of EC-CUBE
  88. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  89. http://www.ec-cube.co.jp/
  90. For the full copyright and license information, please view the LICENSE
  91. file that was distributed with this source code.
  92. #}
  93. {% for Block in Blocks %}
  94.     <!-- ▼{{ Block.name }} -->
  95.     {% if Block.use_controller %}
  96.         {{ render(path('block_' ~ Block.file_name)) }}
  97.     {% else %}
  98.         {{ include_dispatch('Block/' ~ Block.file_name ~ '.twig') }}
  99.     {% endif %}
  100.     <!-- ▲{{ Block.name }} -->
  101. {% endfor %}""block.twig""/home/nmtokyolad01/tokyoladies-onlinestore.com/public_html/app/template/unishop/block.twig");
  102.     }
  103.     
  104.     public function checkSecurity()
  105.     {
  106.         static $tags = array("for" => 11"if" => 13);
  107.         static $filters = array("escape" => 12);
  108.         static $functions = array("render" => 14"path" => 14"include_dispatch" => 16);
  109.         try {
  110.             $this->sandbox->checkSecurity(
  111.                 ['for''if'],
  112.                 ['escape'],
  113.                 ['render''path''include_dispatch']
  114.             );
  115.         } catch (SecurityError $e) {
  116.             $e->setSourceContext($this->source);
  117.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  118.                 $e->setTemplateLine($tags[$e->getTagName()]);
  119.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  120.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  121.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  122.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  123.             }
  124.             throw $e;
  125.         }
  126.     }
  127. }