<?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;
/* Faq/category.twig */
class __TwigTemplate_e2fc5d171e5a71115b37804af3837193 extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->blocks = [
'javascript' => [$this, 'block_javascript'],
'main' => [$this, 'block_main'],
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doGetParent(array $context)
{
// line 5
return "default_frame.twig";
}
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", "Faq/category.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Faq/category.twig"));
// line 7
$context["subtitle"] = (($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 7, $this->source); })()), "title", [], "any", false, false, true, 7), 7, $this->source) . " | ") . twig_replace_filter($this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title", $context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.', 7, $this->source); })()), 7, $this->source), ["/カテゴリー" => ""]));
// line 8
if ((twig_get_attribute($this->env, $this->source, (isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 8, $this->source); })()), "id", [], "any", false, false, true, 8) == 1)) {
// line 10
$context["meta_description"] = "オリジナルゴルフボールや製品の印刷方法、デザインの選び方、注意点など、印刷に関するよくある質問を解決します。理想のデザイン作成をサポートする情報を提供します。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 11
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 11, $this->source); })()), "id", [], "any", false, false, true, 11) == 2)) {
// line 13
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品購入に関するお支払い方法、手続きの流れ、注意点など、よくある質問を解決します。スムーズなお支払いプロセスをサポートします。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 14
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 14, $this->source); })()), "id", [], "any", false, false, true, 14) == 3)) {
// line 16
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品のキャンセル・返品に関するよくある質問を解決します。手続き方法や条件を詳しくご説明し、安心してご利用いただけるサポートを提供します。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 17
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 17, $this->source); })()), "id", [], "any", false, false, true, 17) == 4)) {
// line 19
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品のご注文方法に関するよくある質問を解決します。注文手順や注意点、よくあるトラブルの対処法を詳しくご説明し、スムーズなご注文をサポートします。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 20
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 20, $this->source); })()), "id", [], "any", false, false, true, 20) == 5)) {
// line 22
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品デザインに関するよくある質問を解決します。デザインの作成方法、注意点、フォーマットに関する詳細を提供し、理想のデザイン作成をサポートします。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 23
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 23, $this->source); })()), "id", [], "any", false, false, true, 23) == 6)) {
// line 25
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品の配送に関するよくある質問を解決します。配送方法、送料、配送時間、配送先変更など、配送に関する詳細情報を提供し、安心してご利用いただけるサポートを行います。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 26
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 26, $this->source); })()), "id", [], "any", false, false, true, 26) == 7)) {
// line 28
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボール作成における持ち込みボールについてのよくある質問を解決します。持ち込みボールの取り扱いや注意点、適したボールの種類など、詳しい情報を提供します。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 29
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 29, $this->source); })()), "id", [], "any", false, false, true, 29) == 15)) {
// line 31
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボール作成におけるポイント制度や特典に関するよくある質問を解決します。ポイントの使い方や獲得方法、注意点など、ポイントに関する詳細情報を提供します。";
} elseif ((twig_get_attribute($this->env, $this->source, // line 32
(isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 32, $this->source); })()), "id", [], "any", false, false, true, 32) == 16)) {
// line 34
$context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品のラッピングサービスに関するよくある質問を解決します。ラッピングの種類、料金、オプションなど、ラッピングに関する詳細情報を提供し、大切なギフトを素敵に演出します。";
}
// line 5
$this->parent = $this->loadTemplate("default_frame.twig", "Faq/category.twig", 5);
$this->parent->display($context, array_merge($this->blocks, $blocks));
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
// line 37
public function block_javascript($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(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
// line 40
public function block_main($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(), "block", "main"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
// line 41
echo " <div class=\"container\">
<!-- パンくずリスト -->
<nav aria-label=\"breadcrumb\" class=\"my-3\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"";
// line 45
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
echo "\">ホーム</a></li>
<li class=\"breadcrumb-item\"><a href=\"";
// line 46
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq");
echo "\">よくある質問</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">";
// line 47
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 47, $this->source); })()), "title", [], "any", false, false, true, 47), 47, $this->source), "html", null, true);
echo "</li>
</ol>
</nav>
<div class=\"layout-2colmun\">
";
// line 51
echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env, $context, "Block/aside_others.twig");
echo "
<main class=\"main\">
<h1 class=\"fw-bold mb-5\">";
// line 53
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, (isset($context["CategoryData"]) || array_key_exists("CategoryData", $context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.', 53, $this->source); })()), "title", [], "any", false, false, true, 53), 53, $this->source), "html", null, true);
echo " | よくある質問</h1>
<div class=\"faq-list mb-5\">
";
// line 55
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable((isset($context["FaqListDatas"]) || array_key_exists("FaqListDatas", $context) ? $context["FaqListDatas"] : (function () { throw new RuntimeError('Variable "FaqListDatas" does not exist.', 55, $this->source); })()));
foreach ($context['_seq'] as $context["_key"] => $context["FaqListData"]) {
// line 56
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["FaqListData"], "id", [], "any", false, false, true, 56)]), "html", null, true);
echo "\"><i class=\"icon-help\"></i> ";
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["FaqListData"], "title", [], "any", false, false, true, 56), 56, $this->source), "html", null, true);
echo "</a>
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FaqListData'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 58
echo "
</div>
<div class=\"text-center mt-5\">
<a href=\"";
// line 62
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq");
echo "\" class=\"btn btn-outline-dark btn-lg py-3\">よくある質問一覧に戻る</a>
</div>
</main>
</div>
</div>
";
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
}
public function getTemplateName()
{
return "Faq/category.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 181 => 62, 175 => 58, 164 => 56, 160 => 55, 155 => 53, 150 => 51, 143 => 47, 139 => 46, 135 => 45, 129 => 41, 119 => 40, 101 => 37, 90 => 5, 87 => 34, 85 => 32, 83 => 31, 81 => 29, 79 => 28, 77 => 26, 75 => 25, 73 => 23, 71 => 22, 69 => 20, 67 => 19, 65 => 17, 63 => 16, 61 => 14, 59 => 13, 57 => 11, 55 => 10, 53 => 8, 51 => 7, 38 => 5,);
}
public function getSourceContext()
{
return new Source("{#
This file is part of EC-CUBE, Addition by INSPIRATION
#}
{% extends 'default_frame.twig' %}
{% set subtitle = CategoryData.title ~ ' | ' ~ title|replace({'/カテゴリー': ''}) %}
{% if CategoryData.id == 1 %}
{# 印刷について #}
{% set meta_description = 'オリジナルゴルフボールや製品の印刷方法、デザインの選び方、注意点など、印刷に関するよくある質問を解決します。理想のデザイン作成をサポートする情報を提供します。' %}
{% elseif CategoryData.id == 2 %}
{# お支払いについて #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品購入に関するお支払い方法、手続きの流れ、注意点など、よくある質問を解決します。スムーズなお支払いプロセスをサポートします。' %}
{% elseif CategoryData.id == 3 %}
{# キャンセル・返品 #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品のキャンセル・返品に関するよくある質問を解決します。手続き方法や条件を詳しくご説明し、安心してご利用いただけるサポートを提供します。' %}
{% elseif CategoryData.id == 4 %}
{# ご注文について #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品のご注文方法に関するよくある質問を解決します。注文手順や注意点、よくあるトラブルの対処法を詳しくご説明し、スムーズなご注文をサポートします。' %}
{% elseif CategoryData.id == 5 %}
{# デザインについて #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品デザインに関するよくある質問を解決します。デザインの作成方法、注意点、フォーマットに関する詳細を提供し、理想のデザイン作成をサポートします。' %}
{% elseif CategoryData.id == 6 %}
{# 配送について #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品の配送に関するよくある質問を解決します。配送方法、送料、配送時間、配送先変更など、配送に関する詳細情報を提供し、安心してご利用いただけるサポートを行います。' %}
{% elseif CategoryData.id == 7 %}
{# 持ち込みボールについて #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボール作成における持ち込みボールについてのよくある質問を解決します。持ち込みボールの取り扱いや注意点、適したボールの種類など、詳しい情報を提供します。' %}
{% elseif CategoryData.id == 15 %}
{# ポイントについて #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボール作成におけるポイント制度や特典に関するよくある質問を解決します。ポイントの使い方や獲得方法、注意点など、ポイントに関する詳細情報を提供します。' %}
{% elseif CategoryData.id == 16 %}
{# ラッピングについて #}
{% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品のラッピングサービスに関するよくある質問を解決します。ラッピングの種類、料金、オプションなど、ラッピングに関する詳細情報を提供し、大切なギフトを素敵に演出します。' %}
{% endif %}
{% block javascript %}
{% endblock javascript %}
{% block main %}
<div class=\"container\">
<!-- パンくずリスト -->
<nav aria-label=\"breadcrumb\" class=\"my-3\">
<ol class=\"breadcrumb\">
<li class=\"breadcrumb-item\"><a href=\"{{ url('homepage') }}\">ホーム</a></li>
<li class=\"breadcrumb-item\"><a href=\"{{ url('faq') }}\">よくある質問</a></li>
<li class=\"breadcrumb-item active\" aria-current=\"page\">{{ CategoryData.title }}</li>
</ol>
</nav>
<div class=\"layout-2colmun\">
{{ include('Block/aside_others.twig') }}
<main class=\"main\">
<h1 class=\"fw-bold mb-5\">{{ CategoryData.title }} | よくある質問</h1>
<div class=\"faq-list mb-5\">
{% for FaqListData in FaqListDatas %}
<a href=\"{{ url('faq_detail', {'id': FaqListData.id}) }}\"><i class=\"icon-help\"></i> {{ FaqListData.title }}</a>
{% endfor %}
</div>
<div class=\"text-center mt-5\">
<a href=\"{{ url('faq') }}\" class=\"btn btn-outline-dark btn-lg py-3\">よくある質問一覧に戻る</a>
</div>
</main>
</div>
</div>
{% endblock %}
", "Faq/category.twig", "/home/insp/insp.sixcore.jp/public_html/app/template/default/Faq/category.twig");
}
public function checkSecurity()
{
static $tags = array("set" => 7, "if" => 8, "for" => 55);
static $filters = array("replace" => 7, "escape" => 47);
static $functions = array("url" => 45, "include" => 51);
try {
$this->sandbox->checkSecurity(
['set', 'if', 'for'],
['replace', 'escape'],
['url', 'include']
);
} 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;
}
}
}