var/cache/dev/twig/33/33eee41ac5a1e91aa3bb3b0e66f42e9f.php line 91

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. /* Faq/category.twig */
  14. class __TwigTemplate_e2fc5d171e5a71115b37804af3837193 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->blocks = [
  23.             'javascript' => [$this'block_javascript'],
  24.             'main' => [$this'block_main'],
  25.         ];
  26.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  27.         $this->checkSecurity();
  28.     }
  29.     protected function doGetParent(array $context)
  30.     {
  31.         // line 5
  32.         return "default_frame.twig";
  33.     }
  34.     protected function doDisplay(array $context, array $blocks = [])
  35.     {
  36.         $macros $this->macros;
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Faq/category.twig"));
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Faq/category.twig"));
  41.         // line 7
  42.         $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"falsefalsetrue7), 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), ["/カテゴリー" => ""]));
  43.         // line 8
  44.         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"falsefalsetrue8) == 1)) {
  45.             // line 10
  46.             $context["meta_description"] = "オリジナルゴルフボールや製品の印刷方法、デザインの選び方、注意点など、印刷に関するよくある質問を解決します。理想のデザイン作成をサポートする情報を提供します。";
  47.         } elseif ((twig_get_attribute($this->env$this->source,         // line 11
  48. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'11$this->source); })()), "id", [], "any"falsefalsetrue11) == 2)) {
  49.             // line 13
  50.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品購入に関するお支払い方法、手続きの流れ、注意点など、よくある質問を解決します。スムーズなお支払いプロセスをサポートします。";
  51.         } elseif ((twig_get_attribute($this->env$this->source,         // line 14
  52. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'14$this->source); })()), "id", [], "any"falsefalsetrue14) == 3)) {
  53.             // line 16
  54.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品のキャンセル・返品に関するよくある質問を解決します。手続き方法や条件を詳しくご説明し、安心してご利用いただけるサポートを提供します。";
  55.         } elseif ((twig_get_attribute($this->env$this->source,         // line 17
  56. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'17$this->source); })()), "id", [], "any"falsefalsetrue17) == 4)) {
  57.             // line 19
  58.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品のご注文方法に関するよくある質問を解決します。注文手順や注意点、よくあるトラブルの対処法を詳しくご説明し、スムーズなご注文をサポートします。";
  59.         } elseif ((twig_get_attribute($this->env$this->source,         // line 20
  60. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'20$this->source); })()), "id", [], "any"falsefalsetrue20) == 5)) {
  61.             // line 22
  62.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品デザインに関するよくある質問を解決します。デザインの作成方法、注意点、フォーマットに関する詳細を提供し、理想のデザイン作成をサポートします。";
  63.         } elseif ((twig_get_attribute($this->env$this->source,         // line 23
  64. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'23$this->source); })()), "id", [], "any"falsefalsetrue23) == 6)) {
  65.             // line 25
  66.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品の配送に関するよくある質問を解決します。配送方法、送料、配送時間、配送先変更など、配送に関する詳細情報を提供し、安心してご利用いただけるサポートを行います。";
  67.         } elseif ((twig_get_attribute($this->env$this->source,         // line 26
  68. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'26$this->source); })()), "id", [], "any"falsefalsetrue26) == 7)) {
  69.             // line 28
  70.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボール作成における持ち込みボールについてのよくある質問を解決します。持ち込みボールの取り扱いや注意点、適したボールの種類など、詳しい情報を提供します。";
  71.         } elseif ((twig_get_attribute($this->env$this->source,         // line 29
  72. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'29$this->source); })()), "id", [], "any"falsefalsetrue29) == 15)) {
  73.             // line 31
  74.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボール作成におけるポイント制度や特典に関するよくある質問を解決します。ポイントの使い方や獲得方法、注意点など、ポイントに関する詳細情報を提供します。";
  75.         } elseif ((twig_get_attribute($this->env$this->source,         // line 32
  76. (isset($context["CategoryData"]) || array_key_exists("CategoryData"$context) ? $context["CategoryData"] : (function () { throw new RuntimeError('Variable "CategoryData" does not exist.'32$this->source); })()), "id", [], "any"falsefalsetrue32) == 16)) {
  77.             // line 34
  78.             $context["meta_description"] = "ゴルフプリントでのオリジナルゴルフボールや商品のラッピングサービスに関するよくある質問を解決します。ラッピングの種類、料金、オプションなど、ラッピングに関する詳細情報を提供し、大切なギフトを素敵に演出します。";
  79.         }
  80.         // line 5
  81.         $this->parent $this->loadTemplate("default_frame.twig""Faq/category.twig"5);
  82.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.         
  86.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  87.     }
  88.     // line 37
  89.     public function block_javascript($context, array $blocks = [])
  90.     {
  91.         $macros $this->macros;
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  93.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  95.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  96.         
  97.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  98.         
  99.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  100.     }
  101.     // line 40
  102.     public function block_main($context, array $blocks = [])
  103.     {
  104.         $macros $this->macros;
  105.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  106.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  107.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  108.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  109.         // line 41
  110.         echo "    <div class=\"container\">
  111.         <!-- パンくずリスト -->
  112.         <nav aria-label=\"breadcrumb\" class=\"my-3\">
  113.             <ol class=\"breadcrumb\">
  114.                 <li class=\"breadcrumb-item\"><a href=\"";
  115.         // line 45
  116.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  117.         echo "\">ホーム</a></li>
  118.                 <li class=\"breadcrumb-item\"><a href=\"";
  119.         // line 46
  120.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq");
  121.         echo "\">よくある質問</a></li>
  122.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  123.         // line 47
  124.         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"falsefalsetrue47), 47$this->source), "html"nulltrue);
  125.         echo "</li>
  126.             </ol>
  127.         </nav>
  128.         <div class=\"layout-2colmun\">
  129. ";
  130.         // line 51
  131.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/aside_others.twig");
  132.         echo "
  133.             <main class=\"main\">
  134.                 <h1 class=\"fw-bold mb-5\">";
  135.         // line 53
  136.         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"falsefalsetrue53), 53$this->source), "html"nulltrue);
  137.         echo " | よくある質問</h1>
  138.                 <div class=\"faq-list mb-5\">
  139. ";
  140.         // line 55
  141.         $context['_parent'] = $context;
  142.         $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); })()));
  143.         foreach ($context['_seq'] as $context["_key"] => $context["FaqListData"]) {
  144.             // line 56
  145.             echo "                    <a href=\"";
  146.             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"falsefalsetrue56)]), "html"nulltrue);
  147.             echo "\"><i class=\"icon-help\"></i> ";
  148.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["FaqListData"], "title", [], "any"falsefalsetrue56), 56$this->source), "html"nulltrue);
  149.             echo "</a>
  150. ";
  151.         }
  152.         $_parent $context['_parent'];
  153.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['FaqListData'], $context['_parent'], $context['loop']);
  154.         $context array_intersect_key($context$_parent) + $_parent;
  155.         // line 58
  156.         echo "
  157.                 </div>
  158.                 <div class=\"text-center mt-5\">
  159.                     <a href=\"";
  160.         // line 62
  161.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("faq");
  162.         echo "\" class=\"btn btn-outline-dark btn-lg py-3\">よくある質問一覧に戻る</a>
  163.                 </div>
  164.             </main>
  165.         </div>
  166.     </div>
  167. ";
  168.         
  169.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  170.         
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  172.     }
  173.     public function getTemplateName()
  174.     {
  175.         return "Faq/category.twig";
  176.     }
  177.     public function isTraitable()
  178.     {
  179.         return false;
  180.     }
  181.     public function getDebugInfo()
  182.     {
  183.         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,);
  184.     }
  185.     public function getSourceContext()
  186.     {
  187.         return new Source("{#
  188. This file is part of EC-CUBE, Addition by INSPIRATION
  189. #}
  190. {% extends 'default_frame.twig' %}
  191. {% set subtitle = CategoryData.title ~ ' | ' ~ title|replace({'/カテゴリー': ''}) %}
  192. {% if CategoryData.id == 1 %}
  193.     {# 印刷について #}
  194.     {% set meta_description = 'オリジナルゴルフボールや製品の印刷方法、デザインの選び方、注意点など、印刷に関するよくある質問を解決します。理想のデザイン作成をサポートする情報を提供します。' %}
  195. {% elseif CategoryData.id == 2 %}
  196.     {# お支払いについて #}
  197.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品購入に関するお支払い方法、手続きの流れ、注意点など、よくある質問を解決します。スムーズなお支払いプロセスをサポートします。' %}
  198. {% elseif CategoryData.id == 3 %}
  199.     {# キャンセル・返品 #}
  200.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品のキャンセル・返品に関するよくある質問を解決します。手続き方法や条件を詳しくご説明し、安心してご利用いただけるサポートを提供します。' %}
  201. {% elseif CategoryData.id == 4 %}
  202.     {# ご注文について #}
  203.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品のご注文方法に関するよくある質問を解決します。注文手順や注意点、よくあるトラブルの対処法を詳しくご説明し、スムーズなご注文をサポートします。' %}
  204. {% elseif CategoryData.id == 5 %}
  205.     {# デザインについて #}
  206.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品デザインに関するよくある質問を解決します。デザインの作成方法、注意点、フォーマットに関する詳細を提供し、理想のデザイン作成をサポートします。' %}
  207. {% elseif CategoryData.id == 6 %}
  208.     {# 配送について #}
  209.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品の配送に関するよくある質問を解決します。配送方法、送料、配送時間、配送先変更など、配送に関する詳細情報を提供し、安心してご利用いただけるサポートを行います。' %}
  210. {% elseif CategoryData.id == 7 %}
  211.     {# 持ち込みボールについて #}
  212.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボール作成における持ち込みボールについてのよくある質問を解決します。持ち込みボールの取り扱いや注意点、適したボールの種類など、詳しい情報を提供します。' %}
  213. {% elseif CategoryData.id == 15 %}
  214.     {# ポイントについて #}
  215.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボール作成におけるポイント制度や特典に関するよくある質問を解決します。ポイントの使い方や獲得方法、注意点など、ポイントに関する詳細情報を提供します。' %}
  216. {% elseif CategoryData.id == 16 %}
  217.     {# ラッピングについて #}
  218.     {% set meta_description = 'ゴルフプリントでのオリジナルゴルフボールや商品のラッピングサービスに関するよくある質問を解決します。ラッピングの種類、料金、オプションなど、ラッピングに関する詳細情報を提供し、大切なギフトを素敵に演出します。' %}
  219. {% endif %}
  220. {% block javascript %}
  221. {% endblock javascript %}
  222. {% block main %}
  223.     <div class=\"container\">
  224.         <!-- パンくずリスト -->
  225.         <nav aria-label=\"breadcrumb\" class=\"my-3\">
  226.             <ol class=\"breadcrumb\">
  227.                 <li class=\"breadcrumb-item\"><a href=\"{{ url('homepage') }}\">ホーム</a></li>
  228.                 <li class=\"breadcrumb-item\"><a href=\"{{ url('faq') }}\">よくある質問</a></li>
  229.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ CategoryData.title }}</li>
  230.             </ol>
  231.         </nav>
  232.         <div class=\"layout-2colmun\">
  233. {{ include('Block/aside_others.twig') }}
  234.             <main class=\"main\">
  235.                 <h1 class=\"fw-bold mb-5\">{{ CategoryData.title }} | よくある質問</h1>
  236.                 <div class=\"faq-list mb-5\">
  237. {% for FaqListData in FaqListDatas %}
  238.                     <a href=\"{{ url('faq_detail', {'id': FaqListData.id}) }}\"><i class=\"icon-help\"></i> {{ FaqListData.title }}</a>
  239. {% endfor %}
  240.                 </div>
  241.                 <div class=\"text-center mt-5\">
  242.                     <a href=\"{{ url('faq') }}\" class=\"btn btn-outline-dark btn-lg py-3\">よくある質問一覧に戻る</a>
  243.                 </div>
  244.             </main>
  245.         </div>
  246.     </div>
  247. {% endblock %}
  248. ""Faq/category.twig""/home/insp/insp.sixcore.jp/public_html/app/template/default/Faq/category.twig");
  249.     }
  250.     
  251.     public function checkSecurity()
  252.     {
  253.         static $tags = array("set" => 7"if" => 8"for" => 55);
  254.         static $filters = array("replace" => 7"escape" => 47);
  255.         static $functions = array("url" => 45"include" => 51);
  256.         try {
  257.             $this->sandbox->checkSecurity(
  258.                 ['set''if''for'],
  259.                 ['replace''escape'],
  260.                 ['url''include']
  261.             );
  262.         } catch (SecurityError $e) {
  263.             $e->setSourceContext($this->source);
  264.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  265.                 $e->setTemplateLine($tags[$e->getTagName()]);
  266.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  267.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  268.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  269.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  270.             }
  271.             throw $e;
  272.         }
  273.     }
  274. }