var/cache/dev/twig/54/5422f8741f6cb41fbaf1ab655d3c79af90d3c10aaa45fa8493dbdf435ba555a2.php line 53

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_01e27adddb4910b9976b41067c6b1c8ce488bdfecd6b70e478b821f28db8ab1e 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.         .ec-categoryRole__introTitle {
  124.             font-weight: bold;
  125.             line-height: 20px;
  126.             text-align: center;
  127.             padding: 15px;
  128.         }
  129.     </style>
  130. ";
  131.         
  132.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  133.         
  134.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  135.     }
  136.     // line 99
  137.     public function block_javascript($context, array $blocks = [])
  138.     {
  139.         $macros $this->macros;
  140.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  141.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  142.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  143.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  144.         // line 100
  145.         echo "    <script>
  146.         \$(function() {
  147.             \$('.main_visual').slick({
  148.                 dots: true,
  149.                 arrows: false,
  150.                 autoplay: true,
  151.                 speed: 300
  152.             });
  153.         });
  154.     </script>
  155. ";
  156.         
  157.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  158.         
  159.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  160.     }
  161.     // line 112
  162.     public function block_main($context, array $blocks = [])
  163.     {
  164.         $macros $this->macros;
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  166.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  167.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  168.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  169.         // line 113
  170.         echo "    <div class=\"ec-sliderRole\">
  171.         <div class=\"main_visual\">
  172.             <div class=\"item slick-slide\"><img src=\"";
  173.         // line 115
  174.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/top01.png"), "html"nulltrue);
  175.         echo "\"></div>
  176.             <div class=\"item slick-slide\"><img src=\"";
  177.         // line 116
  178.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/top02.png"), "html"nulltrue);
  179.         echo "\"></div>
  180.             <div class=\"item slick-slide\"><img src=\"";
  181.         // line 117
  182.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/top03.png"), "html"nulltrue);
  183.         echo "\"></div>
  184.         </div>
  185.     </div>
  186. ";
  187.         
  188.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  189.         
  190.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  191.     }
  192.     public function getTemplateName()
  193.     {
  194.         return "index.twig";
  195.     }
  196.     public function isTraitable()
  197.     {
  198.         return false;
  199.     }
  200.     public function getDebugInfo()
  201.     {
  202.         return array (  216 => 117,  212 => 116,  208 => 115,  204 => 113,  194 => 112,  174 => 100,  164 => 99,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  203.     }
  204.     public function getSourceContext()
  205.     {
  206.         return new Source("{#
  207. This file is part of EC-CUBE
  208. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  209. http://www.ec-cube.co.jp/
  210. For the full copyright and license information, please view the LICENSE
  211. file that was distributed with this source code.
  212. #}
  213. {% extends 'default_frame.twig' %}
  214. {% set body_class = 'front_page' %}
  215. {% block stylesheet %}
  216.     <style>
  217.         .slick-slider {
  218.             margin-bottom: 30px;
  219.         }
  220.         .slick-dots {
  221.             position: absolute;
  222.             bottom: -45px;
  223.             display: block;
  224.             width: 100%;
  225.             padding: 0;
  226.             list-style: none;
  227.             text-align: center;
  228.         }
  229.         .slick-dots li {
  230.             position: relative;
  231.             display: inline-block;
  232.             width: 20px;
  233.             height: 20px;
  234.             margin: 0 5px;
  235.             padding: 0;
  236.             cursor: pointer;
  237.         }
  238.         .slick-dots li button {
  239.             font-size: 0;
  240.             line-height: 0;
  241.             display: block;
  242.             width: 20px;
  243.             height: 20px;
  244.             padding: 5px;
  245.             cursor: pointer;
  246.             color: transparent;
  247.             border: 0;
  248.             outline: none;
  249.             background: transparent;
  250.         }
  251.         .slick-dots li button:hover,
  252.         .slick-dots li button:focus {
  253.             outline: none;
  254.         }
  255.         .slick-dots li button:hover:before,
  256.         .slick-dots li button:focus:before {
  257.             opacity: 1;
  258.         }
  259.         .slick-dots li button:before {
  260.             content: \" \";
  261.             line-height: 20px;
  262.             position: absolute;
  263.             top: 0;
  264.             left: 0;
  265.             width: 12px;
  266.             height: 12px;
  267.             text-align: center;
  268.             opacity: .25;
  269.             background-color: black;
  270.             border-radius: 50%;
  271.         }
  272.         .slick-dots li.slick-active button:before {
  273.             opacity: .75;
  274.             background-color: black;
  275.         }
  276.         .slick-dots li button.thumbnail img {
  277.             width: 0;
  278.             height: 0;
  279.         }
  280.         .ec-categoryRole__introTitle {
  281.             font-weight: bold;
  282.             line-height: 20px;
  283.             text-align: center;
  284.             padding: 15px;
  285.         }
  286.     </style>
  287. {% endblock %}
  288. {% block javascript %}
  289.     <script>
  290.         \$(function() {
  291.             \$('.main_visual').slick({
  292.                 dots: true,
  293.                 arrows: false,
  294.                 autoplay: true,
  295.                 speed: 300
  296.             });
  297.         });
  298.     </script>
  299. {% endblock javascript %}
  300. {% block main %}
  301.     <div class=\"ec-sliderRole\">
  302.         <div class=\"main_visual\">
  303.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/top01.png') }}\"></div>
  304.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/top02.png') }}\"></div>
  305.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/top03.png') }}\"></div>
  306.         </div>
  307.     </div>
  308. {% endblock %}""index.twig""/home/curere/www/test/app/template/default/index.twig");
  309.     }
  310. }