var/cache/dev/twig/0a/0aab423204dae4f269178b4922dfab6088842fc457b1b0c314823cfaac8e8d44.php line 33

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/product_sidemenu.twig */
  14. class __TwigTemplate_0f1ad48a0b12f299d5c0ec4deaa83f393db61ca299126698e24ce6e3eda80cff 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/product_sidemenu.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/product_sidemenu.twig"));
  33.         // line 1
  34.         $context["break"] = false;
  35.         // line 2
  36.         $context["cat"] = "";
  37.         // line 3
  38.         echo "
  39. ";
  40.         // line 4
  41.         if ( !(null === (isset($context["Product"]) || array_key_exists("Product"$context) ? $context["Product"] : (function () { throw new RuntimeError('Variable "Product" does not exist.'4$this->source); })()))) {
  42.             // line 5
  43.             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.'5$this->source); })()), "ProductCategories", [], "any"falsefalsefalse5))) {
  44.                 // line 6
  45.                 echo "
  46.             ";
  47.                 // line 7
  48.                 $context['_parent'] = $context;
  49.                 $context['_seq'] = twig_ensure_traversable(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.'7$this->source); })()), "ProductCategories", [], "any"falsefalsefalse7));
  50.                 foreach ($context['_seq'] as $context["_key"] => $context["ProductCategory"]) {
  51.                     if ( !(isset($context["break"]) || array_key_exists("break"$context) ? $context["break"] : (function () { throw new RuntimeError('Variable "break" does not exist.'7$this->source); })())) {
  52.                         // line 8
  53.                         echo "                ";
  54.                         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse8), "name", [], "any"falsefalsefalse8) == "ヴァイスシュヴァルツ")) {
  55.                             // line 9
  56.                             echo "                    ";
  57.                             $context["cat"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse9), "name", [], "any"falsefalsefalse9);
  58.                             // line 10
  59.                             echo "                    ";
  60.                             $context["break"] = true;
  61.                             // line 11
  62.                             echo "                ";
  63.                         } elseif ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse11), "name", [], "any"falsefalsefalse11) == "ポケモン")) {
  64.                             // line 12
  65.                             echo "                    ";
  66.                             $context["cat"] = twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source$context["ProductCategory"], "Category", [], "any"falsefalsefalse12), "name", [], "any"falsefalsefalse12);
  67.                             // line 13
  68.                             echo "                    ";
  69.                             $context["break"] = true;
  70.                             // line 14
  71.                             echo "                ";
  72.                         }
  73.                         // line 15
  74.                         echo "            ";
  75.                     }
  76.                 }
  77.                 $_parent $context['_parent'];
  78.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ProductCategory'], $context['_parent'], $context['loop']);
  79.                 $context array_intersect_key($context$_parent) + $_parent;
  80.                 // line 16
  81.                 echo "
  82. ";
  83.             }
  84.         }
  85.         // line 19
  86.         echo "
  87. ";
  88.         // line 20
  89.         if (((isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'20$this->source); })()) == "ヴァイスシュヴァルツ")) {
  90.             // line 21
  91.             echo "    <div class=\"title-box\">
  92.         <a href=\"";
  93.             // line 22
  94.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  95.             echo "products/list?category_id=8\" class=\"titlebtn\"><img src=\"";
  96.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/weis.png"), "html"nulltrue);
  97.             echo "\" alt=\"\"></a>
  98.         <div class=\"sbbtn-box\">
  99.             <div class=\"graybtn\">
  100.                 <div>
  101.                     <a href=\"";
  102.             // line 26
  103.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  104.             echo "products/list?category_id=8\">買う</a>
  105.                 </div>
  106.             </div>
  107.             <div class=\"buybtn\">
  108.                 <div>
  109.                     <a href=\"";
  110.             // line 32
  111.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  112.             echo "products/list?category_id=218\">売る</a>
  113.                 </div>
  114.             </div>
  115.         </div>
  116.     </div>
  117.     ";
  118.             // line 38
  119.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_side_serch_buy"));
  120.             echo "
  121.     ";
  122.             // line 41
  123.             $context["Categories"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "findBy", [=> ["Parent" => 9]], "method"falsefalsefalse41);
  124.             // line 42
  125.             echo "
  126.     ";
  127.             // line 46
  128.             echo "    ";
  129.             $macros["__internal_parse_0"] = $this->macros["__internal_parse_0"] = $this;
  130.             // line 47
  131.             echo "
  132.     <div class=\"side-cat1\">
  133.         <div class=\"side-cat-smallbox\">
  134.             <a href=\"";
  135.             // line 52
  136.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  137.             echo "products/list?category_id=221\">シュヴァルツサイド</a>
  138.             <ul>
  139.             ";
  140.             // line 54
  141.             $context['_parent'] = $context;
  142.             $context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories"$context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.'54$this->source); })()));
  143.             foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  144.                 // line 55
  145.                 echo "                <li>";
  146.                 echo twig_call_macro($macros["__internal_parse_0"], "macro_tree", [$context["Category"]], 55$context$this->getSourceContext());
  147.                 echo "</li>
  148.             ";
  149.             }
  150.             $_parent $context['_parent'];
  151.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  152.             $context array_intersect_key($context$_parent) + $_parent;
  153.             // line 57
  154.             echo "            </ul>
  155.         </div>
  156.     </div>
  157.     ";
  158.             // line 62
  159.             $context["Categories"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "findBy", [=> ["Parent" => 10]], "method"falsefalsefalse62);
  160.             // line 63
  161.             echo "
  162.     ";
  163.             // line 65
  164.             echo "    ";
  165.             $macros["__internal_parse_1"] = $this->macros["__internal_parse_1"] = $this;
  166.             // line 66
  167.             echo "
  168.     <div class=\"side-cat1\">
  169.         <div class=\"side-cat-smallbox\">
  170.             <a href=\"";
  171.             // line 71
  172.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  173.             echo "products/list?category_id=220\">ヴァイスサイド</a>
  174.             <ul>
  175.             ";
  176.             // line 73
  177.             $context['_parent'] = $context;
  178.             $context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories"$context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.'73$this->source); })()));
  179.             foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  180.                 // line 74
  181.                 echo "                <li>";
  182.                 echo twig_call_macro($macros["__internal_parse_1"], "macro_tree", [$context["Category"]], 74$context$this->getSourceContext());
  183.                 echo "</li>
  184.             ";
  185.             }
  186.             $_parent $context['_parent'];
  187.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  188.             $context array_intersect_key($context$_parent) + $_parent;
  189.             // line 76
  190.             echo "            </ul>
  191.         </div>
  192.     </div>
  193. ";
  194.         } elseif ((        // line 80
  195. (isset($context["cat"]) || array_key_exists("cat"$context) ? $context["cat"] : (function () { throw new RuntimeError('Variable "cat" does not exist.'80$this->source); })()) == "ポケモン")) {
  196.             // line 81
  197.             echo "    <div class=\"title-box\">
  198.         <a href=\"";
  199.             // line 82
  200.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  201.             echo "products/list?category_id=7\" class=\"titlebtn\"><img src=\"";
  202.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/poke.png"), "html"nulltrue);
  203.             echo "\" alt=\"\"></a>
  204.         <div class=\"sbbtn-box\">
  205.             <div class=\"salebtn\">
  206.                 <div>
  207.                     <a href=\"";
  208.             // line 86
  209.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  210.             echo "products/list?category_id=7\">買う</a>
  211.                 </div>
  212.             </div>
  213.             <div class=\"graybtn\">
  214.                 <div>
  215.                     <a href=\"";
  216.             // line 92
  217.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  218.             echo "products/list?category_id=219\">売る</a>
  219.                 </div>
  220.             </div>
  221.         </div>
  222.     </div>
  223.     ";
  224.             // line 99
  225.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_side_serch_buy"));
  226.             echo "
  227.     ";
  228.             // line 100
  229.             $context["Categories"] = twig_get_attribute($this->env$this->source$this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Category"), "findBy", [=> ["Parent" => 7]], "method"falsefalsefalse100);
  230.             // line 101
  231.             echo "
  232.     ";
  233.             // line 104
  234.             echo "    ";
  235.             $macros["__internal_parse_2"] = $this->macros["__internal_parse_2"] = $this;
  236.             // line 105
  237.             echo "
  238.     <div class=\"side-cat1\">
  239.         <div class=\"side-cat-smallbox\">
  240.             <a href=\"";
  241.             // line 108
  242.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  243.             echo "products/list?category_id=219\">ポケモン</a>
  244.             <ul>
  245.             ";
  246.             // line 110
  247.             $context['_parent'] = $context;
  248.             $context['_seq'] = twig_ensure_traversable((isset($context["Categories"]) || array_key_exists("Categories"$context) ? $context["Categories"] : (function () { throw new RuntimeError('Variable "Categories" does not exist.'110$this->source); })()));
  249.             foreach ($context['_seq'] as $context["_key"] => $context["Category"]) {
  250.                 // line 111
  251.                 echo "                <li>";
  252.                 echo twig_call_macro($macros["__internal_parse_2"], "macro_tree", [$context["Category"]], 111$context$this->getSourceContext());
  253.                 echo "</li>
  254.             ";
  255.             }
  256.             $_parent $context['_parent'];
  257.             unset($context['_seq'], $context['_iterated'], $context['_key'], $context['Category'], $context['_parent'], $context['loop']);
  258.             $context array_intersect_key($context$_parent) + $_parent;
  259.             // line 113
  260.             echo "            </ul>
  261.         </div>
  262.     </div>
  263.                     
  264. ";
  265.         } else {
  266.             // line 121
  267.             echo "<div class=\"title-box\">
  268.         <a href=\"";
  269.             // line 122
  270.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  271.             echo "products/list?category_id=7\" class=\"titlebtn\"><img src=\"";
  272.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/poke.png"), "html"nulltrue);
  273.             echo "\" alt=\"\"></a>
  274.         <div class=\"sbbtn-box\">
  275.             <div class=\"salebtn\">
  276.                 <div>
  277.                     <a href=\"";
  278.             // line 126
  279.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  280.             echo "products/list?category_id=7\">買う</a>
  281.                 </div>
  282.             </div>
  283.             <div class=\"buybtn\">
  284.                 <div>
  285.                     <a href=\"";
  286.             // line 132
  287.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  288.             echo "products/list?category_id=219\">売る</a>
  289.                 </div>
  290.             </div>
  291.         </div>
  292.     </div>
  293.     <div class=\"title-box\">
  294.         <a href=\"";
  295.             // line 139
  296.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  297.             echo "products/list?category_id=8\" class=\"titlebtn\"><img src=\"";
  298.             echo twig_escape_filter($this->env$this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl("/html/user_data/assets/img/weis.png"), "html"nulltrue);
  299.             echo "\" alt=\"\"></a>
  300.         <div class=\"sbbtn-box\">
  301.             <div class=\"salebtn\">
  302.                 <div>
  303.                     <a href=\"";
  304.             // line 143
  305.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  306.             echo "products/list?category_id=8\">買う</a>
  307.                 </div>
  308.             </div>
  309.             <div class=\"buybtn\">
  310.                 <div>
  311.                     <a href=\"";
  312.             // line 149
  313.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  314.             echo "products/list?category_id=218\">売る</a>
  315.                 </div>
  316.             </div>
  317.         </div>
  318.     </div>
  319.     ";
  320.             // line 155
  321.             echo $this->env->getRuntime('Symfony\Bridge\Twig\Extension\HttpKernelRuntime')->renderFragment($this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getPath("block_side_serch"));
  322.             echo "
  323.     <div class=\"side-red-btn\">
  324.         <a href=\"";
  325.             // line 157
  326.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  327.             echo "user_data/flow#flow\">
  328.             <div>
  329.                 <p class=\"fs32 fwb\">ご利用ガイド</p>
  330.                 <p class=\"fs14\">初めてご利用の方はこちらから</p>
  331.             </div>
  332.         </a>
  333.     </div>
  334.     <div class=\"side-red-btn\">
  335.         <a href=\"";
  336.             // line 165
  337.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  338.             echo "purchase\">
  339.             <div>
  340.             <p class=\"fs32 fwb\">高価買い取り</p>
  341.             <p class=\"fs14\">オンラインフォームはこちらから</p>
  342.             </div>
  343.         </a>
  344.     </div>
  345.     <div class=\"side-red-btn\">
  346.         <a href=\"";
  347.             // line 173
  348.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  349.             echo "user_data/flow#delivery\">
  350.             <div>
  351.             <p class=\"fs32 fwb\">配送料</p>
  352.             <p class=\"fs14\">お会計1,000円以上で送料無料(BOXは3万円以上)</p>
  353.             </div>
  354.         </a>
  355.     </div>
  356.     <div class=\"side-red-btn\">
  357.         <a href=\"";
  358.             // line 181
  359.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage");
  360.             echo "user_data/flow#payment\">
  361.             <div>
  362.             <p class=\"fs32 fwb\">お支払い方法</p>
  363.             <p class=\"fs14\">カード・各種ペイ対応</p>
  364.             </div>
  365.         </a>
  366.     </div>
  367. ";
  368.         }
  369.         // line 189
  370.         echo "
  371. ";
  372.         
  373.         $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  374.         
  375.         $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  376.     }
  377.     // line 195
  378.     public function macro_tree($__Category__ null, ...$__varargs__)
  379.     {
  380.         $macros $this->macros;
  381.         $context $this->env->mergeGlobals([
  382.             "Category" => $__Category__,
  383.             "varargs" => $__varargs__,
  384.         ]);
  385.         $blocks = [];
  386.         ob_start();
  387.         try {
  388.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  389.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->enter($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""tree"));
  390.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02 $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  391.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->enter($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "macro""tree"));
  392.             // line 196
  393.             echo "    ";
  394.             $macros["__internal_parse_3"] = $this;
  395.             // line 197
  396.             echo "
  397.         <a href=\"";
  398.             // line 198
  399.             echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_list");
  400.             echo "?category_id=";
  401.             echo twig_escape_filter($this->envtwig_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.'198$this->source); })()), "id", [], "any"falsefalsefalse198), "html"nulltrue);
  402.             echo "\">
  403.             ";
  404.             // line 199
  405.             echo twig_escape_filter($this->envtwig_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.'199$this->source); })()), "name", [], "any"falsefalsefalse199), "html"nulltrue);
  406.             echo "
  407.         </a>
  408.         ";
  409.             // line 201
  410.             if ((twig_length_filter($this->envtwig_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.'201$this->source); })()), "children", [], "any"falsefalsefalse201)) > 0)) {
  411.                 // line 202
  412.                 echo "            <ul>
  413.                 ";
  414.                 // line 203
  415.                 $context['_parent'] = $context;
  416.                 $context['_seq'] = twig_ensure_traversable(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.'203$this->source); })()), "children", [], "any"falsefalsefalse203));
  417.                 foreach ($context['_seq'] as $context["_key"] => $context["ChildCategory"]) {
  418.                     // line 204
  419.                     echo "                    <li>
  420.                         ";
  421.                     // line 205
  422.                     echo twig_call_macro($macros["__internal_parse_3"], "macro_tree", [$context["ChildCategory"]], 205$context$this->getSourceContext());
  423.                     echo "
  424.                     </li>
  425.                 ";
  426.                 }
  427.                 $_parent $context['_parent'];
  428.                 unset($context['_seq'], $context['_iterated'], $context['_key'], $context['ChildCategory'], $context['_parent'], $context['loop']);
  429.                 $context array_intersect_key($context$_parent) + $_parent;
  430.                 // line 208
  431.                 echo "            </ul>
  432.         ";
  433.             }
  434.             // line 210
  435.             echo "
  436. ";
  437.             
  438.             $__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02->leave($__internal_319393461309892924ff6e74d6d6e64287df64b63545b994e100d4ab223aed02_prof);
  439.             
  440.             $__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e->leave($__internal_085b0142806202599c7fe3b329164a92397d8978207a37e79d70b8c52599e33e_prof);
  441.             return ('' === $tmp ob_get_contents()) ? '' : new Markup($tmp$this->env->getCharset());
  442.         } finally {
  443.             ob_end_clean();
  444.         }
  445.     }
  446.     public function getTemplateName()
  447.     {
  448.         return "Block/product_sidemenu.twig";
  449.     }
  450.     public function isTraitable()
  451.     {
  452.         return false;
  453.     }
  454.     public function getDebugInfo()
  455.     {
  456.         return array (  480 => 210,  476 => 208,  467 => 205,  464 => 204,  460 => 203,  457 => 202,  455 => 201,  450 => 199,  444 => 198,  441 => 197,  438 => 196,  419 => 195,  403 => 189,  392 => 181,  381 => 173,  370 => 165,  359 => 157,  354 => 155,  345 => 149,  336 => 143,  327 => 139,  317 => 132,  308 => 126,  299 => 122,  296 => 121,  286 => 113,  277 => 111,  273 => 110,  268 => 108,  263 => 105,  260 => 104,  256 => 101,  254 => 100,  250 => 99,  240 => 92,  231 => 86,  222 => 82,  219 => 81,  217 => 80,  211 => 76,  202 => 74,  198 => 73,  193 => 71,  186 => 66,  183 => 65,  180 => 63,  178 => 62,  171 => 57,  162 => 55,  158 => 54,  153 => 52,  146 => 47,  143 => 46,  138 => 42,  136 => 41,  130 => 38,  121 => 32,  112 => 26,  103 => 22,  100 => 21,  98 => 20,  95 => 19,  90 => 16,  83 => 15,  80 => 14,  77 => 13,  74 => 12,  71 => 11,  68 => 10,  65 => 9,  62 => 8,  57 => 7,  54 => 6,  52 => 5,  50 => 4,  47 => 3,  45 => 2,  43 => 1,);
  457.     }
  458.     public function getSourceContext()
  459.     {
  460.         return new Source("{% set break = false %}
  461. {% set cat = \"\" %}
  462. {% if Product is not null %}
  463. {% if Product.ProductCategories is not empty %}
  464.             {% for ProductCategory in Product.ProductCategories if not break %}
  465.                 {% if ProductCategory.Category.name == \"ヴァイスシュヴァルツ\" %}
  466.                     {% set cat = ProductCategory.Category.name %}
  467.                     {% set break = true %}
  468.                 {% elseif ProductCategory.Category.name == \"ポケモン\" %}
  469.                     {% set cat = ProductCategory.Category.name %}
  470.                     {% set break = true %}
  471.                 {% endif %}
  472.             {% endfor %}
  473. {% endif %}
  474. {% endif %}
  475. {% if cat == \"ヴァイスシュヴァルツ\" %}
  476.     <div class=\"title-box\">
  477.         <a href=\"{{url('homepage')}}products/list?category_id=8\" class=\"titlebtn\"><img src=\"{{ asset('/html/user_data/assets/img/weis.png') }}\" alt=\"\"></a>
  478.         <div class=\"sbbtn-box\">
  479.             <div class=\"graybtn\">
  480.                 <div>
  481.                     <a href=\"{{url('homepage')}}products/list?category_id=8\">買う</a>
  482.                 </div>
  483.             </div>
  484.             <div class=\"buybtn\">
  485.                 <div>
  486.                     <a href=\"{{url('homepage')}}products/list?category_id=218\">売る</a>
  487.                 </div>
  488.             </div>
  489.         </div>
  490.     </div>
  491.     {{ render(path('block_side_serch_buy')) }}
  492.     {% set Categories = repository('Eccube\\\\Entity\\\\Category').findBy({'Parent' : 9}) %}
  493.     {# @see https://github.com/bolt/bolt/pull/2388 #}
  494.     {% from _self import tree %}
  495.     <div class=\"side-cat1\">
  496.         <div class=\"side-cat-smallbox\">
  497.             <a href=\"{{url('homepage')}}products/list?category_id=221\">シュヴァルツサイド</a>
  498.             <ul>
  499.             {% for Category in Categories %}
  500.                 <li>{{ tree(Category) }}</li>
  501.             {% endfor %}
  502.             </ul>
  503.         </div>
  504.     </div>
  505.     {% set Categories = repository('Eccube\\\\Entity\\\\Category').findBy({'Parent' : 10}) %}
  506.     {# @see https://github.com/bolt/bolt/pull/2388 #}
  507.     {% from _self import tree %}
  508.     <div class=\"side-cat1\">
  509.         <div class=\"side-cat-smallbox\">
  510.             <a href=\"{{url('homepage')}}products/list?category_id=220\">ヴァイスサイド</a>
  511.             <ul>
  512.             {% for Category in Categories %}
  513.                 <li>{{ tree(Category) }}</li>
  514.             {% endfor %}
  515.             </ul>
  516.         </div>
  517.     </div>
  518. {% elseif cat == \"ポケモン\" %}
  519.     <div class=\"title-box\">
  520.         <a href=\"{{url('homepage')}}products/list?category_id=7\" class=\"titlebtn\"><img src=\"{{ asset('/html/user_data/assets/img/poke.png') }}\" alt=\"\"></a>
  521.         <div class=\"sbbtn-box\">
  522.             <div class=\"salebtn\">
  523.                 <div>
  524.                     <a href=\"{{url('homepage')}}products/list?category_id=7\">買う</a>
  525.                 </div>
  526.             </div>
  527.             <div class=\"graybtn\">
  528.                 <div>
  529.                     <a href=\"{{url('homepage')}}products/list?category_id=219\">売る</a>
  530.                 </div>
  531.             </div>
  532.         </div>
  533.     </div>
  534.     {{ render(path('block_side_serch_buy')) }}
  535.     {% set Categories = repository('Eccube\\\\Entity\\\\Category').findBy({'Parent' : 7}) %}
  536.     {# @see https://github.com/bolt/bolt/pull/2388 #}
  537.     {% from _self import tree %}
  538.     <div class=\"side-cat1\">
  539.         <div class=\"side-cat-smallbox\">
  540.             <a href=\"{{url('homepage')}}products/list?category_id=219\">ポケモン</a>
  541.             <ul>
  542.             {% for Category in Categories %}
  543.                 <li>{{ tree(Category) }}</li>
  544.             {% endfor %}
  545.             </ul>
  546.         </div>
  547.     </div>
  548.                     
  549. {% else %}
  550. <div class=\"title-box\">
  551.         <a href=\"{{url('homepage')}}products/list?category_id=7\" class=\"titlebtn\"><img src=\"{{ asset('/html/user_data/assets/img/poke.png') }}\" alt=\"\"></a>
  552.         <div class=\"sbbtn-box\">
  553.             <div class=\"salebtn\">
  554.                 <div>
  555.                     <a href=\"{{url('homepage')}}products/list?category_id=7\">買う</a>
  556.                 </div>
  557.             </div>
  558.             <div class=\"buybtn\">
  559.                 <div>
  560.                     <a href=\"{{url('homepage')}}products/list?category_id=219\">売る</a>
  561.                 </div>
  562.             </div>
  563.         </div>
  564.     </div>
  565.     <div class=\"title-box\">
  566.         <a href=\"{{url('homepage')}}products/list?category_id=8\" class=\"titlebtn\"><img src=\"{{ asset('/html/user_data/assets/img/weis.png') }}\" alt=\"\"></a>
  567.         <div class=\"sbbtn-box\">
  568.             <div class=\"salebtn\">
  569.                 <div>
  570.                     <a href=\"{{url('homepage')}}products/list?category_id=8\">買う</a>
  571.                 </div>
  572.             </div>
  573.             <div class=\"buybtn\">
  574.                 <div>
  575.                     <a href=\"{{url('homepage')}}products/list?category_id=218\">売る</a>
  576.                 </div>
  577.             </div>
  578.         </div>
  579.     </div>
  580.     {{ render(path('block_side_serch')) }}
  581.     <div class=\"side-red-btn\">
  582.         <a href=\"{{url('homepage')}}user_data/flow#flow\">
  583.             <div>
  584.                 <p class=\"fs32 fwb\">ご利用ガイド</p>
  585.                 <p class=\"fs14\">初めてご利用の方はこちらから</p>
  586.             </div>
  587.         </a>
  588.     </div>
  589.     <div class=\"side-red-btn\">
  590.         <a href=\"{{url('homepage')}}purchase\">
  591.             <div>
  592.             <p class=\"fs32 fwb\">高価買い取り</p>
  593.             <p class=\"fs14\">オンラインフォームはこちらから</p>
  594.             </div>
  595.         </a>
  596.     </div>
  597.     <div class=\"side-red-btn\">
  598.         <a href=\"{{url('homepage')}}user_data/flow#delivery\">
  599.             <div>
  600.             <p class=\"fs32 fwb\">配送料</p>
  601.             <p class=\"fs14\">お会計1,000円以上で送料無料(BOXは3万円以上)</p>
  602.             </div>
  603.         </a>
  604.     </div>
  605.     <div class=\"side-red-btn\">
  606.         <a href=\"{{url('homepage')}}user_data/flow#payment\">
  607.             <div>
  608.             <p class=\"fs32 fwb\">お支払い方法</p>
  609.             <p class=\"fs14\">カード・各種ペイ対応</p>
  610.             </div>
  611.         </a>
  612.     </div>
  613. {% endif %}
  614. {% macro tree(Category) %}
  615.     {% from _self import tree %}
  616.         <a href=\"{{ url('product_list') }}?category_id={{ Category.id }}\">
  617.             {{ Category.name }}
  618.         </a>
  619.         {% if Category.children|length > 0 %}
  620.             <ul>
  621.                 {% for ChildCategory in Category.children %}
  622.                     <li>
  623.                         {{ tree(ChildCategory) }}
  624.                     </li>
  625.                 {% endfor %}
  626.             </ul>
  627.         {% endif %}
  628. {% endmacro %}""Block/product_sidemenu.twig""/home/northserver/tcg-mana.com/public_html/app/template/default/Block/product_sidemenu.twig");
  629.     }
  630. }