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