<?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/logo.twig */
class __TwigTemplate_02f8acb099af6b7de4a09a3b71c2a427 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 = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/logo.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/logo.twig"));
// line 11
echo "
<div class=\"ec-role clearfix\">
<div class=\"ec-headerRole\">
<div class=\"ec-headerRole__title\">
<div class=\"ec-headerTitle\">
<div class=\"ec-headerTitle__title\">
\t\t\t\t\t\t";
// line 20
if ((twig_get_attribute($this->env, $this->source, 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.', 20, $this->source); })()), "request", [], "any", false, false, true, 20), "server", [], "any", false, false, true, 20), "get", [0 => "REQUEST_URI"], "method", false, false, true, 20) == "/eccube403/")) {
// line 21
echo " <h1>
<a href=\"";
// line 22
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" >
</a>
</h1>\t\t\t\t
\t\t\t\t\t\t";
} else {
// line 27
echo " <p>
<a href=\"";
// line 28
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">
<img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" >
</a>
</p>\t\t\t\t\t
\t\t\t\t\t\t";
}
// line 32
echo "\t\t\t\t\t\t
</div>
</div>
</div>
</div>
<div class=\"ec-headerNaviRole__right sp_only clearfix\">
<div class=\"ec-headerNaviRole__nav\">
";
// line 39
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/login.twig");
echo "
</div>
<div class=\"ec-headerRole__cart\">
";
// line 42
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/cart.twig");
echo "
</div>
</div>
\t<div class=\" head_search\">";
// line 45
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_search_product"));
echo "</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/logo.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 101 => 45, 95 => 42, 89 => 39, 80 => 32, 72 => 28, 69 => 27, 61 => 22, 58 => 21, 56 => 20, 45 => 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-role clearfix\">
<div class=\"ec-headerRole\">
<div class=\"ec-headerRole__title\">
<div class=\"ec-headerTitle\">
<div class=\"ec-headerTitle__title\">
\t\t\t\t\t\t{% if app.request.server.get('REQUEST_URI') == '/eccube403/' %}
<h1>
<a href=\"{{ url('homepage') }}\">
<img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" >
</a>
</h1>\t\t\t\t
\t\t\t\t\t\t{% else %}
<p>
<a href=\"{{ url('homepage') }}\">
<img border=\"0\" src=\"/html/user_data/n_iizukanoritenlogo.png\" >
</a>
</p>\t\t\t\t\t
\t\t\t\t\t\t{% endif %}\t\t\t\t\t\t
</div>
</div>
</div>
</div>
<div class=\"ec-headerNaviRole__right sp_only clearfix\">
<div class=\"ec-headerNaviRole__nav\">
{{ include('Block/login.twig') }}
</div>
<div class=\"ec-headerRole__cart\">
{{ include('Block/cart.twig') }}
</div>
</div>
\t<div class=\" head_search\">{{ render(path('block_search_product')) }}</div>
</div>", "Block/logo.twig", "/home/cajiya00/jklfdsa.com/public_html/shop-iizuka-nori.jklfdsa.com/app/template/iizukanew/Block/logo.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 20);
static $filters = array();
static $functions = array("url" => 22, "include" => 39, "render" => 45, "path" => 45);
try {
$this->sandbox->checkSecurity(
['if'],
[],
['url', 'include', 'render', 'path']
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}