var/cache/dev/twig/9d/9de9f3fd62bca330f4e3fcf7db71a5f1f975ebf2431e69f3c90ebe255afedadc.php line 62

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_c45911b33fdd98256b0f8be8deda470fa2720c2a65cb1fe97333196a9be2789b 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.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Block/header.twig"));
  33.         // line 11
  34.         echo "<div class=\"ec-headerNaviRole\">
  35.     ";
  36.         // line 12
  37.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'12$this->source); })()), "request", [], "any"falsefalsefalse12), "get", [=> "_route"], "method"falsefalsefalse12) != "homepage")) {
  38.             // line 13
  39.             echo "        <div class=\"ec-headerNaviRole__cornerImg\">
  40.             <img src=\"";
  41.             // line 14
  42.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("ichiro/assets/img/common/bg-upper.png""user_data"), "html"nulltrue);
  43.             echo "\" alt=\"一郎斎\" />
  44.         </div>
  45.     ";
  46.         }
  47.         // line 17
  48.         echo "
  49.     <div class=\"ec-headerNaviRole__left\">
  50.         <div class=\"ec-headerNaviRole__search\">
  51.             ";
  52.         // line 20
  53.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  54.         echo "
  55.         </div>
  56.         <div class=\"ec-headerRole__navSP\">
  57.             ";
  58.         // line 23
  59.         echo twig_include($this->env$context"Block/nav_sp.twig");
  60.         echo "
  61.         </div>
  62.     </div>
  63.     <div class=\"ec-headerNaviRole__right\">
  64.         <div class=\"ec-headerNaviRole__nav\">
  65.             ";
  66.         // line 28
  67.         echo twig_include($this->env$context"Block/login.twig");
  68.         echo "
  69.         </div>
  70.         <div class=\"ec-headerRole__cart\">
  71.             ";
  72.         // line 31
  73.         echo twig_include($this->env$context"Block/cart.twig");
  74.         echo "
  75.         </div>
  76.     </div>
  77. </div>
  78. ";
  79.         
  80.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  81.         
  82.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  83.     }
  84.     public function getTemplateName()
  85.     {
  86.         return "Block/header.twig";
  87.     }
  88.     public function isTraitable()
  89.     {
  90.         return false;
  91.     }
  92.     public function getDebugInfo()
  93.     {
  94.         return array (  82 => 31,  76 => 28,  68 => 23,  62 => 20,  57 => 17,  51 => 14,  48 => 13,  46 => 12,  43 => 11,);
  95.     }
  96.     public function getSourceContext()
  97.     {
  98.         return new Source("{#
  99. This file is part of EC-CUBE
  100. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  101. http://www.ec-cube.co.jp/
  102. For the full copyright and license information, please view the LICENSE
  103. file that was distributed with this source code.
  104. #}
  105. <div class=\"ec-headerNaviRole\">
  106.     {% if app.request.get('_route') != 'homepage' %}
  107.         <div class=\"ec-headerNaviRole__cornerImg\">
  108.             <img src=\"{{ asset('ichiro/assets/img/common/bg-upper.png', 'user_data') }}\" alt=\"一郎斎\" />
  109.         </div>
  110.     {% endif %}
  111.     <div class=\"ec-headerNaviRole__left\">
  112.         <div class=\"ec-headerNaviRole__search\">
  113.             {{ render(path('block_search_product')) }}
  114.         </div>
  115.         <div class=\"ec-headerRole__navSP\">
  116.             {{ include('Block/nav_sp.twig') }}
  117.         </div>
  118.     </div>
  119.     <div class=\"ec-headerNaviRole__right\">
  120.         <div class=\"ec-headerNaviRole__nav\">
  121.             {{ include('Block/login.twig') }}
  122.         </div>
  123.         <div class=\"ec-headerRole__cart\">
  124.             {{ include('Block/cart.twig') }}
  125.         </div>
  126.     </div>
  127. </div>
  128. ""Block/header.twig""/home/fneccube01/ichiro-sai.com/public_html/app/template/default/Block/header.twig");
  129.     }
  130. }