var/cache/dev/twig/aa/aae3f6c262c33a4e260e8e8b60c67303.php line 54

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. /* Top/index.twig */
  14. class __TwigTemplate_39433bef6d5c81bee08244d587587442 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.             'main' => [$this'block_main'],
  24.             'stylesheet' => [$this'block_stylesheet'],
  25.             'javascript' => [$this'block_javascript'],
  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""Top/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""Top/index.twig"));
  42.         // line 13
  43.         $context["body_class"] = "top_page";
  44.         // line 11
  45.         $this->parent $this->loadTemplate("default_frame.twig""Top/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_main($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""main"));
  58.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  59.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  60.         // line 16
  61.         echo "
  62. ";
  63.         
  64.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  65.         
  66.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  67.     }
  68.     // line 19
  69.     public function block_stylesheet($context, array $blocks = [])
  70.     {
  71.         $macros $this->macros;
  72.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  74.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  75.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  76.         // line 20
  77.         echo "    <link rel=\"stylesheet\" type=\"text/css\" href=\"";
  78.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/common.min.css"), "html"nulltrue);
  79.         echo "?20231227\">
  80.     <link rel=\"stylesheet\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">
  81. ";
  82.         
  83.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  84.         
  85.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  86.     }
  87.     // line 24
  88.     public function block_javascript($context, array $blocks = [])
  89.     {
  90.         $macros $this->macros;
  91.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  92.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  93.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  94.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  95.         // line 25
  96.         echo "    <script type=\"text/javascript\" src=\"/javascripts/jquery.fbt.js?20200715_01\"></script>
  97.     <script type=\"text/javascript\">
  98.         \$(function() {
  99.             \$(window).on('scroll', function(e) {
  100.                 var \$this = \$('.fbnr,.fbnr2');
  101.                 var scrollTop = \$(window).scrollTop();
  102.                 if (scrollTop >= 200) {
  103.                     \$this.addClass('fixed');
  104.                 } else {
  105.                     \$this.removeClass('fixed');
  106.                 }
  107.             });
  108.         });
  109.     </script>
  110. ";
  111.         
  112.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  113.         
  114.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  115.     }
  116.     public function getTemplateName()
  117.     {
  118.         return "Top/index.twig";
  119.     }
  120.     public function isTraitable()
  121.     {
  122.         return false;
  123.     }
  124.     public function getDebugInfo()
  125.     {
  126.         return array (  120 => 25,  110 => 24,  96 => 20,  86 => 19,  75 => 16,  65 => 15,  54 => 11,  52 => 13,  39 => 11,);
  127.     }
  128.     public function getSourceContext()
  129.     {
  130.         return new Source("{#
  131. This file is part of EC-CUBE
  132. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  133. http://www.ec-cube.co.jp/
  134. For the full copyright and license information, please view the LICENSE
  135. file that was distributed with this source code.
  136. #}
  137. {% extends 'default_frame.twig' %}
  138. {% set body_class = 'top_page' %}
  139. {% block main %}
  140. {% endblock %}
  141. {% block stylesheet %}
  142.     <link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/common.min.css') }}?20231227\">
  143.     <link rel=\"stylesheet\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">
  144. {% endblock %}
  145. {% block javascript %}
  146.     <script type=\"text/javascript\" src=\"/javascripts/jquery.fbt.js?20200715_01\"></script>
  147.     <script type=\"text/javascript\">
  148.         \$(function() {
  149.             \$(window).on('scroll', function(e) {
  150.                 var \$this = \$('.fbnr,.fbnr2');
  151.                 var scrollTop = \$(window).scrollTop();
  152.                 if (scrollTop >= 200) {
  153.                     \$this.addClass('fixed');
  154.                 } else {
  155.                     \$this.removeClass('fixed');
  156.                 }
  157.             });
  158.         });
  159.     </script>
  160. {% endblock %}
  161. ""Top/index.twig""/var/www/html/app/template/default/Top/index.twig");
  162.     }
  163.     
  164.     public function checkSecurity()
  165.     {
  166.         static $tags = array("set" => 13);
  167.         static $filters = array("escape" => 20);
  168.         static $functions = array("asset" => 20);
  169.         try {
  170.             $this->sandbox->checkSecurity(
  171.                 ['set'],
  172.                 ['escape'],
  173.                 ['asset']
  174.             );
  175.         } catch (SecurityError $e) {
  176.             $e->setSourceContext($this->source);
  177.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  178.                 $e->setTemplateLine($tags[$e->getTagName()]);
  179.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  180.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  181.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  182.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  183.             }
  184.             throw $e;
  185.         }
  186.     }
  187. }