var/cache/dev/twig/6e/6edf47e2af19641d9f73b7cedeb68554.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_c893c8b2c77926bfa18f6a41089b8615 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.     
  66.             .slick-dots {
  67.                 position: absolute;
  68.                 bottom: -25px;
  69.                 display: block;
  70.                 width: 100%;
  71.                 padding: 0;
  72.                 list-style: none;
  73.                 text-align: center;
  74.             }
  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.     
  86.             .slick-dots li button {
  87.                 font-size: 0;
  88.                 line-height: 0;
  89.                 display: block;
  90.                 width: 20px;
  91.                 height: 20px;
  92.                 padding: 5px;
  93.                 cursor: pointer;
  94.                 color: transparent;
  95.                 border: 0;
  96.                 outline: none;
  97.                 background: transparent;
  98.             }
  99.     
  100.             .slick-dots li button:hover,
  101.             .slick-dots li button:focus {
  102.                 outline: none;
  103.             }
  104.     
  105.             .slick-dots li button:hover:before,
  106.             .slick-dots li button:focus:before {
  107.                 opacity: 1;
  108.             }
  109.     
  110.             .slick-dots li button:before {
  111.                 content: \" \";
  112.                 line-height: 20px;
  113.                 position: absolute;
  114.                 top: 0;
  115.                 left: 0;
  116.                 width: 12px;
  117.                 height: 12px;
  118.                 text-align: center;
  119.                 opacity: .25;
  120.                 background-color: black;
  121.                 border-radius: 50%;
  122.             }
  123.     
  124.             .slick-dots li.slick-active button:before {
  125.                 opacity: .75;
  126.                 background-color: black;
  127.             }
  128.     
  129.             .slick-dots li button.thumbnail img {
  130.                 width: 0;
  131.                 height: 0;
  132.             }
  133.             
  134.             .slick-prev, .slick-next {
  135.                 font-size: 0;
  136.                 line-height: 0;
  137.                 position: absolute;
  138.                 top: 50%;
  139.                 display: block;
  140.                 width: 60px;
  141.                 height: 60px;
  142.                 padding: 0;
  143.                 -webkit-transform: translate(0, -50%);
  144.                 -ms-transform: translate(0, -50%);
  145.                 transform: translate(0, -50%);
  146.                 cursor: pointer;
  147.                 color: transparent;
  148.                 border: none;
  149.                 outline: none;
  150.                 background: transparent;
  151.             }
  152.              
  153.             .slick-prev {
  154.                 left: 0;
  155.                 z-index: 1;
  156.             }
  157.              
  158.             .slick-next {
  159.                 right: 0;
  160.                 z-index: 1;
  161.             }
  162.              
  163.             .slick-prev:before, .slick-next:before {
  164.                 font-family: 'slick';
  165.                 font-size: 40px;
  166.                 line-height: 1;
  167.                 opacity: 1;
  168.                 color: white;
  169.                 -webkit-font-smoothing: antialiased;
  170.                 -moz-osx-font-smoothing: grayscale;
  171.             }
  172.      
  173.             .slick-prev:before {
  174.                 content: url(/html/user_data/assets/img/common/btn_carousel_l.webp);
  175.             }
  176.              
  177.             .slick-next:before {
  178.                 content: url(/html/user_data/assets/img/common/btn_carousel_r.webp);
  179.             }
  180.      
  181.             .slick-prev:hover,
  182.             .slick-prev:focus,
  183.             .slick-next:hover,
  184.             .slick-next:focus {
  185.                 color: transparent;
  186.                 outline: none;
  187.                 background: transparent;
  188.             }
  189.              
  190.             .slick-prev:hover:before,
  191.             .slick-prev:focus:before,
  192.             .slick-next:hover:before,
  193.             .slick-next:focus:before {
  194.                 opacity: 1;
  195.             }
  196.              
  197.             .slick-prev.slick-disabled:before,
  198.             .slick-next.slick-disabled:before {
  199.                 opacity: .25;
  200.             }
  201.     
  202.             .slick-track{
  203.                 position: relative;
  204.                 top: 0;
  205.                 left: 0;
  206.                 display: flex;
  207.                 margin-left: auto;
  208.                 margin-right: auto;
  209.             }
  210.                 
  211.         </style>
  212.     ";
  213.         
  214.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  215.         
  216.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  217.     }
  218.     // line 169
  219.     public function block_javascript($context, array $blocks = [])
  220.     {
  221.         $macros $this->macros;
  222.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  223.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  224.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  225.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  226.         // line 170
  227.         echo "        <script>
  228.             
  229.             \$(function() {
  230.                 let width = \$(window).width();
  231.                 var photo_count = 1;
  232.                 if (width <= 768) {
  233.                 } else if (width <= 1024) {
  234.                     // タブレット
  235.                     photo_count = 3;
  236.                 } else {
  237.                     // PC
  238.                     photo_count = 3;
  239.                 }
  240.                 \$('.main_visual').slick({
  241.                     dots: false,
  242.                     autoplay: true,
  243.                     speed: 300,
  244.                     centerMode: true,
  245.                     centerPadding: '20%',
  246.                     arrows: true,
  247.                     infinite: true,
  248.                     slidesToShow: photo_count
  249.                 });
  250.             });
  251.         </script>
  252.     ";
  253.         
  254.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  255.         
  256.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  257.     }
  258.     // line 199
  259.     public function block_main($context, array $blocks = [])
  260.     {
  261.         $macros $this->macros;
  262.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  263.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  264.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  265.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  266.         // line 200
  267.         echo "        
  268.     ";
  269.         
  270.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  271.         
  272.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  273.     }
  274.     public function getTemplateName()
  275.     {
  276.         return "index.twig";
  277.     }
  278.     public function isTraitable()
  279.     {
  280.         return false;
  281.     }
  282.     public function getDebugInfo()
  283.     {
  284.         return array (  293 => 200,  283 => 199,  246 => 170,  236 => 169,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  285.     }
  286.     public function getSourceContext()
  287.     {
  288.         return new Source("{#
  289.     This file is part of EC-CUBE
  290.     
  291.     Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  292.     
  293.     http://www.ec-cube.co.jp/
  294.     
  295.     For the full copyright and license information, please view the LICENSE
  296.     file that was distributed with this source code.
  297.     #}
  298.     {% extends 'default_frame.twig' %}
  299.     
  300.     {% set body_class = 'front_page' %}
  301.     
  302.     {% block stylesheet %}
  303.         <style>
  304.             .slick-slider {
  305.                 margin-bottom: 30px;
  306.             }
  307.     
  308.             .slick-dots {
  309.                 position: absolute;
  310.                 bottom: -25px;
  311.                 display: block;
  312.                 width: 100%;
  313.                 padding: 0;
  314.                 list-style: none;
  315.                 text-align: center;
  316.             }
  317.     
  318.             .slick-dots li {
  319.                 position: relative;
  320.                 display: inline-block;
  321.                 width: 20px;
  322.                 height: 20px;
  323.                 margin: 0 5px;
  324.                 padding: 0;
  325.                 cursor: pointer;
  326.             }
  327.     
  328.             .slick-dots li button {
  329.                 font-size: 0;
  330.                 line-height: 0;
  331.                 display: block;
  332.                 width: 20px;
  333.                 height: 20px;
  334.                 padding: 5px;
  335.                 cursor: pointer;
  336.                 color: transparent;
  337.                 border: 0;
  338.                 outline: none;
  339.                 background: transparent;
  340.             }
  341.     
  342.             .slick-dots li button:hover,
  343.             .slick-dots li button:focus {
  344.                 outline: none;
  345.             }
  346.     
  347.             .slick-dots li button:hover:before,
  348.             .slick-dots li button:focus:before {
  349.                 opacity: 1;
  350.             }
  351.     
  352.             .slick-dots li button:before {
  353.                 content: \" \";
  354.                 line-height: 20px;
  355.                 position: absolute;
  356.                 top: 0;
  357.                 left: 0;
  358.                 width: 12px;
  359.                 height: 12px;
  360.                 text-align: center;
  361.                 opacity: .25;
  362.                 background-color: black;
  363.                 border-radius: 50%;
  364.             }
  365.     
  366.             .slick-dots li.slick-active button:before {
  367.                 opacity: .75;
  368.                 background-color: black;
  369.             }
  370.     
  371.             .slick-dots li button.thumbnail img {
  372.                 width: 0;
  373.                 height: 0;
  374.             }
  375.             
  376.             .slick-prev, .slick-next {
  377.                 font-size: 0;
  378.                 line-height: 0;
  379.                 position: absolute;
  380.                 top: 50%;
  381.                 display: block;
  382.                 width: 60px;
  383.                 height: 60px;
  384.                 padding: 0;
  385.                 -webkit-transform: translate(0, -50%);
  386.                 -ms-transform: translate(0, -50%);
  387.                 transform: translate(0, -50%);
  388.                 cursor: pointer;
  389.                 color: transparent;
  390.                 border: none;
  391.                 outline: none;
  392.                 background: transparent;
  393.             }
  394.              
  395.             .slick-prev {
  396.                 left: 0;
  397.                 z-index: 1;
  398.             }
  399.              
  400.             .slick-next {
  401.                 right: 0;
  402.                 z-index: 1;
  403.             }
  404.              
  405.             .slick-prev:before, .slick-next:before {
  406.                 font-family: 'slick';
  407.                 font-size: 40px;
  408.                 line-height: 1;
  409.                 opacity: 1;
  410.                 color: white;
  411.                 -webkit-font-smoothing: antialiased;
  412.                 -moz-osx-font-smoothing: grayscale;
  413.             }
  414.      
  415.             .slick-prev:before {
  416.                 content: url(/html/user_data/assets/img/common/btn_carousel_l.webp);
  417.             }
  418.              
  419.             .slick-next:before {
  420.                 content: url(/html/user_data/assets/img/common/btn_carousel_r.webp);
  421.             }
  422.      
  423.             .slick-prev:hover,
  424.             .slick-prev:focus,
  425.             .slick-next:hover,
  426.             .slick-next:focus {
  427.                 color: transparent;
  428.                 outline: none;
  429.                 background: transparent;
  430.             }
  431.              
  432.             .slick-prev:hover:before,
  433.             .slick-prev:focus:before,
  434.             .slick-next:hover:before,
  435.             .slick-next:focus:before {
  436.                 opacity: 1;
  437.             }
  438.              
  439.             .slick-prev.slick-disabled:before,
  440.             .slick-next.slick-disabled:before {
  441.                 opacity: .25;
  442.             }
  443.     
  444.             .slick-track{
  445.                 position: relative;
  446.                 top: 0;
  447.                 left: 0;
  448.                 display: flex;
  449.                 margin-left: auto;
  450.                 margin-right: auto;
  451.             }
  452.                 
  453.         </style>
  454.     {% endblock %}
  455.     
  456.     {% block javascript %}
  457.         <script>
  458.             
  459.             \$(function() {
  460.                 let width = \$(window).width();
  461.                 var photo_count = 1;
  462.                 if (width <= 768) {
  463.                 } else if (width <= 1024) {
  464.                     // タブレット
  465.                     photo_count = 3;
  466.                 } else {
  467.                     // PC
  468.                     photo_count = 3;
  469.                 }
  470.                 \$('.main_visual').slick({
  471.                     dots: false,
  472.                     autoplay: true,
  473.                     speed: 300,
  474.                     centerMode: true,
  475.                     centerPadding: '20%',
  476.                     arrows: true,
  477.                     infinite: true,
  478.                     slidesToShow: photo_count
  479.                 });
  480.             });
  481.         </script>
  482.     {% endblock javascript %}
  483.     
  484.     {% block main %}
  485.         
  486.     {% endblock %}""index.twig""/home/shikomel/shikomel.com/public_html/web-order-stg.shikomel.com/app/template/default/index.twig");
  487.     }
  488.     
  489.     public function checkSecurity()
  490.     {
  491.         static $tags = array("set" => 13);
  492.         static $filters = array();
  493.         static $functions = array();
  494.         try {
  495.             $this->sandbox->checkSecurity(
  496.                 ['set'],
  497.                 [],
  498.                 []
  499.             );
  500.         } catch (SecurityError $e) {
  501.             $e->setSourceContext($this->source);
  502.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  503.                 $e->setTemplateLine($tags[$e->getTagName()]);
  504.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  505.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  506.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  507.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  508.             }
  509.             throw $e;
  510.         }
  511.     }
  512. }