var/cache/dev/twig/c3/c387e42538cba23dfaf8b7eb8184e584.php line 42

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. /* CourcesManagerPlugin/Resource/template/default/detail.twig */
  14. class __TwigTemplate_42b8bb25a2c161daa3c93529c553a23c 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.             'stylesheet' => [$this'block_stylesheet'],
  24.             'javascript' => [$this'block_javascript'],
  25.             'main' => [$this'block_main'],
  26.         ];
  27.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""CourcesManagerPlugin/Resource/template/default/detail.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""CourcesManagerPlugin/Resource/template/default/detail.twig"));
  42.         // line 13
  43.         $context["body_class"] = "course_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""CourcesManagerPlugin/Resource/template/default/detail.twig"11);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62.     </style>
  63. ";
  64.         
  65.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  66.         
  67.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  68.     }
  69.     // line 20
  70.     public function block_javascript($context, array $blocks = [])
  71.     {
  72.         $macros $this->macros;
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  74.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  76.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  77.         // line 21
  78.         echo "    <script>
  79.     </script>
  80. ";
  81.         
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  83.         
  84.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  85.     }
  86.     // line 25
  87.     public function block_main($context, array $blocks = [])
  88.     {
  89.         $macros $this->macros;
  90.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  92.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  94.         // line 26
  95.         echo "    <section class=\"detail_wrap\">
  96.         <div class=\"detail_title\">
  97.             <span>";
  98.         // line 28
  99.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'28$this->source); })()), "name", [], "any"falsefalsetrue28), 28$this->source), "html"nulltrue);
  100.         echo "</span>
  101.         </div>
  102.         <div class=\"detail_car_type\">
  103.             ";
  104.         // line 31
  105.         echo twig_nl2br(twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'31$this->source); })()), "car_type", [], "any"falsefalsetrue31), 31$this->source), "html"nulltrue));
  106.         echo "
  107.         </div>
  108.         ";
  109.         // line 33
  110.         if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'33$this->source); })()), "description", [], "any"falsefalsetrue33)) {
  111.             // line 34
  112.             echo "            <div class=\"detail_description\">
  113.                 ";
  114.             // line 35
  115.             echo twig_nl2br(twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'35$this->source); })()), "description", [], "any"falsefalsetrue35), 35$this->source), "html"nulltrue));
  116.             echo "
  117.             </div>
  118.         ";
  119.         }
  120.         // line 38
  121.         echo "        ";
  122.         if ((twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'38$this->source); })()), "image_before1", [], "any"falsefalsetrue38) || twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'38$this->source); })()), "image_before2", [], "any"falsefalsetrue38))) {
  123.             // line 39
  124.             echo "            <div class=\"detail_image detail_image_before d-flex justify-content-center\">
  125.                 ";
  126.             // line 40
  127.             if ((twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'40$this->source); })()), "image_before1", [], "any"falsefalsetrue40) && twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'40$this->source); })()), "image_before2", [], "any"falsefalsetrue40))) {
  128.                 // line 41
  129.                 echo "                    <img src=\"";
  130.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'41$this->source); })()), "course_image_dir_default", [], "any"falsefalsetrue41), 41$this->source), "html"nulltrue);
  131.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'41$this->source); })()), "image_before1", [], "any"falsefalsetrue41), 41$this->source), "html"nulltrue);
  132.                 echo "\" width=\"100%\" alt=\"";
  133.                 echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'41$this->source); })()), "name", [], "any"falsefalsetrue41), 41$this->source) . "画像1"), "html"nulltrue);
  134.                 echo "\">
  135.                     <img src=\"";
  136.                 // line 42
  137.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'42$this->source); })()), "course_image_dir_default", [], "any"falsefalsetrue42), 42$this->source), "html"nulltrue);
  138.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'42$this->source); })()), "image_before2", [], "any"falsefalsetrue42), 42$this->source), "html"nulltrue);
  139.                 echo "\" width=\"100%\" alt=\"";
  140.                 echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'42$this->source); })()), "name", [], "any"falsefalsetrue42), 42$this->source) . "画像2"), "html"nulltrue);
  141.                 echo "\">
  142.                 ";
  143.             } else {
  144.                 // line 44
  145.                 echo "                    ";
  146.                 if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'44$this->source); })()), "image_before1", [], "any"falsefalsetrue44)) {
  147.                     // line 45
  148.                     echo "                        <img src=\"";
  149.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'45$this->source); })()), "course_image_dir_default", [], "any"falsefalsetrue45), 45$this->source), "html"nulltrue);
  150.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'45$this->source); })()), "image_before1", [], "any"falsefalsetrue45), 45$this->source), "html"nulltrue);
  151.                     echo "\" width=\"100%\" alt=\"";
  152.                     echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'45$this->source); })()), "name", [], "any"falsefalsetrue45), 45$this->source) . "画像1"), "html"nulltrue);
  153.                     echo "\">
  154.                     ";
  155.                 } elseif (twig_get_attribute($this->env$this->source,                 // line 46
  156. (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'46$this->source); })()), "image_before2", [], "any"falsefalsetrue46)) {
  157.                     // line 47
  158.                     echo "                        <img src=\"";
  159.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'47$this->source); })()), "course_image_dir_default", [], "any"falsefalsetrue47), 47$this->source), "html"nulltrue);
  160.                     echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'47$this->source); })()), "image_before2", [], "any"falsefalsetrue47), 47$this->source), "html"nulltrue);
  161.                     echo "\" width=\"100%\" alt=\"";
  162.                     echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'47$this->source); })()), "name", [], "any"falsefalsetrue47), 47$this->source) . "画像2"), "html"nulltrue);
  163.                     echo "\">
  164.                     ";
  165.                 }
  166.                 // line 49
  167.                 echo "                ";
  168.             }
  169.             // line 50
  170.             echo "            </div>
  171.         ";
  172.         }
  173.         // line 52
  174.         echo "        ";
  175.         if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'52$this->source); })()), "map", [], "any"falsefalsetrue52)) {
  176.             // line 53
  177.             echo "            <div class=\"mx-auto\">
  178.                 <div class=\"item_title\"><span>コース情報</span></div>
  179.                 <div class=\"item_table\">
  180.                     <table class=\"table table-bordered table-striped\">
  181.                         ";
  182.             // line 57
  183.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'57$this->source); })()), "length", [], "any"falsefalsetrue57)) {
  184.                 // line 58
  185.                 echo "                            <tr>
  186.                                 <th class=\"\">全長</th>
  187.                                 <td class=\"text-end\">";
  188.                 // line 60
  189.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'60$this->source); })()), "length", [], "any"falsefalsetrue60), 60$this->source), "html"nulltrue);
  190.                 echo " m</td>
  191.                             </tr>
  192.                         ";
  193.             }
  194.             // line 63
  195.             echo "                        ";
  196.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'63$this->source); })()), "straight", [], "any"falsefalsetrue63)) {
  197.                 // line 64
  198.                 echo "                            <tr>
  199.                                 <th class=\"\">最大直線長</th>
  200.                                 <td class=\"text-end\">";
  201.                 // line 66
  202.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'66$this->source); })()), "straight", [], "any"falsefalsetrue66), 66$this->source), "html"nulltrue);
  203.                 echo " m</td>
  204.                             </tr>
  205.                         ";
  206.             }
  207.             // line 69
  208.             echo "                        ";
  209.             if ( !(null === twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'69$this->source); })()), "height", [], "any"falsefalsetrue69))) {
  210.                 // line 70
  211.                 echo "                            <tr>
  212.                                 <th class=\"\">高低差</th>
  213.                                 <td class=\"text-end\">";
  214.                 // line 72
  215.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'72$this->source); })()), "height", [], "any"falsefalsetrue72), 72$this->source), "html"nulltrue);
  216.                 echo " m</td>
  217.                             </tr>
  218.                         ";
  219.             }
  220.             // line 75
  221.             echo "                        ";
  222.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'75$this->source); })()), "width", [], "any"falsefalsetrue75)) {
  223.                 // line 76
  224.                 echo "                            <tr>
  225.                                 <th class=\"\">走行路幅員</th>
  226.                                 <td class=\"text-end\">";
  227.                 // line 78
  228.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'78$this->source); })()), "width", [], "any"falsefalsetrue78), 78$this->source), "html"nulltrue);
  229.                 echo "</td>
  230.                             </tr>
  231.                         ";
  232.             }
  233.             // line 81
  234.             echo "                    </table>
  235.                 </div>
  236.                 <img src=\"";
  237.             // line 83
  238.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["eccube_config"]) || array_key_exists("eccube_config"$context) ? $context["eccube_config"] : (function () { throw new RuntimeError('Variable "eccube_config" does not exist.'83$this->source); })()), "course_image_dir_default", [], "any"falsefalsetrue83), 83$this->source), "html"nulltrue);
  239.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'83$this->source); })()), "map", [], "any"falsefalsetrue83), 83$this->source), "html"nulltrue);
  240.             echo "\" alt=\"";
  241.             echo twig_escape_filter($this->env, ($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'83$this->source); })()), "name", [], "any"falsefalsetrue83), 83$this->source) . "コース図"), "html"nulltrue);
  242.             echo "\" width=\"100%\">
  243.             </div>
  244.         ";
  245.         }
  246.         // line 86
  247.         echo "        
  248.         ";
  249.         // line 87
  250.         if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'87$this->source); })()), "license", [], "any"falsefalsetrue87)) {
  251.             // line 88
  252.             echo "            <div class=\"item_comment\">
  253.                 <div class=\"item_title\"><span>必要ライセンス</span></div>
  254.                 <div class=\"\">走行には、有効期限内の下記ライセンスの提示が必要です。</div>
  255.                 <div class=\"text-center my-4 text-danger\">
  256.                     <div class=\"\">";
  257.             // line 92
  258.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'92$this->source); })()), "license", [], "any"falsefalsetrue92), 92$this->source), "html"nulltrue);
  259.             echo "</div>
  260.                 </div>
  261.             </div>
  262.         ";
  263.         }
  264.         // line 96
  265.         echo "
  266.         ";
  267.         // line 97
  268.         if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'97$this->source); })()), "fee1", [], "any"falsefalsetrue97)) {
  269.             // line 98
  270.             echo "            <div class=\"fee_wrap\">
  271.                 <div class=\"item_title\"><span>走行料金</span></div>
  272.                 <div class=\"mb-4\">
  273.                     ";
  274.             // line 101
  275.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'101$this->source); })()), "fee1_title", [], "any"falsefalsetrue101)) {
  276.                 // line 102
  277.                 echo "                        <div class=\"fee_title\"><span>";
  278.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'102$this->source); })()), "fee1_title", [], "any"falsefalsetrue102), 102$this->source), "html"nulltrue);
  279.                 echo "</span></div>
  280.                     ";
  281.             }
  282.             // line 104
  283.             echo "                    <table class=\"table\">
  284.                         ";
  285.             // line 105
  286.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'105$this->source); })()), "fee1", [], "any"falsefalsetrue105), 105$this->source);
  287.             echo "
  288.                     </table>
  289.                 </div>
  290.                 ";
  291.             // line 108
  292.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'108$this->source); })()), "fee2", [], "any"falsefalsetrue108)) {
  293.                 // line 109
  294.                 echo "                    <div class=\"mb-4\">
  295.                         <table class=\"table\">
  296.                             ";
  297.                 // line 111
  298.                 echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'111$this->source); })()), "fee2", [], "any"falsefalsetrue111), 111$this->source);
  299.                 echo "
  300.                         </table>
  301.                     </div>
  302.                 ";
  303.             }
  304.             // line 115
  305.             echo "            </div>
  306.         ";
  307.         }
  308.         // line 117
  309.         echo "
  310.         ";
  311.         // line 118
  312.         if (((twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'118$this->source); })()), "comment1", [], "any"falsefalsetrue118) || twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'118$this->source); })()), "comment2", [], "any"falsefalsetrue118)) || twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'118$this->source); })()), "comment3", [], "any"falsefalsetrue118))) {
  313.             // line 119
  314.             echo "            <div class=\"item_comment\">
  315.                 <div class=\"item_title\"><span>注意事項</span></div>
  316.                 <div class=\"item_comment_data\">
  317.                     ";
  318.             // line 122
  319.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'122$this->source); })()), "comment1", [], "any"falsefalsetrue122)) {
  320.                 // line 123
  321.                 echo "                        <div class=\"\">・";
  322.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'123$this->source); })()), "comment1", [], "any"falsefalsetrue123), 123$this->source), "html"nulltrue);
  323.                 echo "</div>
  324.                     ";
  325.             }
  326.             // line 125
  327.             echo "                    ";
  328.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'125$this->source); })()), "comment2", [], "any"falsefalsetrue125)) {
  329.                 // line 126
  330.                 echo "                        <div class=\"\">・";
  331.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'126$this->source); })()), "comment2", [], "any"falsefalsetrue126), 126$this->source), "html"nulltrue);
  332.                 echo "</div>
  333.                     ";
  334.             }
  335.             // line 128
  336.             echo "                    ";
  337.             if (twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'128$this->source); })()), "comment3", [], "any"falsefalsetrue128)) {
  338.                 // line 129
  339.                 echo "                        <div class=\"\">・";
  340.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["course"]) || array_key_exists("course"$context) ? $context["course"] : (function () { throw new RuntimeError('Variable "course" does not exist.'129$this->source); })()), "comment3", [], "any"falsefalsetrue129), 129$this->source), "html"nulltrue);
  341.                 echo "</div>
  342.                     ";
  343.             }
  344.             // line 131
  345.             echo "                </div>
  346.             </div>
  347.         ";
  348.         }
  349.         // line 134
  350.         echo "
  351.         <div class=\"product_list\">
  352.             <div class=\"item_title\"><span>関連商品</span></div>
  353.             <div class=\"ec-newItemRole\">
  354.                 <div class=\"top_sales_ticket\">
  355.                     ";
  356.         // line 139
  357.         $context['_parent'] = $context;
  358.         $context['_seq'] = twig_ensure_traversable((isset($context["ticket"]) || array_key_exists("ticket"$context) ? $context["ticket"] : (function () { throw new RuntimeError('Variable "ticket" does not exist.'139$this->source); })()));
  359.         $context['loop'] = [
  360.           'parent' => $context['_parent'],
  361.           'index0' => 0,
  362.           'index'  => 1,
  363.           'first'  => true,
  364.         ];
  365.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  366.             $length count($context['_seq']);
  367.             $context['loop']['revindex0'] = $length 1;
  368.             $context['loop']['revindex'] = $length;
  369.             $context['loop']['length'] = $length;
  370.             $context['loop']['last'] = === $length;
  371.         }
  372.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  373.             // line 140
  374.             echo "                        <div class=\"top_sales_listItem\">
  375.                             <a href=\"";
  376.             // line 141
  377.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue141)]), "html"nulltrue);
  378.             echo "\">
  379.                                 <div class=\"img_wrap\">
  380.                                     <img src=\"";
  381.             // line 143
  382.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Customize\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue143), 143$this->source)), "save_image"), "html"nulltrue);
  383.             echo "\" alt=\"";
  384.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue143), 143$this->source), "html"nulltrue);
  385.             echo "\" ";
  386.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue143) > 5)) {
  387.                 echo " loading=\"lazy\"";
  388.             }
  389.             echo ">
  390.                                 </div>
  391.                                 <p class=\"ec-newItemRole__listItemTitle\">";
  392.             // line 145
  393.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue145), 145$this->source), "html"nulltrue);
  394.             echo "</p>
  395.                                 <p class=\"ec-newItemRole__listItemPrice\">
  396.                                 ";
  397.             // line 147
  398.             if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue147)) {
  399.                 // line 148
  400.                 echo "                                    ";
  401.                 if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue148) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue148))) {
  402.                     // line 149
  403.                     echo "                                        ";
  404.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue149), 149$this->source)), "html"nulltrue);
  405.                     echo "
  406.                                     ";
  407.                 } else {
  408.                     // line 151
  409.                     echo "                                        ";
  410.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue151), 151$this->source)), "html"nulltrue);
  411.                     echo " ~ ";
  412.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue151), 151$this->source)), "html"nulltrue);
  413.                     echo "
  414.                                     ";
  415.                 }
  416.                 // line 153
  417.                 echo "                                ";
  418.             } else {
  419.                 // line 154
  420.                 echo "                                    ";
  421.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue154), 154$this->source)), "html"nulltrue);
  422.                 echo "
  423.                                 ";
  424.             }
  425.             // line 156
  426.             echo "                                ";
  427.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("(税込)"), "html"nulltrue);
  428.             echo "</p>
  429.                             </a>
  430.                         </div>
  431.                     ";
  432.             ++$context['loop']['index0'];
  433.             ++$context['loop']['index'];
  434.             $context['loop']['first'] = false;
  435.             if (isset($context['loop']['length'])) {
  436.                 --$context['loop']['revindex0'];
  437.                 --$context['loop']['revindex'];
  438.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  439.             }
  440.         }
  441.         $_parent $context['_parent'];
  442.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  443.         $context array_intersect_key($context$_parent) + $_parent;
  444.         // line 160
  445.         echo "                </div>
  446.                 <div class=\"top_sales_driver\">
  447.                     ";
  448.         // line 162
  449.         $context['_parent'] = $context;
  450.         $context['_seq'] = twig_ensure_traversable((isset($context["drives"]) || array_key_exists("drives"$context) ? $context["drives"] : (function () { throw new RuntimeError('Variable "drives" does not exist.'162$this->source); })()));
  451.         $context['loop'] = [
  452.           'parent' => $context['_parent'],
  453.           'index0' => 0,
  454.           'index'  => 1,
  455.           'first'  => true,
  456.         ];
  457.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  458.             $length count($context['_seq']);
  459.             $context['loop']['revindex0'] = $length 1;
  460.             $context['loop']['revindex'] = $length;
  461.             $context['loop']['length'] = $length;
  462.             $context['loop']['last'] = === $length;
  463.         }
  464.         foreach ($context['_seq'] as $context["_key"] => $context["Product"]) {
  465.             // line 163
  466.             echo "                        <div class=\"top_sales_listItem\">
  467.                             <a href=\"";
  468.             // line 164
  469.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env$this->source$context["Product"], "id", [], "any"falsefalsetrue164)]), "html"nulltrue);
  470.             echo "\">
  471.                                 <div class=\"img_wrap\">
  472.                                     <img src=\"";
  473.             // line 166
  474.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Customize\Twig\Extension\EccubeExtension']->getNoImageProduct($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "main_list_image", [], "any"falsefalsetrue166), 166$this->source)), "save_image"), "html"nulltrue);
  475.             echo "\" width=\"100%\" alt=\"";
  476.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue166), 166$this->source), "html"nulltrue);
  477.             echo "\" ";
  478.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue166) > 5)) {
  479.                 echo " loading=\"lazy\"";
  480.             }
  481.             echo ">
  482.                                 </div>
  483.                                 <p class=\"ec-newItemRole__listItemTitle\">";
  484.             // line 168
  485.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "name", [], "any"falsefalsetrue168), 168$this->source), "html"nulltrue);
  486.             echo "</p>
  487.                                 <p class=\"ec-newItemRole__listItemPrice\">
  488.                                 ";
  489.             // line 170
  490.             if (twig_get_attribute($this->env$this->source$context["Product"], "hasProductClass", [], "any"falsefalsetrue170)) {
  491.                 // line 171
  492.                 echo "                                    ";
  493.                 if ((twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Min", [], "any"falsefalsetrue171) == twig_get_attribute($this->env$this->source$context["Product"], "getPrice02Max", [], "any"falsefalsetrue171))) {
  494.                     // line 172
  495.                     echo "                                        ";
  496.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue172), 172$this->source)), "html"nulltrue);
  497.                     echo "
  498.                                     ";
  499.                 } else {
  500.                     // line 174
  501.                     echo "                                        ";
  502.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue174), 174$this->source)), "html"nulltrue);
  503.                     echo " ~ ";
  504.                     echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMax", [], "any"falsefalsetrue174), 174$this->source)), "html"nulltrue);
  505.                     echo "
  506.                                     ";
  507.                 }
  508.                 // line 176
  509.                 echo "                                ";
  510.             } else {
  511.                 // line 177
  512.                 echo "                                    ";
  513.                 echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\EccubeExtension']->getPriceFilter($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["Product"], "getPrice02IncTaxMin", [], "any"falsefalsetrue177), 177$this->source)), "html"nulltrue);
  514.                 echo "
  515.                                 ";
  516.             }
  517.             // line 179
  518.             echo "                                ";
  519.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("(税込)"), "html"nulltrue);
  520.             echo "</p>
  521.                             </a>
  522.                         </div>
  523.                     ";
  524.             ++$context['loop']['index0'];
  525.             ++$context['loop']['index'];
  526.             $context['loop']['first'] = false;
  527.             if (isset($context['loop']['length'])) {
  528.                 --$context['loop']['revindex0'];
  529.                 --$context['loop']['revindex'];
  530.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  531.             }
  532.         }
  533.         $_parent $context['_parent'];
  534.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Product'], $context['_parent'], $context['loop']);
  535.         $context array_intersect_key($context$_parent) + $_parent;
  536.         // line 183
  537.         echo "                </div>
  538.             </div>
  539.         </div>
  540.     </section>
  541. ";
  542.         
  543.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  544.         
  545.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  546.     }
  547.     public function getTemplateName()
  548.     {
  549.         return "CourcesManagerPlugin/Resource/template/default/detail.twig";
  550.     }
  551.     public function isTraitable()
  552.     {
  553.         return false;
  554.     }
  555.     public function getDebugInfo()
  556.     {
  557.         return array (  561 => 183,  542 => 179,  536 => 177,  533 => 176,  525 => 174,  519 => 172,  516 => 171,  514 => 170,  509 => 168,  498 => 166,  493 => 164,  490 => 163,  473 => 162,  469 => 160,  450 => 156,  444 => 154,  441 => 153,  433 => 151,  427 => 149,  424 => 148,  422 => 147,  417 => 145,  406 => 143,  401 => 141,  398 => 140,  381 => 139,  374 => 134,  369 => 131,  363 => 129,  360 => 128,  354 => 126,  351 => 125,  345 => 123,  343 => 122,  338 => 119,  336 => 118,  333 => 117,  329 => 115,  322 => 111,  318 => 109,  316 => 108,  310 => 105,  307 => 104,  301 => 102,  299 => 101,  294 => 98,  292 => 97,  289 => 96,  282 => 92,  276 => 88,  274 => 87,  271 => 86,  262 => 83,  258 => 81,  252 => 78,  248 => 76,  245 => 75,  239 => 72,  235 => 70,  232 => 69,  226 => 66,  222 => 64,  219 => 63,  213 => 60,  209 => 58,  207 => 57,  201 => 53,  198 => 52,  194 => 50,  191 => 49,  182 => 47,  180 => 46,  172 => 45,  169 => 44,  161 => 42,  153 => 41,  151 => 40,  148 => 39,  145 => 38,  139 => 35,  136 => 34,  134 => 33,  129 => 31,  123 => 28,  119 => 26,  109 => 25,  97 => 21,  87 => 20,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  558.     }
  559.     public function getSourceContext()
  560.     {
  561.         return new Source("{#
  562. This file is part of EC-CUBE
  563. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  564. http://www.ec-cube.co.jp/
  565. For the full copyright and license information, please view the LICENSE
  566. file that was distributed with this source code.
  567. #}
  568. {% extends 'default_frame.twig' %}
  569. {% set body_class = 'course_page' %}
  570. {% block stylesheet %}
  571.     <style>
  572.     </style>
  573. {% endblock %}
  574. {% block javascript %}
  575.     <script>
  576.     </script>
  577. {% endblock javascript %}
  578. {% block main %}
  579.     <section class=\"detail_wrap\">
  580.         <div class=\"detail_title\">
  581.             <span>{{ course.name }}</span>
  582.         </div>
  583.         <div class=\"detail_car_type\">
  584.             {{ course.car_type|nl2br }}
  585.         </div>
  586.         {% if course.description %}
  587.             <div class=\"detail_description\">
  588.                 {{ course.description|nl2br }}
  589.             </div>
  590.         {% endif %}
  591.         {% if course.image_before1 or course.image_before2 %}
  592.             <div class=\"detail_image detail_image_before d-flex justify-content-center\">
  593.                 {% if course.image_before1 and course.image_before2 %}
  594.                     <img src=\"{{ eccube_config.course_image_dir_default }}{{ course.image_before1 }}\" width=\"100%\" alt=\"{{ course.name ~ '画像1'}}\">
  595.                     <img src=\"{{ eccube_config.course_image_dir_default }}{{ course.image_before2 }}\" width=\"100%\" alt=\"{{ course.name ~ '画像2'}}\">
  596.                 {% else %}
  597.                     {% if course.image_before1 %}
  598.                         <img src=\"{{ eccube_config.course_image_dir_default }}{{ course.image_before1 }}\" width=\"100%\" alt=\"{{ course.name ~ '画像1'}}\">
  599.                     {% elseif course.image_before2 %}
  600.                         <img src=\"{{ eccube_config.course_image_dir_default }}{{ course.image_before2 }}\" width=\"100%\" alt=\"{{ course.name ~ '画像2'}}\">
  601.                     {% endif %}
  602.                 {% endif %}
  603.             </div>
  604.         {% endif %}
  605.         {% if course.map %}
  606.             <div class=\"mx-auto\">
  607.                 <div class=\"item_title\"><span>コース情報</span></div>
  608.                 <div class=\"item_table\">
  609.                     <table class=\"table table-bordered table-striped\">
  610.                         {% if course.length %}
  611.                             <tr>
  612.                                 <th class=\"\">全長</th>
  613.                                 <td class=\"text-end\">{{ course.length }} m</td>
  614.                             </tr>
  615.                         {% endif %}
  616.                         {% if course.straight %}
  617.                             <tr>
  618.                                 <th class=\"\">最大直線長</th>
  619.                                 <td class=\"text-end\">{{ course.straight }} m</td>
  620.                             </tr>
  621.                         {% endif %}
  622.                         {% if course.height is not null %}
  623.                             <tr>
  624.                                 <th class=\"\">高低差</th>
  625.                                 <td class=\"text-end\">{{ course.height }} m</td>
  626.                             </tr>
  627.                         {% endif %}
  628.                         {% if course.width %}
  629.                             <tr>
  630.                                 <th class=\"\">走行路幅員</th>
  631.                                 <td class=\"text-end\">{{ course.width }}</td>
  632.                             </tr>
  633.                         {% endif %}
  634.                     </table>
  635.                 </div>
  636.                 <img src=\"{{ eccube_config.course_image_dir_default }}{{ course.map }}\" alt=\"{{ course.name ~ 'コース図'}}\" width=\"100%\">
  637.             </div>
  638.         {% endif %}
  639.         
  640.         {% if course.license %}
  641.             <div class=\"item_comment\">
  642.                 <div class=\"item_title\"><span>必要ライセンス</span></div>
  643.                 <div class=\"\">走行には、有効期限内の下記ライセンスの提示が必要です。</div>
  644.                 <div class=\"text-center my-4 text-danger\">
  645.                     <div class=\"\">{{ course.license }}</div>
  646.                 </div>
  647.             </div>
  648.         {% endif %}
  649.         {% if course.fee1 %}
  650.             <div class=\"fee_wrap\">
  651.                 <div class=\"item_title\"><span>走行料金</span></div>
  652.                 <div class=\"mb-4\">
  653.                     {% if course.fee1_title %}
  654.                         <div class=\"fee_title\"><span>{{ course.fee1_title }}</span></div>
  655.                     {% endif %}
  656.                     <table class=\"table\">
  657.                         {{ course.fee1|raw }}
  658.                     </table>
  659.                 </div>
  660.                 {% if course.fee2 %}
  661.                     <div class=\"mb-4\">
  662.                         <table class=\"table\">
  663.                             {{ course.fee2|raw }}
  664.                         </table>
  665.                     </div>
  666.                 {% endif %}
  667.             </div>
  668.         {% endif %}
  669.         {% if course.comment1 or course.comment2 or course.comment3 %}
  670.             <div class=\"item_comment\">
  671.                 <div class=\"item_title\"><span>注意事項</span></div>
  672.                 <div class=\"item_comment_data\">
  673.                     {% if course.comment1 %}
  674.                         <div class=\"\">・{{ course.comment1 }}</div>
  675.                     {% endif %}
  676.                     {% if course.comment2 %}
  677.                         <div class=\"\">・{{ course.comment2 }}</div>
  678.                     {% endif %}
  679.                     {% if course.comment3 %}
  680.                         <div class=\"\">・{{ course.comment3 }}</div>
  681.                     {% endif %}
  682.                 </div>
  683.             </div>
  684.         {% endif %}
  685.         <div class=\"product_list\">
  686.             <div class=\"item_title\"><span>関連商品</span></div>
  687.             <div class=\"ec-newItemRole\">
  688.                 <div class=\"top_sales_ticket\">
  689.                     {% for Product in ticket %}
  690.                         <div class=\"top_sales_listItem\">
  691.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  692.                                 <div class=\"img_wrap\">
  693.                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  694.                                 </div>
  695.                                 <p class=\"ec-newItemRole__listItemTitle\">{{ Product.name }}</p>
  696.                                 <p class=\"ec-newItemRole__listItemPrice\">
  697.                                 {% if Product.hasProductClass %}
  698.                                     {% if Product.getPrice02Min == Product.getPrice02Max %}
  699.                                         {{ Product.getPrice02IncTaxMin|price }}
  700.                                     {% else %}
  701.                                         {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  702.                                     {% endif %}
  703.                                 {% else %}
  704.                                     {{ Product.getPrice02IncTaxMin|price }}
  705.                                 {% endif %}
  706.                                 {{ '(税込)'|trans }}</p>
  707.                             </a>
  708.                         </div>
  709.                     {% endfor %}
  710.                 </div>
  711.                 <div class=\"top_sales_driver\">
  712.                     {% for Product in drives %}
  713.                         <div class=\"top_sales_listItem\">
  714.                             <a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
  715.                                 <div class=\"img_wrap\">
  716.                                     <img src=\"{{ asset(Product.main_list_image|no_image_product, 'save_image') }}\" width=\"100%\" alt=\"{{ Product.name }}\" {% if loop.index > 5 %} loading=\"lazy\"{% endif %}>
  717.                                 </div>
  718.                                 <p class=\"ec-newItemRole__listItemTitle\">{{ Product.name }}</p>
  719.                                 <p class=\"ec-newItemRole__listItemPrice\">
  720.                                 {% if Product.hasProductClass %}
  721.                                     {% if Product.getPrice02Min == Product.getPrice02Max %}
  722.                                         {{ Product.getPrice02IncTaxMin|price }}
  723.                                     {% else %}
  724.                                         {{ Product.getPrice02IncTaxMin|price }} ~ {{ Product.getPrice02IncTaxMax|price }}
  725.                                     {% endif %}
  726.                                 {% else %}
  727.                                     {{ Product.getPrice02IncTaxMin|price }}
  728.                                 {% endif %}
  729.                                 {{ '(税込)'|trans }}</p>
  730.                             </a>
  731.                         </div>
  732.                     {% endfor %}
  733.                 </div>
  734.             </div>
  735.         </div>
  736.     </section>
  737. {% endblock %}
  738. ""CourcesManagerPlugin/Resource/template/default/detail.twig""/home/meihansl/meihan-sl.com/public_html/app/Plugin/CourcesManagerPlugin/Resource/template/default/detail.twig");
  739.     }
  740.     
  741.     public function checkSecurity()
  742.     {
  743.         static $tags = array("set" => 13"if" => 33"for" => 139);
  744.         static $filters = array("escape" => 28"nl2br" => 31"raw" => 105"no_image_product" => 143"price" => 149"trans" => 156);
  745.         static $functions = array("url" => 141"asset" => 143);
  746.         try {
  747.             $this->sandbox->checkSecurity(
  748.                 ['set''if''for'],
  749.                 ['escape''nl2br''raw''no_image_product''price''trans'],
  750.                 ['url''asset']
  751.             );
  752.         } catch (SecurityError $e) {
  753.             $e->setSourceContext($this->source);
  754.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  755.                 $e->setTemplateLine($tags[$e->getTagName()]);
  756.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  757.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  758.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  759.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  760.             }
  761.             throw $e;
  762.         }
  763.     }
  764. }