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

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.     <div class=\"ec-headerRole__navSP\">
  36.         ";
  37.         // line 13
  38.         echo twig_include($this->env$context"Block/nav_sp.twig");
  39.         echo "
  40.     </div>
  41.     ";
  42.         // line 15
  43.         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.'15$this->source); })()), "request", [], "any"falsefalsefalse15), "pathInfo", [], "any"falsefalsefalse15) != "/")) {
  44.             // line 16
  45.             echo "            <h1>
  46.                 <a class=\"ec-header__logo\" href=\"";
  47.             // line 17
  48.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  49.             echo "\">
  50. ";
  51.             // line 19
  52.             echo "                    <img class=\"ec-header__img\" src=\"/ecshop/html/user_data/assets/img/common/logo2.svg\" alt=\"うちわ屋うにまる\">
  53.                 </a>
  54.             </h1>
  55.     ";
  56.         }
  57.         // line 23
  58.         echo "
  59.     <div class=\"ec-headerNaViRole__wrap\">
  60.         <div class=\"ec-headerNaviRole__left\">
  61.             <div class=\"ec-headerNaviRole__search\">
  62.                 ";
  63.         // line 27
  64.         echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
  65.         echo "
  66.             </div>
  67. ";
  68.         // line 32
  69.         echo "        </div>
  70.         <div class=\"ec-headerNaviRole__right\">
  71.             <div class=\"ec-headerNaviRole__nav\">
  72.                 ";
  73.         // line 35
  74.         echo twig_include($this->env$context"Block/login.twig");
  75.         echo "
  76.             </div>
  77.             <div class=\"ec-headerRole__cart\">
  78.                 ";
  79.         // line 38
  80.         echo twig_include($this->env$context"Block/cart.twig");
  81.         echo "
  82.             </div>
  83.         </div>
  84.     </div>
  85. </div>
  86. ";
  87.         
  88.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  89.         
  90.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  91.     }
  92.     public function getTemplateName()
  93.     {
  94.         return "Block/header.twig";
  95.     }
  96.     public function isTraitable()
  97.     {
  98.         return false;
  99.     }
  100.     public function getDebugInfo()
  101.     {
  102.         return array (  89 => 38,  83 => 35,  78 => 32,  73 => 27,  67 => 23,  61 => 19,  57 => 17,  54 => 16,  52 => 15,  47 => 13,  43 => 11,);
  103.     }
  104.     public function getSourceContext()
  105.     {
  106.         return new Source("{#
  107. This file is part of EC-CUBE
  108. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  109. http://www.ec-cube.co.jp/
  110. For the full copyright and license information, please view the LICENSE
  111. file that was distributed with this source code.
  112. #}
  113. <div class=\"ec-headerNaviRole\">
  114.     <div class=\"ec-headerRole__navSP\">
  115.         {{ include('Block/nav_sp.twig') }}
  116.     </div>
  117.     {% if app.request.pathInfo != '/' %}
  118.             <h1>
  119.                 <a class=\"ec-header__logo\" href=\"{{ url('homepage') }}\">
  120. {#                    {{ BaseInfo.shop_name }}#}
  121.                     <img class=\"ec-header__img\" src=\"/ecshop/html/user_data/assets/img/common/logo2.svg\" alt=\"うちわ屋うにまる\">
  122.                 </a>
  123.             </h1>
  124.     {% endif %}
  125.     <div class=\"ec-headerNaViRole__wrap\">
  126.         <div class=\"ec-headerNaviRole__left\">
  127.             <div class=\"ec-headerNaviRole__search\">
  128.                 {{ render(path('block_search_product')) }}
  129.             </div>
  130. {#            <div class=\"ec-headerRole__navSP\">#}
  131. {#                {{ include('Block/nav_sp.twig') }}#}
  132. {#            </div>#}
  133.         </div>
  134.         <div class=\"ec-headerNaviRole__right\">
  135.             <div class=\"ec-headerNaviRole__nav\">
  136.                 {{ include('Block/login.twig') }}
  137.             </div>
  138.             <div class=\"ec-headerRole__cart\">
  139.                 {{ include('Block/cart.twig') }}
  140.             </div>
  141.         </div>
  142.     </div>
  143. </div>
  144. ""Block/header.twig""/home/atplus4/mirai-kanban.com/public_html/ecshop/app/template/default/Block/header.twig");
  145.     }
  146. }