var/cache/dev/twig/0d/0d3b04ea5e8c0ac8f56897eae745f82c40dddb4163b7ad47556d0874a10f1d99.php line 35

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/header.twig */
  14. class __TwigTemplate_d314455267b185c5cf0abe4a2744e2197be3eaeeefa95b10218b039a357e3866 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/header.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/header.twig"));
  35.         // line 11
  36.         echo "<div class=\"ec-headerNaviRole\">
  37.     <div class=\"ec-headerNaviRole__left\">
  38.         <div class=\"ec-headerNaviRole__search\">
  39.             ";
  40.         // line 14
  41.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  42.         echo "
  43.         </div>
  44.         <div class=\"ec-headerRole__navSP\">
  45.             ";
  46.         // line 17
  47.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/nav_sp.twig");
  48.         echo "
  49.         </div>
  50.     </div>
  51.     <div class=\"ec-headerNaviRole__right\">
  52.         <div class=\"ec-headerNaviRole__nav\">
  53.             ";
  54.         // line 22
  55.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  56.         echo "
  57.         </div>
  58.         <div class=\"ec-headerRole__cart\">
  59.             ";
  60.         // line 25
  61.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/cart.twig");
  62.         echo "
  63.         </div>
  64.     </div>
  65. </div>
  66. ";
  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/header.twig";
  75.     }
  76.     public function isTraitable()
  77.     {
  78.         return false;
  79.     }
  80.     public function getDebugInfo()
  81.     {
  82.         return array (  70 => 25,  64 => 22,  56 => 17,  50 => 14,  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. <div class=\"ec-headerNaviRole\">
  94.     <div class=\"ec-headerNaviRole__left\">
  95.         <div class=\"ec-headerNaviRole__search\">
  96.             {{ render(path('block_search_product')) }}
  97.         </div>
  98.         <div class=\"ec-headerRole__navSP\">
  99.             {{ include('Block/nav_sp.twig') }}
  100.         </div>
  101.     </div>
  102.     <div class=\"ec-headerNaviRole__right\">
  103.         <div class=\"ec-headerNaviRole__nav\">
  104.             {{ include('Block/login.twig') }}
  105.         </div>
  106.         <div class=\"ec-headerRole__cart\">
  107.             {{ include('Block/cart.twig') }}
  108.         </div>
  109.     </div>
  110. </div>
  111. ""Block/header.twig""/home/promarket/www/ec/src/Eccube/Resource/template/default/Block/header.twig");
  112.     }
  113.     
  114.     public function checkSecurity()
  115.     {
  116.         static $tags = array();
  117.         static $filters = array();
  118.         static $functions = array("render" => 14"path" => 14"include" => 17);
  119.         try {
  120.             $this->sandbox->checkSecurity(
  121.                 [],
  122.                 [],
  123.                 ['render''path''include']
  124.             );
  125.         } catch (SecurityError $e) {
  126.             $e->setSourceContext($this->source);
  127.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  128.                 $e->setTemplateLine($tags[$e->getTagName()]);
  129.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  130.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  131.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  132.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  133.             }
  134.             throw $e;
  135.         }
  136.     }
  137. }