var/cache/dev/twig/b8/b8b5be52b404e85022a281e8599312a5.php line 38

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. /* default_frame.twig */
  14. class __TwigTemplate_cf46f242d5de901646b053254dbb3561 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->parent false;
  23.         $this->blocks = [
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'main' => [$this'block_main'],
  26.             'javascript' => [$this'block_javascript'],
  27.         ];
  28.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  29.         $this->checkSecurity();
  30.     }
  31.     protected function doDisplay(array $context, array $blocks = [])
  32.     {
  33.         $macros $this->macros;
  34.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  36.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  38.         // line 1
  39.         echo "<!DOCTYPE html>
  40. ";
  41.         // line 6
  42.         echo "<html lang=\"";
  43.         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.'6$this->source); })()), "locale", [], "any"falsefalsetrue6), 6$this->source), "html"nulltrue);
  44.         echo "\">
  45. <head>
  46.     <meta charset=\"UTF-8\">
  47.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  48.     <meta name=\"eccube-csrf-token\" content=\"";
  49.         // line 10
  50.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  51.         echo "\">
  52. ";
  53.         // line 11
  54.         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.'11$this->source); })()), "request", [], "any"falsefalsetrue11), "attributes", [], "any"falsefalsetrue11), "get", [=> "_route"], "method"falsefalsetrue11) == "homepage")) {
  55.             // line 12
  56.             echo "    <title>";
  57.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'12$this->source); })()), "shop_name", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  58.             echo "</title>
  59. ";
  60.         } else {
  61.             // line 14
  62.             echo "    <title>";
  63.             if ((array_key_exists("subtitle"$context) &&  !twig_test_empty((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'14$this->source); })())))) {
  64.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["subtitle"]) || array_key_exists("subtitle"$context) ? $context["subtitle"] : (function () { throw new RuntimeError('Variable "subtitle" does not exist.'14$this->source); })()), 14$this->source), "html"nulltrue);
  65.                 echo " | ";
  66.             } elseif ((array_key_exists("title"$context) &&  !twig_test_empty((isset($context["title"]) || array_key_exists("title"$context) ? $context["title"] : (function () { throw new RuntimeError('Variable "title" does not exist.'14$this->source); })())))) {
  67.                 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.'14$this->source); })()), 14$this->source), "html"nulltrue);
  68.                 echo " | ";
  69.             }
  70.             echo "ゴルフプリント</title>
  71. ";
  72.         }
  73.         // line 16
  74.         echo "    ";
  75.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'16$this->source); })()), "meta_tags", [], "any"falsefalsetrue16))) {
  76.             // line 17
  77.             echo "        ";
  78.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$contexttwig_template_from_string($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'17$this->source); })()), "meta_tags", [], "any"falsefalsetrue17), 17$this->source)), array(), truefalsetrue);
  79.             echo "
  80.         ";
  81.             // line 18
  82.             if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'18$this->source); })()), "description", [], "any"falsefalsetrue18))) {
  83.                 // line 19
  84.                 echo "            <meta name=\"description\" content=\"";
  85.                 echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'19$this->source); })()), "description", [], "any"falsefalsetrue19), 19$this->source), "html"nulltrue);
  86.                 echo "\">
  87.         ";
  88.             }
  89.             // line 21
  90.             echo "    ";
  91.         } else {
  92.             // line 22
  93.             echo "        ";
  94.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"meta.twig");
  95.             echo "
  96.     ";
  97.         }
  98.         // line 24
  99.         echo "    ";
  100.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'24$this->source); })()), "author", [], "any"falsefalsetrue24))) {
  101.             // line 25
  102.             echo "        <meta name=\"author\" content=\"";
  103.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'25$this->source); })()), "author", [], "any"falsefalsetrue25), 25$this->source), "html"nulltrue);
  104.             echo "\">
  105.     ";
  106.         }
  107.         // line 27
  108.         echo "    ";
  109.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'27$this->source); })()), "keyword", [], "any"falsefalsetrue27))) {
  110.             // line 28
  111.             echo "        <meta name=\"keywords\" content=\"";
  112.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'28$this->source); })()), "keyword", [], "any"falsefalsetrue28), 28$this->source), "html"nulltrue);
  113.             echo "\">
  114.     ";
  115.         }
  116.         // line 30
  117.         echo "    ";
  118.         if ( !twig_test_empty(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'30$this->source); })()), "meta_robots", [], "any"falsefalsetrue30))) {
  119.             // line 31
  120.             echo "        <meta name=\"robots\" content=\"";
  121.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["Page"]) || array_key_exists("Page"$context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.'31$this->source); })()), "meta_robots", [], "any"falsefalsetrue31), 31$this->source), "html"nulltrue);
  122.             echo "\">
  123.     ";
  124.         }
  125.         // line 33
  126.         echo "    <link rel=\"icon\" href=\"";
  127.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico""user_data"), "html"nulltrue);
  128.         echo "\">
  129.     <!-- Common CSS -->
  130.     <link rel=\"stylesheet\" href=\"";
  131.         // line 35
  132.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/original.min.css"), "html"nulltrue);
  133.         echo "\">
  134. ";
  135.         // line 36
  136.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"css.twig");
  137.         echo "
  138.     <script src=\"";
  139.         // line 37
  140.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  141.         echo "\"></script>
  142.     ";
  143.         // line 38
  144.         $this->displayBlock('stylesheet'$context$blocks);
  145.         // line 39
  146.         echo "    <style type=\"text/css\">
  147.         .ec-debugModeAlert {
  148.             background: red;
  149.             height: 50px;
  150.             position: fixed;
  151.             top: 0;
  152.             width: 100%;
  153.             color: white;
  154.             z-index: 9999;
  155.             display: flex;
  156.             font-weight: bold;
  157.         }
  158.         .ec-debugModeAlert .ec-debugModeAlert__icon {
  159.             display: inline-block;
  160.             margin-right: 1rem;
  161.             width: 20px;
  162.             height: 20px;
  163.             color: #fff;
  164.             fill: #fff;
  165.             vertical-align: top;
  166.         }
  167.     </style>
  168.     <script>
  169.         \$(function() {
  170.             \$.ajaxSetup({
  171.                 'headers': {
  172.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  173.                 }
  174.             });
  175.         });
  176.     </script>
  177.     ";
  178.         // line 72
  179.         echo "    ";
  180.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'72$this->source); })()), "Head", [], "any"falsefalsetrue72)) {
  181.             // line 73
  182.             echo "        ";
  183.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'73$this->source); })()), "Head", [], "any"falsefalsetrue73)]);
  184.             echo "
  185.     ";
  186.         }
  187.         // line 75
  188.         echo "    ";
  189.         // line 76
  190.         echo "    ";
  191.         if (array_key_exists("plugin_assets"$context)) {
  192.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"@admin/snippet.twig", ["snippets" => (isset($context["plugin_assets"]) || array_key_exists("plugin_assets"$context) ? $context["plugin_assets"] : (function () { throw new RuntimeError('Variable "plugin_assets" does not exist.'76$this->source); })())]);
  193.         }
  194.         // line 77
  195.         echo "</head>
  196. <body>
  197. ";
  198.         // line 94
  199.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'94$this->source); })()), "BodyAfter", [], "any"falsefalsetrue94)) {
  200.             // line 95
  201.             echo "    ";
  202.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'95$this->source); })()), "BodyAfter", [], "any"falsefalsetrue95)]);
  203.             echo "
  204. ";
  205.         }
  206.         // line 97
  207.         echo "
  208. ";
  209.         // line 133
  210.         echo "    ";
  211.         // line 134
  212.         echo "    ";
  213.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'134$this->source); })()), "Header", [], "any"falsefalsetrue134)) {
  214.             // line 135
  215.             echo "        ";
  216.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'135$this->source); })()), "Header", [], "any"falsefalsetrue135)]);
  217.             echo "
  218.     ";
  219.         }
  220.         // line 137
  221.         echo "
  222.     ";
  223.         // line 139
  224.         echo "    ";
  225.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'139$this->source); })()), "ContentsTop", [], "any"falsefalsetrue139)) {
  226.             // line 140
  227.             echo "            ";
  228.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'140$this->source); })()), "ContentsTop", [], "any"falsefalsetrue140)]);
  229.             echo "
  230.     ";
  231.         }
  232.         // line 142
  233.         echo "
  234.         ";
  235.         // line 144
  236.         echo "        ";
  237.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'144$this->source); })()), "SideLeft", [], "any"falsefalsetrue144)) {
  238.             // line 145
  239.             echo "                ";
  240.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'145$this->source); })()), "SideLeft", [], "any"falsefalsetrue145)]);
  241.             echo "
  242.         ";
  243.         }
  244.         // line 147
  245.         echo "
  246.         ";
  247.         // line 148
  248.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  249.         // line 149
  250.         echo "        ";
  251.         if ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'149$this->source); })()), "ColumnNum", [], "any"falsefalsetrue149) == 2)) {
  252.             // line 150
  253.             echo "            ";
  254.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  255.             // line 151
  256.             echo "        ";
  257.         } elseif ((twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'151$this->source); })()), "ColumnNum", [], "any"falsefalsetrue151) == 3)) {
  258.             // line 152
  259.             echo "            ";
  260.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  261.             // line 153
  262.             echo "        ";
  263.         }
  264.         // line 154
  265.         echo "
  266.             ";
  267.         // line 156
  268.         echo "            ";
  269.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'156$this->source); })()), "MainTop", [], "any"falsefalsetrue156)) {
  270.             // line 157
  271.             echo "                    ";
  272.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'157$this->source); })()), "MainTop", [], "any"falsefalsetrue157)]);
  273.             echo "
  274.             ";
  275.         }
  276.         // line 159
  277.         echo "
  278.             ";
  279.         // line 161
  280.         echo "            ";
  281.         $this->displayBlock('main'$context$blocks);
  282.         // line 162
  283.         echo "
  284.             ";
  285.         // line 164
  286.         echo "            ";
  287.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'164$this->source); })()), "MainBottom", [], "any"falsefalsetrue164)) {
  288.             // line 165
  289.             echo "                    ";
  290.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'165$this->source); })()), "MainBottom", [], "any"falsefalsetrue165)]);
  291.             echo "
  292.             ";
  293.         }
  294.         // line 167
  295.         echo "
  296.         ";
  297.         // line 169
  298.         echo "        ";
  299.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'169$this->source); })()), "SideRight", [], "any"falsefalsetrue169)) {
  300.             // line 170
  301.             echo "                ";
  302.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'170$this->source); })()), "SideRight", [], "any"falsefalsetrue170)]);
  303.             echo "
  304.         ";
  305.         }
  306.         // line 172
  307.         echo "
  308.     ";
  309.         // line 174
  310.         echo "    ";
  311.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'174$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue174)) {
  312.             // line 175
  313.             echo "            ";
  314.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'175$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue175)]);
  315.             echo "
  316.     ";
  317.         }
  318.         // line 177
  319.         echo "
  320.     ";
  321.         // line 179
  322.         echo "    ";
  323.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'179$this->source); })()), "Footer", [], "any"falsefalsetrue179)) {
  324.             // line 180
  325.             echo "        ";
  326.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'180$this->source); })()), "Footer", [], "any"falsefalsetrue180)]);
  327.             echo "
  328.     ";
  329.         }
  330.         // line 182
  331.         echo "
  332.     ";
  333.         // line 184
  334.         echo "    ";
  335.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'184$this->source); })()), "Drawer", [], "any"falsefalsetrue184)) {
  336.             // line 185
  337.             echo "<div class=\"drawerRole\">
  338.         ";
  339.             // line 186
  340.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'186$this->source); })()), "Drawer", [], "any"falsefalsetrue186)]);
  341.             echo "
  342. </div>
  343.     ";
  344.         }
  345.         // line 189
  346.         echo "
  347. <!-- Common JS -->
  348. <script src=\"//cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p\" crossorigin=\"anonymous\"></script>
  349. <script src=\"";
  350.         // line 192
  351.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/common.min.js"), "html"nulltrue);
  352.         echo "\"></script>
  353. ";
  354.         // line 193
  355.         $this->loadTemplate("@common/lang.twig""default_frame.twig"193)->display($context);
  356.         // line 194
  357.         echo "<script src=\"";
  358.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  359.         echo "\"></script>
  360. <script src=\"";
  361.         // line 195
  362.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  363.         echo "\"></script>
  364. ";
  365.         // line 196
  366.         echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"javascript.twig");
  367.         echo "
  368. ";
  369.         // line 197
  370.         $this->displayBlock('javascript'$context$blocks);
  371.         // line 199
  372.         if (twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'199$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue199)) {
  373.             // line 200
  374.             echo "    ";
  375.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"block.twig", ["Blocks" => twig_get_attribute($this->env$this->source, (isset($context["Layout"]) || array_key_exists("Layout"$context) ? $context["Layout"] : (function () { throw new RuntimeError('Variable "Layout" does not exist.'200$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue200)]);
  376.             echo "
  377. ";
  378.         }
  379.         // line 203
  380.         if (array_key_exists("plugin_snippets"$context)) {
  381.             // line 204
  382.             echo "    ";
  383.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"snippet.twig", ["snippets" => (isset($context["plugin_snippets"]) || array_key_exists("plugin_snippets"$context) ? $context["plugin_snippets"] : (function () { throw new RuntimeError('Variable "plugin_snippets" does not exist.'204$this->source); })())]);
  384.             echo "
  385. ";
  386.         }
  387.         // line 206
  388.         echo "
  389. </body>
  390. </html>";
  391.         
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393.         
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  395.     }
  396.     // line 38
  397.     public function block_stylesheet($context, array $blocks = [])
  398.     {
  399.         $macros $this->macros;
  400.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  401.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  402.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  403.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  404.         
  405.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  406.         
  407.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  408.     }
  409.     // line 161
  410.     public function block_main($context, array $blocks = [])
  411.     {
  412.         $macros $this->macros;
  413.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  414.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  415.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  416.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  417.         
  418.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  419.         
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  421.     }
  422.     // line 197
  423.     public function block_javascript($context, array $blocks = [])
  424.     {
  425.         $macros $this->macros;
  426.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  428.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  429.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  430.         
  431.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  432.         
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  434.     }
  435.     public function getTemplateName()
  436.     {
  437.         return "default_frame.twig";
  438.     }
  439.     public function isTraitable()
  440.     {
  441.         return false;
  442.     }
  443.     public function getDebugInfo()
  444.     {
  445.         return array (  446 => 197,  428 => 161,  410 => 38,  398 => 206,  392 => 204,  390 => 203,  384 => 200,  382 => 199,  380 => 197,  376 => 196,  372 => 195,  367 => 194,  365 => 193,  361 => 192,  356 => 189,  350 => 186,  347 => 185,  344 => 184,  341 => 182,  335 => 180,  332 => 179,  329 => 177,  323 => 175,  320 => 174,  317 => 172,  311 => 170,  308 => 169,  305 => 167,  299 => 165,  296 => 164,  293 => 162,  290 => 161,  287 => 159,  281 => 157,  278 => 156,  275 => 154,  272 => 153,  269 => 152,  266 => 151,  263 => 150,  260 => 149,  258 => 148,  255 => 147,  249 => 145,  246 => 144,  243 => 142,  237 => 140,  234 => 139,  231 => 137,  225 => 135,  222 => 134,  220 => 133,  217 => 97,  211 => 95,  209 => 94,  205 => 77,  200 => 76,  198 => 75,  192 => 73,  189 => 72,  155 => 39,  153 => 38,  149 => 37,  145 => 36,  141 => 35,  135 => 33,  129 => 31,  126 => 30,  120 => 28,  117 => 27,  111 => 25,  108 => 24,  102 => 22,  99 => 21,  93 => 19,  91 => 18,  86 => 17,  83 => 16,  71 => 14,  65 => 12,  63 => 11,  59 => 10,  51 => 6,  48 => 1,);
  446.     }
  447.     public function getSourceContext()
  448.     {
  449.         return new Source("<!DOCTYPE html>
  450. {#
  451. This file is part of EC-CUBE, Overwrite by INSPIRATION
  452. #}
  453. <html lang=\"{{ eccube_config.locale }}\">
  454. <head>
  455.     <meta charset=\"UTF-8\">
  456.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1.0\">
  457.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  458. {% if app.request.attributes.get('_route') == 'homepage' %}
  459.     <title>{{ BaseInfo.shop_name }}</title>
  460. {% else %}
  461.     <title>{% if subtitle is defined and subtitle is not empty %}{{ subtitle }} | {% elseif title is defined and title is not empty %}{{ title }} | {% endif %}ゴルフプリント</title>
  462. {% endif %}
  463.     {% if Page.meta_tags is not empty %}
  464.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  465.         {% if Page.description is not empty %}
  466.             <meta name=\"description\" content=\"{{ Page.description }}\">
  467.         {% endif %}
  468.     {% else %}
  469.         {{ include('meta.twig') }}
  470.     {% endif %}
  471.     {% if Page.author is not empty %}
  472.         <meta name=\"author\" content=\"{{ Page.author }}\">
  473.     {% endif %}
  474.     {% if Page.keyword is not empty %}
  475.         <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  476.     {% endif %}
  477.     {% if Page.meta_robots is not empty %}
  478.         <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  479.     {% endif %}
  480.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
  481.     <!-- Common CSS -->
  482.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/original.min.css') }}\">
  483. {{ include('css.twig') }}
  484.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  485.     {% block stylesheet %}{% endblock %}
  486.     <style type=\"text/css\">
  487.         .ec-debugModeAlert {
  488.             background: red;
  489.             height: 50px;
  490.             position: fixed;
  491.             top: 0;
  492.             width: 100%;
  493.             color: white;
  494.             z-index: 9999;
  495.             display: flex;
  496.             font-weight: bold;
  497.         }
  498.         .ec-debugModeAlert .ec-debugModeAlert__icon {
  499.             display: inline-block;
  500.             margin-right: 1rem;
  501.             width: 20px;
  502.             height: 20px;
  503.             color: #fff;
  504.             fill: #fff;
  505.             vertical-align: top;
  506.         }
  507.     </style>
  508.     <script>
  509.         \$(function() {
  510.             \$.ajaxSetup({
  511.                 'headers': {
  512.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  513.                 }
  514.             });
  515.         });
  516.     </script>
  517.     {# Layout: HEAD #}
  518.     {% if Layout.Head %}
  519.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  520.     {% endif %}
  521.     {# プラグイン用styleseetやmetatagなど #}
  522.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  523. </head>
  524. <body>
  525. {#
  526.     <!--▼googleAnalytics-->
  527.     <script>
  528.       (function(i,s,o,g,r,a,m){i['GoogleAnalyticsObject']=r;i[r]=i[r]||function(){
  529.       (i[r].q=i[r].q||[]).push(arguments)},i[r].l=1*new Date();a=s.createElement(o),
  530.       m=s.getElementsByTagName(o)[0];a.async=1;a.src=g;m.parentNode.insertBefore(a,m)
  531.       })(window,document,'script','//www.google-analytics.com/analytics.js','ga');
  532.       ga('create', 'UA-46462729-1', 'golfprint.jp');
  533.       ga('send', 'pageview');
  534.     </script>
  535.     <!--▲googleAnalytics-->
  536. #}
  537. {# Layout: BODY_AFTER #}
  538. {% if Layout.BodyAfter %}
  539.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  540. {% endif %}
  541. {#
  542. {%  if isMaintenance is defined and isMaintenance and isDebugMode %}
  543.     <dev class=\"ec-twoModeAlert\">
  544.         <div class=\"ec-maintenanceAlert\">
  545.             <div>
  546.                 <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  547.                 {{ 'メンテナンスモードが有効になっています。'|trans }}
  548.             </div>
  549.         </div>
  550.         <div class=\"ec-debugModeAlert bg-danger\">
  551.             <div>
  552.                 <div class=\"ec-debugModeAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  553.                 {{ 'デバッグモードが有効になっています。'|trans }}
  554.             </div>
  555.         </div>
  556.     </dev>
  557. {%  else %}
  558.     {% if isMaintenance %}
  559.         <div class=\"ec-maintenanceAlert\">
  560.             <div>
  561.                 <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  562.                 {{ 'メンテナンスモードが有効になっています。'|trans }}
  563.             </div>
  564.         </div>
  565.     {% endif %}
  566.     {% if isDebugMode %}
  567.         <div class=\"ec-debugModeAlert bg-danger\">
  568.             <div>
  569.                 <div class=\"ec-debugModeAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  570.                 {{ 'デバッグモードが有効になっています。'|trans }}
  571.             </div>
  572.         </div>
  573.     {% endif %}
  574. {% endif %}
  575. #}
  576.     {# Layout: HEADER #}
  577.     {% if Layout.Header %}
  578.         {{ include('block.twig', {'Blocks': Layout.Header}) }}
  579.     {% endif %}
  580.     {# Layout: CONTENTS_TOP #}
  581.     {% if Layout.ContentsTop %}
  582.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  583.     {% endif %}
  584.         {# Layout: SIDE_LEFT #}
  585.         {% if Layout.SideLeft %}
  586.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  587.         {% endif %}
  588.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  589.         {% if Layout.ColumnNum == 2 %}
  590.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  591.         {% elseif Layout.ColumnNum == 3 %}
  592.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  593.         {% endif %}
  594.             {# Layout: MAIN_TOP #}
  595.             {% if Layout.MainTop %}
  596.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  597.             {% endif %}
  598.             {# MAIN AREA #}
  599.             {% block main %}{% endblock %}
  600.             {# Layout: MAIN_Bottom #}
  601.             {% if Layout.MainBottom %}
  602.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  603.             {% endif %}
  604.         {# Layout: SIDE_RIGHT #}
  605.         {% if Layout.SideRight %}
  606.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  607.         {% endif %}
  608.     {# Layout: CONTENTS_BOTTOM #}
  609.     {% if Layout.ContentsBottom %}
  610.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  611.     {% endif %}
  612.     {# Layout: CONTENTS_FOOTER #}
  613.     {% if Layout.Footer %}
  614.         {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  615.     {% endif %}
  616.     {# Layout: DRAWER #}
  617.     {% if Layout.Drawer %}
  618. <div class=\"drawerRole\">
  619.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  620. </div>
  621.     {% endif %}
  622. <!-- Common JS -->
  623. <script src=\"//cdn.jsdelivr.net/npm/bootstrap@5.1.3/dist/js/bootstrap.bundle.min.js\" integrity=\"sha384-ka7Sk0Gln4gmtz2MlQnikT1wXgYsOg+OMhuP+IlRH9sENBO0LRn5q+8nbTov4+1p\" crossorigin=\"anonymous\"></script>
  624. <script src=\"{{ asset('assets/js/common.min.js') }}\"></script>
  625. {% include('@common/lang.twig') %}
  626. <script src=\"{{ asset('assets/js/function.js') }}\"></script>
  627. <script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  628. {{ include('javascript.twig') }}
  629. {% block javascript %}{% endblock %}
  630. {# Layout: CLOSE_BODY_BEFORE #}
  631. {% if Layout.CloseBodyBefore %}
  632.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  633. {% endif %}
  634. {# プラグイン用Snippet #}
  635. {% if plugin_snippets is defined %}
  636.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  637. {% endif %}
  638. </body>
  639. </html>""default_frame.twig""/home/insp/insp.sixcore.jp/public_html/app/template/default/default_frame.twig");
  640.     }
  641.     
  642.     public function checkSecurity()
  643.     {
  644.         static $tags = array("if" => 11"block" => 38"set" => 148"include" => 193);
  645.         static $filters = array("escape" => 6);
  646.         static $functions = array("csrf_token" => 10"constant" => 10"include" => 17"template_from_string" => 17"asset" => 33);
  647.         try {
  648.             $this->sandbox->checkSecurity(
  649.                 ['if''block''set''include'],
  650.                 ['escape'],
  651.                 ['csrf_token''constant''include''template_from_string''asset']
  652.             );
  653.         } catch (SecurityError $e) {
  654.             $e->setSourceContext($this->source);
  655.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  656.                 $e->setTemplateLine($tags[$e->getTagName()]);
  657.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  658.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  659.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  660.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  661.             }
  662.             throw $e;
  663.         }
  664.     }
  665. }