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