var/cache/dev/twig/ba/ba26a4c54f0bd694d80b0c5585ca48d7c38915081f3a5a6c63221d5cd44ea6f2.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_9b98fc309ba1e298776264c63de1e37285ea1bd37dc51d016092d43361267860 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/topimage5.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/topimage1.png"), "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/topimage2.png"), "html"nulltrue);
  177.         echo "\"></div>
  178.             <div class=\"item slick-slide\"><img src=\"";
  179.         // line 112
  180.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/topimage3.png"), "html"nulltrue);
  181.         echo "\"></div>
  182.         </div>
  183.     </div>
  184. ";
  185.         
  186.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  187.         
  188.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  189.     }
  190.     public function getTemplateName()
  191.     {
  192.         return "index.twig";
  193.     }
  194.     public function isTraitable()
  195.     {
  196.         return false;
  197.     }
  198.     public function getDebugInfo()
  199.     {
  200.         return array (  214 => 112,  210 => 111,  206 => 110,  202 => 109,  198 => 107,  188 => 106,  168 => 94,  158 => 93,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  201.     }
  202.     public function getSourceContext()
  203.     {
  204.         return new Source("{#
  205. This file is part of EC-CUBE
  206. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  207. http://www.ec-cube.co.jp/
  208. For the full copyright and license information, please view the LICENSE
  209. file that was distributed with this source code.
  210. #}
  211. {% extends 'default_frame.twig' %}
  212. {% set body_class = 'front_page' %}
  213. {% block stylesheet %}
  214.     <style>
  215.         .slick-slider {
  216.             margin-bottom: 30px;
  217.         }
  218.         .slick-dots {
  219.             position: absolute;
  220.             bottom: -45px;
  221.             display: block;
  222.             width: 100%;
  223.             padding: 0;
  224.             list-style: none;
  225.             text-align: center;
  226.         }
  227.         .slick-dots li {
  228.             position: relative;
  229.             display: inline-block;
  230.             width: 20px;
  231.             height: 20px;
  232.             margin: 0 5px;
  233.             padding: 0;
  234.             cursor: pointer;
  235.         }
  236.         .slick-dots li button {
  237.             font-size: 0;
  238.             line-height: 0;
  239.             display: block;
  240.             width: 20px;
  241.             height: 20px;
  242.             padding: 5px;
  243.             cursor: pointer;
  244.             color: transparent;
  245.             border: 0;
  246.             outline: none;
  247.             background: transparent;
  248.         }
  249.         .slick-dots li button:hover,
  250.         .slick-dots li button:focus {
  251.             outline: none;
  252.         }
  253.         .slick-dots li button:hover:before,
  254.         .slick-dots li button:focus:before {
  255.             opacity: 1;
  256.         }
  257.         .slick-dots li button:before {
  258.             content: \" \";
  259.             line-height: 20px;
  260.             position: absolute;
  261.             top: 0;
  262.             left: 0;
  263.             width: 12px;
  264.             height: 12px;
  265.             text-align: center;
  266.             opacity: .25;
  267.             background-color: black;
  268.             border-radius: 50%;
  269.         }
  270.         .slick-dots li.slick-active button:before {
  271.             opacity: .75;
  272.             background-color: black;
  273.         }
  274.         .slick-dots li button.thumbnail img {
  275.             width: 0;
  276.             height: 0;
  277.         }
  278.     </style>
  279. {% endblock %}
  280. {% block javascript %}
  281.     <script>
  282.         \$(function() {
  283.             \$('.main_visual').slick({
  284.                 dots: true,
  285.                 arrows: false,
  286.                 autoplay: true,
  287.                 speed: 300
  288.             });
  289.         });
  290.     </script>
  291. {% endblock javascript %}
  292. {% block main %}
  293.     <div class=\"ec-sliderRole\">
  294.         <div class=\"main_visual\">
  295.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/topimage5.jpg') }}\"></div>
  296.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/topimage1.png') }}\"></div>
  297.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/topimage2.png') }}\"></div>
  298.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/topimage3.png') }}\"></div>
  299.         </div>
  300.     </div>
  301. {% endblock %}""index.twig""/home/xs935478/flap-shop.com/public_html/app/template/flapshop/index.twig");
  302.     }
  303. }