<?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/footer.twig */
class __TwigTemplate_bffb820470f3a580f7c539b8a389d36b 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/footer.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/footer.twig"));
// line 1
echo "<div class=\"container-fluid inner\">
<div class=\"footer_nikk\">
<div class=\"call\">
<p>制服のキンパラ</p>
<p>TEL:0538-35-5404</p>
<p>(受付:平日10:00~18:00)</p>
</div>
<div class=\"mail\">
<p>メールでのお問い合わせ</p>
<div class=\"def_button1\" ontouchstart=\"\"><div class=\"eff-down\"></div><a href=\"";
// line 10
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("contact");
echo "\">お問い合わせフォーム</a></div>
</div>
</div>
";
// line 13
if ($this->extensions['Symfony\Bridge\Twig\Extension\SecurityExtension']->isGranted("ROLE_USER")) {
// line 14
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.', 14, $this->source); })()), "user", [], "any", false, false, true, 14), "school", [], "any", false, false, true, 14), "school_id", [], "any", false, false, true, 14) >= "24")) {
echo "<!--新入生_採寸必須-->
<div class=\"footer_link\" ";
// 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); })()), "user", [], "any", false, false, true, 15), "dr31", [], "any", false, false, true, 15) == "")) {
echo "style=\"opacity:0.3; pointer-events:none;\"";
}
echo ">
";
} else {
// line 16
echo "<!--在校生_採寸任意-->
<div class=\"footer_link\">
";
}
// line 19
echo " <div class=\"block1\">
<h5>マイページ</h5>
";
// line 21
$this->loadTemplate("Block/mypg_def.twig", "Block/footer.twig", 21)->display($context);
// line 22
echo " </div>
";
// line 23
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.', 23, $this->source); })()), "user", [], "any", false, false, true, 23), "school", [], "any", false, false, true, 23), "item_visible_type", [], "any", false, false, true, 23) != twig_constant("\\Customize\\Entity\\School::ITEM_VISIBLE_TYPE_MATOME"))) {
// line 24
echo " <div class=\"block2\">
<h5>アイテム一覧</h5>
";
// line 26
echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_category_def"));
echo "
</div>
";
}
// line 29
echo "
<div class=\"block1\">
<h5>お買い物ガイド</h5>
";
// line 32
$this->loadTemplate("Block/guidemenu_def.twig", "Block/footer.twig", 32)->display($context);
// line 33
echo " </div>
<div class=\"block1\">
<!--
<h5>コーディネート</h5>
<ul>
<li><a href=\"";
// line 39
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "outfit"]);
echo "\">コーディネート一覧</a></li>
</ul>
--!>
<h5>その他</h5>
<ul>
<li><a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "commitment_uniform"]);
echo "\">制服へのこだわり</a></li>
<li><a href=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("user_data", ["route" => "correct_size"]);
echo "\">サイズの選び方</a></li>
</ul>
</div>
</div>
";
} else {
}
// line 53
echo " <div class=\"footer_copy\">
<p class=\"official\">
<a href=\"";
// line 55
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_agreement");
echo "\">ご利用規約</a>
<a href=\"";
// line 56
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_privacy");
echo "\">プライバシーポリシー</a>
<a href=\"";
// line 57
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("help_tradelaw");
echo "\">特定商取引に基づく表示</a>
</p>
<p class=\"copy\">Copyright© ";
// line 59
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.', 59, $this->source); })()), "shop_name_eng", [], "any", false, false, true, 59), 59, $this->source), "html", null, true);
echo " CO.,LTD. All Rights Reserved.</p>
</div>
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/footer.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 156 => 59, 151 => 57, 147 => 56, 143 => 55, 139 => 53, 129 => 46, 125 => 45, 116 => 39, 108 => 33, 106 => 32, 101 => 29, 95 => 26, 91 => 24, 89 => 23, 86 => 22, 84 => 21, 80 => 19, 75 => 16, 68 => 15, 64 => 14, 62 => 13, 56 => 10, 45 => 1,);
}
public function getSourceContext()
{
return new Source("<div class=\"container-fluid inner\">
<div class=\"footer_nikk\">
<div class=\"call\">
<p>制服のキンパラ</p>
<p>TEL:0538-35-5404</p>
<p>(受付:平日10:00~18:00)</p>
</div>
<div class=\"mail\">
<p>メールでのお問い合わせ</p>
<div class=\"def_button1\" ontouchstart=\"\"><div class=\"eff-down\"></div><a href=\"{{ url('contact') }}\">お問い合わせフォーム</a></div>
</div>
</div>
{% if is_granted('ROLE_USER') %}
{% if app.user.school.school_id >= '24' %}<!--新入生_採寸必須-->
<div class=\"footer_link\" {% if app.user.dr31 == '' %}style=\"opacity:0.3; pointer-events:none;\"{% endif %}>
{% else %}<!--在校生_採寸任意-->
<div class=\"footer_link\">
{% endif %}
<div class=\"block1\">
<h5>マイページ</h5>
{% include 'Block/mypg_def.twig' %}
</div>
{% if app.user.school.item_visible_type != constant('\\\\Customize\\\\Entity\\\\School::ITEM_VISIBLE_TYPE_MATOME') %}
<div class=\"block2\">
<h5>アイテム一覧</h5>
{{ render(path('block_category_def')) }}
</div>
{% endif %}
<div class=\"block1\">
<h5>お買い物ガイド</h5>
{% include 'Block/guidemenu_def.twig' %}
</div>
<div class=\"block1\">
<!--
<h5>コーディネート</h5>
<ul>
<li><a href=\"{{ url('user_data', {\"route\": \"outfit\"}) }}\">コーディネート一覧</a></li>
</ul>
--!>
<h5>その他</h5>
<ul>
<li><a href=\"{{ url('user_data', {'route': 'commitment_uniform'}) }}\">制服へのこだわり</a></li>
<li><a href=\"{{ url('user_data', {'route': 'correct_size'}) }}\">サイズの選び方</a></li>
</ul>
</div>
</div>
{% else %}
{% endif %}
<div class=\"footer_copy\">
<p class=\"official\">
<a href=\"{{ url('help_agreement') }}\">ご利用規約</a>
<a href=\"{{ url('help_privacy') }}\">プライバシーポリシー</a>
<a href=\"{{ url('help_tradelaw') }}\">特定商取引に基づく表示</a>
</p>
<p class=\"copy\">Copyright© {{ BaseInfo.shop_name_eng }} CO.,LTD. All Rights Reserved.</p>
</div>
</div>", "Block/footer.twig", "/home/nmiwakim01/seifuku-kimpara.com/public_html/app/template/unishop/Block/footer.twig");
}
public function checkSecurity()
{
static $tags = array("if" => 13, "include" => 21);
static $filters = array("escape" => 59);
static $functions = array("url" => 10, "is_granted" => 13, "constant" => 23, "render" => 26, "path" => 26);
try {
$this->sandbox->checkSecurity(
['if', 'include'],
['escape'],
['url', 'is_granted', 'constant', '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;
}
}
}