<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Block/header.twig */
class __TwigTemplate_c45911b33fdd98256b0f8be8deda470fa2720c2a65cb1fe97333196a9be2789b extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/header.twig"));
// line 11
echo "<div class=\"ec-headerNaviRole\">
<div class=\"ec-headerRole__navSP\">
";
// line 13
echo twig_include($this->env, $context, "Block/nav_sp.twig");
echo "
</div>
";
// line 15
if ((twig_get_attribute($this->env, $this->source, twig_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", false, false, false, 15), "pathInfo", [], "any", false, false, false, 15) != "/")) {
// line 16
echo " <h1>
<a class=\"ec-header__logo\" href=\"";
// line 17
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
";
// line 19
echo " <img class=\"ec-header__img\" src=\"/ecshop/html/user_data/assets/img/common/logo2.svg\" alt=\"うちわ屋うにまる\">
</a>
</h1>
";
}
// line 23
echo "
<div class=\"ec-headerNaViRole__wrap\">
<div class=\"ec-headerNaviRole__left\">
<div class=\"ec-headerNaviRole__search\">
";
// line 27
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "
</div>
";
// line 32
echo " </div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerNaviRole__nav\">
";
// line 35
echo twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
<div class=\"ec-headerRole__cart\">
";
// line 38
echo twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
</div>
</div>
</div>
";
$__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
$__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
}
public function getTemplateName()
{
return "Block/header.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 89 => 38, 83 => 35, 78 => 32, 73 => 27, 67 => 23, 61 => 19, 57 => 17, 54 => 16, 52 => 15, 47 => 13, 43 => 11,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE
Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
http://www.ec-cube.co.jp/
For the full copyright and license information, please view the LICENSE
file that was distributed with this source code.
#}
<div class=\"ec-headerNaviRole\">
<div class=\"ec-headerRole__navSP\">
{{ include('Block/nav_sp.twig') }}
</div>
{% if app.request.pathInfo != '/' %}
<h1>
<a class=\"ec-header__logo\" href=\"{{ url('homepage') }}\">
{# {{ BaseInfo.shop_name }}#}
<img class=\"ec-header__img\" src=\"/ecshop/html/user_data/assets/img/common/logo2.svg\" alt=\"うちわ屋うにまる\">
</a>
</h1>
{% endif %}
<div class=\"ec-headerNaViRole__wrap\">
<div class=\"ec-headerNaviRole__left\">
<div class=\"ec-headerNaviRole__search\">
{{ render(path('block_search_product')) }}
</div>
{# <div class=\"ec-headerRole__navSP\">#}
{# {{ include('Block/nav_sp.twig') }}#}
{# </div>#}
</div>
<div class=\"ec-headerNaviRole__right\">
<div class=\"ec-headerNaviRole__nav\">
{{ include('Block/login.twig') }}
</div>
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
</div>
</div>
</div>
", "Block/header.twig", "/home/atplus4/mirai-kanban.com/public_html/ecshop/app/template/default/Block/header.twig");
}
}