var/cache/dev/twig/d2/d22c782ce64a09e64a78b412759d9a9b67018044929832fed8a50d36ff591759.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_5503d8a99ca419be39de0ce5caa778b8f3d3e6a1d38b640e6bfc5378efde88f3 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  35.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  36.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  37.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""default_frame.twig"));
  38.         // line 1
  39.         echo "<!doctype html>
  40. ";
  41.         // line 12
  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.'12$this->source); })()), "locale", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  44.         echo "\">
  45. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  46.     <meta charset=\"utf-8\">
  47.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  48.     <meta name=\"eccube-csrf-token\" content=\"";
  49.         // line 16
  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.     <title>";
  53.         // line 17
  54.         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.'17$this->source); })()), "shop_name", [], "any"falsefalsetrue17), 17$this->source), "html"nulltrue);
  55.         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.'17$this->source); })())))) {
  56.             echo " / ";
  57.             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.'17$this->source); })()), 17$this->source), "html"nulltrue);
  58.         } 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.'17$this->source); })())))) {
  59.             echo " / ";
  60.             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.'17$this->source); })()), 17$this->source), "html"nulltrue);
  61.         }
  62.         echo "</title>
  63.     ";
  64.         // line 18
  65.         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); })()), "meta_tags", [], "any"falsefalsetrue18))) {
  66.             // line 19
  67.             echo "        ";
  68.             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.'19$this->source); })()), "meta_tags", [], "any"falsefalsetrue19), 19$this->source)), array(), truefalsetrue);
  69.             echo "
  70.         ";
  71.             // line 20
  72.             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.'20$this->source); })()), "description", [], "any"falsefalsetrue20))) {
  73.                 // line 21
  74.                 echo "            <meta name=\"description\" content=\"";
  75.                 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.'21$this->source); })()), "description", [], "any"falsefalsetrue21), 21$this->source), "html"nulltrue);
  76.                 echo "\">
  77.         ";
  78.             }
  79.             // line 23
  80.             echo "    ";
  81.         } else {
  82.             // line 24
  83.             echo "        ";
  84.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"meta.twig");
  85.             echo "
  86.     ";
  87.         }
  88.         // line 26
  89.         echo "    ";
  90.         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.'26$this->source); })()), "author", [], "any"falsefalsetrue26))) {
  91.             // line 27
  92.             echo "        <meta name=\"author\" content=\"";
  93.             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.'27$this->source); })()), "author", [], "any"falsefalsetrue27), 27$this->source), "html"nulltrue);
  94.             echo "\">
  95.     ";
  96.         }
  97.         // line 29
  98.         echo "    ";
  99.         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.'29$this->source); })()), "keyword", [], "any"falsefalsetrue29))) {
  100.             // line 30
  101.             echo "        <meta name=\"keywords\" content=\"";
  102.             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.'30$this->source); })()), "keyword", [], "any"falsefalsetrue30), 30$this->source), "html"nulltrue);
  103.             echo "\">
  104.     ";
  105.         }
  106.         // line 32
  107.         echo "    ";
  108.         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.'32$this->source); })()), "meta_robots", [], "any"falsefalsetrue32))) {
  109.             // line 33
  110.             echo "        <meta name=\"robots\" content=\"";
  111.             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.'33$this->source); })()), "meta_robots", [], "any"falsefalsetrue33), 33$this->source), "html"nulltrue);
  112.             echo "\">
  113.     ";
  114.         }
  115.         // line 35
  116.         echo "    <link rel=\"icon\" href=\"";
  117.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico""user_data"), "html"nulltrue);
  118.         echo "\">
  119.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  120.     <link rel=\"stylesheet\" href=\"";
  121.         // line 37
  122.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  123.         echo "\">
  124.     <script src=\"";
  125.         // line 38
  126.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  127.         echo "\"></script>
  128.     ";
  129.         // line 39
  130.         $this->displayBlock('stylesheet'$context$blocks);
  131.         // line 40
  132.         echo "    <script>
  133.         \$(function() {
  134.             \$.ajaxSetup({
  135.                 'headers': {
  136.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  137.                 }
  138.             });
  139.         });
  140.     </script>
  141.     ";
  142.         // line 50
  143.         echo "    ";
  144.         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.'50$this->source); })()), "Head", [], "any"falsefalsetrue50)) {
  145.             // line 51
  146.             echo "        ";
  147.             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.'51$this->source); })()), "Head", [], "any"falsefalsetrue51)]);
  148.             echo "
  149.     ";
  150.         }
  151.         // line 53
  152.         echo "    ";
  153.         // line 54
  154.         echo "    ";
  155.         if (array_key_exists("plugin_assets"$context)) {
  156.             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.'54$this->source); })())]);
  157.         }
  158.         // line 55
  159.         echo "    <link rel=\"stylesheet\" href=\"";
  160.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css""user_data"), "html"nulltrue);
  161.         echo "\">
  162. </head>
  163. <body id=\"page_";
  164.         // line 57
  165.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_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.'57$this->source); })()), "request", [], "any"falsefalsetrue57), "get", [=> "_route"], "method"falsefalsetrue57), 57$this->source), "html"nulltrue);
  166.         echo "\" class=\"";
  167.         echo twig_escape_filter($this->env, ((array_key_exists("body_class"$context)) ? (_twig_default_filter($this->sandbox->ensureToStringAllowed((isset($context["body_class"]) || array_key_exists("body_class"$context) ? $context["body_class"] : (function () { throw new RuntimeError('Variable "body_class" does not exist.'57$this->source); })()), 57$this->source), "other_page")) : ("other_page")), "html"nulltrue);
  168.         echo "\">
  169. ";
  170.         // line 59
  171.         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.'59$this->source); })()), "BodyAfter", [], "any"falsefalsetrue59)) {
  172.             // line 60
  173.             echo "    ";
  174.             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.'60$this->source); })()), "BodyAfter", [], "any"falsefalsetrue60)]);
  175.             echo "
  176. ";
  177.         }
  178.         // line 62
  179.         echo "
  180. ";
  181.         // line 63
  182.         if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance"$context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.'63$this->source); })())) {
  183.             // line 64
  184.             echo "    <div class=\"ec-maintenanceAlert\">
  185.         <div>
  186.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"";
  187.             // line 66
  188.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  189.             echo "\"/></div>
  190.             ";
  191.             // line 67
  192.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html"nulltrue);
  193.             echo "
  194.         </div>
  195.     </div>
  196. ";
  197.         }
  198.         // line 71
  199.         echo "
  200. <div class=\"ec-layoutRole\">
  201.     ";
  202.         // line 74
  203.         echo "    ";
  204.         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.'74$this->source); })()), "Header", [], "any"falsefalsetrue74)) {
  205.             // line 75
  206.             echo "        <header class=\"ec-layoutRole__header\">
  207.             ";
  208.             // line 76
  209.             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.'76$this->source); })()), "Header", [], "any"falsefalsetrue76)]);
  210.             echo "
  211.         </header>
  212.     ";
  213.         }
  214.         // line 79
  215.         echo "
  216.     ";
  217.         // line 81
  218.         echo "    ";
  219.         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.'81$this->source); })()), "ContentsTop", [], "any"falsefalsetrue81)) {
  220.             // line 82
  221.             echo "        <div class=\"ec-layoutRole__contentTop\">
  222.             ";
  223.             // line 83
  224.             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.'83$this->source); })()), "ContentsTop", [], "any"falsefalsetrue83)]);
  225.             echo "
  226.         </div>
  227.     ";
  228.         }
  229.         // line 86
  230.         echo "
  231.     <div class=\"ec-layoutRole__contents\">
  232.         ";
  233.         // line 89
  234.         echo "        ";
  235.         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.'89$this->source); })()), "SideLeft", [], "any"falsefalsetrue89)) {
  236.             // line 90
  237.             echo "            <aside class=\"ec-layoutRole__left\">
  238.                 ";
  239.             // line 91
  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.'91$this->source); })()), "SideLeft", [], "any"falsefalsetrue91)]);
  241.             echo "
  242.             </aside>
  243.         ";
  244.         }
  245.         // line 94
  246.         echo "
  247.         ";
  248.         // line 95
  249.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  250.         // line 96
  251.         echo "        ";
  252.         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.'96$this->source); })()), "ColumnNum", [], "any"falsefalsetrue96) == 2)) {
  253.             // line 97
  254.             echo "            ";
  255.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  256.             // line 98
  257.             echo "        ";
  258.         } 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.'98$this->source); })()), "ColumnNum", [], "any"falsefalsetrue98) == 3)) {
  259.             // line 99
  260.             echo "            ";
  261.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  262.             // line 100
  263.             echo "        ";
  264.         }
  265.         // line 101
  266.         echo "
  267.         <main class=\"";
  268.         // line 102
  269.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["layoutRoleMain"]) || array_key_exists("layoutRoleMain"$context) ? $context["layoutRoleMain"] : (function () { throw new RuntimeError('Variable "layoutRoleMain" does not exist.'102$this->source); })()), 102$this->source), "html"nulltrue);
  270.         echo "\">
  271.             ";
  272.         // line 104
  273.         echo "            ";
  274.         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.'104$this->source); })()), "MainTop", [], "any"falsefalsetrue104)) {
  275.             // line 105
  276.             echo "                <div class=\"ec-layoutRole__mainTop\">
  277.                     ";
  278.             // line 106
  279.             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.'106$this->source); })()), "MainTop", [], "any"falsefalsetrue106)]);
  280.             echo "
  281.                 </div>
  282.             ";
  283.         }
  284.         // line 109
  285.         echo "
  286.             ";
  287.         // line 111
  288.         echo "            ";
  289.         $this->displayBlock('main'$context$blocks);
  290.         // line 112
  291.         echo "
  292.             ";
  293.         // line 114
  294.         echo "            ";
  295.         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.'114$this->source); })()), "MainBottom", [], "any"falsefalsetrue114)) {
  296.             // line 115
  297.             echo "                <div class=\"ec-layoutRole__mainBottom\">
  298.                     ";
  299.             // line 116
  300.             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.'116$this->source); })()), "MainBottom", [], "any"falsefalsetrue116)]);
  301.             echo "
  302.                 </div>
  303.             ";
  304.         }
  305.         // line 119
  306.         echo "        </main>
  307.         ";
  308.         // line 122
  309.         echo "        ";
  310.         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.'122$this->source); })()), "SideRight", [], "any"falsefalsetrue122)) {
  311.             // line 123
  312.             echo "            <aside class=\"ec-layoutRole__right\">
  313.                 ";
  314.             // line 124
  315.             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.'124$this->source); })()), "SideRight", [], "any"falsefalsetrue124)]);
  316.             echo "
  317.             </aside>
  318.         ";
  319.         }
  320.         // line 127
  321.         echo "    </div>
  322.     ";
  323.         // line 130
  324.         echo "    ";
  325.         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.'130$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue130)) {
  326.             // line 131
  327.             echo "        <div class=\"ec-layoutRole__contentBottom\">
  328.             ";
  329.             // line 132
  330.             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.'132$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue132)]);
  331.             echo "
  332.         </div>
  333.     ";
  334.         }
  335.         // line 135
  336.         echo "
  337.     ";
  338.         // line 137
  339.         echo "    ";
  340.         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.'137$this->source); })()), "Footer", [], "any"falsefalsetrue137)) {
  341.             // line 138
  342.             echo "        <footer class=\"ec-layoutRole__footer\">
  343.             ";
  344.             // line 139
  345.             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.'139$this->source); })()), "Footer", [], "any"falsefalsetrue139)]);
  346.             echo "
  347.         </footer>
  348.     ";
  349.         }
  350.         // line 142
  351.         echo "</div><!-- ec-layoutRole -->
  352. <div class=\"ec-overlayRole\"></div>
  353. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  354. <div class=\"ec-drawerRole\">
  355.     ";
  356.         // line 148
  357.         echo "    ";
  358.         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.'148$this->source); })()), "Drawer", [], "any"falsefalsetrue148)) {
  359.             // line 149
  360.             echo "        ";
  361.             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.'149$this->source); })()), "Drawer", [], "any"falsefalsetrue149)]);
  362.             echo "
  363.     ";
  364.         }
  365.         // line 151
  366.         echo "</div>
  367. <div class=\"ec-blockTopBtn pagetop\">";
  368.         // line 152
  369.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ページトップへ"), "html"nulltrue);
  370.         echo "</div>
  371. ";
  372.         // line 153
  373.         $this->loadTemplate("@common/lang.twig""default_frame.twig"153)->display($context);
  374.         // line 154
  375.         echo "<script src=\"";
  376.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  377.         echo "\"></script>
  378. <script src=\"";
  379.         // line 155
  380.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  381.         echo "\"></script>
  382. ";
  383.         // line 156
  384.         $this->displayBlock('javascript'$context$blocks);
  385.         // line 158
  386.         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.'158$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue158)) {
  387.             // line 159
  388.             echo "    ";
  389.             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.'159$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue159)]);
  390.             echo "
  391. ";
  392.         }
  393.         // line 162
  394.         if (array_key_exists("plugin_snippets"$context)) {
  395.             // line 163
  396.             echo "    ";
  397.             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.'163$this->source); })())]);
  398.             echo "
  399. ";
  400.         }
  401.         // line 165
  402.         echo "    <script src=\"";
  403.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js""user_data"), "html"nulltrue);
  404.         echo "\"></script>
  405. </body>
  406. </html>
  407. ";
  408.         
  409.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  410.         
  411.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  412.     }
  413.     // line 39
  414.     public function block_stylesheet($context, array $blocks = [])
  415.     {
  416.         $macros $this->macros;
  417.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  418.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  419.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  420.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  421.         
  422.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  423.         
  424.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  425.     }
  426.     // line 111
  427.     public function block_main($context, array $blocks = [])
  428.     {
  429.         $macros $this->macros;
  430.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  431.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  432.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  433.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  434.         
  435.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  436.         
  437.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  438.     }
  439.     // line 156
  440.     public function block_javascript($context, array $blocks = [])
  441.     {
  442.         $macros $this->macros;
  443.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  444.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  445.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  446.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  447.         
  448.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  449.         
  450.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  451.     }
  452.     public function getTemplateName()
  453.     {
  454.         return "default_frame.twig";
  455.     }
  456.     public function isTraitable()
  457.     {
  458.         return false;
  459.     }
  460.     public function getDebugInfo()
  461.     {
  462.         return array (  465 => 156,  447 => 111,  429 => 39,  414 => 165,  408 => 163,  406 => 162,  400 => 159,  398 => 158,  396 => 156,  392 => 155,  387 => 154,  385 => 153,  381 => 152,  378 => 151,  372 => 149,  369 => 148,  362 => 142,  356 => 139,  353 => 138,  350 => 137,  347 => 135,  341 => 132,  338 => 131,  335 => 130,  331 => 127,  325 => 124,  322 => 123,  319 => 122,  315 => 119,  309 => 116,  306 => 115,  303 => 114,  300 => 112,  297 => 111,  294 => 109,  288 => 106,  285 => 105,  282 => 104,  278 => 102,  275 => 101,  272 => 100,  269 => 99,  266 => 98,  263 => 97,  260 => 96,  258 => 95,  255 => 94,  249 => 91,  246 => 90,  243 => 89,  239 => 86,  233 => 83,  230 => 82,  227 => 81,  224 => 79,  218 => 76,  215 => 75,  212 => 74,  208 => 71,  201 => 67,  197 => 66,  193 => 64,  191 => 63,  188 => 62,  182 => 60,  180 => 59,  174 => 57,  168 => 55,  163 => 54,  161 => 53,  155 => 51,  152 => 50,  141 => 40,  139 => 39,  135 => 38,  131 => 37,  125 => 35,  119 => 33,  116 => 32,  110 => 30,  107 => 29,  101 => 27,  98 => 26,  92 => 24,  89 => 23,  83 => 21,  81 => 20,  76 => 19,  74 => 18,  63 => 17,  59 => 16,  51 => 12,  48 => 1,);
  463.     }
  464.     public function getSourceContext()
  465.     {
  466.         return new Source("<!doctype html>
  467. {#
  468. This file is part of EC-CUBE
  469. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  470. http://www.ec-cube.co.jp/
  471. For the full copyright and license information, please view the LICENSE
  472. file that was distributed with this source code.
  473. #}
  474. <html lang=\"{{ eccube_config.locale }}\">
  475. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  476.     <meta charset=\"utf-8\">
  477.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  478.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  479.     <title>{{ BaseInfo.shop_name }}{% if subtitle is defined and subtitle is not empty %} / {{ subtitle }}{% elseif title is defined and title is not empty %} / {{ title }}{% endif %}</title>
  480.     {% if Page.meta_tags is not empty %}
  481.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  482.         {% if Page.description is not empty %}
  483.             <meta name=\"description\" content=\"{{ Page.description }}\">
  484.         {% endif %}
  485.     {% else %}
  486.         {{ include('meta.twig') }}
  487.     {% endif %}
  488.     {% if Page.author is not empty %}
  489.         <meta name=\"author\" content=\"{{ Page.author }}\">
  490.     {% endif %}
  491.     {% if Page.keyword is not empty %}
  492.         <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  493.     {% endif %}
  494.     {% if Page.meta_robots is not empty %}
  495.         <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  496.     {% endif %}
  497.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
  498.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  499.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\">
  500.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  501.     {% block stylesheet %}{% endblock %}
  502.     <script>
  503.         \$(function() {
  504.             \$.ajaxSetup({
  505.                 'headers': {
  506.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  507.                 }
  508.             });
  509.         });
  510.     </script>
  511.     {# Layout: HEAD #}
  512.     {% if Layout.Head %}
  513.         {{ include('block.twig', {'Blocks': Layout.Head}) }}
  514.     {% endif %}
  515.     {# プラグイン用styleseetやmetatagなど #}
  516.     {% if plugin_assets is defined %}{{ include('@admin/snippet.twig', { snippets: plugin_assets }) }}{% endif %}
  517.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/customize.css', 'user_data') }}\">
  518. </head>
  519. <body id=\"page_{{ app.request.get('_route') }}\" class=\"{{ body_class|default('other_page') }}\">
  520. {# Layout: BODY_AFTER #}
  521. {% if Layout.BodyAfter %}
  522.     {{ include('block.twig', {'Blocks': Layout.BodyAfter}) }}
  523. {% endif %}
  524. {% if isMaintenance %}
  525.     <div class=\"ec-maintenanceAlert\">
  526.         <div>
  527.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"{{ asset('assets/icon/exclamation-white.svg') }}\"/></div>
  528.             {{ 'メンテナンスモードが有効になっています。'|trans }}
  529.         </div>
  530.     </div>
  531. {% endif %}
  532. <div class=\"ec-layoutRole\">
  533.     {# Layout: HEADER #}
  534.     {% if Layout.Header %}
  535.         <header class=\"ec-layoutRole__header\">
  536.             {{ include('block.twig', {'Blocks': Layout.Header}) }}
  537.         </header>
  538.     {% endif %}
  539.     {# Layout: CONTENTS_TOP #}
  540.     {% if Layout.ContentsTop %}
  541.         <div class=\"ec-layoutRole__contentTop\">
  542.             {{ include('block.twig', {'Blocks': Layout.ContentsTop}) }}
  543.         </div>
  544.     {% endif %}
  545.     <div class=\"ec-layoutRole__contents\">
  546.         {# Layout: SIDE_LEFT #}
  547.         {% if Layout.SideLeft %}
  548.             <aside class=\"ec-layoutRole__left\">
  549.                 {{ include('block.twig', {'Blocks': Layout.SideLeft}) }}
  550.             </aside>
  551.         {% endif %}
  552.         {% set layoutRoleMain = 'ec-layoutRole__main' %}
  553.         {% if Layout.ColumnNum == 2 %}
  554.             {% set layoutRoleMain = 'ec-layoutRole__mainWithColumn' %}
  555.         {% elseif Layout.ColumnNum == 3 %}
  556.             {% set layoutRoleMain = 'ec-layoutRole__mainBetweenColumn' %}
  557.         {% endif %}
  558.         <main class=\"{{ layoutRoleMain }}\">
  559.             {# Layout: MAIN_TOP #}
  560.             {% if Layout.MainTop %}
  561.                 <div class=\"ec-layoutRole__mainTop\">
  562.                     {{ include('block.twig', {'Blocks': Layout.MainTop}) }}
  563.                 </div>
  564.             {% endif %}
  565.             {# MAIN AREA #}
  566.             {% block main %}{% endblock %}
  567.             {# Layout: MAIN_Bottom #}
  568.             {% if Layout.MainBottom %}
  569.                 <div class=\"ec-layoutRole__mainBottom\">
  570.                     {{ include('block.twig', {'Blocks': Layout.MainBottom}) }}
  571.                 </div>
  572.             {% endif %}
  573.         </main>
  574.         {# Layout: SIDE_RIGHT #}
  575.         {% if Layout.SideRight %}
  576.             <aside class=\"ec-layoutRole__right\">
  577.                 {{ include('block.twig', {'Blocks': Layout.SideRight}) }}
  578.             </aside>
  579.         {% endif %}
  580.     </div>
  581.     {# Layout: CONTENTS_BOTTOM #}
  582.     {% if Layout.ContentsBottom %}
  583.         <div class=\"ec-layoutRole__contentBottom\">
  584.             {{ include('block.twig', {'Blocks': Layout.ContentsBottom}) }}
  585.         </div>
  586.     {% endif %}
  587.     {# Layout: CONTENTS_FOOTER #}
  588.     {% if Layout.Footer %}
  589.         <footer class=\"ec-layoutRole__footer\">
  590.             {{ include('block.twig', {'Blocks': Layout.Footer}) }}
  591.         </footer>
  592.     {% endif %}
  593. </div><!-- ec-layoutRole -->
  594. <div class=\"ec-overlayRole\"></div>
  595. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  596. <div class=\"ec-drawerRole\">
  597.     {# Layout: DRAWER #}
  598.     {% if Layout.Drawer %}
  599.         {{ include('block.twig', {'Blocks': Layout.Drawer}) }}
  600.     {% endif %}
  601. </div>
  602. <div class=\"ec-blockTopBtn pagetop\">{{'ページトップへ'|trans}}</div>
  603. {% include('@common/lang.twig') %}
  604. <script src=\"{{ asset('assets/js/function.js') }}\"></script>
  605. <script src=\"{{ asset('assets/js/eccube.js') }}\"></script>
  606. {% block javascript %}{% endblock %}
  607. {# Layout: CLOSE_BODY_BEFORE #}
  608. {% if Layout.CloseBodyBefore %}
  609.     {{ include('block.twig', {'Blocks': Layout.CloseBodyBefore}) }}
  610. {% endif %}
  611. {# プラグイン用Snippet #}
  612. {% if plugin_snippets is defined %}
  613.     {{ include('snippet.twig', { snippets: plugin_snippets }) }}
  614. {% endif %}
  615.     <script src=\"{{ asset('assets/js/customize.js', 'user_data') }}\"></script>
  616. </body>
  617. </html>
  618. ""default_frame.twig""/usr/home/hbw1007nrm32/html/ec/src/Eccube/Resource/template/default/default_frame.twig");
  619.     }
  620.     
  621.     public function checkSecurity()
  622.     {
  623.         static $tags = array("if" => 17"block" => 39"set" => 95"include" => 153);
  624.         static $filters = array("escape" => 12"default" => 57"trans" => 67);
  625.         static $functions = array("csrf_token" => 16"constant" => 16"include" => 19"template_from_string" => 19"asset" => 35);
  626.         try {
  627.             $this->sandbox->checkSecurity(
  628.                 ['if''block''set''include'],
  629.                 ['escape''default''trans'],
  630.                 ['csrf_token''constant''include''template_from_string''asset']
  631.             );
  632.         } catch (SecurityError $e) {
  633.             $e->setSourceContext($this->source);
  634.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  635.                 $e->setTemplateLine($tags[$e->getTagName()]);
  636.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  637.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  638.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  639.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  640.             }
  641.             throw $e;
  642.         }
  643.     }
  644. }