var/cache/dev/twig/ea/ea449970160cbb3de4861bb6637eabec827624622d1f8561c692280c264e3034.php line 146

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. /* Block/refine_breadcrumbs_block42.twig */
  14. class __TwigTemplate_57f735d98732d5d9c04ccb3f9dcaa819a8286ee02e8799f607c68646e6022c03 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->parent = false;
  23.         $this->blocks = [
  24.         ];
  25.     }
  26.     protected function doDisplay(array $context, array $blocks = [])
  27.     {
  28.         $macros = $this->macros;
  29.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  30.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/refine_breadcrumbs_block42.twig"));
  31.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  32.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/refine_breadcrumbs_block42.twig"));
  33.         // line 1
  34.         if ((twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 1, $this->source); })()), "url", [], "any", false, false, false, 1) != "homepage")) {
  35.             // line 2
  36.             echo "
  37.     ";
  38.             // line 4
  39.             echo "    ";
  40.             $context["RefineBreadcrumbsBlockSplit"] = ">";
  41.             // line 5
  42.             echo "
  43.     <style>
  44.         .ec-refineBreadcrumbsBlockRole {
  45.             padding: 20px;
  46.         }
  47.         .ec-refineBreadcrumbsBlockRole ul {
  48.             padding: 0;
  49.             margin: 0;
  50.             list-style: none;
  51.         }
  52.         .ec-refineBreadcrumbsBlockRole ul li div {
  53.             display: inline-block;
  54.             margin: 0 0;
  55.             padding: 0;
  56.         }
  57.     </style>
  58.     <script>
  59.         \$(function() {
  60.             const pageName = \$('.ec-refineBreadcrumbsBlockRole .page_namme').html();
  61.             if (pageName.indexOf('";
  62.             // line 25
  63.             echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 25, $this->source); })());
  64.             echo "') >= 0) {
  65.                 const pageNameHtml = pageName.replace('";
  66.             // line 26
  67.             echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 26, $this->source); })());
  68.             echo "','<div class=\"split\" style=\"padding: 2px;\">";
  69.             echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 26, $this->source); })());
  70.             echo "</div>');
  71.                 \$('.ec-refineBreadcrumbsBlockRole .page_namme').html(pageNameHtml);
  72.             } else if (pageName.indexOf('/') >= 0) {
  73.                 const pageNameHtml = pageName.replace('/','<div class=\"split\" style=\"padding: 2px;\">";
  74.             // line 29
  75.             echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 29, $this->source); })());
  76.             echo "</div>');
  77.                 \$('.ec-refineBreadcrumbsBlockRole .page_namme').html(pageNameHtml);
  78.             };
  79.         });
  80.     </script>
  81.     <div class=\"ec-refineBreadcrumbsBlockRole\">
  82.         <ul>
  83.             <li>
  84.                 <div><a href=\"";
  85.             // line 38
  86.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  87.             echo "\">TOP</a></div>
  88.                 <div class=\"split\">";
  89.             // line 39
  90.             echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 39, $this->source); })());
  91.             echo "</div>
  92.                 ";
  93.             // line 41
  94.             echo "                ";
  95.             if ((twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 41, $this->source); })()), "url", [], "any", false, false, false, 41) == "product_list")) {
  96.                 // line 42
  97.                 echo "                    ";
  98.                 if (twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 42, $this->source); })()), "categoryId", [], "any", false, false, false, 42)) {
  99.                     // line 43
  100.                     echo "                        ";
  101.                     $context["Category"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "find", [0 => twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 43, $this->source); })()), "categoryId", [], "any", false, false, false, 43)], "method", false, false, false, 43);
  102.                     // line 44
  103.                     echo "                        <div><a href=\"";
  104.                     echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  105.                     echo "\">商品一覧</a></div>
  106.                         <div class=\"split\">";
  107.                     // line 45
  108.                     echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 45, $this->source); })());
  109.                     echo "</div>
  110.                         <div class=\"page_namme\">";
  111.                     // line 46
  112.                     echo twig_escape_filter($this->env, 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.', 46, $this->source); })()), "name", [], "any", false, false, false, 46), "html", null, true);
  113.                     echo "</div>
  114.                     ";
  115.                 } else {
  116.                     // line 48
  117.                     echo "                        <div>商品一覧</div>
  118.                     ";
  119.                 }
  120.                 // line 50
  121.                 echo "                ";
  122.                 // line 51
  123.                 echo "                ";
  124.             } elseif ((twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 51, $this->source); })()), "url", [], "any", false, false, false, 51) == "product_detail")) {
  125.                 // line 52
  126.                 echo "                    ";
  127.                 // line 56
  128.                 echo "                    ";
  129.                 $context["Product"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "find", [0 => twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 56, $this->source); })()), "ProductsDetailId", [], "any", false, false, false, 56)], "method", false, false, false, 56);
  130.                 // line 57
  131.                 echo "                    ";
  132.                 $context["ProductCategories"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\ProductCategory"), "findBy", [0 => ["product_id" => twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 57, $this->source); })()), "ProductsDetailId", [], "any", false, false, false, 57)]], "method", false, false, false, 57);
  133.                 // line 58
  134.                 echo "                    ";
  135.                 if ( !twig_test_empty(twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 58, $this->source); })()), "ProductCategories", [], "any", false, false, false, 58))) {
  136.                     // line 59
  137.                     echo "                        ";
  138.                     $context['_parent'] = $context;
  139.                     $context['_seq'] = twig_ensure_traversable((isset($context["ProductCategories"]) || array_key_exists("ProductCategories", $context) ? $context["ProductCategories"] : (function () { throw new RuntimeError('Variable "ProductCategories" does not exist.', 59, $this->source); })()));
  140.                     foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  141.                         // line 60
  142.                         echo "                            <div>
  143.                                 ";
  144.                         // line 61
  145.                         if ((((((((((((twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "ランキング") && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "1位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "2位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "3位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "4位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "5位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "6位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "7位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "8位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "9位")) && (twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 61), "name", [], "any", false, false, false, 61) != "10位"))) {
  146.                             // line 62
  147.                             echo "                                ";
  148.                             if (((twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "category_id", [], "any", false, false, false, 62) != 7) && (twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "category_id", [], "any", false, false, false, 62) != 34))) {
  149.                                 // line 63
  150.                                 echo "                                <a href=\"";
  151.                                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  152.                                 echo "?category_id=";
  153.                                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "category_id", [], "any", false, false, false, 63), "html", null, true);
  154.                                 echo "\">
  155.                                     ";
  156.                                 // line 64
  157.                                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["ProductCategory"], "Category", [], "any", false, false, false, 64), "name", [], "any", false, false, false, 64), "html", null, true);
  158.                                 echo "
  159.                                 </a>
  160.                                     <div class=\"split\">";
  161.                                 // line 66
  162.                                 echo (isset($context["RefineBreadcrumbsBlockSplit"]) || array_key_exists("RefineBreadcrumbsBlockSplit", $context) ? $context["RefineBreadcrumbsBlockSplit"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlockSplit" does not exist.', 66, $this->source); })());
  163.                                 echo "</div>
  164.                                 ";
  165.                             }
  166.                             // line 68
  167.                             echo "                                ";
  168.                         }
  169.                         // line 69
  170.                         echo "                            </div>
  171.                         ";
  172.                     }
  173.                     $_parent = $context['_parent'];
  174.                     unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  175.                     $context = array_intersect_key($context, $_parent) + $_parent;
  176.                     // line 72
  177.                     echo "                    ";
  178.                 }
  179.                 // line 73
  180.                 echo "                    <div class=\"page_namme\">";
  181.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Product"]) || array_key_exists("Product", $context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.', 73, $this->source); })()), "name", [], "any", false, false, false, 73), "html", null, true);
  182.                 echo "</div>
  183.                 ";
  184.                 // line 75
  185.                 echo "                ";
  186.             } elseif ((twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 75, $this->source); })()), "url", [], "any", false, false, false, 75) == "entry")) {
  187.                 // line 76
  188.                 echo "                    <div class=\"page_namme\">新規会員登録</div>
  189.                 ";
  190.                 // line 78
  191.                 echo "                ";
  192.             } elseif ((twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 78, $this->source); })()), "url", [], "any", false, false, false, 78) == "cart")) {
  193.                 // line 79
  194.                 echo "                    <div class=\"page_namme\">";
  195.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 79, $this->source); })()), "name", [], "any", false, false, false, 79), "html", null, true);
  196.                 echo "</div>
  197.                 ";
  198.                 // line 82
  199.                 echo "                ";
  200.             } elseif (twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 82, $this->source); })()), "NewsListPage", [], "any", false, false, false, 82)) {
  201.                 // line 83
  202.                 echo "                    <div class=\"page_namme\">お知らせ一覧</div>
  203.                 ";
  204.                 // line 86
  205.                 echo "                ";
  206.             } elseif (twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 86, $this->source); })()), "NewsPage", [], "any", false, false, false, 86)) {
  207.                 // line 87
  208.                 echo "                    <div>
  209.                         <a href=\"";
  210.                 // line 88
  211.                 echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  212.                 echo "news/\">お知らせ一覧</a>
  213.                     </div>
  214.                     ";
  215.                 // line 90
  216.                 $context["News"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Plugin\\CMBlogPro42\\Entity\\Blog"), "find", [0 => twig_get_attribute($this->env, $this->source, (isset($context["RefineBreadcrumbsBlock"]) || array_key_exists("RefineBreadcrumbsBlock", $context) ? $context["RefineBreadcrumbsBlock"] : (function () { throw new RuntimeError('Variable "RefineBreadcrumbsBlock" does not exist.', 90, $this->source); })()), "NewsId", [], "any", false, false, false, 90)], "method", false, false, false, 90);
  217.                 // line 91
  218.                 echo "                    <div class=\"page_namme\">";
  219.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["News"]) || array_key_exists("News", $context) ? $context["News"] : (function () { throw new RuntimeError('Variable "News" does not exist.', 91, $this->source); })()), "title", [], "any", false, false, false, 91), "html", null, true);
  220.                 echo "</div>
  221.                 ";
  222.             } elseif (preg_match("{^shopping}", twig_get_attribute($this->env, $this->source,             // line 94
  223. (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 94, $this->source); })()), "url", [], "any", false, false, false, 94))) {
  224.                 // line 95
  225.                 echo "                    <div class=\"page_namme\">";
  226.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 95, $this->source); })()), "name", [], "any", false, false, false, 95), "html", null, true);
  227.                 echo "</div>
  228.                 ";
  229.             } else {
  230.                 // line 97
  231.                 echo "                    <div class=\"page_namme\">";
  232.                 echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, (isset($context["Page"]) || array_key_exists("Page", $context) ? $context["Page"] : (function () { throw new RuntimeError('Variable "Page" does not exist.', 97, $this->source); })()), "name", [], "any", false, false, false, 97), "html", null, true);
  233.                 echo "</div>
  234.                 ";
  235.             }
  236.             // line 99
  237.             echo "            </li>
  238.         </ul>
  239.     </div>
  240. ";
  241.         }
  242.         
  243.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  244.         
  245.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  246.     }
  247.     public function getTemplateName()
  248.     {
  249.         return "Block/refine_breadcrumbs_block42.twig";
  250.     }
  251.     public function isTraitable()
  252.     {
  253.         return false;
  254.     }
  255.     public function getDebugInfo()
  256.     {
  257.         return array (  253 => 99,  247 => 97,  241 => 95,  239 => 94,  232 => 91,  230 => 90,  225 => 88,  222 => 87,  219 => 86,  215 => 83,  212 => 82,  206 => 79,  203 => 78,  200 => 76,  197 => 75,  192 => 73,  189 => 72,  181 => 69,  178 => 68,  173 => 66,  168 => 64,  161 => 63,  158 => 62,  156 => 61,  153 => 60,  148 => 59,  145 => 58,  142 => 57,  139 => 56,  137 => 52,  134 => 51,  132 => 50,  128 => 48,  123 => 46,  119 => 45,  114 => 44,  111 => 43,  108 => 42,  105 => 41,  101 => 39,  97 => 38,  85 => 29,  77 => 26,  73 => 25,  51 => 5,  48 => 4,  45 => 2,  43 => 1,);
  258.     }
  259.     public function getSourceContext()
  260.     {
  261.         return new Source("{% if Page.url != 'homepage' %}
  262.     {# 区切りの文字を設定する HTML可 #}
  263.     {% set RefineBreadcrumbsBlockSplit = '>' %}
  264.     <style>
  265.         .ec-refineBreadcrumbsBlockRole {
  266.             padding: 20px;
  267.         }
  268.         .ec-refineBreadcrumbsBlockRole ul {
  269.             padding: 0;
  270.             margin: 0;
  271.             list-style: none;
  272.         }
  273.         .ec-refineBreadcrumbsBlockRole ul li div {
  274.             display: inline-block;
  275.             margin: 0 0;
  276.             padding: 0;
  277.         }
  278.     </style>
  279.     <script>
  280.         \$(function() {
  281.             const pageName = \$('.ec-refineBreadcrumbsBlockRole .page_namme').html();
  282.             if (pageName.indexOf('{{ RefineBreadcrumbsBlockSplit|raw }}') >= 0) {
  283.                 const pageNameHtml = pageName.replace('{{ RefineBreadcrumbsBlockSplit|raw }}','<div class=\"split\" style=\"padding: 2px;\">{{ RefineBreadcrumbsBlockSplit|raw }}</div>');
  284.                 \$('.ec-refineBreadcrumbsBlockRole .page_namme').html(pageNameHtml);
  285.             } else if (pageName.indexOf('/') >= 0) {
  286.                 const pageNameHtml = pageName.replace('/','<div class=\"split\" style=\"padding: 2px;\">{{ RefineBreadcrumbsBlockSplit|raw }}</div>');
  287.                 \$('.ec-refineBreadcrumbsBlockRole .page_namme').html(pageNameHtml);
  288.             };
  289.         });
  290.     </script>
  291.     <div class=\"ec-refineBreadcrumbsBlockRole\">
  292.         <ul>
  293.             <li>
  294.                 <div><a href=\"{{ url('homepage') }}\">TOP</a></div>
  295.                 <div class=\"split\">{{ RefineBreadcrumbsBlockSplit|raw }}</div>
  296.                 {# 商品一覧ページ #}
  297.                 {% if Page.url == 'product_list' %}
  298.                     {% if RefineBreadcrumbsBlock.categoryId %}
  299.                         {% set Category = repository('Eccube\\\\Entity\\\\Category').find( RefineBreadcrumbsBlock.categoryId ) %}
  300.                         <div><a href=\"{{ url('product_list') }}\">商品一覧</a></div>
  301.                         <div class=\"split\">{{ RefineBreadcrumbsBlockSplit|raw }}</div>
  302.                         <div class=\"page_namme\">{{ Category.name }}</div>
  303.                     {% else %}
  304.                         <div>商品一覧</div>
  305.                     {% endif %}
  306.                 {# 商品詳細ページ #}
  307.                 {% elseif Page.url == 'product_detail' %}
  308.                     {#
  309.                     <div><a href=\"{{ url('product_list') }}\">商品一覧</a></div>
  310.                     <div class=\"split\">{{ RefineBreadcrumbsBlockSplit|raw }}</div>
  311.                     #}
  312.                     {% set Product = repository('Eccube\\\\Entity\\\\Product').find(RefineBreadcrumbsBlock.ProductsDetailId) %}
  313.                     {% set ProductCategories = repository('Eccube\\\\Entity\\\\ProductCategory').findBy({ product_id: RefineBreadcrumbsBlock.ProductsDetailId }) %}
  314.                     {% if Product.ProductCategories is not empty %}
  315.                         {% for ProductCategory in ProductCategories %}
  316.                             <div>
  317.                                 {% if ProductCategory.Category.name != 'ランキング' and ProductCategory.Category.name != '1位' and ProductCategory.Category.name != '2位' and ProductCategory.Category.name != '3位' and ProductCategory.Category.name != '4位' and ProductCategory.Category.name != '5位' and ProductCategory.Category.name != '6位' and ProductCategory.Category.name != '7位' and ProductCategory.Category.name != '8位' and ProductCategory.Category.name != '9位' and ProductCategory.Category.name != '10位' %}
  318.                                 {% if ProductCategory.category_id != 7 and ProductCategory.category_id != 34 %}
  319.                                 <a href=\"{{ url('product_list') }}?category_id={{ ProductCategory.category_id }}\">
  320.                                     {{ ProductCategory.Category.name }}
  321.                                 </a>
  322.                                     <div class=\"split\">{{ RefineBreadcrumbsBlockSplit|raw }}</div>
  323.                                 {% endif %}
  324.                                 {% endif %}
  325.                             </div>
  326.                         {% endfor %}
  327.                     {% endif %}
  328.                     <div class=\"page_namme\">{{ Product.name }}</div>
  329.                 {# 新規会員登録 #}
  330.                 {% elseif Page.url == 'entry' %}
  331.                     <div class=\"page_namme\">新規会員登録</div>
  332.                 {# ショッピングカート #}
  333.                 {% elseif Page.url == 'cart' %}
  334.                     <div class=\"page_namme\">{{ Page.name }}</div>
  335.                 {# お知らせ一覧(news_list)ページ #}
  336.                 {% elseif RefineBreadcrumbsBlock.NewsListPage %}
  337.                     <div class=\"page_namme\">お知らせ一覧</div>
  338.                 {# お知らせ(news)ページ #}
  339.                 {% elseif RefineBreadcrumbsBlock.NewsPage %}
  340.                     <div>
  341.                         <a href=\"{{ url('homepage') }}news/\">お知らせ一覧</a>
  342.                     </div>
  343.                     {% set News = repository('Plugin\\\\CMBlogPro42\\\\Entity\\\\Blog').find(RefineBreadcrumbsBlock.NewsId) %}
  344.                     <div class=\"page_namme\">{{ News.title }}</div>
  345.                 {% elseif Page.url matches '{^shopping}' %}
  346.                     <div class=\"page_namme\">{{ Page.name }}</div>
  347.                 {% else %}
  348.                     <div class=\"page_namme\">{{ Page.name }}</div>
  349.                 {% endif %}
  350.             </li>
  351.         </ul>
  352.     </div>
  353. {% endif %}
  354. ", "Block/refine_breadcrumbs_block42.twig", "/home/xs626321/ikus.furniture/public_html/dev/app/template/default/Block/refine_breadcrumbs_block42.twig");
  355.     }
  356. }