var/cache/dev/twig/13/13c95dafac748e9d518cf145c1526d1a38bbf731c0960c15d6ce114fd26752f2.php line 55

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_7db8c03847292e16208458340808f21f8fa61fc937e3887bb8b8bda05ba2e9c3 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 12
  33.         return "default_frame.twig";
  34.     }
  35.     protected function doDisplay(array $context, array $blocks = [])
  36.     {
  37.         $macros $this->macros;
  38.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  42.         // line 14
  43.         $context["body_class"] = "front_page";
  44.         // line 12
  45.         $this->parent $this->loadTemplate("default_frame.twig""index.twig"12);
  46.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  47.         
  48.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 16
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         
  61.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  62.         
  63.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  64.     }
  65.     // line 96
  66.     public function block_javascript($context, array $blocks = [])
  67.     {
  68.         $macros $this->macros;
  69.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  70.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  71.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  72.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  73.         
  74.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  75.         
  76.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  77.     }
  78.     // line 112
  79.     public function block_main($context, array $blocks = [])
  80.     {
  81.         $macros $this->macros;
  82.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  83.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  84.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  85.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  86.         
  87.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  88.         
  89.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  90.     }
  91.     public function getTemplateName()
  92.     {
  93.         return "index.twig";
  94.     }
  95.     public function isTraitable()
  96.     {
  97.         return false;
  98.     }
  99.     public function getDebugInfo()
  100.     {
  101.         return array (  101 => 112,  83 => 96,  65 => 16,  54 => 12,  52 => 14,  39 => 12,);
  102.     }
  103.     public function getSourceContext()
  104.     {
  105.         return new Source("{#
  106. This file is part of EC-CUBE
  107. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  108. http://www.ec-cube.co.jp/
  109. For the full copyright and license information, please view the LICENSE
  110. file that was distributed with this source code.
  111. #}
  112. {% extends 'default_frame.twig' %}
  113. {% set body_class = 'front_page' %}
  114. {% block stylesheet %}
  115. {#
  116.     <style>
  117.         .slick-slider {
  118.             margin-bottom: 30px;
  119.         }
  120.         .slick-dots {
  121.             position: absolute;
  122.             bottom: -45px;
  123.             display: block;
  124.             width: 100%;
  125.             padding: 0;
  126.             list-style: none;
  127.             text-align: center;
  128.         }
  129.         .slick-dots li {
  130.             position: relative;
  131.             display: inline-block;
  132.             width: 20px;
  133.             height: 20px;
  134.             margin: 0 5px;
  135.             padding: 0;
  136.             cursor: pointer;
  137.         }
  138.         .slick-dots li button {
  139.             font-size: 0;
  140.             line-height: 0;
  141.             display: block;
  142.             width: 20px;
  143.             height: 20px;
  144.             padding: 5px;
  145.             cursor: pointer;
  146.             color: transparent;
  147.             border: 0;
  148.             outline: none;
  149.             background: transparent;
  150.         }
  151.         .slick-dots li button:hover,
  152.         .slick-dots li button:focus {
  153.             outline: none;
  154.         }
  155.         .slick-dots li button:hover:before,
  156.         .slick-dots li button:focus:before {
  157.             opacity: 1;
  158.         }
  159.         .slick-dots li button:before {
  160.             content: \" \";
  161.             line-height: 20px;
  162.             position: absolute;
  163.             top: 0;
  164.             left: 0;
  165.             width: 12px;
  166.             height: 12px;
  167.             text-align: center;
  168.             opacity: .25;
  169.             background-color: black;
  170.             border-radius: 50%;
  171.         }
  172.         .slick-dots li.slick-active button:before {
  173.             opacity: .75;
  174.             background-color: black;
  175.         }
  176.         .slick-dots li button.thumbnail img {
  177.             width: 0;
  178.             height: 0;
  179.         }
  180.     </style>
  181. #}
  182. {% endblock %}
  183. {% block javascript %}
  184. {#
  185.     <script>
  186.         \$(function() {
  187.             \$('.main_visual').slick({
  188.                 dots: true,
  189.                 arrows: false,
  190.                 autoplay: true,
  191.                 speed: 300
  192.             });
  193.         });
  194.     </script>
  195. #}
  196. {% endblock javascript %}
  197. {% block main %}
  198. {#    
  199.     <div class=\"ec-sliderRole\">
  200.         <div class=\"main_visual\">
  201.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc01.jpg') }}\"></div>
  202.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc02.jpg') }}\"></div>
  203.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc03.jpg') }}\"></div>
  204.         </div>
  205.     </div>
  206. #}
  207. {% endblock %}""index.twig""/home/nakatomishop/www/NfNudtBdkd/app/template/default/index.twig");
  208.     }
  209.     
  210.     public function checkSecurity()
  211.     {
  212.         static $tags = array("set" => 14);
  213.         static $filters = array();
  214.         static $functions = array();
  215.         try {
  216.             $this->sandbox->checkSecurity(
  217.                 ['set'],
  218.                 [],
  219.                 []
  220.             );
  221.         } catch (SecurityError $e) {
  222.             $e->setSourceContext($this->source);
  223.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  224.                 $e->setTemplateLine($tags[$e->getTagName()]);
  225.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  226.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  227.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  228.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  229.             }
  230.             throw $e;
  231.         }
  232.     }
  233. }