var/cache/dev/twig/2a/2a6ebf894567e21f1645ecbcc3c9ac81.php line 44

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. /* Page/sub-category.twig */
  14. class __TwigTemplate_206ff86e52dfd0b015ebd4e7704ce65c 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.             'lm_after_contents_top' => [$this'block_lm_after_contents_top'],
  26.             'main' => [$this'block_main'],
  27.             'lm_before_contents_bottom' => [$this'block_lm_before_contents_bottom'],
  28.         ];
  29.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  30.         $this->checkSecurity();
  31.     }
  32.     protected function doGetParent(array $context)
  33.     {
  34.         // line 11
  35.         return "default_frame.twig";
  36.     }
  37.     protected function doDisplay(array $context, array $blocks = [])
  38.     {
  39.         $macros $this->macros;
  40.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  41.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Page/sub-category.twig"));
  42.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  43.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Page/sub-category.twig"));
  44.         // line 13
  45.         $context["body_class"] = "product_page";
  46.         // line 11
  47.         $this->parent $this->loadTemplate("default_frame.twig""Page/sub-category.twig"11);
  48.         $this->parent->display($contextarray_merge($this->blocks$blocks));
  49.         
  50.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  51.         
  52.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  53.     }
  54.     // line 15
  55.     public function block_stylesheet($context, array $blocks = [])
  56.     {
  57.         $macros $this->macros;
  58.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  59.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  60.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  61.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""stylesheet"));
  62.         // line 16
  63.         echo "    <link rel=\"stylesheet\" type=\"text/css\" href=\"";
  64.         echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("assets/css/common.min.css"), "html"nulltrue);
  65.         echo "?20231227\">
  66.     <link href=\"https://use.fontawesome.com/releases/v5.6.1/css/all.css\" rel=\"dns-prefetch\" rel=\"stylesheet\">
  67.     <link rel=\"stylesheet\" rel=\"dns-prefetch\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">
  68.     <link href=\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@1,700&display=swap\" rel=\"dns-prefetch\" rel=\"stylesheet\">
  69. ";
  70.         
  71.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  72.         
  73.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  74.     }
  75.     // line 22
  76.     public function block_javascript($context, array $blocks = [])
  77.     {
  78.         $macros $this->macros;
  79.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  80.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  81.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  82.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""javascript"));
  83.         // line 23
  84.         echo "    <script type=\"text/javascript\" src=\"/javascripts/jquery.fbt.js?20200715_01\"></script>
  85.     <script type=\"text/javascript\">
  86.         // add karte use ajax to optimize ttfp index
  87.         \$(document).ready(function() {
  88.             \$.ajax({
  89.                 type: \"POST\",
  90.                 url: \"";
  91.         // line 29
  92.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("karte_page_sub_category");
  93.         echo "\",
  94.                 data: {
  95.                     \"listUrl\": \"";
  96.         // line 31
  97.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["app"]) || array_key_exists("app"$context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.'31$this->source); })()), "request", [], "any"falsefalsetrue31), "pathinfo", [], "any"falsefalsetrue31), 31$this->source), "html"nulltrue);
  98.         echo "\",
  99.                     \"mcName\": \"";
  100.         // line 32
  101.         (((array_key_exists("mcName"$context) &&  !(null === (isset($context["mcName"]) || array_key_exists("mcName"$context) ? $context["mcName"] : (function () { throw new RuntimeError('Variable "mcName" does not exist.'32$this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["mcName"]) || array_key_exists("mcName"$context) ? $context["mcName"] : (function () { throw new RuntimeError('Variable "mcName" does not exist.'32$this->source); })()), "html"nulltrue))) : (print ("")));
  102.         echo "\",
  103.                     \"ct\": \"";
  104.         // line 33
  105.         (((array_key_exists("ct"$context) &&  !(null === (isset($context["ct"]) || array_key_exists("ct"$context) ? $context["ct"] : (function () { throw new RuntimeError('Variable "ct" does not exist.'33$this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["ct"]) || array_key_exists("ct"$context) ? $context["ct"] : (function () { throw new RuntimeError('Variable "ct" does not exist.'33$this->source); })()), "html"nulltrue))) : (print ("")));
  106.         echo "\",
  107.                     \"mcMcName\": \"";
  108.         // line 34
  109.         (((array_key_exists("mcMcName"$context) &&  !(null === (isset($context["mcMcName"]) || array_key_exists("mcMcName"$context) ? $context["mcMcName"] : (function () { throw new RuntimeError('Variable "mcMcName" does not exist.'34$this->source); })())))) ? (print (twig_escape_filter($this->env, (isset($context["mcMcName"]) || array_key_exists("mcMcName"$context) ? $context["mcMcName"] : (function () { throw new RuntimeError('Variable "mcMcName" does not exist.'34$this->source); })()), "html"nulltrue))) : (print ("")));
  110.         echo "\",
  111.                     \"isMobile\" : ";
  112.         // line 35
  113.         echo (((isset($context["isMobile"]) || array_key_exists("isMobile"$context) ? $context["isMobile"] : (function () { throw new RuntimeError('Variable "isMobile" does not exist.'35$this->source); })())) ? (1) : (0));
  114.         echo ",
  115.                 },
  116.                 dataType: 'json'
  117.             }).done(function(response) {
  118.                 if (response && response.data && response.data.script) {
  119.                     var script = JSON.parse(response.data.script);
  120.                     script = script.replace(/\\\\\\//g, \"/\");
  121.                     \$('body').append(script);
  122.                 }
  123.             });
  124.         });
  125.         \$(function() {
  126.             \$(window).on('scroll', function(e) {
  127.                 var \$this = \$('.fbnr,.fbnr2');
  128.                 var scrollTop = \$(window).scrollTop();
  129.                 if (scrollTop >= 200) {
  130.                     \$this.addClass('fixed');
  131.                 } else {
  132.                     \$this.removeClass('fixed');
  133.                 }
  134.             });
  135.             var currentURL = window.location.href;
  136.             if (currentURL.includes(\"contact/fax/\")) {
  137.                 \$('a:contains(\"コチラ\")').on('click', function (e) {
  138.                     var fromUrl = window.location.href;
  139.                     \$.ajax({
  140.                         type: \"POST\",
  141.                         url: \"";
  142.         // line 63
  143.         echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("karte_download_fax_form");
  144.         echo "\",
  145.                         data: {
  146.                             fromUrl: fromUrl
  147.                         },
  148.                         dataType: 'json'
  149.                     }).done(function(response) {
  150.                         if (response && response.data && response.data.script) {
  151.                             var script = JSON.parse(response.data.script);
  152.                             script = script.replace(/\\\\\\//g, \"/\");
  153.                             \$('body').append(script);
  154.                         }
  155.                     });
  156.                 });
  157.             }
  158.         });
  159. </script>
  160. ";
  161.         
  162.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  163.         
  164.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  165.     }
  166.     // line 81
  167.     public function block_lm_after_contents_top($context, array $blocks = [])
  168.     {
  169.         $macros $this->macros;
  170.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  171.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_after_contents_top"));
  172.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  173.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_after_contents_top"));
  174.         // line 82
  175.         echo "
  176.     <div class=\"clearfix\">";
  177.         // line 83
  178.         $this->loadTemplate("Page/Parts/fixed-header.twig""Page/sub-category.twig"83)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'83$this->source); })())]));
  179.         echo "</div>
  180.     <div class=\"clearfix\">";
  181.         // line 85
  182.         $this->loadTemplate("Page/Parts/upper-column.twig""Page/sub-category.twig"85)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'85$this->source); })())]));
  183.         echo "</div>
  184. ";
  185.         
  186.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  187.         
  188.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  189.     }
  190.     // line 89
  191.     public function block_main($context, array $blocks = [])
  192.     {
  193.         $macros $this->macros;
  194.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  195.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  196.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  197.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""main"));
  198.         // line 90
  199.         echo "    <div>
  200.         <div class=\"clearfix\">";
  201.         // line 92
  202.         $this->loadTemplate("Page/Parts/title.twig""Page/sub-category.twig"92)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'92$this->source); })())]));
  203.         echo "</div>
  204.         <div class=\"clearfix\">";
  205.         // line 94
  206.         $this->loadTemplate("Page/Parts/title-content.twig""Page/sub-category.twig"94)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'94$this->source); })())]));
  207.         echo "</div>
  208.         <div class=\"clearfix\">";
  209.         // line 96
  210.         $this->loadTemplate("Page/Parts/top-contents.twig""Page/sub-category.twig"96)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'96$this->source); })())]));
  211.         echo "</div>
  212.         ";
  213.         // line 98
  214.         if ( !twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'98$this->source); })()), "isNoShowDb", [], "any"falsefalsetrue98)) {
  215.             // line 99
  216.             echo "
  217.             ";
  218.             // line 103
  219.             echo "
  220.             <div class=\"clearfix\">";
  221.             // line 104
  222.             $this->loadTemplate("Block/lm_category_item_list.twig""Page/sub-category.twig"104)->display($context);
  223.             echo "</div>
  224.         ";
  225.         }
  226.         // line 107
  227.         echo "
  228.         ";
  229.         // line 108
  230.         if ( !twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'108$this->source); })()), "isItemSeries", [], "any"falsefalsetrue108)) {
  231.             // line 109
  232.             echo "            <div class=\"clearfix\">";
  233.             $this->loadTemplate("Page/Parts/related-page-list.twig""Page/sub-category.twig"109)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'109$this->source); })())]));
  234.             echo "</div>
  235.         ";
  236.         }
  237.         // line 111
  238.         echo "
  239.         <div class=\"clearfix\">";
  240.         // line 112
  241.         $this->loadTemplate("Page/Parts/related-column-list.twig""Page/sub-category.twig"112)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'112$this->source); })())]));
  242.         echo "</div>
  243.         ";
  244.         // line 114
  245.         if (twig_get_attribute($this->env$this->source, (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'114$this->source); })()), "isItemSeries", [], "any"falsefalsetrue114)) {
  246.             // line 115
  247.             echo "            <div class=\"clearfix\">";
  248.             $this->loadTemplate("Page/Parts/related-page-list.twig""Page/sub-category.twig"115)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'115$this->source); })())]));
  249.             echo "</div>
  250.         ";
  251.         }
  252.         // line 117
  253.         echo "
  254.         <div class=\"clearfix\">";
  255.         // line 118
  256.         $this->loadTemplate("Page/Parts/comment.twig""Page/sub-category.twig"118)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'118$this->source); })())]));
  257.         echo "</div>
  258.         <div class=\"clearfix\">";
  259.         // line 120
  260.         $this->loadTemplate("Page/Parts/bottom-contents.twig""Page/sub-category.twig"120)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'120$this->source); })())]));
  261.         echo "</div>
  262.         ";
  263.         // line 125
  264.         echo "
  265.         <div class=\"clearfix\">";
  266.         // line 126
  267.         $this->loadTemplate("Page/Parts/small-footer.twig""Page/sub-category.twig"126)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'126$this->source); })())]));
  268.         echo "</div>
  269.         <div class=\"clearfix\">";
  270.         // line 128
  271.         $this->loadTemplate("Page/Parts/foot-links.twig""Page/sub-category.twig"128)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'128$this->source); })())]));
  272.         echo "</div>
  273.         <div id=\"pagetop\" style=\"display:block;\">
  274.             <a href=\"#header\">
  275.                 <img src=\"/images/top/top-jump-btn.jpg\" alt=\"ページTOPへ\">
  276.             </a>
  277.         </div>
  278.     </div>
  279. ";
  280.         
  281.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  282.         
  283.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  284.     }
  285.     // line 138
  286.     public function block_lm_before_contents_bottom($context, array $blocks = [])
  287.     {
  288.         $macros $this->macros;
  289.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  290.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_before_contents_bottom"));
  291.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  292.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "block""lm_before_contents_bottom"));
  293.         // line 139
  294.         echo "
  295.     <div class=\"clearfix\">";
  296.         // line 140
  297.         $this->loadTemplate("Page/Parts/large-footer.twig""Page/sub-category.twig"140)->display(twig_to_array(["category" => (isset($context["category"]) || array_key_exists("category"$context) ? $context["category"] : (function () { throw new RuntimeError('Variable "category" does not exist.'140$this->source); })())]));
  298.         echo "</div>
  299. ";
  300.         
  301.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  302.         
  303.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  304.     }
  305.     public function getTemplateName()
  306.     {
  307.         return "Page/sub-category.twig";
  308.     }
  309.     public function isTraitable()
  310.     {
  311.         return false;
  312.     }
  313.     public function getDebugInfo()
  314.     {
  315.         return array (  344 => 140,  341 => 139,  331 => 138,  312 => 128,  307 => 126,  304 => 125,  299 => 120,  294 => 118,  291 => 117,  285 => 115,  283 => 114,  278 => 112,  275 => 111,  269 => 109,  267 => 108,  264 => 107,  258 => 104,  255 => 103,  252 => 99,  250 => 98,  245 => 96,  240 => 94,  235 => 92,  231 => 90,  221 => 89,  208 => 85,  203 => 83,  200 => 82,  190 => 81,  163 => 63,  132 => 35,  128 => 34,  124 => 33,  120 => 32,  116 => 31,  111 => 29,  103 => 23,  93 => 22,  77 => 16,  67 => 15,  56 => 11,  54 => 13,  41 => 11,);
  316.     }
  317.     public function getSourceContext()
  318.     {
  319.         return new Source("{#
  320. This file is part of EC-CUBE
  321. Copyright(c) EC-CUBE CO.,LTD. All Rights Reserved.
  322. http://www.ec-cube.co.jp/
  323. For the full copyright and license information, please view the LICENSE
  324. file that was distributed with this source code.
  325. #}
  326. {% extends 'default_frame.twig' %}
  327. {% set body_class = 'product_page' %}
  328. {% block stylesheet %}
  329.     <link rel=\"stylesheet\" type=\"text/css\" href=\"{{ asset('assets/css/common.min.css') }}?20231227\">
  330.     <link href=\"https://use.fontawesome.com/releases/v5.6.1/css/all.css\" rel=\"dns-prefetch\" rel=\"stylesheet\">
  331.     <link rel=\"stylesheet\" rel=\"dns-prefetch\" type=\"text/css\" href=\"https://maxcdn.bootstrapcdn.com/font-awesome/4.7.0/css/font-awesome.min.css\">
  332.     <link href=\"https://fonts.googleapis.com/css2?family=Open+Sans:ital,wght@1,700&display=swap\" rel=\"dns-prefetch\" rel=\"stylesheet\">
  333. {% endblock %}
  334. {% block javascript %}
  335.     <script type=\"text/javascript\" src=\"/javascripts/jquery.fbt.js?20200715_01\"></script>
  336.     <script type=\"text/javascript\">
  337.         // add karte use ajax to optimize ttfp index
  338.         \$(document).ready(function() {
  339.             \$.ajax({
  340.                 type: \"POST\",
  341.                 url: \"{{ url('karte_page_sub_category') }}\",
  342.                 data: {
  343.                     \"listUrl\": \"{{ app.request.pathinfo }}\",
  344.                     \"mcName\": \"{{ mcName ?? '' }}\",
  345.                     \"ct\": \"{{ ct ?? '' }}\",
  346.                     \"mcMcName\": \"{{ mcMcName ?? '' }}\",
  347.                     \"isMobile\" : {{ isMobile ? 1 : 0 }},
  348.                 },
  349.                 dataType: 'json'
  350.             }).done(function(response) {
  351.                 if (response && response.data && response.data.script) {
  352.                     var script = JSON.parse(response.data.script);
  353.                     script = script.replace(/\\\\\\//g, \"/\");
  354.                     \$('body').append(script);
  355.                 }
  356.             });
  357.         });
  358.         \$(function() {
  359.             \$(window).on('scroll', function(e) {
  360.                 var \$this = \$('.fbnr,.fbnr2');
  361.                 var scrollTop = \$(window).scrollTop();
  362.                 if (scrollTop >= 200) {
  363.                     \$this.addClass('fixed');
  364.                 } else {
  365.                     \$this.removeClass('fixed');
  366.                 }
  367.             });
  368.             var currentURL = window.location.href;
  369.             if (currentURL.includes(\"contact/fax/\")) {
  370.                 \$('a:contains(\"コチラ\")').on('click', function (e) {
  371.                     var fromUrl = window.location.href;
  372.                     \$.ajax({
  373.                         type: \"POST\",
  374.                         url: \"{{ url('karte_download_fax_form') }}\",
  375.                         data: {
  376.                             fromUrl: fromUrl
  377.                         },
  378.                         dataType: 'json'
  379.                     }).done(function(response) {
  380.                         if (response && response.data && response.data.script) {
  381.                             var script = JSON.parse(response.data.script);
  382.                             script = script.replace(/\\\\\\//g, \"/\");
  383.                             \$('body').append(script);
  384.                         }
  385.                     });
  386.                 });
  387.             }
  388.         });
  389. </script>
  390. {% endblock %}
  391. {% block lm_after_contents_top %}
  392.     <div class=\"clearfix\">{% include 'Page/Parts/fixed-header.twig' with { category: category } only %}</div>
  393.     <div class=\"clearfix\">{% include 'Page/Parts/upper-column.twig' with { category: category } only %}</div>
  394. {% endblock %}
  395. {% block main %}
  396.     <div>
  397.         <div class=\"clearfix\">{% include 'Page/Parts/title.twig' with { category: category } only %}</div>
  398.         <div class=\"clearfix\">{% include 'Page/Parts/title-content.twig' with { category: category } only %}</div>
  399.         <div class=\"clearfix\">{% include 'Page/Parts/top-contents.twig' with { category: category } only %}</div>
  400.         {% if not category.isNoShowDb %}
  401.             {#
  402.             <div class=\"clearfix\">{% include 'Page/Parts/item-list.twig' with { category: category } only %}</div>
  403.             #}
  404.             <div class=\"clearfix\">{% include 'Block/lm_category_item_list.twig' %}</div>
  405.         {% endif %}
  406.         {% if not category.isItemSeries %}
  407.             <div class=\"clearfix\">{% include 'Page/Parts/related-page-list.twig' with { category: category } only %}</div>
  408.         {% endif %}
  409.         <div class=\"clearfix\">{% include 'Page/Parts/related-column-list.twig' with { category: category } only %}</div>
  410.         {% if category.isItemSeries %}
  411.             <div class=\"clearfix\">{% include 'Page/Parts/related-page-list.twig' with { category: category } only %}</div>
  412.         {% endif %}
  413.         <div class=\"clearfix\">{% include 'Page/Parts/comment.twig' with { category: category } only %}</div>
  414.         <div class=\"clearfix\">{% include 'Page/Parts/bottom-contents.twig' with { category: category } only %}</div>
  415.         {#
  416.         <div class=\"clearfix\">{% include 'Page/Parts/review-list.twig' with { category: category } only %}</div>
  417.         #}
  418.         <div class=\"clearfix\">{% include 'Page/Parts/small-footer.twig' with { category: category } only %}</div>
  419.         <div class=\"clearfix\">{% include 'Page/Parts/foot-links.twig' with { category: category } only %}</div>
  420.         <div id=\"pagetop\" style=\"display:block;\">
  421.             <a href=\"#header\">
  422.                 <img src=\"/images/top/top-jump-btn.jpg\" alt=\"ページTOPへ\">
  423.             </a>
  424.         </div>
  425.     </div>
  426. {% endblock %}
  427. {% block lm_before_contents_bottom %}
  428.     <div class=\"clearfix\">{% include 'Page/Parts/large-footer.twig' with { category: category } only %}</div>
  429. {% endblock %}
  430. ""Page/sub-category.twig""/var/www/html/app/template/default/Page/sub-category.twig");
  431.     }
  432.     
  433.     public function checkSecurity()
  434.     {
  435.         static $tags = array("set" => 13"include" => 83"if" => 98);
  436.         static $filters = array("escape" => 16);
  437.         static $functions = array("asset" => 16"url" => 29);
  438.         try {
  439.             $this->sandbox->checkSecurity(
  440.                 ['set''include''if'],
  441.                 ['escape'],
  442.                 ['asset''url']
  443.             );
  444.         } catch (SecurityError $e) {
  445.             $e->setSourceContext($this->source);
  446.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  447.                 $e->setTemplateLine($tags[$e->getTagName()]);
  448.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  449.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  450.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  451.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  452.             }
  453.             throw $e;
  454.         }
  455.     }
  456. }