var/cache/dev/twig/30/3019b78dc2d56f583fcb91dd75810936.php line 52

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_d764253bb1aabca6f474bd28c2baaf91 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.         ];
  26.     }
  27.     protected function doGetParent(array $context)
  28.     {
  29.         // line 11
  30.         return "default_frame.twig";
  31.     }
  32.     protected function doDisplay(array $context, array $blocks = [])
  33.     {
  34.         $macros $this->macros;
  35.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  36.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  37.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  38.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  39.         // line 13
  40.         $context["body_class"] = "front_page";
  41.         // line 11
  42.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"11);
  43.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  44.         
  45.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  46.         
  47.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  48.     }
  49.     // line 15
  50.     public function block_stylesheet($context, array $blocks = [])
  51.     {
  52.         $macros $this->macros;
  53.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  54.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  55.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  56.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  57.         // line 16
  58.         echo "    <style>
  59.         .slick-slider {
  60.             margin-bottom: 30px;
  61.         }
  62.         .slick-dots {
  63.             position: absolute;
  64.             bottom: -45px;
  65.             display: block;
  66.             width: 100%;
  67.             padding: 0;
  68.             list-style: none;
  69.             text-align: center;
  70.         }
  71.         .slick-dots li {
  72.             position: relative;
  73.             display: inline-block;
  74.             width: 20px;
  75.             height: 20px;
  76.             margin: 0 5px;
  77.             padding: 0;
  78.             cursor: pointer;
  79.         }
  80.         .slick-dots li button {
  81.             font-size: 0;
  82.             line-height: 0;
  83.             display: block;
  84.             width: 20px;
  85.             height: 20px;
  86.             padding: 5px;
  87.             cursor: pointer;
  88.             color: transparent;
  89.             border: 0;
  90.             outline: none;
  91.             background: transparent;
  92.         }
  93.         .slick-dots li button:hover,
  94.         .slick-dots li button:focus {
  95.             outline: none;
  96.         }
  97.         .slick-dots li button:hover:before,
  98.         .slick-dots li button:focus:before {
  99.             opacity: 1;
  100.         }
  101.         .slick-dots li button:before {
  102.             content: \" \";
  103.             line-height: 20px;
  104.             position: absolute;
  105.             top: 0;
  106.             left: 0;
  107.             width: 12px;
  108.             height: 12px;
  109.             text-align: center;
  110.             opacity: .25;
  111.             background-color: black;
  112.             border-radius: 50%;
  113.         }
  114.         .slick-dots li.slick-active button:before {
  115.             opacity: .75;
  116.             background-color: black;
  117.         }
  118.         .slick-dots li button.thumbnail img {
  119.             width: 0;
  120.             height: 0;
  121.         }
  122.     </style>
  123. ";
  124.         
  125.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  126.         
  127.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  128.     }
  129.     // line 93
  130.     public function block_javascript($context, array $blocks = [])
  131.     {
  132.         $macros $this->macros;
  133.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  134.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  135.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  136.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  137.         // line 94
  138.         echo "    <script>
  139.         \$(function() {
  140.             \$('.main_visual').slick({
  141.                 dots: true,
  142.                 arrows: false,
  143.                 autoplay: true,
  144.                 speed: 300
  145.             });
  146.         });
  147.     </script>
  148. ";
  149.         
  150.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  151.         
  152.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  153.     }
  154.     public function getTemplateName()
  155.     {
  156.         return "index.twig";
  157.     }
  158.     public function isTraitable()
  159.     {
  160.         return false;
  161.     }
  162.     public function getDebugInfo()
  163.     {
  164.         return array (  167 => 94,  157 => 93,  72 => 16,  62 => 15,  51 => 11,  49 => 13,  36 => 11,);
  165.     }
  166.     public function getSourceContext()
  167.     {
  168.         return new Source("{#
  169. This file is part of EC-CUBE
  170. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  171. http://www.ec-cube.co.jp/
  172. For the full copyright and license information, please view the LICENSE
  173. file that was distributed with this source code.
  174. #}
  175. {% extends 'default_frame.twig' %}
  176. {% set body_class = 'front_page' %}
  177. {% block stylesheet %}
  178.     <style>
  179.         .slick-slider {
  180.             margin-bottom: 30px;
  181.         }
  182.         .slick-dots {
  183.             position: absolute;
  184.             bottom: -45px;
  185.             display: block;
  186.             width: 100%;
  187.             padding: 0;
  188.             list-style: none;
  189.             text-align: center;
  190.         }
  191.         .slick-dots li {
  192.             position: relative;
  193.             display: inline-block;
  194.             width: 20px;
  195.             height: 20px;
  196.             margin: 0 5px;
  197.             padding: 0;
  198.             cursor: pointer;
  199.         }
  200.         .slick-dots li button {
  201.             font-size: 0;
  202.             line-height: 0;
  203.             display: block;
  204.             width: 20px;
  205.             height: 20px;
  206.             padding: 5px;
  207.             cursor: pointer;
  208.             color: transparent;
  209.             border: 0;
  210.             outline: none;
  211.             background: transparent;
  212.         }
  213.         .slick-dots li button:hover,
  214.         .slick-dots li button:focus {
  215.             outline: none;
  216.         }
  217.         .slick-dots li button:hover:before,
  218.         .slick-dots li button:focus:before {
  219.             opacity: 1;
  220.         }
  221.         .slick-dots li button:before {
  222.             content: \" \";
  223.             line-height: 20px;
  224.             position: absolute;
  225.             top: 0;
  226.             left: 0;
  227.             width: 12px;
  228.             height: 12px;
  229.             text-align: center;
  230.             opacity: .25;
  231.             background-color: black;
  232.             border-radius: 50%;
  233.         }
  234.         .slick-dots li.slick-active button:before {
  235.             opacity: .75;
  236.             background-color: black;
  237.         }
  238.         .slick-dots li button.thumbnail img {
  239.             width: 0;
  240.             height: 0;
  241.         }
  242.     </style>
  243. {% endblock %}
  244. {% block javascript %}
  245.     <script>
  246.         \$(function() {
  247.             \$('.main_visual').slick({
  248.                 dots: true,
  249.                 arrows: false,
  250.                 autoplay: true,
  251.                 speed: 300
  252.             });
  253.         });
  254.     </script>
  255. {% endblock javascript %}
  256. {# {% block main %}
  257.     <div class=\"ec-sliderRole\">
  258.         <div class=\"main_visual\">
  259.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc01.jpg') }}\"></div>
  260.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc02.jpg') }}\"></div>
  261.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc03.jpg') }}\"></div>
  262.         </div>
  263.     </div>
  264.     <div class=\"product-list\">
  265.       商品A
  266.         {% for product in products %}
  267.         <div class=\"product-item\">
  268.             <div class=\"product-label\">Jack共同チラシ<br>今月のLCRチラシ掲載商品</div>
  269.             <img src=\"{{ product.image }}\" alt=\"{{ product.name }}\">
  270.             <div class=\"product-name\">{{ product.name }}</div>
  271.             <div class=\"product-price\">¥ {{ product.price }} <span class=\"discount\">{{ product.discount }}</span></div>
  272.         </div>
  273.         {% endfor %}
  274.     </div>
  275. {% endblock %} #}""index.twig""/home/runrig2004/1000ryoku-ec.jp/public_html/jusetsu-net.1000ryoku-ec.jp/app/template/default/index.twig");
  276.     }
  277. }