var/cache/dev/twig/99/99d341a8fc16a65ace85dec8493f7231.php line 35

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. /* Item/main.twig */
  14. class __TwigTemplate_08fd70b8a9c9c20ab218cbe84615ad8a 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.         $this->sandbox $this->env->getExtension('\Twig\Extension\SandboxExtension');
  26.         $this->checkSecurity();
  27.     }
  28.     protected function doDisplay(array $context, array $blocks = [])
  29.     {
  30.         $macros $this->macros;
  31.         $__internal_5a27a8ba21ca79b61932376b2fa922d2 $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
  32.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Item/main.twig"));
  33.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
  34.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template""Item/main.twig"));
  35.         // line 1
  36.         echo "<div id=\"cartin-button-guide\"></div>
  37. <div class=\"product-detail\" data-id=\"";
  38.         // line 3
  39.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'3$this->source); })()), "goodsMainKataban", [], "any"falsefalsetrue3), 3$this->source)), "html"nulltrue);
  40.         echo "\" data-name=\"";
  41.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'3$this->source); })()), "goods_name", [], "any"falsefalsetrue3), 3$this->source)), "html"nulltrue);
  42.         echo "\"
  43.      data-category=\"";
  44.         // line 4
  45.         $context['_parent'] = $context;
  46.         $context['_seq'] = twig_ensure_traversable((isset($context["breadCrumb"]) || array_key_exists("breadCrumb"$context) ? $context["breadCrumb"] : (function () { throw new RuntimeError('Variable "breadCrumb" does not exist.'4$this->source); })()));
  47.         $context['loop'] = [
  48.           'parent' => $context['_parent'],
  49.           'index0' => 0,
  50.           'index'  => 1,
  51.           'first'  => true,
  52.         ];
  53.         if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
  54.             $length count($context['_seq']);
  55.             $context['loop']['revindex0'] = $length 1;
  56.             $context['loop']['revindex'] = $length;
  57.             $context['loop']['length'] = $length;
  58.             $context['loop']['last'] = === $length;
  59.         }
  60.         foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
  61.             if ((twig_get_attribute($this->env$this->source$context["loop"], "index", [], "any"falsefalsetrue4) != 1)) {
  62.                 echo " / ";
  63.             }
  64.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source$context["i"], "label", [], "any"falsefalsetrue4), 4$this->source), "html"nulltrue);
  65.             ++$context['loop']['index0'];
  66.             ++$context['loop']['index'];
  67.             $context['loop']['first'] = false;
  68.             if (isset($context['loop']['length'])) {
  69.                 --$context['loop']['revindex0'];
  70.                 --$context['loop']['revindex'];
  71.                 $context['loop']['last'] = === $context['loop']['revindex0'];
  72.             }
  73.         }
  74.         $_parent $context['_parent'];
  75.         unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
  76.         $context array_intersect_key($context$_parent) + $_parent;
  77.         echo "\"
  78.      data-price=\"";
  79.         // line 5
  80.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["size"]) || array_key_exists("size"$context) ? $context["size"] : (function () { throw new RuntimeError('Variable "size" does not exist.'5$this->source); })()), 0, [], "array"falsefalsetrue5), "gp_price", [], "any"falsefalsetrue5), 5$this->source)), "html"nulltrue);
  81.         echo "\">
  82.     <div id=\"col2-wrapper\">
  83.         <!-- left contents -->
  84.         <div id=\"lcontents\">
  85.             <table cellspacing=\"0\" cellpadding=\"0\">
  86.                 <tr>
  87.                     <td class=\"entry_pict\">
  88.                         <img src=\"";
  89.         // line 12
  90.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["mainUrl"]) || array_key_exists("mainUrl"$context) ? $context["mainUrl"] : (function () { throw new RuntimeError('Variable "mainUrl" does not exist.'12$this->source); })()), 12$this->source), "html"nulltrue);
  91.         echo "\" alt=\"";
  92.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'12$this->source); })()), 12$this->source), "html"nulltrue);
  93.         echo "\" name=\"pict";
  94.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'12$this->source); })()), "goodsId", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  95.         echo "\" id=\"pict";
  96.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'12$this->source); })()), "goodsId", [], "any"falsefalsetrue12), 12$this->source), "html"nulltrue);
  97.         echo "\"/>
  98.                     </td>
  99.                 </tr>
  100.             </table>
  101.             ";
  102.         // line 16
  103.         if (((isset($context["thumbCount"]) || array_key_exists("thumbCount"$context) ? $context["thumbCount"] : (function () { throw new RuntimeError('Variable "thumbCount" does not exist.'16$this->source); })()) > 1)) {
  104.             // line 17
  105.             echo "                <div class=\"entry_pict_text\">
  106.                     <script type=\"text/javascript\">
  107.                         <!--
  108.                         if (document.all || document.getElementById) {
  109.                             document.write(\"<div id='linkinfolay'>";
  110.             // line 21
  111.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'21$this->source); })()), 21$this->source), "html"nulltrue);
  112.             echo "</div>\");
  113.                         }
  114.                         //-->
  115.                     </script>
  116.                 </div>
  117.             ";
  118.         }
  119.         // line 27
  120.         echo "        </div>
  121.         <!-- right contents -->
  122.         <div id=\"rcontents\">
  123.             <div id=\"rcontent\"></div>
  124.             <div class=\"goods-detail\">
  125.                 ";
  126.         // line 33
  127.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->LM_sashikomi($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'33$this->source); })()), "goods_detail", [], "any"falsefalsetrue33), 33$this->source)), "html"nulltrue);
  128.         echo "
  129.             </div>
  130.             ";
  131.         // line 35
  132.         if (((twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'35$this->source); })()), "goods_status", [], "any"falsefalsetrue35) != 1) &&  !(isset($context["is_preview_mode"]) || array_key_exists("is_preview_mode"$context) ? $context["is_preview_mode"] : (function () { throw new RuntimeError('Variable "is_preview_mode" does not exist.'35$this->source); })()))) {
  133.             // line 36
  134.             echo "                <style> .hinban_box {
  135.                         background: none;
  136.                         background-color: #f0f0f0;
  137.                     } </style>
  138.             ";
  139.         }
  140.         // line 41
  141.         echo "            <div id=\"";
  142.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'41$this->source); })()), "goodsId", [], "any"falsefalsetrue41), 41$this->source), "html"nulltrue);
  143.         echo "\" class=\"hinban_box\">
  144.                 ";
  145.         // line 42
  146.         $context["hinban_length"] = twig_length_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'42$this->source); })()), "goodsMainKataban", [], "any"falsefalsetrue42), 42$this->source));
  147.         // line 43
  148.         echo "                ";
  149.         if (((isset($context["hinban_length"]) || array_key_exists("hinban_length"$context) ? $context["hinban_length"] : (function () { throw new RuntimeError('Variable "hinban_length" does not exist.'43$this->source); })()) <= 10)) {
  150.             // line 44
  151.             echo "                    ";
  152.             $context["fontsize"] = "40px";
  153.             // line 45
  154.             echo "                ";
  155.         } elseif (((isset($context["hinban_length"]) || array_key_exists("hinban_length"$context) ? $context["hinban_length"] : (function () { throw new RuntimeError('Variable "hinban_length" does not exist.'45$this->source); })()) <= 12)) {
  156.             // line 46
  157.             echo "                    ";
  158.             $context["fontsize"] = "35px";
  159.             // line 47
  160.             echo "                ";
  161.         } elseif (((isset($context["hinban_length"]) || array_key_exists("hinban_length"$context) ? $context["hinban_length"] : (function () { throw new RuntimeError('Variable "hinban_length" does not exist.'47$this->source); })()) <= 14)) {
  162.             // line 48
  163.             echo "                    ";
  164.             $context["fontsize"] = "30px";
  165.             // line 49
  166.             echo "                ";
  167.         } elseif (((isset($context["hinban_length"]) || array_key_exists("hinban_length"$context) ? $context["hinban_length"] : (function () { throw new RuntimeError('Variable "hinban_length" does not exist.'49$this->source); })()) <= 16)) {
  168.             // line 50
  169.             echo "                    ";
  170.             $context["fontsize"] = "25px";
  171.             // line 51
  172.             echo "                ";
  173.         } elseif (((isset($context["hinban_length"]) || array_key_exists("hinban_length"$context) ? $context["hinban_length"] : (function () { throw new RuntimeError('Variable "hinban_length" does not exist.'51$this->source); })()) <= 18)) {
  174.             // line 52
  175.             echo "                    ";
  176.             $context["fontsize"] = "20px";
  177.             // line 53
  178.             echo "                ";
  179.         } elseif (((isset($context["hinban_length"]) || array_key_exists("hinban_length"$context) ? $context["hinban_length"] : (function () { throw new RuntimeError('Variable "hinban_length" does not exist.'53$this->source); })()) <= 20)) {
  180.             // line 54
  181.             echo "                    ";
  182.             $context["fontsize"] = "15px";
  183.             // line 55
  184.             echo "                ";
  185.         } else {
  186.             // line 56
  187.             echo "                    ";
  188.             $context["fontsize"] = "40px";
  189.             // line 57
  190.             echo "                ";
  191.         }
  192.         // line 58
  193.         echo "                <p class=\"gno\" style=\"font-size:";
  194.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["fontsize"]) || array_key_exists("fontsize"$context) ? $context["fontsize"] : (function () { throw new RuntimeError('Variable "fontsize" does not exist.'58$this->source); })()), 58$this->source), "html"nulltrue);
  195.         echo ";\">
  196.                     <span>商品番号 :</span>";
  197.         // line 59
  198.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'59$this->source); })()), "goodsMainKataban", [], "any"falsefalsetrue59), 59$this->source), "html"nulltrue);
  199.         echo "
  200.                 </p>
  201.             </div>
  202.             <div class=\"price_box\">
  203.                 <p class=\"goods-sale-text\">";
  204.         // line 64
  205.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'64$this->source); })()), "goods_sale_text", [], "any"falsefalsetrue64), 64$this->source)), "html"nulltrue);
  206.         echo "</p>
  207.                 ";
  208.         // line 67
  209.         echo "                ";
  210.         $this->loadTemplate("Product/Parts/super_sale.twig""Item/main.twig"67)->display(twig_to_array(["goods" => (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'67$this->source); })())]));
  211.         // line 68
  212.         echo "
  213.                 <p class=\"goods-merged-item-number-text\">";
  214.         // line 69
  215.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'69$this->source); })()), "goods_merged_item_number_text", [], "any"falsefalsetrue69), 69$this->source)), "html"nulltrue);
  216.         echo "</p>
  217.                 <p class=\"gname\">
  218.                     ";
  219.         // line 71
  220.         if ((array_key_exists("goods_name_with_vending_status"$context) && (isset($context["goods_name_with_vending_status"]) || array_key_exists("goods_name_with_vending_status"$context) ? $context["goods_name_with_vending_status"] : (function () { throw new RuntimeError('Variable "goods_name_with_vending_status" does not exist.'71$this->source); })()))) {
  221.             // line 72
  222.             echo "                        ";
  223.             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed((isset($context["goods_name_with_vending_status"]) || array_key_exists("goods_name_with_vending_status"$context) ? $context["goods_name_with_vending_status"] : (function () { throw new RuntimeError('Variable "goods_name_with_vending_status" does not exist.'72$this->source); })()), 72$this->source)), "html"nulltrue);
  224.             echo "
  225.                     ";
  226.         } else {
  227.             // line 74
  228.             echo "                        ";
  229.             echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'74$this->source); })()), "goods_name", [], "any"falsefalsetrue74), 74$this->source)), "html"nulltrue);
  230.             echo "
  231.                     ";
  232.         }
  233.         // line 76
  234.         echo "                </p>
  235.                 <p class=\"gname-sub\">";
  236.         // line 77
  237.         echo twig_escape_filter($this->env$this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'77$this->source); })()), "goods_sub_name", [], "any"falsefalsetrue77), 77$this->source)), "html"nulltrue);
  238.         echo "</p>
  239.                 ";
  240.         // line 78
  241.         if ((twig_get_attribute($this->env$this->source, ($context["displayTeika"] ?? null), "teika", [], "any"truetruetrue78) && twig_get_attribute($this->env$this->source, (isset($context["displayTeika"]) || array_key_exists("displayTeika"$context) ? $context["displayTeika"] : (function () { throw new RuntimeError('Variable "displayTeika" does not exist.'78$this->source); })()), "teika", [], "any"falsefalsetrue78))) {
  242.             // line 79
  243.             echo "                    <p class=\"gteika\">希望小売価格:";
  244.             echo $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["displayTeika"]) || array_key_exists("displayTeika"$context) ? $context["displayTeika"] : (function () { throw new RuntimeError('Variable "displayTeika" does not exist.'79$this->source); })()), "teika", [], "any"falsefalsetrue79), 79$this->source);
  245.             echo "</p>
  246.                 ";
  247.         }
  248.         // line 81
  249.         echo "                <p class=\"gprice\">
  250.                     <span class=\"web_tokka\">WEB特別価格:</span><span
  251.                         class=\"kakaku\">";
  252.         // line 83
  253.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["displayPrice"]) || array_key_exists("displayPrice"$context) ? $context["displayPrice"] : (function () { throw new RuntimeError('Variable "displayPrice" does not exist.'83$this->source); })()), "mi", [], "any"falsefalsetrue83), 83$this->source)), "html"nulltrue);
  254.         echo "</span>
  255.                     <span class=\"gprice-txt\">円";
  256.         // line 84
  257.         if (((isset($context["displayPrice2"]) || array_key_exists("displayPrice2"$context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.'84$this->source); })()) != "")) {
  258.             echo "~";
  259.         }
  260.         echo "(税抜価格<span
  261.                             class=\"fontsize26px\">";
  262.         // line 85
  263.         echo twig_escape_filter($this->envtwig_number_format_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["displayPrice"]) || array_key_exists("displayPrice"$context) ? $context["displayPrice"] : (function () { throw new RuntimeError('Variable "displayPrice" does not exist.'85$this->source); })()), "gp_price", [], "any"falsefalsetrue85), 85$this->source)), "html"nulltrue);
  264.         echo "</span>円";
  265.         if (((isset($context["displayPrice2"]) || array_key_exists("displayPrice2"$context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.'85$this->source); })()) != "")) {
  266.             echo "~";
  267.         }
  268.         echo ")</span>
  269.                     ";
  270.         // line 86
  271.         if (twig_get_attribute($this->env$this->source, ($context["displayTeika"] ?? null), "off", [], "any"truetruetrue86)) {
  272.             // line 87
  273.             echo "                        <span class=\"goff\">";
  274.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["displayTeika"]) || array_key_exists("displayTeika"$context) ? $context["displayTeika"] : (function () { throw new RuntimeError('Variable "displayTeika" does not exist.'87$this->source); })()), "off", [], "any"falsefalsetrue87), 87$this->source), "html"nulltrue);
  275.             echo "</span>
  276.                     ";
  277.         }
  278.         // line 89
  279.         echo "                </p>
  280.                 ";
  281.         // line 90
  282.         if (((isset($context["displayPrice2"]) || array_key_exists("displayPrice2"$context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.'90$this->source); })()) != "")) {
  283.             // line 91
  284.             echo "                    <div class=\"sizeprice-box\"><p class=\"sizeprice-box-txt\"><span
  285.                                 class=\"line1\">※サイズによって価格が変わります。</span><span
  286.                                 class=\"sizeprice-txt\">";
  287.             // line 93
  288.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["displayPrice2"]) || array_key_exists("displayPrice2"$context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.'93$this->source); })()), 93$this->source), "html"nulltrue);
  289.             echo "</span></p></div>
  290.                 ";
  291.         }
  292.         // line 95
  293.         echo "
  294.                 ";
  295.         // line 96
  296.         if ((twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, ($context["recentviews"] ?? null), twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'96$this->source); })()), "goodsId", [], "any"falsefalsetrue96), [], "array"falsetruetrue96), "main_gp_price", [], "any"truetruetrue96) && (twig_get_attribute($this->env$this->sourcetwig_get_attribute($this->env$this->source, (isset($context["recentviews"]) || array_key_exists("recentviews"$context) ? $context["recentviews"] : (function () { throw new RuntimeError('Variable "recentviews" does not exist.'96$this->source); })()), twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'96$this->source); })()), "goodsId", [], "any"falsefalsetrue96), [], "array"falsefalsetrue96), "main_gp_price", [], "any"falsefalsetrue96) >= twig_get_attribute($this->env$this->source, (isset($context["BaseInfo"]) || array_key_exists("BaseInfo"$context) ? $context["BaseInfo"] : (function () { throw new RuntimeError('Variable "BaseInfo" does not exist.'96$this->source); })()), "DeliveryFreeAmount", [], "any"falsefalsetrue96)))) {
  297.             // line 97
  298.             echo "                    <p class=\"gship\"><b>送料無料商品です。</b>(※沖縄・離島を除く)</p>
  299.                 ";
  300.         }
  301.         // line 99
  302.         echo "
  303.             </div>
  304.             ";
  305.         // line 101
  306.         if ((isset($context["isShowLeftmenu"]) || array_key_exists("isShowLeftmenu"$context) ? $context["isShowLeftmenu"] : (function () { throw new RuntimeError('Variable "isShowLeftmenu" does not exist.'101$this->source); })())) {
  307.             // line 102
  308.             echo "            ";
  309.         } else {
  310.             // line 103
  311.             echo "                <img src=\"/images/image_dt/shopping_guide.gif\" alt=\"お支払い方法\" class=\"spb20\"/><br/>
  312.             ";
  313.         }
  314.         // line 105
  315.         echo "
  316.             <div id=\"share_buttons\">
  317.                 <!-- Facebook -->
  318.                 <div class=\"share_button\">
  319.                     <div class=\"fb-like\" data-href=\"/item/";
  320.         // line 109
  321.         echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["goods"]) || array_key_exists("goods"$context) ? $context["goods"] : (function () { throw new RuntimeError('Variable "goods" does not exist.'109$this->source); })()), "itemId", [], "any"falsefalsetrue109), 109$this->source), "html"nulltrue);
  322.         echo ".html\" data-layout=\"button_count\"
  323.                          data-action=\"like\" data-show-faces=\"true\" data-share=\"false\"></div>
  324.                 </div>
  325.                 <!-- Twitter -->
  326.                 <div class=\"share_button\">
  327.                     <a class=\"twitter-share-button\" href=\"https://twitter.com/share\" data-dnt=\"true\">Tweet</a>
  328.                 </div>
  329.                 <!-- LINEで送る -->
  330.                 <div class=\"share_button\">
  331.                     <div class=\"line-it-button\" data-type=\"share-a\" data-lang=\"ja\"></div>
  332.                 </div>
  333.             </div>
  334.         </div>
  335.     </div>
  336.     <br class=\"clear\"/>
  337.     ";
  338.         // line 124
  339.         if (((isset($context["thumbCount"]) || array_key_exists("thumbCount"$context) ? $context["thumbCount"] : (function () { throw new RuntimeError('Variable "thumbCount" does not exist.'124$this->source); })()) > 1)) {
  340.             // line 125
  341.             echo "        <div class=\"entry_l_contents clearfix\">
  342.             <div class=\"entry_l_sam_box\">
  343.                 <table cellspacing=\"0\" cellpadding=\"0\">
  344.                     <tr>
  345.                         <td class=\"entry_l_sam\">
  346.                             <img src=\"";
  347.             // line 130
  348.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["mainUrlSum"]) || array_key_exists("mainUrlSum"$context) ? $context["mainUrlSum"] : (function () { throw new RuntimeError('Variable "mainUrlSum" does not exist.'130$this->source); })()), 130$this->source), "html"nulltrue);
  349.             echo "\"
  350.                                  onmouseover=\"linkinfo('";
  351.             // line 131
  352.             echo $this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'131$this->source); })()), 131$this->source);
  353.             echo "');swapImage('pict";
  354.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'131$this->source); })()), "goods_id", [], "any"falsefalsetrue131), 131$this->source), "html"nulltrue);
  355.             echo "','','";
  356.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["mainUrl"]) || array_key_exists("mainUrl"$context) ? $context["mainUrl"] : (function () { throw new RuntimeError('Variable "mainUrl" does not exist.'131$this->source); })()), 131$this->source), "html"nulltrue);
  357.             echo "',1,'";
  358.             echo $this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'131$this->source); })()), 131$this->source);
  359.             echo "')\"
  360.                                  onmouseout=\"swapImage('pict";
  361.             // line 132
  362.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env$this->source, (isset($context["data"]) || array_key_exists("data"$context) ? $context["data"] : (function () { throw new RuntimeError('Variable "data" does not exist.'132$this->source); })()), "goods_id", [], "any"falsefalsetrue132), 132$this->source), "html"nulltrue);
  363.             echo "','','";
  364.             echo twig_escape_filter($this->env$this->sandbox->ensureToStringAllowed((isset($context["mainUrl"]) || array_key_exists("mainUrl"$context) ? $context["mainUrl"] : (function () { throw new RuntimeError('Variable "mainUrl" does not exist.'132$this->source); })()), 132$this->source), "html"nulltrue);
  365.             echo "',1,'";
  366.             echo $this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'132$this->source); })()), 132$this->source);
  367.             echo "');\"
  368.                                  alt=\"";
  369.             // line 133
  370.             echo $this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'133$this->source); })()), 133$this->source);
  371.             echo "\" width=\"45\"/>
  372.                         </td>
  373.                     </tr>
  374.                 </table>
  375.                 ";
  376.             // line 137
  377.             echo $this->sandbox->ensureToStringAllowed((isset($context["comment"]) || array_key_exists("comment"$context) ? $context["comment"] : (function () { throw new RuntimeError('Variable "comment" does not exist.'137$this->source); })()), 137$this->source);
  378.             echo "
  379.             </div>
  380.             ";
  381.             // line 139
  382.             echo $this->sandbox->ensureToStringAllowed((isset($context["displayOther"]) || array_key_exists("displayOther"$context) ? $context["displayOther"] : (function () { throw new RuntimeError('Variable "displayOther" does not exist.'139$this->source); })()), 139$this->source);
  383.             echo "
  384.         </div>
  385.     ";
  386.         }
  387.         // line 142
  388.         echo "    <br class=\"clear\"/>
  389. </div>
  390. ";
  391.         
  392.         $__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
  393.         
  394.         $__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
  395.     }
  396.     public function getTemplateName()
  397.     {
  398.         return "Item/main.twig";
  399.     }
  400.     public function isTraitable()
  401.     {
  402.         return false;
  403.     }
  404.     public function getDebugInfo()
  405.     {
  406.         return array (  401 => 142,  395 => 139,  390 => 137,  383 => 133,  375 => 132,  365 => 131,  361 => 130,  354 => 125,  352 => 124,  334 => 109,  328 => 105,  324 => 103,  321 => 102,  319 => 101,  315 => 99,  311 => 97,  309 => 96,  306 => 95,  301 => 93,  297 => 91,  295 => 90,  292 => 89,  286 => 87,  284 => 86,  276 => 85,  270 => 84,  266 => 83,  262 => 81,  256 => 79,  254 => 78,  250 => 77,  247 => 76,  241 => 74,  235 => 72,  233 => 71,  228 => 69,  225 => 68,  222 => 67,  217 => 64,  209 => 59,  204 => 58,  201 => 57,  198 => 56,  195 => 55,  192 => 54,  189 => 53,  186 => 52,  183 => 51,  180 => 50,  177 => 49,  174 => 48,  171 => 47,  168 => 46,  165 => 45,  162 => 44,  159 => 43,  157 => 42,  152 => 41,  145 => 36,  143 => 35,  138 => 33,  130 => 27,  121 => 21,  115 => 17,  113 => 16,  100 => 12,  90 => 5,  55 => 4,  49 => 3,  45 => 1,);
  407.     }
  408.     public function getSourceContext()
  409.     {
  410.         return new Source("<div id=\"cartin-button-guide\"></div>
  411. <div class=\"product-detail\" data-id=\"{{ goods.goodsMainKataban | display_text }}\" data-name=\"{{ data.goods_name | display_text }}\"
  412.      data-category=\"{% for i in breadCrumb %}{% if loop.index != 1 %} / {% endif %}{{ i.label }}{% endfor %}\"
  413.      data-price=\"{{ size[0].gp_price | display_text }}\">
  414.     <div id=\"col2-wrapper\">
  415.         <!-- left contents -->
  416.         <div id=\"lcontents\">
  417.             <table cellspacing=\"0\" cellpadding=\"0\">
  418.                 <tr>
  419.                     <td class=\"entry_pict\">
  420.                         <img src=\"{{ mainUrl }}\" alt=\"{{ comment }}\" name=\"pict{{ goods.goodsId }}\" id=\"pict{{ goods.goodsId }}\"/>
  421.                     </td>
  422.                 </tr>
  423.             </table>
  424.             {% if thumbCount > 1 %}
  425.                 <div class=\"entry_pict_text\">
  426.                     <script type=\"text/javascript\">
  427.                         <!--
  428.                         if (document.all || document.getElementById) {
  429.                             document.write(\"<div id='linkinfolay'>{{ comment }}</div>\");
  430.                         }
  431.                         //-->
  432.                     </script>
  433.                 </div>
  434.             {% endif %}
  435.         </div>
  436.         <!-- right contents -->
  437.         <div id=\"rcontents\">
  438.             <div id=\"rcontent\"></div>
  439.             <div class=\"goods-detail\">
  440.                 {{ data.goods_detail | lm_sashikomi }}
  441.             </div>
  442.             {% if data.goods_status != 1 and not is_preview_mode %}
  443.                 <style> .hinban_box {
  444.                         background: none;
  445.                         background-color: #f0f0f0;
  446.                     } </style>
  447.             {% endif %}
  448.             <div id=\"{{ goods.goodsId }}\" class=\"hinban_box\">
  449.                 {% set hinban_length = goods.goodsMainKataban | length %}
  450.                 {% if hinban_length <= 10 %}
  451.                     {% set fontsize = '40px' %}
  452.                 {% elseif hinban_length <= 12 %}
  453.                     {% set fontsize = '35px' %}
  454.                 {% elseif hinban_length <= 14 %}
  455.                     {% set fontsize = '30px' %}
  456.                 {% elseif hinban_length <= 16 %}
  457.                     {% set fontsize = '25px' %}
  458.                 {% elseif hinban_length <= 18 %}
  459.                     {% set fontsize = '20px' %}
  460.                 {% elseif hinban_length <= 20 %}
  461.                     {% set fontsize = '15px' %}
  462.                 {% else %}
  463.                     {% set fontsize = '40px' %}
  464.                 {% endif %}
  465.                 <p class=\"gno\" style=\"font-size:{{ fontsize }};\">
  466.                     <span>商品番号 :</span>{{ goods.goodsMainKataban }}
  467.                 </p>
  468.             </div>
  469.             <div class=\"price_box\">
  470.                 <p class=\"goods-sale-text\">{{ data.goods_sale_text | display_text }}</p>
  471.                 {# スーパーセール #}
  472.                 {% include 'Product/Parts/super_sale.twig' with { goods: goods } only %}
  473.                 <p class=\"goods-merged-item-number-text\">{{ data.goods_merged_item_number_text | display_text }}</p>
  474.                 <p class=\"gname\">
  475.                     {% if goods_name_with_vending_status is defined and goods_name_with_vending_status %}
  476.                         {{ goods_name_with_vending_status | display_text }}
  477.                     {% else %}
  478.                         {{ data.goods_name | display_text }}
  479.                     {% endif %}
  480.                 </p>
  481.                 <p class=\"gname-sub\">{{ data.goods_sub_name | display_text }}</p>
  482.                 {% if displayTeika.teika is defined and displayTeika.teika %}
  483.                     <p class=\"gteika\">希望小売価格:{{ displayTeika.teika | raw }}</p>
  484.                 {% endif %}
  485.                 <p class=\"gprice\">
  486.                     <span class=\"web_tokka\">WEB特別価格:</span><span
  487.                         class=\"kakaku\">{{ displayPrice.mi | number_format }}</span>
  488.                     <span class=\"gprice-txt\">円{% if displayPrice2 != \"\" %}~{% endif %}(税抜価格<span
  489.                             class=\"fontsize26px\">{{ displayPrice.gp_price | number_format }}</span>円{% if displayPrice2 != \"\" %}~{% endif %})</span>
  490.                     {% if displayTeika.off is defined %}
  491.                         <span class=\"goff\">{{ displayTeika.off }}</span>
  492.                     {% endif %}
  493.                 </p>
  494.                 {% if displayPrice2 != \"\" %}
  495.                     <div class=\"sizeprice-box\"><p class=\"sizeprice-box-txt\"><span
  496.                                 class=\"line1\">※サイズによって価格が変わります。</span><span
  497.                                 class=\"sizeprice-txt\">{{ displayPrice2 }}</span></p></div>
  498.                 {% endif %}
  499.                 {% if recentviews[goods.goodsId].main_gp_price is defined and recentviews[goods.goodsId].main_gp_price >= BaseInfo.DeliveryFreeAmount %}
  500.                     <p class=\"gship\"><b>送料無料商品です。</b>(※沖縄・離島を除く)</p>
  501.                 {% endif %}
  502.             </div>
  503.             {% if isShowLeftmenu %}
  504.             {% else %}
  505.                 <img src=\"/images/image_dt/shopping_guide.gif\" alt=\"お支払い方法\" class=\"spb20\"/><br/>
  506.             {% endif %}
  507.             <div id=\"share_buttons\">
  508.                 <!-- Facebook -->
  509.                 <div class=\"share_button\">
  510.                     <div class=\"fb-like\" data-href=\"/item/{{ goods.itemId }}.html\" data-layout=\"button_count\"
  511.                          data-action=\"like\" data-show-faces=\"true\" data-share=\"false\"></div>
  512.                 </div>
  513.                 <!-- Twitter -->
  514.                 <div class=\"share_button\">
  515.                     <a class=\"twitter-share-button\" href=\"https://twitter.com/share\" data-dnt=\"true\">Tweet</a>
  516.                 </div>
  517.                 <!-- LINEで送る -->
  518.                 <div class=\"share_button\">
  519.                     <div class=\"line-it-button\" data-type=\"share-a\" data-lang=\"ja\"></div>
  520.                 </div>
  521.             </div>
  522.         </div>
  523.     </div>
  524.     <br class=\"clear\"/>
  525.     {% if thumbCount > 1 %}
  526.         <div class=\"entry_l_contents clearfix\">
  527.             <div class=\"entry_l_sam_box\">
  528.                 <table cellspacing=\"0\" cellpadding=\"0\">
  529.                     <tr>
  530.                         <td class=\"entry_l_sam\">
  531.                             <img src=\"{{ mainUrlSum }}\"
  532.                                  onmouseover=\"linkinfo('{{ comment | raw }}');swapImage('pict{{ data.goods_id }}','','{{ mainUrl }}',1,'{{ comment | raw }}')\"
  533.                                  onmouseout=\"swapImage('pict{{ data.goods_id }}','','{{ mainUrl }}',1,'{{ comment | raw }}');\"
  534.                                  alt=\"{{ comment | raw }}\" width=\"45\"/>
  535.                         </td>
  536.                     </tr>
  537.                 </table>
  538.                 {{ comment | raw }}
  539.             </div>
  540.             {{ displayOther | raw }}
  541.         </div>
  542.     {% endif %}
  543.     <br class=\"clear\"/>
  544. </div>
  545. ""Item/main.twig""/var/www/html/app/template/default/Item/main.twig");
  546.     }
  547.     
  548.     public function checkSecurity()
  549.     {
  550.         static $tags = array("for" => 4"if" => 4"set" => 42"include" => 67);
  551.         static $filters = array("escape" => 3"display_text" => 3"lm_sashikomi" => 33"length" => 42"raw" => 79"number_format" => 83);
  552.         static $functions = array();
  553.         try {
  554.             $this->sandbox->checkSecurity(
  555.                 ['for''if''set''include'],
  556.                 ['escape''display_text''lm_sashikomi''length''raw''number_format'],
  557.                 []
  558.             );
  559.         } catch (SecurityError $e) {
  560.             $e->setSourceContext($this->source);
  561.             if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
  562.                 $e->setTemplateLine($tags[$e->getTagName()]);
  563.             } elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
  564.                 $e->setTemplateLine($filters[$e->getFilterName()]);
  565.             } elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
  566.                 $e->setTemplateLine($functions[$e->getFunctionName()]);
  567.             }
  568.             throw $e;
  569.         }
  570.     }
  571. }