var/cache/dev/twig/e9/e9db75d3495844dabdaeca99c92cd3acaedfa52e8b1ac1270bcb41644e610db1.php line 55

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