var/cache/dev/twig/73/73e2863021b0e84087c154278d8421d2.php line 73

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. /* Case/index.twig */
  14. class __TwigTemplate_37127f44c332b57ed1251a61d3c516ff 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.             'main' => [$this'block_main'],
  24.         ];
  25.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doGetParent(array $context)
  29.     {
  30.         // line 5
  31.         return "default_frame.twig";
  32.     }
  33.     protected function doDisplay(array $context, array $blocks = [])
  34.     {
  35.         $macros $this->macros;
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  37.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Case/index.twig"));
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  39.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Case/index.twig"));
  40.         // line 7
  41.         if ((array_key_exists("SearchCategoryData"$context) &&  !twig_test_empty((isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'7$this->source); })())))) {
  42.             // line 8
  43.             $context["subtitle"] = (($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'8$this->source); })()), "title", [], "any"falsefalsetrue8), 8$this->source) . " | ") . $this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'8$this->source); })()), 8$this->source));
  44.             // line 9
  45.             if ((twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'9$this->source); })()), "id", [], "any"falsefalsetrue9) == 17)) {
  46.                 // line 10
  47.                 $context["meta_description"] = "ゴルフプリントが手掛けたオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください";
  48.             } else {
  49.                 // line 12
  50.                 $context["meta_description"] = (("ゴルフプリントが手掛けた" $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'12$this->source); })()), "title", [], "any"falsefalsetrue12), 12$this->source)) . "向けのオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください");
  51.             }
  52.             // line 15
  53.             if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->sourcetwig_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"falsefalsetrue15), "query", [], "any"falsefalsetrue15), "get", [=> "pageno"], "method"falsefalsetrue15) == 1)) {
  54.                 // line 16
  55.                 $context["meta_canonical"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case", ["category" => twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'16$this->source); })()), "id", [], "any"falsefalsetrue16)]);
  56.             } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source,             // line 17
  57. (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'17$this->source); })()), "paginationData", [], "any"falsefalsetrue17), "current", [], "any"falsefalsetrue17) > 1)) {
  58.                 // line 18
  59.                 $context["meta_canonical"] = $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case", ["category" => twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'18$this->source); })()), "id", [], "any"falsefalsetrue18), "pageno" => twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'18$this->source); })()), "paginationData", [], "any"falsefalsetrue18), "current", [], "any"falsefalsetrue18)]);
  60.             }
  61.         }
  62.         // line 5
  63.         $this->parent $this->loadTemplate("default_frame.twig""Case/index.twig"5);
  64.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.         
  68.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  69.     }
  70.     // line 22
  71.     public function block_main($context, array $blocks = [])
  72.     {
  73.         $macros $this->macros;
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  75.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  77.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  78.         // line 23
  79.         echo "    <div class=\"container\">
  80.         <!-- パンくずリスト -->
  81.         <nav aria-label=\"breadcrumb\" class=\"my-3\">
  82.             <ol class=\"breadcrumb\">
  83.                 <li class=\"breadcrumb-item\"><a href=\"";
  84.         // line 27
  85.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  86.         echo "\">ホーム</a></li>
  87. ";
  88.         // line 28
  89.         if (twig_test_empty((isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'28$this->source); })()))) {
  90.             // line 29
  91.             echo "                <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  92.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'29$this->source); })()), 29$this->source), "html"nulltrue);
  93.             echo "</li>
  94. ";
  95.         } else {
  96.             // line 31
  97.             echo "                <li class=\"breadcrumb-item\"><a href=\"";
  98.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case");
  99.             echo "\">";
  100.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'31$this->source); })()), 31$this->source), "html"nulltrue);
  101.             echo "</a></li>
  102.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">";
  103.             // line 32
  104.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'32$this->source); })()), "title", [], "any"falsefalsetrue32), 32$this->source), "html"nulltrue);
  105.             echo "</li>
  106. ";
  107.         }
  108.         // line 34
  109.         echo "            </ol>
  110.         </nav>
  111.         <div class=\"layout-2colmun\">
  112. ";
  113.         // line 37
  114.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"Block/aside_others.twig");
  115.         echo "
  116.             <main class=\"main\">
  117. ";
  118.         // line 39
  119.         if (twig_test_empty((isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'39$this->source); })()))) {
  120.             // line 40
  121.             echo "                <h1 class=\"fw-bold mb-5\">";
  122.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'40$this->source); })()), 40$this->source), "html"nulltrue);
  123.             echo "</h1>
  124. ";
  125.         } else {
  126.             // line 42
  127.             echo "                <h1 class=\"fw-bold mb-5\">";
  128.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["SearchCategoryData"]) || array_key_exists("SearchCategoryData"$context) ? $context["SearchCategoryData"] : (function () { throw new RuntimeError('Variable "SearchCategoryData" does not exist.'42$this->source); })()), "title", [], "any"falsefalsetrue42), 42$this->source), "html"nulltrue);
  129.             echo "|";
  130.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'42$this->source); })()), 42$this->source), "html"nulltrue);
  131.             echo "</h1>
  132. ";
  133.         }
  134.         // line 44
  135.         echo "                <div class=\"border mb-5\">
  136.                     <div class=\"row px-3 pt-3\">
  137.                         <p class=\"text-center fw-bold pt-3 _fs-4\">事例を絞り込む</p>
  138. ";
  139.         // line 47
  140.         $context['_parent'] = $context;
  141.         $context['_seq'] = twig_ensure_traversable((isset($context["CategoryDatas"]) || array_key_exists("CategoryDatas"$context) ? $context["CategoryDatas"] : (function () { throw new RuntimeError('Variable "CategoryDatas" does not exist.'47$this->source); })()));
  142.         foreach ($context['_seq'] as $context["_key"] => $context["CategoryData"]) {
  143.             // line 48
  144.             if (twig_in_filter(twig_get_attribute($this->env$this->source$context["CategoryData"], "id", [], "any"falsefalsetrue48), (isset($context["CheckCategory"]) || array_key_exists("CheckCategory"$context) ? $context["CheckCategory"] : (function () { throw new RuntimeError('Variable "CheckCategory" does not exist.'48$this->source); })()))) {
  145.                 // line 49
  146.                 if (((isset($context["SearchCategory"]) || array_key_exists("SearchCategory"$context) ? $context["SearchCategory"] : (function () { throw new RuntimeError('Variable "SearchCategory" does not exist.'49$this->source); })()) == twig_get_attribute($this->env$this->source$context["CategoryData"], "id", [], "any"falsefalsetrue49))) {
  147.                     // line 50
  148.                     echo "                        <div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"";
  149.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case");
  150.                     echo "?category=";
  151.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CategoryData"], "id", [], "any"falsefalsetrue50), 50$this->source), "html"nulltrue);
  152.                     echo "\" class=\"btn btn-outline-dark w-100 rounded-0 py-3 active\">";
  153.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CategoryData"], "title", [], "any"falsefalsetrue50), 50$this->source), "html"nulltrue);
  154.                     echo "</a></div>
  155. ";
  156.                 } else {
  157.                     // line 52
  158.                     echo "                        <div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"";
  159.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case");
  160.                     echo "?category=";
  161.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CategoryData"], "id", [], "any"falsefalsetrue52), 52$this->source), "html"nulltrue);
  162.                     echo "\" class=\"btn btn-outline-dark w-100 rounded-0 py-3\">";
  163.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CategoryData"], "title", [], "any"falsefalsetrue52), 52$this->source), "html"nulltrue);
  164.                     echo "</a></div>
  165. ";
  166.                 }
  167.             }
  168.         }
  169.         $_parent $context['_parent'];
  170.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CategoryData'], $context['_parent'], $context['loop']);
  171.         $context array_intersect_key($context$_parent) + $_parent;
  172.         // line 56
  173.         echo "                    </div>
  174.                 </div>
  175.                 <div class=\"row\">
  176. ";
  177.         // line 60
  178.         if ((twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'60$this->source); })()), "totalItemCount", [], "any"falsefalsetrue60) > 0)) {
  179.             // line 61
  180.             $context['_parent'] = $context;
  181.             $context['_seq'] = twig_ensure_traversable((isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'61$this->source); })()));
  182.             foreach ($context['_seq'] as $context["_key"] => $context["CaseData"]) {
  183.                 // line 62
  184.                 echo "                    <div class=\"col-6 col-lg-3 mb-4 adjust-height\">
  185.                         <div class=\"bg-secondary p-3 rounded caseheight\">
  186.                             <a href=\"";
  187.                 // line 64
  188.                 echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("case_detail", ["id" => twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue64)]), "html"nulltrue);
  189.                 echo "\" class=\"numbering-container\">
  190.                                 <div class=\"number\">";
  191.                 // line 65
  192.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue65), 65$this->source), "html"nulltrue);
  193.                 echo "</div>
  194.                                 <img src=\"/icms/user_data/image/Voice1/";
  195.                 // line 66
  196.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "thumbnail_gazo", [], "any"falsefalsetrue66), 66$this->source), "html"nulltrue);
  197.                 echo "\" class=\"img-fluid text-dark mb-3\" alt=\"";
  198.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "title", [], "any"falsefalsetrue66), 66$this->source), "html"nulltrue);
  199.                 echo "\" width=\"500\" height=\"500\">
  200.                                 <p class=\"text-center text-dark mb-1\">[NO.";
  201.                 // line 67
  202.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "id", [], "any"falsefalsetrue67), 67$this->source), "html"nulltrue);
  203.                 echo "]</p>
  204.                                 <p class=\"text-center text-dark mb-0\">";
  205.                 // line 68
  206.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["CaseData"], "title", [], "any"falsefalsetrue68), 68$this->source);
  207.                 echo "</p>
  208.                             </a>
  209.                         </div>
  210.                     </div>
  211. ";
  212.             }
  213.             $_parent $context['_parent'];
  214.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['CaseData'], $context['_parent'], $context['loop']);
  215.             $context array_intersect_key($context$_parent) + $_parent;
  216.             // line 73
  217.             echo "                    ";
  218.             $this->loadTemplate("pager_case.twig""Case/index.twig"73)->display(twig_array_merge($context, ["pages" => twig_get_attribute($this->env$this->source, (isset($context["pagination"]) || array_key_exists("pagination"$context) ? $context["pagination"] : (function () { throw new RuntimeError('Variable "pagination" does not exist.'73$this->source); })()), "paginationData", [], "any"falsefalsetrue73)]));
  219.         } else {
  220.             // line 75
  221.             echo "                        <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
  222.                             <div><span>";
  223.             // line 76
  224.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ただいま準備中です"), "html"nulltrue);
  225.             echo "</span></div>
  226.                         </div>
  227. ";
  228.         }
  229.         // line 79
  230.         echo "                </div>
  231.             </main>
  232.         </div>
  233.     </div>
  234. ";
  235.         
  236.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  237.         
  238.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  239.     }
  240.     public function getTemplateName()
  241.     {
  242.         return "Case/index.twig";
  243.     }
  244.     public function isTraitable()
  245.     {
  246.         return false;
  247.     }
  248.     public function getDebugInfo()
  249.     {
  250.         return array (  245 => 79,  239 => 76,  236 => 75,  232 => 73,  221 => 68,  217 => 67,  211 => 66,  207 => 65,  203 => 64,  199 => 62,  195 => 61,  193 => 60,  187 => 56,  172 => 52,  162 => 50,  160 => 49,  158 => 48,  154 => 47,  149 => 44,  141 => 42,  135 => 40,  133 => 39,  128 => 37,  123 => 34,  118 => 32,  111 => 31,  105 => 29,  103 => 28,  99 => 27,  93 => 23,  83 => 22,  72 => 5,  68 => 18,  66 => 17,  64 => 16,  62 => 15,  59 => 12,  56 => 10,  54 => 9,  52 => 8,  50 => 7,  37 => 5,);
  251.     }
  252.     public function getSourceContext()
  253.     {
  254.         return new Source("{#
  255. This file is part of EC-CUBE, Addition by INSPIRATION
  256. #}
  257. {% extends 'default_frame.twig' %}
  258. {% if SearchCategoryData is defined and SearchCategoryData is not empty %}
  259.     {% set subtitle = SearchCategoryData.title ~ ' | ' ~ title %}
  260.     {% if SearchCategoryData.id == 17 %}
  261.         {% set meta_description = 'ゴルフプリントが手掛けたオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください' %}
  262.     {% else %}
  263.         {% set meta_description = 'ゴルフプリントが手掛けた' ~ SearchCategoryData.title ~ '向けのオリジナルゴルフボール導入事例をご紹介。特別な節目を祝うためのカスタムデザインやギフトのアイデアを参考に、心に残るプレゼントを作成するヒントを得てください' %}
  264.     {% endif %}
  265.     {% if app.request.query.get('pageno') == 1 %}
  266.         {% set meta_canonical = url('case', { 'category': SearchCategoryData.id })   %}
  267.     {% elseif pagination.paginationData.current > 1 %}
  268.         {% set meta_canonical = url('case', { 'category': SearchCategoryData.id, 'pageno': pagination.paginationData.current })   %}
  269.     {% endif %}
  270. {% endif %}
  271. {% block main %}
  272.     <div class=\"container\">
  273.         <!-- パンくずリスト -->
  274.         <nav aria-label=\"breadcrumb\" class=\"my-3\">
  275.             <ol class=\"breadcrumb\">
  276.                 <li class=\"breadcrumb-item\"><a href=\"{{ url('homepage') }}\">ホーム</a></li>
  277. {% if SearchCategoryData is empty %}
  278.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ title }}</li>
  279. {% else %}
  280.                 <li class=\"breadcrumb-item\"><a href=\"{{ url('case') }}\">{{ title }}</a></li>
  281.                 <li class=\"breadcrumb-item active\" aria-current=\"page\">{{ SearchCategoryData.title }}</li>
  282. {% endif %}
  283.             </ol>
  284.         </nav>
  285.         <div class=\"layout-2colmun\">
  286. {{ include('Block/aside_others.twig') }}
  287.             <main class=\"main\">
  288. {% if SearchCategoryData is empty %}
  289.                 <h1 class=\"fw-bold mb-5\">{{ title }}</h1>
  290. {% else %}
  291.                 <h1 class=\"fw-bold mb-5\">{{ SearchCategoryData.title }}|{{ title }}</h1>
  292. {% endif %}
  293.                 <div class=\"border mb-5\">
  294.                     <div class=\"row px-3 pt-3\">
  295.                         <p class=\"text-center fw-bold pt-3 _fs-4\">事例を絞り込む</p>
  296. {% for CategoryData in CategoryDatas %}
  297. {% if CategoryData.id in CheckCategory %}
  298. {% if SearchCategory == CategoryData.id %}
  299.                         <div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"{{ url('case') }}?category={{ CategoryData.id }}\" class=\"btn btn-outline-dark w-100 rounded-0 py-3 active\">{{ CategoryData.title }}</a></div>
  300. {% else %}
  301.                         <div class=\"col-6 col-sm-4 col-md-3 mb-3\"><a href=\"{{ url('case') }}?category={{ CategoryData.id }}\" class=\"btn btn-outline-dark w-100 rounded-0 py-3\">{{ CategoryData.title }}</a></div>
  302. {% endif %}
  303. {% endif %}
  304. {% endfor %}
  305.                     </div>
  306.                 </div>
  307.                 <div class=\"row\">
  308. {% if pagination.totalItemCount > 0 %}
  309. {% for CaseData in pagination %}
  310.                     <div class=\"col-6 col-lg-3 mb-4 adjust-height\">
  311.                         <div class=\"bg-secondary p-3 rounded caseheight\">
  312.                             <a href=\"{{ url('case_detail', {'id': CaseData.id}) }}\" class=\"numbering-container\">
  313.                                 <div class=\"number\">{{ CaseData.id }}</div>
  314.                                 <img src=\"/icms/user_data/image/Voice1/{{ CaseData.thumbnail_gazo }}\" class=\"img-fluid text-dark mb-3\" alt=\"{{ CaseData.title }}\" width=\"500\" height=\"500\">
  315.                                 <p class=\"text-center text-dark mb-1\">[NO.{{ CaseData.id }}]</p>
  316.                                 <p class=\"text-center text-dark mb-0\">{{ CaseData.title|raw }}</p>
  317.                             </a>
  318.                         </div>
  319.                     </div>
  320. {% endfor %}
  321.                     {% include \"pager_case.twig\" with {'pages': pagination.paginationData} %}
  322. {% else %}
  323.                         <div class=\"d-flex justify-content-between mb-4 border-bottom py-3 align-items-center flex-column flex-md-row\">
  324.                             <div><span>{{ 'ただいま準備中です'|trans }}</span></div>
  325.                         </div>
  326. {% endif %}
  327.                 </div>
  328.             </main>
  329.         </div>
  330.     </div>
  331. {% endblock %}""Case/index.twig""/home/insp/insp.sixcore.jp/public_html/app/template/default/Case/index.twig");
  332.     }
  333.     
  334.     public function checkSecurity()
  335.     {
  336.         static $tags = array("if" => 7"set" => 8"for" => 47"include" => 73);
  337.         static $filters = array("escape" => 29"raw" => 68"trans" => 76);
  338.         static $functions = array("url" => 16"include" => 37);
  339.         try {
  340.             $this->sandbox->checkSecurity(
  341.                 ['if''set''for''include'],
  342.                 ['escape''raw''trans'],
  343.                 ['url''include']
  344.             );
  345.         } catch (SecurityError $e) {
  346.             $e->setSourceContext($this->source);
  347.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  348.                 $e->setTemplateLine($tags[$e->getTagName()]);
  349.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  350.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  351.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  352.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  353.             }
  354.             throw $e;
  355.         }
  356.     }
  357. }