<?php
use Twig\Environment;
use Twig\Error\LoaderError;
use Twig\Error\RuntimeError;
use Twig\Extension\SandboxExtension;
use Twig\Markup;
use Twig\Sandbox\SecurityError;
use Twig\Sandbox\SecurityNotAllowedTagError;
use Twig\Sandbox\SecurityNotAllowedFilterError;
use Twig\Sandbox\SecurityNotAllowedFunctionError;
use Twig\Source;
use Twig\Template;
/* Item/main.twig */
class __TwigTemplate_08fd70b8a9c9c20ab218cbe84615ad8a extends \Eccube\Twig\Template
{
private $source;
private $macros = [];
public function __construct(Environment $env)
{
parent::__construct($env);
$this->source = $this->getSourceContext();
$this->parent = false;
$this->blocks = [
];
$this->sandbox = $this->env->getExtension('\Twig\Extension\SandboxExtension');
$this->checkSecurity();
}
protected function doDisplay(array $context, array $blocks = [])
{
$macros = $this->macros;
$__internal_5a27a8ba21ca79b61932376b2fa922d2 = $this->extensions["Symfony\\Bundle\\WebProfilerBundle\\Twig\\WebProfilerExtension"];
$__internal_5a27a8ba21ca79b61932376b2fa922d2->enter($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Item/main.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Item/main.twig"));
// line 1
echo "<div id=\"cartin-button-guide\"></div>
<div class=\"product-detail\" data-id=\"";
// line 3
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", false, false, true, 3), 3, $this->source)), "html", null, true);
echo "\" data-name=\"";
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", false, false, true, 3), 3, $this->source)), "html", null, true);
echo "\"
data-category=\"";
// line 4
$context['_parent'] = $context;
$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); })()));
$context['loop'] = [
'parent' => $context['_parent'],
'index0' => 0,
'index' => 1,
'first' => true,
];
if (is_array($context['_seq']) || (is_object($context['_seq']) && $context['_seq'] instanceof \Countable)) {
$length = count($context['_seq']);
$context['loop']['revindex0'] = $length - 1;
$context['loop']['revindex'] = $length;
$context['loop']['length'] = $length;
$context['loop']['last'] = 1 === $length;
}
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
if ((twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, true, 4) != 1)) {
echo " / ";
}
echo twig_escape_filter($this->env, $this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, $context["i"], "label", [], "any", false, false, true, 4), 4, $this->source), "html", null, true);
++$context['loop']['index0'];
++$context['loop']['index'];
$context['loop']['first'] = false;
if (isset($context['loop']['length'])) {
--$context['loop']['revindex0'];
--$context['loop']['revindex'];
$context['loop']['last'] = 0 === $context['loop']['revindex0'];
}
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
echo "\"
data-price=\"";
// line 5
echo twig_escape_filter($this->env, $this->extensions['Customize\Twig\Extension\CustomExtension']->displayText($this->sandbox->ensureToStringAllowed(twig_get_attribute($this->env, $this->source, twig_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", false, false, true, 5), "gp_price", [], "any", false, false, true, 5), 5, $this->source)), "html", null, true);
echo "\">
<div id=\"col2-wrapper\">
<!-- left contents -->
<div id=\"lcontents\">
<table cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"entry_pict\">
<img src=\"";
// line 12
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", null, true);
echo "\" alt=\"";
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", null, true);
echo "\" name=\"pict";
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", false, false, true, 12), 12, $this->source), "html", null, true);
echo "\" id=\"pict";
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", false, false, true, 12), 12, $this->source), "html", null, true);
echo "\"/>
</td>
</tr>
</table>
";
// line 16
if (((isset($context["thumbCount"]) || array_key_exists("thumbCount", $context) ? $context["thumbCount"] : (function () { throw new RuntimeError('Variable "thumbCount" does not exist.', 16, $this->source); })()) > 1)) {
// line 17
echo " <div class=\"entry_pict_text\">
<script type=\"text/javascript\">
<!--
if (document.all || document.getElementById) {
document.write(\"<div id='linkinfolay'>";
// line 21
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", null, true);
echo "</div>\");
}
//-->
</script>
</div>
";
}
// line 27
echo " </div>
<!-- right contents -->
<div id=\"rcontents\">
<div id=\"rcontent\"></div>
<div class=\"goods-detail\">
";
// line 33
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", false, false, true, 33), 33, $this->source)), "html", null, true);
echo "
</div>
";
// line 35
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", false, false, true, 35) != 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); })()))) {
// line 36
echo " <style> .hinban_box {
background: none;
background-color: #f0f0f0;
} </style>
";
}
// line 41
echo " <div id=\"";
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", false, false, true, 41), 41, $this->source), "html", null, true);
echo "\" class=\"hinban_box\">
";
// line 42
$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", false, false, true, 42), 42, $this->source));
// line 43
echo " ";
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)) {
// line 44
echo " ";
$context["fontsize"] = "40px";
// line 45
echo " ";
} 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)) {
// line 46
echo " ";
$context["fontsize"] = "35px";
// line 47
echo " ";
} 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)) {
// line 48
echo " ";
$context["fontsize"] = "30px";
// line 49
echo " ";
} 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)) {
// line 50
echo " ";
$context["fontsize"] = "25px";
// line 51
echo " ";
} 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)) {
// line 52
echo " ";
$context["fontsize"] = "20px";
// line 53
echo " ";
} 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)) {
// line 54
echo " ";
$context["fontsize"] = "15px";
// line 55
echo " ";
} else {
// line 56
echo " ";
$context["fontsize"] = "40px";
// line 57
echo " ";
}
// line 58
echo " <p class=\"gno\" style=\"font-size:";
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", null, true);
echo ";\">
<span>商品番号 :</span>";
// line 59
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", false, false, true, 59), 59, $this->source), "html", null, true);
echo "
</p>
</div>
<div class=\"price_box\">
<p class=\"goods-sale-text\">";
// line 64
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", false, false, true, 64), 64, $this->source)), "html", null, true);
echo "</p>
";
// line 67
echo " ";
$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); })())]));
// line 68
echo "
<p class=\"goods-merged-item-number-text\">";
// line 69
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", false, false, true, 69), 69, $this->source)), "html", null, true);
echo "</p>
<p class=\"gname\">
";
// line 71
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); })()))) {
// line 72
echo " ";
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", null, true);
echo "
";
} else {
// line 74
echo " ";
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", false, false, true, 74), 74, $this->source)), "html", null, true);
echo "
";
}
// line 76
echo " </p>
<p class=\"gname-sub\">";
// line 77
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", false, false, true, 77), 77, $this->source)), "html", null, true);
echo "</p>
";
// line 78
if ((twig_get_attribute($this->env, $this->source, ($context["displayTeika"] ?? null), "teika", [], "any", true, true, true, 78) && 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", false, false, true, 78))) {
// line 79
echo " <p class=\"gteika\">希望小売価格:";
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", false, false, true, 79), 79, $this->source);
echo "</p>
";
}
// line 81
echo " <p class=\"gprice\">
<span class=\"web_tokka\">WEB特別価格:</span><span
class=\"kakaku\">";
// line 83
echo twig_escape_filter($this->env, twig_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", false, false, true, 83), 83, $this->source)), "html", null, true);
echo "</span>
<span class=\"gprice-txt\">円";
// line 84
if (((isset($context["displayPrice2"]) || array_key_exists("displayPrice2", $context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.', 84, $this->source); })()) != "")) {
echo "~";
}
echo "(税抜価格<span
class=\"fontsize26px\">";
// line 85
echo twig_escape_filter($this->env, twig_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", false, false, true, 85), 85, $this->source)), "html", null, true);
echo "</span>円";
if (((isset($context["displayPrice2"]) || array_key_exists("displayPrice2", $context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.', 85, $this->source); })()) != "")) {
echo "~";
}
echo ")</span>
";
// line 86
if (twig_get_attribute($this->env, $this->source, ($context["displayTeika"] ?? null), "off", [], "any", true, true, true, 86)) {
// line 87
echo " <span class=\"goff\">";
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", false, false, true, 87), 87, $this->source), "html", null, true);
echo "</span>
";
}
// line 89
echo " </p>
";
// line 90
if (((isset($context["displayPrice2"]) || array_key_exists("displayPrice2", $context) ? $context["displayPrice2"] : (function () { throw new RuntimeError('Variable "displayPrice2" does not exist.', 90, $this->source); })()) != "")) {
// line 91
echo " <div class=\"sizeprice-box\"><p class=\"sizeprice-box-txt\"><span
class=\"line1\">※サイズによって価格が変わります。</span><span
class=\"sizeprice-txt\">";
// line 93
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", null, true);
echo "</span></p></div>
";
}
// line 95
echo "
";
// line 96
if ((twig_get_attribute($this->env, $this->source, twig_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", false, false, true, 96), [], "array", false, true, true, 96), "main_gp_price", [], "any", true, true, true, 96) && (twig_get_attribute($this->env, $this->source, twig_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", false, false, true, 96), [], "array", false, false, true, 96), "main_gp_price", [], "any", false, false, true, 96) >= 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", false, false, true, 96)))) {
// line 97
echo " <p class=\"gship\"><b>送料無料商品です。</b>(※沖縄・離島を除く)</p>
";
}
// line 99
echo "
</div>
";
// line 101
if ((isset($context["isShowLeftmenu"]) || array_key_exists("isShowLeftmenu", $context) ? $context["isShowLeftmenu"] : (function () { throw new RuntimeError('Variable "isShowLeftmenu" does not exist.', 101, $this->source); })())) {
// line 102
echo " ";
} else {
// line 103
echo " <img src=\"/images/image_dt/shopping_guide.gif\" alt=\"お支払い方法\" class=\"spb20\"/><br/>
";
}
// line 105
echo "
<div id=\"share_buttons\">
<!-- Facebook -->
<div class=\"share_button\">
<div class=\"fb-like\" data-href=\"/item/";
// line 109
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", false, false, true, 109), 109, $this->source), "html", null, true);
echo ".html\" data-layout=\"button_count\"
data-action=\"like\" data-show-faces=\"true\" data-share=\"false\"></div>
</div>
<!-- Twitter -->
<div class=\"share_button\">
<a class=\"twitter-share-button\" href=\"https://twitter.com/share\" data-dnt=\"true\">Tweet</a>
</div>
<!-- LINEで送る -->
<div class=\"share_button\">
<div class=\"line-it-button\" data-type=\"share-a\" data-lang=\"ja\"></div>
</div>
</div>
</div>
</div>
<br class=\"clear\"/>
";
// line 124
if (((isset($context["thumbCount"]) || array_key_exists("thumbCount", $context) ? $context["thumbCount"] : (function () { throw new RuntimeError('Variable "thumbCount" does not exist.', 124, $this->source); })()) > 1)) {
// line 125
echo " <div class=\"entry_l_contents clearfix\">
<div class=\"entry_l_sam_box\">
<table cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"entry_l_sam\">
<img src=\"";
// line 130
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", null, true);
echo "\"
onmouseover=\"linkinfo('";
// line 131
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);
echo "');swapImage('pict";
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", false, false, true, 131), 131, $this->source), "html", null, true);
echo "','','";
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", null, true);
echo "',1,'";
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);
echo "')\"
onmouseout=\"swapImage('pict";
// line 132
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", false, false, true, 132), 132, $this->source), "html", null, true);
echo "','','";
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", null, true);
echo "',1,'";
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);
echo "');\"
alt=\"";
// line 133
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);
echo "\" width=\"45\"/>
</td>
</tr>
</table>
";
// line 137
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);
echo "
</div>
";
// line 139
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);
echo "
</div>
";
}
// line 142
echo " <br class=\"clear\"/>
</div>
";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Item/main.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
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,);
}
public function getSourceContext()
{
return new Source("<div id=\"cartin-button-guide\"></div>
<div class=\"product-detail\" data-id=\"{{ goods.goodsMainKataban | display_text }}\" data-name=\"{{ data.goods_name | display_text }}\"
data-category=\"{% for i in breadCrumb %}{% if loop.index != 1 %} / {% endif %}{{ i.label }}{% endfor %}\"
data-price=\"{{ size[0].gp_price | display_text }}\">
<div id=\"col2-wrapper\">
<!-- left contents -->
<div id=\"lcontents\">
<table cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"entry_pict\">
<img src=\"{{ mainUrl }}\" alt=\"{{ comment }}\" name=\"pict{{ goods.goodsId }}\" id=\"pict{{ goods.goodsId }}\"/>
</td>
</tr>
</table>
{% if thumbCount > 1 %}
<div class=\"entry_pict_text\">
<script type=\"text/javascript\">
<!--
if (document.all || document.getElementById) {
document.write(\"<div id='linkinfolay'>{{ comment }}</div>\");
}
//-->
</script>
</div>
{% endif %}
</div>
<!-- right contents -->
<div id=\"rcontents\">
<div id=\"rcontent\"></div>
<div class=\"goods-detail\">
{{ data.goods_detail | lm_sashikomi }}
</div>
{% if data.goods_status != 1 and not is_preview_mode %}
<style> .hinban_box {
background: none;
background-color: #f0f0f0;
} </style>
{% endif %}
<div id=\"{{ goods.goodsId }}\" class=\"hinban_box\">
{% set hinban_length = goods.goodsMainKataban | length %}
{% if hinban_length <= 10 %}
{% set fontsize = '40px' %}
{% elseif hinban_length <= 12 %}
{% set fontsize = '35px' %}
{% elseif hinban_length <= 14 %}
{% set fontsize = '30px' %}
{% elseif hinban_length <= 16 %}
{% set fontsize = '25px' %}
{% elseif hinban_length <= 18 %}
{% set fontsize = '20px' %}
{% elseif hinban_length <= 20 %}
{% set fontsize = '15px' %}
{% else %}
{% set fontsize = '40px' %}
{% endif %}
<p class=\"gno\" style=\"font-size:{{ fontsize }};\">
<span>商品番号 :</span>{{ goods.goodsMainKataban }}
</p>
</div>
<div class=\"price_box\">
<p class=\"goods-sale-text\">{{ data.goods_sale_text | display_text }}</p>
{# スーパーセール #}
{% include 'Product/Parts/super_sale.twig' with { goods: goods } only %}
<p class=\"goods-merged-item-number-text\">{{ data.goods_merged_item_number_text | display_text }}</p>
<p class=\"gname\">
{% if goods_name_with_vending_status is defined and goods_name_with_vending_status %}
{{ goods_name_with_vending_status | display_text }}
{% else %}
{{ data.goods_name | display_text }}
{% endif %}
</p>
<p class=\"gname-sub\">{{ data.goods_sub_name | display_text }}</p>
{% if displayTeika.teika is defined and displayTeika.teika %}
<p class=\"gteika\">希望小売価格:{{ displayTeika.teika | raw }}</p>
{% endif %}
<p class=\"gprice\">
<span class=\"web_tokka\">WEB特別価格:</span><span
class=\"kakaku\">{{ displayPrice.mi | number_format }}</span>
<span class=\"gprice-txt\">円{% if displayPrice2 != \"\" %}~{% endif %}(税抜価格<span
class=\"fontsize26px\">{{ displayPrice.gp_price | number_format }}</span>円{% if displayPrice2 != \"\" %}~{% endif %})</span>
{% if displayTeika.off is defined %}
<span class=\"goff\">{{ displayTeika.off }}</span>
{% endif %}
</p>
{% if displayPrice2 != \"\" %}
<div class=\"sizeprice-box\"><p class=\"sizeprice-box-txt\"><span
class=\"line1\">※サイズによって価格が変わります。</span><span
class=\"sizeprice-txt\">{{ displayPrice2 }}</span></p></div>
{% endif %}
{% if recentviews[goods.goodsId].main_gp_price is defined and recentviews[goods.goodsId].main_gp_price >= BaseInfo.DeliveryFreeAmount %}
<p class=\"gship\"><b>送料無料商品です。</b>(※沖縄・離島を除く)</p>
{% endif %}
</div>
{% if isShowLeftmenu %}
{% else %}
<img src=\"/images/image_dt/shopping_guide.gif\" alt=\"お支払い方法\" class=\"spb20\"/><br/>
{% endif %}
<div id=\"share_buttons\">
<!-- Facebook -->
<div class=\"share_button\">
<div class=\"fb-like\" data-href=\"/item/{{ goods.itemId }}.html\" data-layout=\"button_count\"
data-action=\"like\" data-show-faces=\"true\" data-share=\"false\"></div>
</div>
<!-- Twitter -->
<div class=\"share_button\">
<a class=\"twitter-share-button\" href=\"https://twitter.com/share\" data-dnt=\"true\">Tweet</a>
</div>
<!-- LINEで送る -->
<div class=\"share_button\">
<div class=\"line-it-button\" data-type=\"share-a\" data-lang=\"ja\"></div>
</div>
</div>
</div>
</div>
<br class=\"clear\"/>
{% if thumbCount > 1 %}
<div class=\"entry_l_contents clearfix\">
<div class=\"entry_l_sam_box\">
<table cellspacing=\"0\" cellpadding=\"0\">
<tr>
<td class=\"entry_l_sam\">
<img src=\"{{ mainUrlSum }}\"
onmouseover=\"linkinfo('{{ comment | raw }}');swapImage('pict{{ data.goods_id }}','','{{ mainUrl }}',1,'{{ comment | raw }}')\"
onmouseout=\"swapImage('pict{{ data.goods_id }}','','{{ mainUrl }}',1,'{{ comment | raw }}');\"
alt=\"{{ comment | raw }}\" width=\"45\"/>
</td>
</tr>
</table>
{{ comment | raw }}
</div>
{{ displayOther | raw }}
</div>
{% endif %}
<br class=\"clear\"/>
</div>
", "Item/main.twig", "/var/www/html/app/template/default/Item/main.twig");
}
public function checkSecurity()
{
static $tags = array("for" => 4, "if" => 4, "set" => 42, "include" => 67);
static $filters = array("escape" => 3, "display_text" => 3, "lm_sashikomi" => 33, "length" => 42, "raw" => 79, "number_format" => 83);
static $functions = array();
try {
$this->sandbox->checkSecurity(
['for', 'if', 'set', 'include'],
['escape', 'display_text', 'lm_sashikomi', 'length', 'raw', 'number_format'],
[]
);
} catch (SecurityError $e) {
$e->setSourceContext($this->source);
if ($e instanceof SecurityNotAllowedTagError && isset($tags[$e->getTagName()])) {
$e->setTemplateLine($tags[$e->getTagName()]);
} elseif ($e instanceof SecurityNotAllowedFilterError && isset($filters[$e->getFilterName()])) {
$e->setTemplateLine($filters[$e->getFilterName()]);
} elseif ($e instanceof SecurityNotAllowedFunctionError && isset($functions[$e->getFunctionName()])) {
$e->setTemplateLine($functions[$e->getFunctionName()]);
}
throw $e;
}
}
}