var/cache/dev/twig/63/63a4beb08bf196807fdbbc0f6b2828ee265020adbed3130bc71c0d8e5e738826.php line 16

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_e431ab40a1fd09a89f4c985dec0c1a92bf4fc467eb3d4efe7e88875b793b7eb3 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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  39.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""index.twig"));
  40.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  41.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  49.         
  50.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  51.     }
  52.     // line 15
  53.     public function block_stylesheet($context, array $blocks = [])
  54.     {
  55.         $macros $this->macros;
  56.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  57.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  58.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_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_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  129.         
  130.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  131.     }
  132.     // line 94
  133.     public function block_javascript($context, array $blocks = [])
  134.     {
  135.         $macros $this->macros;
  136.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  137.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  138.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  139.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  140.         // line 95
  141.         echo "<script>
  142.     \$(function () {
  143.         \$('.main_visual').slick({
  144.             dots: true,
  145.             arrows: false,
  146.             autoplay: true,
  147.             centerMode: true,
  148.             mobileFirst: true,
  149.             centerPadding: '10%',
  150.             speed: 300
  151.         });
  152.     });
  153. </script>
  154. ";
  155.         
  156.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  157.         
  158.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  159.     }
  160.     // line 111
  161.     public function block_main($context, array $blocks = [])
  162.     {
  163.         $macros $this->macros;
  164.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  165.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  166.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  167.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  168.         // line 112
  169.         echo "    <div class=\"ec-sliderRole pc\">
  170.         <div class=\"main_visual\">
  171.             <div class=\"item slick-slide\"><img src=\"";
  172.         // line 114
  173.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/img_hero_pc01.jpg"), "html"nulltrue);
  174.         echo "\"></div>
  175.             <div class=\"item slick-slide\"><img src=\"";
  176.         // line 115
  177.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/img_hero_pc02.jpg"), "html"nulltrue);
  178.         echo "\"></div>
  179.             ";
  180.         // line 117
  181.         echo "            ";
  182.         // line 118
  183.         echo "        </div>
  184.     </div>
  185.     <div class=\"ec-sliderRole sp\">
  186.         <div class=\"main_visual\">
  187.             <div class=\"item slick-slide\"><img src=\"";
  188.         // line 122
  189.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/img_hero_sp01.jpg"), "html"nulltrue);
  190.         echo "\"></div>
  191.             <div class=\"item slick-slide\"><img src=\"";
  192.         // line 123
  193.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/img/top/img_hero_sp02.jpg"), "html"nulltrue);
  194.         echo "\"></div>
  195.             ";
  196.         // line 125
  197.         echo "        </div>
  198.     </div>
  199. ";
  200.         
  201.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  202.         
  203.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  204.     }
  205.     public function getTemplateName()
  206.     {
  207.         return "index.twig";
  208.     }
  209.     public function isTraitable()
  210.     {
  211.         return false;
  212.     }
  213.     public function getDebugInfo()
  214.     {
  215.         return array (  232 => 125,  228 => 123,  224 => 122,  218 => 118,  216 => 117,  212 => 115,  208 => 114,  204 => 112,  194 => 111,  171 => 95,  161 => 94,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  216.     }
  217.     public function getSourceContext()
  218.     {
  219.         return new Source("{#
  220. This file is part of EC-CUBE
  221. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  222. http://www.ec-cube.co.jp/
  223. For the full copyright and license information, please view the LICENSE
  224. file that was distributed with this source code.
  225. #}
  226. {% extends 'default_frame.twig' %}
  227. {% set body_class = 'front_page' %}
  228. {% block stylesheet %}
  229. <style>
  230.     .slick-slider {
  231.         margin-bottom: 30px;
  232.     }
  233.     .slick-dots {
  234.         position: absolute;
  235.         bottom: -45px;
  236.         display: block;
  237.         width: 100%;
  238.         padding: 0;
  239.         list-style: none;
  240.         text-align: center;
  241.     }
  242.     .slick-dots li {
  243.         position: relative;
  244.         display: inline-block;
  245.         width: 20px;
  246.         height: 20px;
  247.         margin: 0 5px;
  248.         padding: 0;
  249.         cursor: pointer;
  250.     }
  251.     .slick-dots li button {
  252.         font-size: 0;
  253.         line-height: 0;
  254.         display: block;
  255.         width: 20px;
  256.         height: 20px;
  257.         padding: 5px;
  258.         cursor: pointer;
  259.         color: transparent;
  260.         border: 0;
  261.         outline: none;
  262.         background: transparent;
  263.     }
  264.     .slick-dots li button:hover,
  265.     .slick-dots li button:focus {
  266.         outline: none;
  267.     }
  268.     .slick-dots li button:hover:before,
  269.     .slick-dots li button:focus:before {
  270.         opacity: 1;
  271.     }
  272.     .slick-dots li button:before {
  273.         content: \" \";
  274.         line-height: 20px;
  275.         position: absolute;
  276.         top: 0;
  277.         left: 0;
  278.         width: 12px;
  279.         height: 12px;
  280.         text-align: center;
  281.         opacity: .25;
  282.         background-color: black;
  283.         border-radius: 50%;
  284.     }
  285.     .slick-dots li.slick-active button:before {
  286.         opacity: .75;
  287.         background-color: black;
  288.     }
  289.     .slick-dots li button.thumbnail img {
  290.         width: 0;
  291.         height: 0;
  292.     }
  293. </style>
  294. {% endblock %}
  295. {% block javascript %}
  296. <script>
  297.     \$(function () {
  298.         \$('.main_visual').slick({
  299.             dots: true,
  300.             arrows: false,
  301.             autoplay: true,
  302.             centerMode: true,
  303.             mobileFirst: true,
  304.             centerPadding: '10%',
  305.             speed: 300
  306.         });
  307.     });
  308. </script>
  309. {% endblock javascript %}
  310. {% block main %}
  311.     <div class=\"ec-sliderRole pc\">
  312.         <div class=\"main_visual\">
  313.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc01.jpg') }}\"></div>
  314.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc02.jpg') }}\"></div>
  315.             {# <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_pc03.jpg') }}\"></div> #}
  316.             {#<div class=\"item slick-slide\"><img src=\"/html/user_data/assets/img/slick-slid/img_hero_pc01.jpg\"></div>#}
  317.         </div>
  318.     </div>
  319.     <div class=\"ec-sliderRole sp\">
  320.         <div class=\"main_visual\">
  321.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_sp01.jpg') }}\"></div>
  322.             <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_sp02.jpg') }}\"></div>
  323.             {# <div class=\"item slick-slide\"><img src=\"{{ asset('assets/img/top/img_hero_sp03.jpg') }}\"></div> #}
  324.         </div>
  325.     </div>
  326. {% endblock %}
  327. ""index.twig""/home/rfzhmmpx/public_html/bhw.world/gekiyasumeishi/shop/dev/app/template/default/index.twig");
  328.     }
  329.     
  330.     public function checkSecurity()
  331.     {
  332.         static $tags = array("set" => 13);
  333.         static $filters = array("escape" => 114);
  334.         static $functions = array("asset" => 114);
  335.         try {
  336.             $this->sandbox->checkSecurity(
  337.                 ['set'],
  338.                 ['escape'],
  339.                 ['asset']
  340.             );
  341.         } catch (SecurityError $e) {
  342.             $e->setSourceContext($this->source);
  343.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  344.                 $e->setTemplateLine($tags[$e->getTagName()]);
  345.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  346.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  347.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  348.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  349.             }
  350.             throw $e;
  351.         }
  352.     }
  353. }