var/cache/dev/twig/73/73666fe92882b729465806f8221b27bda775a5936453a4c4ff8eb7c0352233c9.php line 40

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