var/cache/dev/twig/8b/8b51dc6b74611271ad0af3a6468e6e92f8a6fe2187824545c2c6a2316f136216.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_6cb47d61a9dc90c7605f0029536f504586780aee2e7b675d2783dcd90b3536b2 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-slide {
  64.             height: auto;
  65.         }
  66.         .slick-slide img {
  67.             width: 100%;
  68.             object-fit: cover;
  69.         }
  70.         .main_visual {
  71.             width: 100%;
  72.             margin: 0 auto;
  73.         }
  74.         .ec-sliderRole {
  75.             margin-top: 20px;
  76.             margin-bottom: 40px;
  77.         }
  78.         .main_visual item {
  79.             width: 100%;
  80.             object-fit: cover;
  81.         }
  82.         .slick-dots {
  83.             position: absolute;
  84.             bottom: -40px;
  85.             display: block;
  86.             width: 100%;
  87.             padding: 0;
  88.             list-style: none;
  89.             text-align: center;
  90.         }
  91.         .slick-dots li {
  92.             position: relative;
  93.             display: inline-block;
  94.             width: 20px;
  95.             height: 20px;
  96.             margin: 0 5px;
  97.             padding: 0;
  98.             cursor: pointer;
  99.         }
  100.         .slick-dots li button {
  101.             font-size: 0;
  102.             line-height: 0;
  103.             display: block;
  104.             width: 20px;
  105.             height: 20px;
  106.             padding: 5px;
  107.             cursor: pointer;
  108.             color: transparent;
  109.             border: 0;
  110.             outline: none;
  111.             background: transparent;
  112.         }
  113.         .slick-dots li button:hover,
  114.         .slick-dots li button:focus {
  115.             outline: none;
  116.         }
  117.         .slick-dots li button:hover:before,
  118.         .slick-dots li button:focus:before {
  119.             opacity: 1;
  120.         }
  121.         .slick-dots li button:before {
  122.             content: \" \";
  123.             line-height: 20px;
  124.             position: absolute;
  125.             top: 0;
  126.             left: 0;
  127.             width: 12px;
  128.             height: 12px;
  129.             text-align: center;
  130.             opacity: .25;
  131.             background-color: #ff6600;
  132.             border-radius: 50%;
  133.         }
  134.         .slick-dots li.slick-active button:before {
  135.             opacity: .75;
  136.             background-color: #ff6600;
  137.         }
  138.         .slick-dots li button.thumbnail img {
  139.             width: 0;
  140.             height: 0;
  141.         }
  142.     </style>
  143. ";
  144.         
  145.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  146.         
  147.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  148.     }
  149.     // line 124
  150.     public function block_javascript($context, array $blocks = [])
  151.     {
  152.         $macros $this->macros;
  153.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  154.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  155.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  157.         // line 125
  158.         echo "<script>
  159.     \$(function() {
  160.     \$('.main_visual').slick({
  161.         dots: true,
  162.         arrows: false,
  163.         autoplay: true,
  164.         speed: 600
  165.     });
  166. });
  167. </script>
  168. ";
  169.         
  170.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  171.         
  172.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  173.     }
  174.     // line 137
  175.     public function block_main($context, array $blocks = [])
  176.     {
  177.         $macros $this->macros;
  178.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  179.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  180.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  181.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  182.         // line 138
  183.         echo "    <div class=\"ec-sliderRole\">
  184.         <div class=\"main_visual\">
  185.             <div class=\"item slick-slide\"><img
  186.                         src=\"";
  187.         // line 141
  188.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/ecshop/html/user_data/assets/img/top/slides_hearts.jpg"), "html"nulltrue);
  189.         echo "\"></div>
  190.             <div class=\"item slick-slide\"><img
  191.                         src=\"";
  192.         // line 143
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/ecshop/html/user_data/assets/img/top/slides_balloon.jpg"), "html"nulltrue);
  194.         echo "\"></div>
  195.             <div class=\"item slick-slide\"><img
  196.                         src=\"";
  197.         // line 145
  198.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/ecshop/html/user_data/assets/img/top/slides_live.jpg"), "html"nulltrue);
  199.         echo "\"></div>
  200.         </div>
  201.     </div>
  202. ";
  203.         
  204.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  205.         
  206.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  207.     }
  208.     public function getTemplateName()
  209.     {
  210.         return "index.twig";
  211.     }
  212.     public function isTraitable()
  213.     {
  214.         return false;
  215.     }
  216.     public function getDebugInfo()
  217.     {
  218.         return array (  244 => 145,  239 => 143,  234 => 141,  229 => 138,  219 => 137,  199 => 125,  189 => 124,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  219.     }
  220.     public function getSourceContext()
  221.     {
  222.         return new Source("{#
  223. This file is part of EC-CUBE
  224. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  225. http://www.ec-cube.co.jp/
  226. For the full copyright and license information, please view the LICENSE
  227. file that was distributed with this source code.
  228. #}
  229. {% extends 'default_frame.twig' %}
  230. {% set body_class = 'front_page' %}
  231. {% block stylesheet %}
  232.     <style>
  233.         .slick-slider {
  234.             margin-bottom: 30px;
  235.         }
  236.         .slick-slide {
  237.             height: auto;
  238.         }
  239.         .slick-slide img {
  240.             width: 100%;
  241.             object-fit: cover;
  242.         }
  243.         .main_visual {
  244.             width: 100%;
  245.             margin: 0 auto;
  246.         }
  247.         .ec-sliderRole {
  248.             margin-top: 20px;
  249.             margin-bottom: 40px;
  250.         }
  251.         .main_visual item {
  252.             width: 100%;
  253.             object-fit: cover;
  254.         }
  255.         .slick-dots {
  256.             position: absolute;
  257.             bottom: -40px;
  258.             display: block;
  259.             width: 100%;
  260.             padding: 0;
  261.             list-style: none;
  262.             text-align: center;
  263.         }
  264.         .slick-dots li {
  265.             position: relative;
  266.             display: inline-block;
  267.             width: 20px;
  268.             height: 20px;
  269.             margin: 0 5px;
  270.             padding: 0;
  271.             cursor: pointer;
  272.         }
  273.         .slick-dots li button {
  274.             font-size: 0;
  275.             line-height: 0;
  276.             display: block;
  277.             width: 20px;
  278.             height: 20px;
  279.             padding: 5px;
  280.             cursor: pointer;
  281.             color: transparent;
  282.             border: 0;
  283.             outline: none;
  284.             background: transparent;
  285.         }
  286.         .slick-dots li button:hover,
  287.         .slick-dots li button:focus {
  288.             outline: none;
  289.         }
  290.         .slick-dots li button:hover:before,
  291.         .slick-dots li button:focus:before {
  292.             opacity: 1;
  293.         }
  294.         .slick-dots li button:before {
  295.             content: \" \";
  296.             line-height: 20px;
  297.             position: absolute;
  298.             top: 0;
  299.             left: 0;
  300.             width: 12px;
  301.             height: 12px;
  302.             text-align: center;
  303.             opacity: .25;
  304.             background-color: #ff6600;
  305.             border-radius: 50%;
  306.         }
  307.         .slick-dots li.slick-active button:before {
  308.             opacity: .75;
  309.             background-color: #ff6600;
  310.         }
  311.         .slick-dots li button.thumbnail img {
  312.             width: 0;
  313.             height: 0;
  314.         }
  315.     </style>
  316. {% endblock %}
  317. {% block javascript %}
  318. <script>
  319.     \$(function() {
  320.     \$('.main_visual').slick({
  321.         dots: true,
  322.         arrows: false,
  323.         autoplay: true,
  324.         speed: 600
  325.     });
  326. });
  327. </script>
  328. {% endblock javascript %}
  329. {% block main %}
  330.     <div class=\"ec-sliderRole\">
  331.         <div class=\"main_visual\">
  332.             <div class=\"item slick-slide\"><img
  333.                         src=\"{{ asset('/ecshop/html/user_data/assets/img/top/slides_hearts.jpg') }}\"></div>
  334.             <div class=\"item slick-slide\"><img
  335.                         src=\"{{ asset('/ecshop/html/user_data/assets/img/top/slides_balloon.jpg') }}\"></div>
  336.             <div class=\"item slick-slide\"><img
  337.                         src=\"{{ asset('/ecshop/html/user_data/assets/img/top/slides_live.jpg') }}\"></div>
  338.         </div>
  339.     </div>
  340. {% endblock %}""index.twig""/home/atplus4/mirai-kanban.com/public_html/ecshop/app/template/default/index.twig");
  341.     }
  342. }