var/cache/dev/twig/dc/dc95b54a908a2aefd7a94fe65a212c5a.php line 42

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