var/cache/dev/twig/ce/ceb2b58b78d10e2a0fcf27dc5ccd8ca70962d9d4ee9d398823c67d76defe75ad.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_8b4cf4fabc6a7081b1b791afbd16b784807d835acbb65997e56859b0971248e8 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 "    ";
  183.         // line 127
  184.         echo "    ";
  185.         // line 135
  186.         echo "
  187.     ";
  188.         // line 137
  189.         echo "    <div class=\"ec-sliderRole\">
  190.         <div class=\"main_visual\">
  191.             <div class=\"item slick-slide\">
  192.                 <a href=\"";
  193.         // line 140
  194.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  195.         echo "?category_id=5\">
  196.                     <picture>
  197.                         <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider1_SP.png\">
  198.                         <img src=\"/html/template/default/assets/img/top/univatown_slider1.png\" alt=\"スライド画像1\">
  199.                     </picture>
  200.                 </a>
  201.             </div>
  202.             <div class=\"item slick-slide\">
  203.                 <a href=\"";
  204.         // line 148
  205.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  206.         echo "?category_id=1\">
  207.                     <picture>
  208.                         <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider2_SP.png\">
  209.                         <img src=\"/html/template/default/assets/img/top/univatown_slider2.png\" alt=\"スライド画像2\">
  210.                     </picture>
  211.                 </a>
  212.             </div>
  213.             <div class=\"item slick-slide\">
  214.                 <a href=\"";
  215.         // line 156
  216.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  217.         echo "?category_id=2\">
  218.                     <picture>
  219.                         <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider3_SP.png\">
  220.                         <img src=\"/html/template/default/assets/img/top/univatown_slider3.png\" alt=\"スライド画像3\">
  221.                     </picture>
  222.                 </a>
  223.             </div>
  224.         </div>
  225.     </div>
  226. ";
  227.         
  228.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  229.         
  230.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  231.     }
  232.     public function getTemplateName()
  233.     {
  234.         return "index.twig";
  235.     }
  236.     public function isTraitable()
  237.     {
  238.         return false;
  239.     }
  240.     public function getDebugInfo()
  241.     {
  242.         return array (  251 => 156,  240 => 148,  229 => 140,  224 => 137,  221 => 135,  219 => 127,  217 => 126,  207 => 125,  178 => 104,  168 => 103,  73 => 16,  63 => 15,  52 => 11,  50 => 13,  37 => 11,);
  243.     }
  244.     public function getSourceContext()
  245.     {
  246.         return new Source("{#
  247. This file is part of EC-CUBE
  248. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  249. http://www.ec-cube.co.jp/
  250. For the full copyright and license information, please view the LICENSE
  251. file that was distributed with this source code.
  252. #}
  253. {% extends 'default_frame.twig' %}
  254. {% set body_class = 'front_page' %}
  255. {% block stylesheet %}
  256.     <style>
  257.         .main_visual {
  258.             margin-left: calc(-50vw + 50%);
  259.             width: 100vw;
  260.         }
  261.         .slick-slider {
  262.             margin-bottom: 30px;
  263.         }
  264.         .slick-dots {
  265.             position: absolute;
  266.             bottom: -45px;
  267.             display: block;
  268.             width: 100%;
  269.             padding: 0;
  270.             list-style: none;
  271.             text-align: center;
  272.         }
  273.         .slick-dots li {
  274.             position: relative;
  275.             display: inline-block;
  276.             width: 20px;
  277.             height: 20px;
  278.             margin: 0 5px;
  279.             padding: 0;
  280.             cursor: pointer;
  281.         }
  282.         .slick-dots li button {
  283.             font-size: 0;
  284.             line-height: 0;
  285.             display: block;
  286.             width: 20px;
  287.             height: 20px;
  288.             padding: 5px;
  289.             cursor: pointer;
  290.             color: transparent;
  291.             border: 0;
  292.             outline: none;
  293.             background: transparent;
  294.         }
  295.         .slick-dots li button:hover,
  296.         .slick-dots li button:focus {
  297.             outline: none;
  298.         }
  299.         .slick-dots li button:hover:before,
  300.         .slick-dots li button:focus:before {
  301.             opacity: 1;
  302.         }
  303.         .slick-dots li button:before {
  304.             content: \" \";
  305.             line-height: 20px;
  306.             position: absolute;
  307.             top: 0;
  308.             left: 0;
  309.             width: 12px;
  310.             height: 12px;
  311.             text-align: center;
  312.             opacity: .25;
  313.             background-color: black;
  314.             border-radius: 50%;
  315.         }
  316.         .slick-dots li.slick-active button:before {
  317.             opacity: .75;
  318.             background-color: black;
  319.         }
  320.         .slick-dots li button.thumbnail img {
  321.             width: 0;
  322.             height: 0;
  323.         }
  324.         @media screen and (max-width:480px) {
  325.             .slick-list {
  326.                 margin: 0 1rem;
  327.             }
  328.         }
  329.     </style>
  330. {% endblock %}
  331. {% block javascript %}
  332.     <script>
  333.         \$(function() {
  334.             \$('.main_visual').slick({
  335.                 dots: true,
  336.                 arrows: false,
  337.                 centerMode: true,
  338.                 centerPadding: \"10%\",
  339.                 autoplay: true,
  340.                 speed: 600,
  341.                 responsive: [{
  342.                     breakpoint: 480,
  343.                     settings: {
  344.                         slidesToShow: 1,
  345.                         centerPadding: \"0\"
  346.                     }
  347.                 }]
  348.             });
  349.         });
  350.     </script>
  351. {% endblock javascript %}
  352. {% block main %}
  353.     {# メインビジュアル 画像1枚の場合 #}
  354.     {# 
  355.     <div class=\"ec-sliderRole\">
  356.         <picture>
  357.             <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider1_SP.png\">
  358.             <img src=\"/html/template/default/assets/img/top/univatown_slider1.png\" alt=\"スライド画像1\">
  359.         </picture>
  360.     </div>
  361.     #}
  362.     {# メインビジュアル スライダーの場合 #}
  363.     <div class=\"ec-sliderRole\">
  364.         <div class=\"main_visual\">
  365.             <div class=\"item slick-slide\">
  366.                 <a href=\"{{ url('product_list') }}?category_id=5\">
  367.                     <picture>
  368.                         <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider1_SP.png\">
  369.                         <img src=\"/html/template/default/assets/img/top/univatown_slider1.png\" alt=\"スライド画像1\">
  370.                     </picture>
  371.                 </a>
  372.             </div>
  373.             <div class=\"item slick-slide\">
  374.                 <a href=\"{{ url('product_list') }}?category_id=1\">
  375.                     <picture>
  376.                         <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider2_SP.png\">
  377.                         <img src=\"/html/template/default/assets/img/top/univatown_slider2.png\" alt=\"スライド画像2\">
  378.                     </picture>
  379.                 </a>
  380.             </div>
  381.             <div class=\"item slick-slide\">
  382.                 <a href=\"{{ url('product_list') }}?category_id=2\">
  383.                     <picture>
  384.                         <source media=\"(max-width: 480px)\" srcset=\"/html/template/default/assets/img/top/univatown_slider3_SP.png\">
  385.                         <img src=\"/html/template/default/assets/img/top/univatown_slider3.png\" alt=\"スライド画像3\">
  386.                     </picture>
  387.                 </a>
  388.             </div>
  389.         </div>
  390.     </div>
  391. {% endblock %}""index.twig""/home/cajiya/fjdksla.com/public_html/cocofuru.fjdksla.com/app/template/default/index.twig");
  392.     }
  393. }