var/cache/dev/twig/eb/ebfbcb75dfa33dd31f8648299608aadf.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_50a5cf65dc21c0a900fbef8b790cee0c 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_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  35.         // line 11
  36.         echo "
  37. <div class=\"ec-headerNaviRole\">
  38.     <div class=\"ec-headerNaviRole__left\">
  39.         <h1 class=\"ec-headerNaviRole__title\">
  40.             <a href=\"";
  41.         // line 15
  42.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  43.         echo "\">
  44.                <img src=\"";
  45.         // line 16
  46.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/header/logo.svg"), "html"nulltrue);
  47.         echo "\" alt=\"";
  48.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'16$this->source); })()), "shop_name", [], "any"falsefalsetrue16), 16$this->source), "html"nulltrue);
  49.         echo "\">
  50.            </a>
  51.         </h1>
  52.         <div class=\"ec-headerNaviRole__search\">
  53.             ";
  54.         // line 20
  55.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  56.         echo "
  57.         </div>
  58.     </div>
  59.     <div class=\"ec-headerNaviRole__right\">
  60.         <div class=\"ec-headerRole__cart\">
  61.             ";
  62.         // line 25
  63.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/cart.twig");
  64.         echo "
  65.         </div>
  66.         <div class=\"ec-headerNaviRole__nav\">
  67.             ";
  68.         // line 28
  69.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  70.         echo "
  71.         </div>
  72.         <div class=\"ec-headerNaviRole__navSP\">
  73.             ";
  74.         // line 31
  75.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/nav_sp.twig");
  76.         echo "
  77.         </div>
  78.     </div>
  79. </div>";
  80.         
  81.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.     }
  85.     public function getTemplateName()
  86.     {
  87.         return "Block/header.twig";
  88.     }
  89.     public function isTraitable()
  90.     {
  91.         return false;
  92.     }
  93.     public function getDebugInfo()
  94.     {
  95.         return array (  84 => 31,  78 => 28,  72 => 25,  64 => 20,  55 => 16,  51 => 15,  45 => 11,);
  96.     }
  97.     public function getSourceContext()
  98.     {
  99.         return new Source("{#
  100. This file is part of EC-CUBE
  101. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  102. http://www.ec-cube.co.jp/
  103. For the full copyright and license information, please view the LICENSE
  104. file that was distributed with this source code.
  105. #}
  106. <div class=\"ec-headerNaviRole\">
  107.     <div class=\"ec-headerNaviRole__left\">
  108.         <h1 class=\"ec-headerNaviRole__title\">
  109.             <a href=\"{{ url('homepage') }}\">
  110.                <img src=\"{{ asset('assets/img/header/logo.svg') }}\" alt=\"{{ BaseInfo.shop_name }}\">
  111.            </a>
  112.         </h1>
  113.         <div class=\"ec-headerNaviRole__search\">
  114.             {{ render(path('block_search_product')) }}
  115.         </div>
  116.     </div>
  117.     <div class=\"ec-headerNaviRole__right\">
  118.         <div class=\"ec-headerRole__cart\">
  119.             {{ include('Block/cart.twig') }}
  120.         </div>
  121.         <div class=\"ec-headerNaviRole__nav\">
  122.             {{ include('Block/login.twig') }}
  123.         </div>
  124.         <div class=\"ec-headerNaviRole__navSP\">
  125.             {{ include('Block/nav_sp.twig') }}
  126.         </div>
  127.     </div>
  128. </div>""Block/header.twig""/home/egonet/c-bcl.com/public_html/shop/app/template/lag/Block/header.twig");
  129.     }
  130.     
  131.     public function checkSecurity()
  132.     {
  133.         static $tags = array();
  134.         static $filters = array("escape" => 16);
  135.         static $functions = array("url" => 15"asset" => 16"render" => 20"path" => 20"include" => 25);
  136.         try {
  137.             $this->sandbox->checkSecurity(
  138.                 [],
  139.                 ['escape'],
  140.                 ['url''asset''render''path''include']
  141.             );
  142.         } catch (SecurityError $e) {
  143.             $e->setSourceContext($this->source);
  144.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  145.                 $e->setTemplateLine($tags[$e->getTagName()]);
  146.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  147.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  148.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  149.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  150.             }
  151.             throw $e;
  152.         }
  153.     }
  154. }