var/cache/dev/twig/0d/0dc3a0838840484fead0b6001b64e8db.php line 42

Open in your IDE?
  1. <?php
  2. use Twig\Environment;
  3. use Twig\Error\LoaderError;
  4. use Twig\Error\RuntimeError;
  5. use Twig\Extension\SandboxExtension;
  6. use Twig\Markup;
  7. use Twig\Sandbox\SecurityError;
  8. use Twig\Sandbox\SecurityNotAllowedTagError;
  9. use Twig\Sandbox\SecurityNotAllowedFilterError;
  10. use Twig\Sandbox\SecurityNotAllowedFunctionError;
  11. use Twig\Source;
  12. use Twig\Template;
  13. /* index.twig */
  14. class __TwigTemplate_c5e7e587e7545df2c6b960d9e104a8c8 extends \Eccube\Twig\Template
  15. {
  16.     private $source;
  17.     private $macros = [];
  18.     public function __construct(Environment $env)
  19.     {
  20.         parent::__construct($env);
  21.         $this->source = $this->getSourceContext();
  22.         $this->blocks = [
  23.             'stylesheet' => [$this, 'block_stylesheet'],
  24.             'javascript' => [$this, 'block_javascript'],
  25.             'main' => [$this, 'block_main'],
  26.         ];
  27.         $this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
  28.         $this->checkSecurity();
  29.     }
  30.     protected function doGetParent(array $context)
  31.     {
  32.         // line 11
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros = $this->macros;
  38.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
  40.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "index.twig"));
  42.         // line 13
  43.         $context["body_class"] = "front_page";
  44.         // line 11
  45.         $this->parent = $this->loadTemplate("default_frame.twig", "index.twig", 11);
  46.         $this->parent->display($context, array_merge($this->blocks, $blocks));
  47.         
  48.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  49.         
  50.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros = $this->macros;
  56.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "stylesheet"));
  60.         // line 16
  61.         echo "    <style>
  62.         .slick-slider {
  63.             margin-bottom: 30px;
  64.         }
  65.         @media (min-width: 768px) {
  66.             #page_homepage .ec-layoutRole__header {
  67.                 border-bottom: 0;
  68.             }
  69.             .ec-sliderRole {
  70.                 overflow-x: hidden;
  71.                 width: 100%;
  72.             }
  73.             .main_visual .slick-list {
  74.                 overflow: visible !important;
  75.             }
  76.             .main_visual .slick-slide {
  77.                 padding: 0 10px;
  78.                 box-sizing: border-box;
  79.             }
  80.             .main_visual .slick-slide {
  81.                 margin: 0 0;
  82.             }
  83.         }
  84.         .slick-dots {
  85.             position: absolute;
  86.             bottom: -45px;
  87.             display: block;
  88.             width: 100%;
  89.             padding: 0;
  90.             list-style: none;
  91.             text-align: center;
  92.         }
  93.         .slick-dots li {
  94.             position: relative;
  95.             display: inline-block;
  96.             width: 20px;
  97.             height: 20px;
  98.             margin: 0 5px;
  99.             padding: 0;
  100.             cursor: pointer;
  101.         }
  102.         .slick-dots li button {
  103.             font-size: 0;
  104.             line-height: 0;
  105.             display: block;
  106.             width: 20px;
  107.             height: 20px;
  108.             padding: 5px;
  109.             cursor: pointer;
  110.             color: transparent;
  111.             border: 0;
  112.             outline: none;
  113.             background: transparent;
  114.         }
  115.         .slick-dots li button:hover,
  116.         .slick-dots li button:focus {
  117.             outline: none;
  118.         }
  119.         .slick-dots li button:hover:before,
  120.         .slick-dots li button:focus:before {
  121.             opacity: 1;
  122.         }
  123.         .slick-dots li button:before {
  124.             content: \" \";
  125.             line-height: 20px;
  126.             position: absolute;
  127.             top: 0;
  128.             left: 0;
  129.             width: 12px;
  130.             height: 12px;
  131.             text-align: center;
  132.             opacity: .25;
  133.             background-color: black;
  134.             border-radius: 50%;
  135.         }
  136.         .slick-dots li.slick-active button:before {
  137.             opacity: .75;
  138.             background-color: black;
  139.         }
  140.         .slick-dots li button.thumbnail img {
  141.             width: 0;
  142.             height: 0;
  143.         }
  144.     </style>
  145. ";
  146.         
  147.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  148.         
  149.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  150.     }
  151.     // line 114
  152.     public function block_javascript($context, array $blocks = [])
  153.     {
  154.         $macros = $this->macros;
  155.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  156.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
  157.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  158.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "javascript"));
  159.         // line 115
  160.         echo "    <script>
  161.         \$(function() {
  162.             \$('.main_visual').slick({
  163.                 // ▼ 基本設定:PC(768px以上)で適用される設定
  164.                 dots: true,
  165.                 arrows: false,
  166.                 autoplay: true,
  167.                 speed: 300,
  168.                 centerMode: true,
  169.                 centerPadding: '21%',
  170.                 // ▼ レスポンシブ設定:768px未満(スマホ)で上書きする設定
  171.                 responsive: [
  172.                     {
  173.                         breakpoint: 768,
  174.                         settings: {
  175.                             centerMode: false,
  176.                             centerPadding: '0px'
  177.                         }
  178.                     }
  179.                 ]
  180.             });
  181.         });
  182.     </script>
  183. ";
  184.         
  185.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  186.         
  187.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  188.     }
  189.     // line 141
  190.     public function block_main($context, array $blocks = [])
  191.     {
  192.         $macros = $this->macros;
  193.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  194.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  195.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  196.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block", "main"));
  197.         // line 142
  198.         echo "    <div class=\"ec-sliderRole\">
  199.         <div class=\"main_visual\">
  200.             <!--ここ箇所に、トップページで表示させるスライドショー画像をセットします-->
  201.             <!-- スライドせっていここから-->
  202.             <a href=\"/feature/wintergift2026\">
  203.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/2026winterpresent.png\"></div>
  204.             </a>
  205.             <a href=\"/feature/kuronoitadaki2026\">
  206.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/kuronoitadakibanner.png?var=7\"></div>
  207.             </a>
  208.             <a href=\"/feature/article1\">
  209.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/azitokaori21000.jpg\"></div>
  210.             </a>
  211.             <a href=\"/feature/souryou_muryou\">
  212.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/mailbanner.png?var=7\"></div>
  213.             </a>
  214.             <!-- スライドせっていここまで-->
  215.         </div>
  216.     </div>
  217. ";
  218.         
  219.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  220.         
  221.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  222.     }
  223.     public function getTemplateName()
  224.     {
  225.         return "index.twig";
  226.     }
  227.     public function isTraitable()
  228.     {
  229.         return false;
  230.     }
  231.     public function getDebugInfo()
  232.     {
  233.         return array (  235 => 142,  225 => 141,  191 => 115,  181 => 114,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  234.     }
  235.     public function getSourceContext()
  236.     {
  237.         return new Source("{#
  238. This file is part of EC-CUBE
  239. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  240. http://www.ec-cube.co.jp/
  241. For the full copyright and license information, please view the LICENSE
  242. file that was distributed with this source code.
  243. #}
  244. {% extends 'default_frame.twig' %}
  245. {% set body_class = 'front_page' %}
  246. {% block stylesheet %}
  247.     <style>
  248.         .slick-slider {
  249.             margin-bottom: 30px;
  250.         }
  251.         @media (min-width: 768px) {
  252.             #page_homepage .ec-layoutRole__header {
  253.                 border-bottom: 0;
  254.             }
  255.             .ec-sliderRole {
  256.                 overflow-x: hidden;
  257.                 width: 100%;
  258.             }
  259.             .main_visual .slick-list {
  260.                 overflow: visible !important;
  261.             }
  262.             .main_visual .slick-slide {
  263.                 padding: 0 10px;
  264.                 box-sizing: border-box;
  265.             }
  266.             .main_visual .slick-slide {
  267.                 margin: 0 0;
  268.             }
  269.         }
  270.         .slick-dots {
  271.             position: absolute;
  272.             bottom: -45px;
  273.             display: block;
  274.             width: 100%;
  275.             padding: 0;
  276.             list-style: none;
  277.             text-align: center;
  278.         }
  279.         .slick-dots li {
  280.             position: relative;
  281.             display: inline-block;
  282.             width: 20px;
  283.             height: 20px;
  284.             margin: 0 5px;
  285.             padding: 0;
  286.             cursor: pointer;
  287.         }
  288.         .slick-dots li button {
  289.             font-size: 0;
  290.             line-height: 0;
  291.             display: block;
  292.             width: 20px;
  293.             height: 20px;
  294.             padding: 5px;
  295.             cursor: pointer;
  296.             color: transparent;
  297.             border: 0;
  298.             outline: none;
  299.             background: transparent;
  300.         }
  301.         .slick-dots li button:hover,
  302.         .slick-dots li button:focus {
  303.             outline: none;
  304.         }
  305.         .slick-dots li button:hover:before,
  306.         .slick-dots li button:focus:before {
  307.             opacity: 1;
  308.         }
  309.         .slick-dots li button:before {
  310.             content: \" \";
  311.             line-height: 20px;
  312.             position: absolute;
  313.             top: 0;
  314.             left: 0;
  315.             width: 12px;
  316.             height: 12px;
  317.             text-align: center;
  318.             opacity: .25;
  319.             background-color: black;
  320.             border-radius: 50%;
  321.         }
  322.         .slick-dots li.slick-active button:before {
  323.             opacity: .75;
  324.             background-color: black;
  325.         }
  326.         .slick-dots li button.thumbnail img {
  327.             width: 0;
  328.             height: 0;
  329.         }
  330.     </style>
  331. {% endblock %}
  332. {% block javascript %}
  333.     <script>
  334.         \$(function() {
  335.             \$('.main_visual').slick({
  336.                 // ▼ 基本設定:PC(768px以上)で適用される設定
  337.                 dots: true,
  338.                 arrows: false,
  339.                 autoplay: true,
  340.                 speed: 300,
  341.                 centerMode: true,
  342.                 centerPadding: '21%',
  343.                 // ▼ レスポンシブ設定:768px未満(スマホ)で上書きする設定
  344.                 responsive: [
  345.                     {
  346.                         breakpoint: 768,
  347.                         settings: {
  348.                             centerMode: false,
  349.                             centerPadding: '0px'
  350.                         }
  351.                     }
  352.                 ]
  353.             });
  354.         });
  355.     </script>
  356. {% endblock javascript %}
  357. {% block main %}
  358.     <div class=\"ec-sliderRole\">
  359.         <div class=\"main_visual\">
  360.             <!--ここ箇所に、トップページで表示させるスライドショー画像をセットします-->
  361.             <!-- スライドせっていここから-->
  362.             <a href=\"/feature/wintergift2026\">
  363.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/2026winterpresent.png\"></div>
  364.             </a>
  365.             <a href=\"/feature/kuronoitadaki2026\">
  366.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/kuronoitadakibanner.png?var=7\"></div>
  367.             </a>
  368.             <a href=\"/feature/article1\">
  369.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/azitokaori21000.jpg\"></div>
  370.             </a>
  371.             <a href=\"/feature/souryou_muryou\">
  372.                 <div class=\"item slick-slide\" style=\"width:100%;\"><img src=\"/html/user_data/banner/mailbanner.png?var=7\"></div>
  373.             </a>
  374.             <!-- スライドせっていここまで-->
  375.         </div>
  376.     </div>
  377. {% endblock %}", "index.twig", "/home/cajiya00/jklfdsa.com/public_html/shop-iizuka-nori.jklfdsa.com/app/template/iizukanew/index.twig");
  378.     }
  379.     
  380.     public function checkSecurity()
  381.     {
  382.         static $tags = array("set" => 13);
  383.         static $filters = array();
  384.         static $functions = array();
  385.         try {
  386.             $this->sandbox->checkSecurity(
  387.                 ['set'],
  388.                 [],
  389.                 []
  390.             );
  391.         } catch (SecurityError $e) {
  392.             $e->setSourceContext($this->source);
  393.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  394.                 $e->setTemplateLine($tags[$e->getTagName()]);
  395.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  396.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  397.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  398.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  399.             }
  400.             throw $e;
  401.         }
  402.     }
  403. }