var/cache/dev/twig/92/92b0d4e0ebd68d157251399ce962a878.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_cf003994888e0b79facd1f7e88a4e413 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 "<div class=\"ec-headerNaviRole\">
  37.     <div class=\"ec-headerNaviRole__left\">
  38.         <div class=\"ym-headerRole__logo\">
  39.         <h1>
  40.             <a href=\"";
  41.         // line 15
  42.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  43.         echo "\"><img src=\"";
  44.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/logo-hd_yamaria.png"), "html"nulltrue);
  45.         echo "\"
  46. \t\t\t\t\talt=\"";
  47.         // line 16
  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 "\"></a>
  50.         </h1>
  51.     </div>
  52.     </div>
  53.     <div class=\"ec-headerNaviRole__right\">
  54.         <div class=\"ec-headerNaviRole__search\">
  55.             ";
  56.         // line 22
  57.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  58.         echo "
  59.         </div>
  60.         <div class=\"ec-headerNaviRole__nav\">
  61.             ";
  62.         // line 25
  63.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/login.twig");
  64.         echo "
  65.         </div>
  66.         <div class=\"ec-headerRole__cart\">
  67.             ";
  68.         // line 28
  69.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/cart.twig");
  70.         echo "
  71.         </div>
  72.         <div class=\"ec-headerRole__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,  66 => 22,  57 => 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.         <div class=\"ym-headerRole__logo\">
  109.         <h1>
  110.             <a href=\"{{ url('homepage') }}\"><img src=\"{{ asset('assets/img/common/logo-hd_yamaria.png') }}\"
  111. \t\t\t\t\talt=\"{{ BaseInfo.shop_name }}\"></a>
  112.         </h1>
  113.     </div>
  114.     </div>
  115.     <div class=\"ec-headerNaviRole__right\">
  116.         <div class=\"ec-headerNaviRole__search\">
  117.             {{ render(path('block_search_product')) }}
  118.         </div>
  119.         <div class=\"ec-headerNaviRole__nav\">
  120.             {{ include('Block/login.twig') }}
  121.         </div>
  122.         <div class=\"ec-headerRole__cart\">
  123.             {{ include('Block/cart.twig') }}
  124.         </div>
  125.         <div class=\"ec-headerRole__navSP\">
  126.             {{ include('Block/nav_sp.twig') }}
  127.         </div>
  128.     </div>
  129. </div>""Block/header.twig""/home/dober/testman.biz/public_html/yamaria-ec-demo/app/template/yamaria/Block/header.twig");
  130.     }
  131.     
  132.     public function checkSecurity()
  133.     {
  134.         static $tags = array();
  135.         static $filters = array("escape" => 15);
  136.         static $functions = array("url" => 15"asset" => 15"render" => 22"path" => 22"include" => 25);
  137.         try {
  138.             $this->sandbox->checkSecurity(
  139.                 [],
  140.                 ['escape'],
  141.                 ['url''asset''render''path''include']
  142.             );
  143.         } catch (SecurityError $e) {
  144.             $e->setSourceContext($this->source);
  145.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  146.                 $e->setTemplateLine($tags[$e->getTagName()]);
  147.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  148.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  149.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  150.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  151.             }
  152.             throw $e;
  153.         }
  154.     }
  155. }