var/cache/dev/twig/c0/c04d534b6450a37ae6ee574da6a1c0a1.php line 292

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_8479cbc65fa720447372cf6b322846eb 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. <html lang=\"";
  41.         // line 2
  42.         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.'2$this->source); })()), "locale", [], "any"falsefalsetrue2), 2$this->source), "html"nulltrue);
  43.         echo "\">
  44. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  45.     <meta charset=\"utf-8\">
  46.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  47.     <meta name=\"eccube-csrf-token\" content=\"";
  48.         // line 6
  49.         echo twig_escape_filter($this->env$this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken(twig_constant("Eccube\\Common\\Constant::TOKEN_NAME")), "html"nulltrue);
  50.         echo "\">
  51.     <title>";
  52.         // line 7
  53.         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.'7$this->source); })()), "shop_name", [], "any"falsefalsetrue7), 7$this->source), "html"nulltrue);
  54.         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.'7$this->source); })())))) {
  55.             echo " / ";
  56.             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.'7$this->source); })()), 7$this->source), "html"nulltrue);
  57.         } 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.'7$this->source); })())))) {
  58.             echo " / ";
  59.             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.'7$this->source); })()), 7$this->source), "html"nulltrue);
  60.         }
  61.         echo "</title>
  62.     ";
  63.         // line 8
  64.         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.'8$this->source); })()), "meta_tags", [], "any"falsefalsetrue8))) {
  65.             // line 9
  66.             echo "        ";
  67.             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.'9$this->source); })()), "meta_tags", [], "any"falsefalsetrue9), 9$this->source)), array(), truefalsetrue);
  68.             echo "
  69.         ";
  70.             // line 10
  71.             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.'10$this->source); })()), "description", [], "any"falsefalsetrue10))) {
  72.                 // line 11
  73.                 echo "            <meta name=\"description\" content=\"";
  74.                 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.'11$this->source); })()), "description", [], "any"falsefalsetrue11), 11$this->source), "html"nulltrue);
  75.                 echo "\">
  76.         ";
  77.             }
  78.             // line 13
  79.             echo "    ";
  80.         } else {
  81.             // line 14
  82.             echo "        ";
  83.             echo $this->extensions['Eccube\Twig\Extension\IgnoreTwigSandboxErrorExtension']->twig_include($this->env$context"meta.twig");
  84.             echo "
  85.     ";
  86.         }
  87.         // line 16
  88.         echo "    ";
  89.         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); })()), "author", [], "any"falsefalsetrue16))) {
  90.             // line 17
  91.             echo "        <meta name=\"author\" content=\"";
  92.             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.'17$this->source); })()), "author", [], "any"falsefalsetrue17), 17$this->source), "html"nulltrue);
  93.             echo "\">
  94.     ";
  95.         }
  96.         // line 19
  97.         echo "    ";
  98.         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.'19$this->source); })()), "keyword", [], "any"falsefalsetrue19))) {
  99.             // line 20
  100.             echo "        <meta name=\"keywords\" content=\"";
  101.             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.'20$this->source); })()), "keyword", [], "any"falsefalsetrue20), 20$this->source), "html"nulltrue);
  102.             echo "\">
  103.     ";
  104.         }
  105.         // line 22
  106.         echo "    ";
  107.         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.'22$this->source); })()), "meta_robots", [], "any"falsefalsetrue22))) {
  108.             // line 23
  109.             echo "        <meta name=\"robots\" content=\"";
  110.             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.'23$this->source); })()), "meta_robots", [], "any"falsefalsetrue23), 23$this->source), "html"nulltrue);
  111.             echo "\">
  112.     ";
  113.         }
  114.         // line 25
  115.         echo "    <link rel=\"icon\" href=\"";
  116.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/common/favicon.ico""user_data"), "html"nulltrue);
  117.         echo "\">
  118.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  119.     <link rel=\"stylesheet\" href=\"";
  120.         // line 27
  121.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/style.css"), "html"nulltrue);
  122.         echo "\">
  123.     <script src=\"";
  124.         // line 28
  125.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("front.bundle.js""bundle"), "html"nulltrue);
  126.         echo "\"></script>
  127.     ";
  128.         // line 29
  129.         $this->displayBlock('stylesheet'$context$blocks);
  130.         // line 30
  131.         echo "    <script>
  132.         \$(function() {
  133.             \$.ajaxSetup({
  134.                 'headers': {
  135.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  136.                 }
  137.             });
  138.             // readonlyのselectboxを開かないようにする
  139.             \$('select[readonly]').on(\"focus mousedown touchstart\", function(e) {
  140.                 e.preventDefault();
  141.             });
  142.         });
  143.     </script>
  144.     ";
  145.         // line 45
  146.         echo "    ";
  147.         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.'45$this->source); })()), "Head", [], "any"falsefalsetrue45)) {
  148.             // line 46
  149.             echo "        ";
  150.             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.'46$this->source); })()), "Head", [], "any"falsefalsetrue46)]);
  151.             echo "
  152.     ";
  153.         }
  154.         // line 48
  155.         echo "    ";
  156.         // line 49
  157.         echo "    ";
  158.         if (array_key_exists("plugin_assets"$context)) {
  159.             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.'49$this->source); })())]);
  160.         }
  161.         // line 50
  162.         echo "    <link rel=\"stylesheet\" href=\"";
  163.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/customize.css""user_data"), "html"nulltrue);
  164.         echo "\">
  165. </head>
  166. <body id=\"page_";
  167.         // line 52
  168.         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.'52$this->source); })()), "request", [], "any"falsefalsetrue52), "get", [=> "_route"], "method"falsefalsetrue52), 52$this->source), "html"nulltrue);
  169.         echo "\" class=\"";
  170.         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.'52$this->source); })()), 52$this->source), "other_page")) : ("other_page")), "html"nulltrue);
  171.         echo "\">
  172. ";
  173.         // line 54
  174.         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.'54$this->source); })()), "BodyAfter", [], "any"falsefalsetrue54)) {
  175.             // line 55
  176.             echo "    ";
  177.             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.'55$this->source); })()), "BodyAfter", [], "any"falsefalsetrue55)]);
  178.             echo "
  179. ";
  180.         }
  181.         // line 57
  182.         echo "
  183. ";
  184.         // line 58
  185.         if ((isset($context["isMaintenance"]) || array_key_exists("isMaintenance"$context) ? $context["isMaintenance"] : (function () { throw new RuntimeError('Variable "isMaintenance" does not exist.'58$this->source); })())) {
  186.             // line 59
  187.             echo "    <div class=\"ec-maintenanceAlert\">
  188.         <div>
  189.             <div class=\"ec-maintenanceAlert__icon\"><img src=\"";
  190.             // line 61
  191.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/icon/exclamation-white.svg"), "html"nulltrue);
  192.             echo "\"/></div>
  193.             ";
  194.             // line 62
  195.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("メンテナンスモードが有効になっています。"), "html"nulltrue);
  196.             echo "
  197.         </div>
  198.     </div>
  199. ";
  200.         }
  201.         // line 66
  202.         echo "
  203. <div class=\"ec-layoutRole\">
  204.     ";
  205.         // line 69
  206.         echo "    ";
  207.         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.'69$this->source); })()), "Header", [], "any"falsefalsetrue69)) {
  208.             // line 70
  209.             echo "        <header class=\"ec-layoutRole__header\">
  210.             ";
  211.             // line 71
  212.             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.'71$this->source); })()), "Header", [], "any"falsefalsetrue71)]);
  213.             echo "
  214.         </header>
  215.     ";
  216.         }
  217.         // line 74
  218.         echo "
  219.     ";
  220.         // line 76
  221.         echo "    ";
  222.         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.'76$this->source); })()), "ContentsTop", [], "any"falsefalsetrue76)) {
  223.             // line 77
  224.             echo "        <div class=\"ec-layoutRole__contentTop\">
  225.             ";
  226.             // line 78
  227.             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.'78$this->source); })()), "ContentsTop", [], "any"falsefalsetrue78)]);
  228.             echo "
  229.         </div>
  230.     ";
  231.         }
  232.         // line 81
  233.         echo "
  234.     <div class=\"ec-layoutRole__contents\">
  235.         ";
  236.         // line 84
  237.         echo "        ";
  238.         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.'84$this->source); })()), "SideLeft", [], "any"falsefalsetrue84)) {
  239.             // line 85
  240.             echo "            <aside class=\"ec-layoutRole__left\">
  241.                 ";
  242.             // line 86
  243.             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.'86$this->source); })()), "SideLeft", [], "any"falsefalsetrue86)]);
  244.             echo "
  245.             </aside>
  246.         ";
  247.         }
  248.         // line 89
  249.         echo "
  250.         ";
  251.         // line 90
  252.         $context["layoutRoleMain"] = "ec-layoutRole__main";
  253.         // line 91
  254.         echo "        ";
  255.         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.'91$this->source); })()), "ColumnNum", [], "any"falsefalsetrue91) == 2)) {
  256.             // line 92
  257.             echo "            ";
  258.             $context["layoutRoleMain"] = "ec-layoutRole__mainWithColumn";
  259.             // line 93
  260.             echo "        ";
  261.         } 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.'93$this->source); })()), "ColumnNum", [], "any"falsefalsetrue93) == 3)) {
  262.             // line 94
  263.             echo "            ";
  264.             $context["layoutRoleMain"] = "ec-layoutRole__mainBetweenColumn";
  265.             // line 95
  266.             echo "        ";
  267.         }
  268.         // line 96
  269.         echo "
  270.         <main class=\"";
  271.         // line 97
  272.         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.'97$this->source); })()), 97$this->source), "html"nulltrue);
  273.         echo "\">
  274.             ";
  275.         // line 99
  276.         echo "            ";
  277.         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.'99$this->source); })()), "MainTop", [], "any"falsefalsetrue99)) {
  278.             // line 100
  279.             echo "                <div class=\"ec-layoutRole__mainTop\">
  280.                     ";
  281.             // line 101
  282.             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.'101$this->source); })()), "MainTop", [], "any"falsefalsetrue101)]);
  283.             echo "
  284.                 </div>
  285.             ";
  286.         }
  287.         // line 104
  288.         echo "
  289.             ";
  290.         // line 106
  291.         echo "            ";
  292.         $this->displayBlock('main'$context$blocks);
  293.         // line 107
  294.         echo "
  295.             ";
  296.         // line 109
  297.         echo "            ";
  298.         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.'109$this->source); })()), "MainBottom", [], "any"falsefalsetrue109)) {
  299.             // line 110
  300.             echo "                <div class=\"ec-layoutRole__mainBottom\">
  301.                     ";
  302.             // line 111
  303.             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.'111$this->source); })()), "MainBottom", [], "any"falsefalsetrue111)]);
  304.             echo "
  305.                 </div>
  306.             ";
  307.         }
  308.         // line 114
  309.         echo "        </main>
  310.         ";
  311.         // line 117
  312.         echo "        ";
  313.         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.'117$this->source); })()), "SideRight", [], "any"falsefalsetrue117)) {
  314.             // line 118
  315.             echo "            <aside class=\"ec-layoutRole__right\">
  316.                 ";
  317.             // line 119
  318.             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.'119$this->source); })()), "SideRight", [], "any"falsefalsetrue119)]);
  319.             echo "
  320.             </aside>
  321.         ";
  322.         }
  323.         // line 122
  324.         echo "    </div>
  325.     ";
  326.         // line 125
  327.         echo "    ";
  328.         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.'125$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue125)) {
  329.             // line 126
  330.             echo "        <div class=\"ec-layoutRole__contentBottom\">
  331.             ";
  332.             // line 127
  333.             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.'127$this->source); })()), "ContentsBottom", [], "any"falsefalsetrue127)]);
  334.             echo "
  335.         </div>
  336.     ";
  337.         }
  338.         // line 130
  339.         echo "
  340.     ";
  341.         // line 132
  342.         echo "    ";
  343.         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.'132$this->source); })()), "Footer", [], "any"falsefalsetrue132)) {
  344.             // line 133
  345.             echo "        <footer class=\"ec-layoutRole__footer\">
  346.             ";
  347.             // line 134
  348.             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.'134$this->source); })()), "Footer", [], "any"falsefalsetrue134)]);
  349.             echo "
  350.         </footer>
  351.     ";
  352.         }
  353.         // line 137
  354.         echo "</div><!-- ec-layoutRole -->
  355. <div class=\"ec-overlayRole\"></div>
  356. <div class=\"ec-drawerRoleClose\"><i class=\"fas fa-times\"></i></div>
  357. <div class=\"ec-drawerRole\">
  358.     ";
  359.         // line 143
  360.         echo "    ";
  361.         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.'143$this->source); })()), "Drawer", [], "any"falsefalsetrue143)) {
  362.             // line 144
  363.             echo "        ";
  364.             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.'144$this->source); })()), "Drawer", [], "any"falsefalsetrue144)]);
  365.             echo "
  366.     ";
  367.         }
  368.         // line 146
  369.         echo "</div>
  370. <div class=\"ec-blockTopBtn pagetop\">";
  371.         // line 147
  372.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("ページトップへ"), "html"nulltrue);
  373.         echo "</div>
  374. ";
  375.         // line 148
  376.         $this->loadTemplate("@common/lang.twig""default_frame.twig"148)->display($context);
  377.         // line 149
  378.         echo "<script src=\"";
  379.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/function.js"), "html"nulltrue);
  380.         echo "\"></script>
  381. <script src=\"";
  382.         // line 150
  383.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/eccube.js"), "html"nulltrue);
  384.         echo "\"></script>
  385. ";
  386.         // line 151
  387.         $this->displayBlock('javascript'$context$blocks);
  388.         // line 153
  389.         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.'153$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue153)) {
  390.             // line 154
  391.             echo "    ";
  392.             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.'154$this->source); })()), "CloseBodyBefore", [], "any"falsefalsetrue154)]);
  393.             echo "
  394. ";
  395.         }
  396.         // line 157
  397.         if (array_key_exists("plugin_snippets"$context)) {
  398.             // line 158
  399.             echo "    ";
  400.             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.'158$this->source); })())]);
  401.             echo "
  402. ";
  403.         }
  404.         // line 160
  405.         echo "    <script src=\"";
  406.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/js/customize.js""user_data"), "html"nulltrue);
  407.         echo "\"></script>
  408. </body>
  409. </html>
  410. ";
  411.         
  412.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  413.         
  414.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  415.     }
  416.     // line 29
  417.     public function block_stylesheet($context, array $blocks = [])
  418.     {
  419.         $macros $this->macros;
  420.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  421.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  422.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  423.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  424.         
  425.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  426.         
  427.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  428.     }
  429.     // line 106
  430.     public function block_main($context, array $blocks = [])
  431.     {
  432.         $macros $this->macros;
  433.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  434.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  435.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  436.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  437.         
  438.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  439.         
  440.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  441.     }
  442.     // line 151
  443.     public function block_javascript($context, array $blocks = [])
  444.     {
  445.         $macros $this->macros;
  446.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  447.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  448.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  449.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  450.         
  451.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  452.         
  453.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  454.     }
  455.     public function getTemplateName()
  456.     {
  457.         return "default_frame.twig";
  458.     }
  459.     public function isTraitable()
  460.     {
  461.         return false;
  462.     }
  463.     public function getDebugInfo()
  464.     {
  465.         return array (  469 => 151,  451 => 106,  433 => 29,  418 => 160,  412 => 158,  410 => 157,  404 => 154,  402 => 153,  400 => 151,  396 => 150,  391 => 149,  389 => 148,  385 => 147,  382 => 146,  376 => 144,  373 => 143,  366 => 137,  360 => 134,  357 => 133,  354 => 132,  351 => 130,  345 => 127,  342 => 126,  339 => 125,  335 => 122,  329 => 119,  326 => 118,  323 => 117,  319 => 114,  313 => 111,  310 => 110,  307 => 109,  304 => 107,  301 => 106,  298 => 104,  292 => 101,  289 => 100,  286 => 99,  282 => 97,  279 => 96,  276 => 95,  273 => 94,  270 => 93,  267 => 92,  264 => 91,  262 => 90,  259 => 89,  253 => 86,  250 => 85,  247 => 84,  243 => 81,  237 => 78,  234 => 77,  231 => 76,  228 => 74,  222 => 71,  219 => 70,  216 => 69,  212 => 66,  205 => 62,  201 => 61,  197 => 59,  195 => 58,  192 => 57,  186 => 55,  184 => 54,  178 => 52,  172 => 50,  167 => 49,  165 => 48,  159 => 46,  156 => 45,  140 => 30,  138 => 29,  134 => 28,  130 => 27,  124 => 25,  118 => 23,  115 => 22,  109 => 20,  106 => 19,  100 => 17,  97 => 16,  91 => 14,  88 => 13,  82 => 11,  80 => 10,  75 => 9,  73 => 8,  62 => 7,  58 => 6,  51 => 2,  48 => 1,);
  466.     }
  467.     public function getSourceContext()
  468.     {
  469.         return new Source("<!doctype html>
  470. <html lang=\"{{ eccube_config.locale }}\">
  471. <head prefix=\"og: https://ogp.me/ns# fb: https://ogp.me/ns/fb# product: https://ogp.me/ns/product#\">
  472.     <meta charset=\"utf-8\">
  473.     <meta name=\"viewport\" content=\"width=device-width, initial-scale=1, shrink-to-fit=no\">
  474.     <meta name=\"eccube-csrf-token\" content=\"{{ csrf_token(constant('Eccube\\\\Common\\\\Constant::TOKEN_NAME')) }}\">
  475.     <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>
  476.     {% if Page.meta_tags is not empty %}
  477.         {{ include(template_from_string(Page.meta_tags), sandboxed = true) }}
  478.         {% if Page.description is not empty %}
  479.             <meta name=\"description\" content=\"{{ Page.description }}\">
  480.         {% endif %}
  481.     {% else %}
  482.         {{ include('meta.twig') }}
  483.     {% endif %}
  484.     {% if Page.author is not empty %}
  485.         <meta name=\"author\" content=\"{{ Page.author }}\">
  486.     {% endif %}
  487.     {% if Page.keyword is not empty %}
  488.         <meta name=\"keywords\" content=\"{{ Page.keyword }}\">
  489.     {% endif %}
  490.     {% if Page.meta_robots is not empty %}
  491.         <meta name=\"robots\" content=\"{{ Page.meta_robots }}\">
  492.     {% endif %}
  493.     <link rel=\"icon\" href=\"{{ asset('assets/img/common/favicon.ico', 'user_data') }}\">
  494.     <link rel=\"stylesheet\" href=\"https://use.fontawesome.com/releases/v5.3.1/css/all.css\" integrity=\"sha384-mzrmE5qonljUremFsqc01SB46JvROS7bZs3IO2EmfFsd15uHvIt+Y8vEf7N7fWAU\" crossorigin=\"anonymous\">
  495.     <link rel=\"stylesheet\" href=\"{{ asset('assets/css/style.css') }}\">
  496.     <script src=\"{{ asset('front.bundle.js', 'bundle') }}\"></script>
  497.     {% block stylesheet %}{% endblock %}
  498.     <script>
  499.         \$(function() {
  500.             \$.ajaxSetup({
  501.                 'headers': {
  502.                     'ECCUBE-CSRF-TOKEN': \$('meta[name=\"eccube-csrf-token\"]').attr('content')
  503.                 }
  504.             });
  505.             // readonlyのselectboxを開かないようにする
  506.             \$('select[readonly]').on(\"focus mousedown touchstart\", function(e) {
  507.                 e.preventDefault();
  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""/home/apex4biotop/public_html/dev.biotop.ne.jp/app/template/biotop/default_frame.twig");
  619.     }
  620.     
  621.     public function checkSecurity()
  622.     {
  623.         static $tags = array("if" => 7"block" => 29"set" => 90"include" => 148);
  624.         static $filters = array("escape" => 2"default" => 52"trans" => 62);
  625.         static $functions = array("csrf_token" => 6"constant" => 6"include" => 9"template_from_string" => 9"asset" => 25);
  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. }