<?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;
/* Block/list.twig */
class __TwigTemplate_fbc202e99ab55d31709404bcfb4c3ce3 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 = [
];
}
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", "Block/list.twig"));
$__internal_6f47bbe9983af81f1e7450e9a3e3768f = $this->extensions["Symfony\\Bridge\\Twig\\Extension\\ProfilerExtension"];
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->enter($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof = new \Twig\Profiler\Profile($this->getTemplateName(), "template", "Block/list.twig"));
// line 1
echo "<!--product start-->
<script>
function write_log() {
var val = 'ohaoaha';
console.log(val);
}
function changeImage(id, path, tId, title){
var objImage = document.getElementById(id);
var objTitle = document.getElementById(tId);
objImage.src = path;
objTitle.innerText = title;
}
function comboChange(zoom, start){
var product_left_width;
var product_left_height;
var product_img_width;
var product_cap_width;
var font_size;
var image_width;
var image_height;
var detail_width;
var detail_pLeft;
var detail_pRight;
var comment_display;
var koutuu_height;
var ensen_height;
var sankou_display;
var sankou_display;
var objName;
var objTitle;
var objTable;
var objLTable;
var objBTable;
var objPLeft;
var objPImg;
var objPCap;
var objComment;
var objAddress;
var objSyubetu;
var objSyumoku;
var objKoutuu;
var objEnsen;
var objSankou;
var objBikou;
var objImage = document.getElementsByName(\"image\");
var objDetail = document.getElementsByName(\"detail\");
if(zoom == 1){
table_width = \"215px\";
table_margin = \"0px\";
ltable_width = \"120px\";
btable_width = \"120px\";
product_left_width = \"215px\";
product_left_height = \"450px\";
product_img_width = \"215px\";
product_cap_width = \"215px\";
font_size = \"90%\";
tfont_size = \"90%\";
image_width = 215;
image_height = 155;
detail_width = 103;
detail_pLeft = \"0px\";
detail_pRight = \"0px\";
comment_display = \"none\";
koutuu_height = \"40px\";
ensen_height = \"40px\";
sankou_display = \"none\";
}
else if(zoom == 2){
table_width = \"294px\";
table_margin = \"0px\";
ltable_width = \"140\";
btable_width = \"140\";
product_left_width = \"294px\";
product_left_height = \"500px\";
product_img_width = \"294px\";
product_cap_width = \"294px\";
font_size = \"100%\";
tfont_size = \"100%\";
image_width = 294;
image_height = 210;
detail_width = 110;
detail_pLeft = \"20px\";
detail_pRight = \"25px\";
comment_display = \"none\";
koutuu_height = \"40px\";
ensen_height = \"20px\";
sankou_display = \"none\";
}
else if(zoom == 3){
table_width = \"455px\";
table_margin = \"0px\";
ltable_width = \"190px\";
btable_width = \"190px\";
product_left_width = \"455px\";
product_left_height = \"600px\";
product_img_width = \"455px\";
product_cap_width = \"455px\";
font_size = \"110%\";
tfont_size = \"100%\";
image_width = 455;
image_height = 330;
detail_width = 110;
detail_pLeft = \"85px\";
detail_pRight = \"55px\";
comment_display = \"none\";
koutuu_height = \"20px\";
ensen_height = \"20px\";
sankou_display = \"none\";
}
else if(zoom == 4){
table_width = \"455px\";
table_margin = \"0px\";
ltable_width = \"190px\";
btable_width = \"190px\";
product_left_width = \"940px\";
product_left_height = \"500px\";
product_img_width = \"455px\";
product_cap_width = \"455px\";
font_size = \"110%\";
tfont_size = \"100%\";
image_width = 455;
image_height = 330;
detail_width = 110;
detail_pLeft = \"70px\";
detail_pRight = \"60px\";
comment_display = \"table-row\";
koutuu_height = \"20px\";
ensen_height = \"20px\";
sankou_display = \"block\";
}
var l = 0;
for(i = start+1; i < (start + objImage.length+1); i++){
objName = document.getElementById(\"name\" + i);
objTitle = document.getElementById(\"title\" + i);
objTable = document.getElementById(\"table\" + i);
objLTable = document.getElementById(\"ltable\" + i);
objBTable = document.getElementById(\"btable\" + i);
objPLeft = document.getElementById(\"product_left\" + i);
objPImg = document.getElementById(\"product_img\" + i);
objPCap = document.getElementById(\"product_cap\" + i);
objComment= document.getElementById(\"comment\" + i);
objAddress= document.getElementById(\"address\" + i);
objSyubetu= document.getElementById(\"syubetu\" + i);
objSyumoku= document.getElementById(\"syumoku\" + i);
objEnsen = document.getElementById(\"ensen\" + i);
objKoutuu = document.getElementById(\"koutuu\" + i);
objSankou = document.getElementById(\"sankou\" + i);
objBikou = document.getElementById(\"bikou\" + i);
objAddress.style.display = comment_display;
objSyubetu.style.display = comment_display;
objSyumoku.style.display = comment_display;
objPLeft.style.width = product_left_width;
objPLeft.style.height = product_left_height;
objPImg.style.width = product_img_width;
objPCap.style.width = product_cap_width;
objImage.item(l).width = image_width;
objImage.item(l).height = image_height;
//objDetail.item(l).width = 103;
// objDetail.item(l).style.marginLeft = detail_pLeft;
//objDetail.item(l).style.marginRight = detail_pRight;
objName.style.fontSize = font_size;
objTitle.style.display = comment_display;
objTable.style.fontSize = font_size;
objTable.style.width = table_width;
objTable.style.marginBottom = table_margin;
objLTable.style.width = ltable_width;
objBTable.style.width = btable_width;
objLTable.style.fontSize = tfont_size;
objBTable.style.fontSize = tfont_size;
objComment.style.display = comment_display;
objKoutuu.style.height = koutuu_height;
objEnsen.style.height = ensen_height;
objSankou.style.display = sankou_display;
objBikou.style.fontSize = font_size;
l++;
}
}
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
var \$form = \$(this).parents('li').find('form');
// 個数フォームのチェック
var \$quantity = \$form.parent().find('.quantity');
if (\$quantity.val() < 1) {
\$quantity[0].setCustomValidity('";
// line 216
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("1以上で入力してください。"), "html", null, true);
echo "');
setTimeout(function() {
loadingOverlay('hide');
}, 100);
return true;
} else {
\$quantity[0].setCustomValidity('');
}
event.preventDefault();
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// カートブロックを更新する
\$.ajax({
url: \"";
// line 239
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("block_cart");
echo "\",
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
window.location.href = \"";
// line 246
echo $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("cart");
echo "\";
}).fail(function(data) {
alert('";
// line 248
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\TranslationExtension']->trans("リストへの追加に失敗しました。"), "html", null, true);
echo "');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
\$('.reload').on('click', function(event) {
location.reload();
});
});
\$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
";
// line 265
$context["Products"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Product"), "findBy", [0 => ["Status" => 1], 1 => ["update_date" => "desc"], 2 => 119], "method", false, false, false, 265);
// line 266
echo "
";
// line 267
$context["product_mum"] = twig_length_filter($this->env, (isset($context["Products"]) || array_key_exists("Products", $context) ? $context["Products"] : (function () { throw new RuntimeError('Variable "Products" does not exist.', 267, $this->source); })()));
// line 269
$context["count_item"] = 15;
// line 270
$context["max_page"] = (twig_round(((isset($context["product_mum"]) || array_key_exists("product_mum", $context) ? $context["product_mum"] : (function () { throw new RuntimeError('Variable "product_mum" does not exist.', 270, $this->source); })()) / (isset($context["count_item"]) || array_key_exists("count_item", $context) ? $context["count_item"] : (function () { throw new RuntimeError('Variable "count_item" does not exist.', 270, $this->source); })())), 0, "floor") + 1);
// line 271
$context["RedirectQueryString"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["app"]) || array_key_exists("app", $context) ? $context["app"] : (function () { throw new RuntimeError('Variable "app" does not exist.', 271, $this->source); })()), "request", [], "any", false, false, false, 271), "server", [], "any", false, false, false, 271), "get", [0 => "REDIRECT_QUERY_STRING"], "method", false, false, false, 271);
// line 272
if (((isset($context["RedirectQueryString"]) || array_key_exists("RedirectQueryString", $context) ? $context["RedirectQueryString"] : (function () { throw new RuntimeError('Variable "RedirectQueryString" does not exist.', 272, $this->source); })()) != null)) {
// line 273
$context["page_num"] = twig_slice($this->env, (isset($context["RedirectQueryString"]) || array_key_exists("RedirectQueryString", $context) ? $context["RedirectQueryString"] : (function () { throw new RuntimeError('Variable "RedirectQueryString" does not exist.', 273, $this->source); })()), twig_length_filter($this->env, "page="));
} else {
// line 275
$context["page_num"] = 0;
}
// line 277
if (((isset($context["page_num"]) || array_key_exists("page_num", $context) ? $context["page_num"] : (function () { throw new RuntimeError('Variable "page_num" does not exist.', 277, $this->source); })()) == 0)) {
// line 278
$context["start_num"] = (isset($context["page_num"]) || array_key_exists("page_num", $context) ? $context["page_num"] : (function () { throw new RuntimeError('Variable "page_num" does not exist.', 278, $this->source); })());
// line 279
$context["page_num"] = 1;
} else {
// line 281
$context["start_num"] = (((isset($context["page_num"]) || array_key_exists("page_num", $context) ? $context["page_num"] : (function () { throw new RuntimeError('Variable "page_num" does not exist.', 281, $this->source); })()) - 1) * (isset($context["count_item"]) || array_key_exists("count_item", $context) ? $context["count_item"] : (function () { throw new RuntimeError('Variable "count_item" does not exist.', 281, $this->source); })()));
}
// line 283
echo "
<div id=\"toplist\" style=\"width:970px;\">
<h3 class=\"t5\" style=\"color:black;margin-top:10px;width:960px;\">取扱い物件一覧
<font style=\"margin-left:620px;\">表示形式:
<select id=\"size\" name=\"size\" size=\"1\" onChange=\"comboChange(this.options[this.selectedIndex].value,";
// line 287
echo twig_escape_filter($this->env, (isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 287, $this->source); })()), "html", null, true);
echo ")\">
<option value=\"1\">縮小表示</option>
<option value=\"2\" selected=\"selected\">標準</option>
<option value=\"3\">拡大表示</option>
<option value=\"4\">最大化</option>
</select>
</font>
</h3>
<div align=\"center\" style=\"margin:0 5px;height:30px;width:960px;border:1px solid #E2DFD2; font-size:18px;\">
<<
";
// line 298
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["max_page"]) || array_key_exists("max_page", $context) ? $context["max_page"] : (function () { throw new RuntimeError('Variable "max_page" does not exist.', 298, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 299
echo " ";
if (($context["i"] == (isset($context["page_num"]) || array_key_exists("page_num", $context) ? $context["page_num"] : (function () { throw new RuntimeError('Variable "page_num" does not exist.', 299, $this->source); })()))) {
// line 300
echo " ";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "
";
} else {
// line 302
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage", ["page" => $context["i"]]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
";
}
// line 304
echo " ";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 305
echo " >>
</div>
<!--<h3 class=\"t5\">オススメ商品</h3>-->
<!--product_left start-->
";
// line 309
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(twig_slice($this->env, (isset($context["Products"]) || array_key_exists("Products", $context) ? $context["Products"] : (function () { throw new RuntimeError('Variable "Products" does not exist.', 309, $this->source); })()), (isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 309, $this->source); })()), (isset($context["count_item"]) || array_key_exists("count_item", $context) ? $context["count_item"] : (function () { throw new RuntimeError('Variable "count_item" does not exist.', 309, $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["Product"]) {
// line 310
echo "<li class=\"ec-shelfGrid__item\">
";
// line 311
$context["ProductClass"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\ProductClass"), "findBy", [0 => ["Product" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 311)]], "method", false, false, false, 311);
// line 312
if (((isset($context["ProductClass"]) || array_key_exists("ProductClass", $context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.', 312, $this->source); })()) != null)) {
// line 313
$context["SaleType"] = twig_get_attribute($this->env, $this->source, $this->env->getFunction('repository')->getCallable()("Eccube\\Entity\\Master\\SaleType"), "findBy", [0 => ["id" => twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["ProductClass"]) || array_key_exists("ProductClass", $context) ? $context["ProductClass"] : (function () { throw new RuntimeError('Variable "ProductClass" does not exist.', 313, $this->source); })()), 0, [], "array", false, false, false, 313), "SaleType", [], "any", false, false, false, 313)]], "method", false, false, false, 313);
// line 314
if (((isset($context["SaleType"]) || array_key_exists("SaleType", $context) ? $context["SaleType"] : (function () { throw new RuntimeError('Variable "SaleType" does not exist.', 314, $this->source); })()) != null)) {
// line 315
$context["SaleTypeName"] = twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, (isset($context["SaleType"]) || array_key_exists("SaleType", $context) ? $context["SaleType"] : (function () { throw new RuntimeError('Variable "SaleType" does not exist.', 315, $this->source); })()), 0, [], "array", false, false, false, 315), "name", [], "any", false, false, false, 315);
} else {
// line 317
$context["SaleTypeName"] = "";
}
// line 319
echo "
<div id=\"product_left";
// line 320
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 320, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 320)), "html", null, true);
echo "\" class=\"product_left\" style=\"width:294px;height:500px;margin:0 0 5px 5px;\">
<!--product_img start-->
<div id=\"product_img";
// line 323
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 323, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 323)), "html", null, true);
echo "\" class=\"product_img_01\" style=\"width:294px;\">
<h4 id=\"name";
// line 325
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 325, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 325)), "html", null, true);
echo "\" class=\"bold\" style=\"padding:5px 0 3px 0;font-size:110%;border-bottom:thin solid green;background-color:snow;color:black;margin-bottom:4px;\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 325), "html", null, true);
echo "</h4>
<p id=\"title";
// line 326
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 326, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 326)), "html", null, true);
echo "\" style=\"display:none;margin-left:5px;text-align:left;font-size:95%;color:black;\"> </p>
<a href=\"";
// line 327
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 327)]), "html", null, true);
echo "\">
<img id=\"image";
// line 328
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 328, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 328)), "html", null, true);
echo "\" name=\"image\" height=\"210\" width=\"294\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "mainImage", [], "any", false, false, false, 328)), "save_image"), "html", null, true);
echo "\"alt=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "name", [], "any", false, false, false, 328), "html", null, true);
echo "\" />
</a>
<p id=\"bikou";
// line 330
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 330, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 330)), "html", null, true);
echo "\"><font style=\"color:blue;\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "comment", [], "any", false, false, false, 330), "html", null, true);
echo "</font></p>
</div>
<!--/product_img end-->
<!--product_cap start-->
<div id=\"product_cap";
// line 336
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 336, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 336)), "html", null, true);
echo "\" class=\"product_cap_01\" style=\"width:295px;padding-left:1px;padding-top:0px; float:right;\">
<!--{*--><h4 class=\"bold\"><a href=\"<!--{\$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{\$arrBestProducts[cnt].product_id}-->\"><!--{\$arrBestProducts[cnt].name|escape}--></a></h4><!--*}-->
<!--{*--><p class=\"t10\"><!--{\$arrBestProducts[cnt].comment|escape|nl2br}--></p><!--*}-->
<!-- edit area start-->
<div style=\"color:black;font-size:96%;\">
<p id=\"comment";
// line 341
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 341, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 341)), "html", null, true);
echo "\" style=\"padding-bottom:10px;color:black;display:none;\">
";
// line 342
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "mainListComment", [], "any", false, false, false, 342), "html", null, true);
echo "
</p>
<table id=\"table";
// line 344
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 344, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 344)), "html", null, true);
echo "\" border=\"1\" width=\"294\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\">
<tr>
<td align=\"center\">価 格</td>
<td align=\"center\">
";
// line 348
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 348) == 0)) {
// line 349
echo "<font style=\"color:red; font-weight:bolder;\">ご成約済</font>
";
} elseif ((twig_get_attribute($this->env, $this->source, // line 350
$context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 350) == 1)) {
// line 351
echo "<font style=\"color:red; font-weight:bolder;\">商 談 中</font>
";
} else {
// line 353
echo "<font style=\"color:red; font-weight:bolder;\">
";
// line 354
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "getPrice02IncTaxMax", [], "any", false, false, false, 354), "html", null, true);
echo "万円</font>
";
}
// line 356
echo "</td>
</tr>
<tr id=\"address";
// line 359
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 359, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 359)), "html", null, true);
echo "\" style=\"display:none;\">
<td align=\"center\">所 在 地</td>
<td align=\"center\"><font style=\"color:blue;\">";
// line 361
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "pref", [], "any", false, false, false, 361), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "ku", [], "any", false, false, false, 361), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "adDetail", [], "any", false, false, false, 361), "html", null, true);
echo "</font></td>
</tr>
<tr id=\"syubetu";
// line 363
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 363, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 363)), "html", null, true);
echo "\" style=\"display:none;\">
<td align=\"center\">物 件 種 別</td>
<td align=\"center\"><font style=\"color:blue;\">";
// line 365
echo twig_escape_filter($this->env, (isset($context["SaleTypeName"]) || array_key_exists("SaleTypeName", $context) ? $context["SaleTypeName"] : (function () { throw new RuntimeError('Variable "SaleTypeName" does not exist.', 365, $this->source); })()), "html", null, true);
echo "</font></td>
</tr>
<tr id=\"syumoku";
// line 367
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 367, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 367)), "html", null, true);
echo "\" style=\"display:none;\">
<td align=\"center\" width=\"900px\">物 件 種 目</td>
<td align=\"center\"><font style=\"color:blue;\">";
// line 369
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "syumoku", [], "any", false, false, false, 369), "html", null, true);
echo "</font></td>
</tr>
<tr>
<td align=\"center\">土 地 面 積</td><td align=\"center\"><font style=\"color:blue;\">
<table id=\"ltable";
// line 373
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 373, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 373)), "html", null, true);
echo "\" width=\"140\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"49%\" align=\"right\">
";
// line 374
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "landArea", [], "any", false, false, false, 374), "html", null, true);
echo "m<Span style=\"font-size:60%;height:10;position:relative; top:-3%;\">2</Span></td>
<td width=\"51%\" align=\"right\">
";
// line 376
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "landArea", [], "any", false, false, false, 376) != "")) {
// line 377
$context["ltubo"] = twig_sprintf("%.2f", (((twig_get_attribute($this->env, $this->source, $context["Product"], "landArea", [], "any", false, false, false, 377) * 0.3024999999999999911182158029987476766109466552734375) * 100) / 100));
// line 378
echo twig_escape_filter($this->env, (isset($context["ltubo"]) || array_key_exists("ltubo", $context) ? $context["ltubo"] : (function () { throw new RuntimeError('Variable "ltubo" does not exist.', 378, $this->source); })()), "html", null, true);
echo " 坪
";
}
// line 380
echo "</td></tr></table>
</font></td>
</tr>
<tr>
<td align=\"center\">
";
// line 385
if (((isset($context["SaleTypeName"]) || array_key_exists("SaleTypeName", $context) ? $context["SaleTypeName"] : (function () { throw new RuntimeError('Variable "SaleTypeName" does not exist.', 385, $this->source); })()) == "マンション")) {
// line 386
echo "専 有 面 積
";
} else {
// line 388
echo "建 物 面 積
";
}
// line 390
echo "</td><td align=\"center\"><font style=\"color:blue;\">
<table id=\"btable";
// line 391
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 391, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 391)), "html", null, true);
echo "\" width=\"140\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"49%\" align=\"right\">
";
// line 392
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "buildArea", [], "any", false, false, false, 392), "html", null, true);
echo "m<Span style=\"font-size:60%;height:10;position:relative; top:-3%;\">2</Span></td>
<td width=\"51%\" align=\"right\">
";
// line 394
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "buildArea", [], "any", false, false, false, 394) != "")) {
// line 395
$context["btubo"] = twig_sprintf("%.2f", (((twig_get_attribute($this->env, $this->source, $context["Product"], "buildArea", [], "any", false, false, false, 395) * 0.3024999999999999911182158029987476766109466552734375) * 100) / 100));
// line 396
echo twig_escape_filter($this->env, (isset($context["btubo"]) || array_key_exists("btubo", $context) ? $context["btubo"] : (function () { throw new RuntimeError('Variable "btubo" does not exist.', 396, $this->source); })()), "html", null, true);
echo " 坪
";
}
// line 398
echo "</td></tr></table>
</font></td>
</tr>
<tr>
<td id=\"ensen";
// line 402
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 402, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 402)), "html", null, true);
echo "\" align=\"center\">沿 線 ・ 駅</td><td align=\"center\"><font style=\"color:blue;\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "ensen", [], "any", false, false, false, 402), "html", null, true);
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "station", [], "any", false, false, false, 402), "html", null, true);
echo "</font></td>
</tr>
</table>
<p id=\"koutuu";
// line 406
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 406, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 406)), "html", null, true);
echo "\" style=\"height:40px;display:none;\">交通:<font style=\"color:blue;\">";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "stOther", [], "any", false, false, false, 406), "html", null, true);
echo "</font></p>
<!--{assign var=name value=\"detail`\$smarty.section.cnt.iteration`\"}-->
<!--{assign var=id value=\$arrBestProducts[cnt].product_id}-->
<tr style=\"height:40px;\">
<td colspan=\"2\" align=\"center\">
<a href=\"";
// line 413
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_detail", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 413)]), "html", null, true);
echo "\" onmouseover=\"chgImg('../html/user_data/assets/images/b_detail_h.gif','detail1');\" onmouseout=\"chgImg('../html/user_data/assets/images/b_detail.gif','detail1');\">
<img src=\"../html/user_data/assets/images/b_detail.gif\" width=\"110\" height=\"21\" alt=\"詳しくはこちら\" name=\"detail1\" id=\"detail1\" />
</a>
</td>
<td>
<form action=\"";
// line 418
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("product_add_cart", ["id" => twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 418)]), "html", null, true);
echo "\" method=\"post\" id=\"form";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 418), "html", null, true);
echo "\" name=\"productForm";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 418), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"quantity";
// line 419
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 419), "html", null, true);
echo "\" name=\"quantity\" required=\"required\" min=\"1\" maxlength=\"9\" class=\"quantity\" value=\"1\">
<input type=\"hidden\" id=\"product_id\" name=\"product_id\" value=\"";
// line 420
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 420), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"ProductClass\" name=\"ProductClass\" value=\"";
// line 421
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, twig_get_attribute($this->env, $this->source, $context["Product"], "ProductClasses", [], "any", false, false, false, 421), 0, [], "array", false, false, false, 421), "id", [], "any", false, false, false, 421), "html", null, true);
echo "\">
<input type=\"hidden\" id=\"_token\" name=\"_token\" value=\"";
// line 422
echo twig_escape_filter($this->env, $this->env->getRuntime('Symfony\Component\Form\FormRenderer')->renderCsrfToken("Eccube\\Form\\Type\\AddCartType"), "html", null, true);
echo "\" />
</form>
";
// line 425
echo " <a type=\"button\" class=\"add-cart\" data-cartid=\"";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 425), "html", null, true);
echo "\" form=\"productForm";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "id", [], "any", false, false, false, 425), "html", null, true);
echo "\">
<img src=\"../../html/user_data/assets/images/b_box_in.gif\" width=\"108\" height=\"21\" alt=\"カゴに入れる\"style=\"margin:5px 0 0 0;\"/>
</a>
";
// line 429
echo " </td>
</tr>
</div>
<!-- / edit area end-->
</div>
<!--/product_cap end-->
<div style=\"clear:left;\">
<p id=\"sankou";
// line 437
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 437, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 437)), "html", null, true);
echo "\" style=\"display:none;margin-left:5px;margin-bottom:10px;padding-top:5px;\">
<font style=\"color:black;font-size:96%;\"><参考画像>(画像の上にマウスを乗せると拡大画像がご覧になれます)</font><br>
";
// line 439
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "mainImage", [], "any", false, false, false, 439) != "")) {
// line 440
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 440, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 440)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "mainImage", [], "any", false, false, false, 440)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 440, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 440)), "html", null, true);
echo "', '')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "mainImage", [], "any", false, false, false, 440)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 442
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 443
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub1Image", [], "any", false, false, false, 443) != "")) {
// line 444
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 444, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 444)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub1Image", [], "any", false, false, false, 444)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 444, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 444)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub1Title", [], "any", false, false, false, 444), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub1Image", [], "any", false, false, false, 444)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 446
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 447
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub2Image", [], "any", false, false, false, 447) != "")) {
// line 448
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 448, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 448)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub2Image", [], "any", false, false, false, 448)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 448, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 448)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub2Title", [], "any", false, false, false, 448), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub2Image", [], "any", false, false, false, 448)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 450
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 451
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub3Image", [], "any", false, false, false, 451) != "")) {
// line 452
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 452, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 452)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub3Image", [], "any", false, false, false, 452)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 452, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 452)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub3Title", [], "any", false, false, false, 452), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub3Image", [], "any", false, false, false, 452)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 454
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 455
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub4Image", [], "any", false, false, false, 455) != "")) {
// line 456
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 456, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 456)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub4Image", [], "any", false, false, false, 456)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 456, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 456)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub4Title", [], "any", false, false, false, 456), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub4Image", [], "any", false, false, false, 456)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 458
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 459
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub5Image", [], "any", false, false, false, 459) != "")) {
// line 460
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 460, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 460)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub5Image", [], "any", false, false, false, 460)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 460, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 460)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub5Title", [], "any", false, false, false, 460), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub5Image", [], "any", false, false, false, 460)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 462
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 463
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub6Image", [], "any", false, false, false, 463) != "")) {
// line 464
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 464, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 464)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub6Image", [], "any", false, false, false, 464)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 464, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 464)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub6Title", [], "any", false, false, false, 464), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub6Image", [], "any", false, false, false, 464)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 466
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 467
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub7Image", [], "any", false, false, false, 467) != "")) {
// line 468
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 468, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 468)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub7Image", [], "any", false, false, false, 468)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 468, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 468)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub7Title", [], "any", false, false, false, 468), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub7Image", [], "any", false, false, false, 468)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 470
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 471
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub8Image", [], "any", false, false, false, 471) != "")) {
// line 472
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 472, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 472)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub8Image", [], "any", false, false, false, 472)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 472, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 472)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub8Title", [], "any", false, false, false, 472), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub8Image", [], "any", false, false, false, 472)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 474
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 475
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub9Image", [], "any", false, false, false, 475) != "")) {
// line 476
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 476, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 476)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub9Image", [], "any", false, false, false, 476)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 476, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 476)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub9Title", [], "any", false, false, false, 476), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub9Image", [], "any", false, false, false, 476)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 478
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 479
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub12Image", [], "any", false, false, false, 479) != "")) {
// line 480
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 480, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 480)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub12Image", [], "any", false, false, false, 480)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 480, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 480)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub12Title", [], "any", false, false, false, 480), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub12Image", [], "any", false, false, false, 480)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 482
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 483
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub13Image", [], "any", false, false, false, 483) != "")) {
// line 484
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 484, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 484)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub13Image", [], "any", false, false, false, 484)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 484, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 484)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub13Title", [], "any", false, false, false, 484), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub13Image", [], "any", false, false, false, 484)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 486
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 487
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub14Image", [], "any", false, false, false, 487) != "")) {
// line 488
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 488, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 488)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub14Image", [], "any", false, false, false, 488)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 488, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 488)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub14Title", [], "any", false, false, false, 488), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub14Image", [], "any", false, false, false, 488)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 490
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
";
// line 491
if ((twig_get_attribute($this->env, $this->source, $context["Product"], "sub15Image", [], "any", false, false, false, 491) != "")) {
// line 492
echo "<img onmouseover=\"changeImage('image";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 492, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 492)), "html", null, true);
echo "','";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub15Image", [], "any", false, false, false, 492)), "save_image"), "html", null, true);
echo "', 'title";
echo twig_escape_filter($this->env, ((isset($context["start_num"]) || array_key_exists("start_num", $context) ? $context["start_num"] : (function () { throw new RuntimeError('Variable "start_num" does not exist.', 492, $this->source); })()) + twig_get_attribute($this->env, $this->source, $context["loop"], "index", [], "any", false, false, false, 492)), "html", null, true);
echo "', '";
echo twig_escape_filter($this->env, twig_get_attribute($this->env, $this->source, $context["Product"], "sub15Title", [], "any", false, false, false, 492), "html", null, true);
echo "')\" src=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\AssetExtension']->getAssetUrl($this->extensions['Eccube\Twig\Extension\EccubeExtension']->getNoImageProduct(twig_get_attribute($this->env, $this->source, $context["Product"], "sub15Image", [], "any", false, false, false, 492)), "save_image"), "html", null, true);
echo "\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
";
}
// line 494
echo "<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
</p>
</div>
</div>
<!--/product_left end-->
</li>
";
} else {
// line 503
$context["SaleTypeName"] = "";
}
// line 505
echo " ";
++$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['Product'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 506
echo "
<!--/product end-->
<!--{/section}-->
<!--{if \$navi != \"\"}-->
<div align=\"center\" style=\"margin:0 5px 5px;height:30px;width:960px;border:1px solid #E2DFD2;clear:left;font-size:18px;\">
<<
";
// line 514
$context['_parent'] = $context;
$context['_seq'] = twig_ensure_traversable(range(1, (isset($context["max_page"]) || array_key_exists("max_page", $context) ? $context["max_page"] : (function () { throw new RuntimeError('Variable "max_page" does not exist.', 514, $this->source); })())));
foreach ($context['_seq'] as $context["_key"] => $context["i"]) {
// line 515
echo " ";
if (($context["i"] == (isset($context["page_num"]) || array_key_exists("page_num", $context) ? $context["page_num"] : (function () { throw new RuntimeError('Variable "page_num" does not exist.', 515, $this->source); })()))) {
// line 516
echo " ";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "
";
} else {
// line 518
echo " <a href=\"";
echo twig_escape_filter($this->env, $this->extensions['Symfony\Bridge\Twig\Extension\RoutingExtension']->getUrl("homepage", ["page" => $context["i"]]), "html", null, true);
echo "\">";
echo twig_escape_filter($this->env, $context["i"], "html", null, true);
echo "</a>
";
}
// line 520
echo "
";
}
$_parent = $context['_parent'];
unset($context['_seq'], $context['_iterated'], $context['_key'], $context['i'], $context['_parent'], $context['loop']);
$context = array_intersect_key($context, $_parent) + $_parent;
// line 522
echo " >>
</div>
<!--{/if}-->
</div>";
$__internal_5a27a8ba21ca79b61932376b2fa922d2->leave($__internal_5a27a8ba21ca79b61932376b2fa922d2_prof);
$__internal_6f47bbe9983af81f1e7450e9a3e3768f->leave($__internal_6f47bbe9983af81f1e7450e9a3e3768f_prof);
}
public function getTemplateName()
{
return "Block/list.twig";
}
public function isTraitable()
{
return false;
}
public function getDebugInfo()
{
return array ( 1036 => 522, 1029 => 520, 1021 => 518, 1015 => 516, 1012 => 515, 1008 => 514, 998 => 506, 984 => 505, 981 => 503, 970 => 494, 956 => 492, 954 => 491, 951 => 490, 937 => 488, 935 => 487, 932 => 486, 918 => 484, 916 => 483, 913 => 482, 899 => 480, 897 => 479, 894 => 478, 880 => 476, 878 => 475, 875 => 474, 861 => 472, 859 => 471, 856 => 470, 842 => 468, 840 => 467, 837 => 466, 823 => 464, 821 => 463, 818 => 462, 804 => 460, 802 => 459, 799 => 458, 785 => 456, 783 => 455, 780 => 454, 766 => 452, 764 => 451, 761 => 450, 747 => 448, 745 => 447, 742 => 446, 728 => 444, 726 => 443, 723 => 442, 711 => 440, 709 => 439, 704 => 437, 694 => 429, 685 => 425, 680 => 422, 676 => 421, 672 => 420, 668 => 419, 660 => 418, 652 => 413, 640 => 406, 630 => 402, 624 => 398, 619 => 396, 617 => 395, 615 => 394, 610 => 392, 606 => 391, 603 => 390, 599 => 388, 595 => 386, 593 => 385, 586 => 380, 581 => 378, 579 => 377, 577 => 376, 572 => 374, 568 => 373, 561 => 369, 556 => 367, 551 => 365, 546 => 363, 539 => 361, 534 => 359, 529 => 356, 524 => 354, 521 => 353, 517 => 351, 515 => 350, 512 => 349, 510 => 348, 503 => 344, 498 => 342, 494 => 341, 486 => 336, 475 => 330, 466 => 328, 462 => 327, 458 => 326, 452 => 325, 447 => 323, 441 => 320, 438 => 319, 435 => 317, 432 => 315, 430 => 314, 428 => 313, 426 => 312, 424 => 311, 421 => 310, 404 => 309, 398 => 305, 392 => 304, 384 => 302, 378 => 300, 375 => 299, 371 => 298, 357 => 287, 351 => 283, 348 => 281, 345 => 279, 343 => 278, 341 => 277, 338 => 275, 335 => 273, 333 => 272, 331 => 271, 329 => 270, 327 => 269, 325 => 267, 322 => 266, 320 => 265, 301 => 248, 296 => 246, 286 => 239, 260 => 216, 43 => 1,);
}
public function getSourceContext()
{
return new Source("<!--product start-->
<script>
function write_log() {
var val = 'ohaoaha';
console.log(val);
}
function changeImage(id, path, tId, title){
var objImage = document.getElementById(id);
var objTitle = document.getElementById(tId);
objImage.src = path;
objTitle.innerText = title;
}
function comboChange(zoom, start){
var product_left_width;
var product_left_height;
var product_img_width;
var product_cap_width;
var font_size;
var image_width;
var image_height;
var detail_width;
var detail_pLeft;
var detail_pRight;
var comment_display;
var koutuu_height;
var ensen_height;
var sankou_display;
var sankou_display;
var objName;
var objTitle;
var objTable;
var objLTable;
var objBTable;
var objPLeft;
var objPImg;
var objPCap;
var objComment;
var objAddress;
var objSyubetu;
var objSyumoku;
var objKoutuu;
var objEnsen;
var objSankou;
var objBikou;
var objImage = document.getElementsByName(\"image\");
var objDetail = document.getElementsByName(\"detail\");
if(zoom == 1){
table_width = \"215px\";
table_margin = \"0px\";
ltable_width = \"120px\";
btable_width = \"120px\";
product_left_width = \"215px\";
product_left_height = \"450px\";
product_img_width = \"215px\";
product_cap_width = \"215px\";
font_size = \"90%\";
tfont_size = \"90%\";
image_width = 215;
image_height = 155;
detail_width = 103;
detail_pLeft = \"0px\";
detail_pRight = \"0px\";
comment_display = \"none\";
koutuu_height = \"40px\";
ensen_height = \"40px\";
sankou_display = \"none\";
}
else if(zoom == 2){
table_width = \"294px\";
table_margin = \"0px\";
ltable_width = \"140\";
btable_width = \"140\";
product_left_width = \"294px\";
product_left_height = \"500px\";
product_img_width = \"294px\";
product_cap_width = \"294px\";
font_size = \"100%\";
tfont_size = \"100%\";
image_width = 294;
image_height = 210;
detail_width = 110;
detail_pLeft = \"20px\";
detail_pRight = \"25px\";
comment_display = \"none\";
koutuu_height = \"40px\";
ensen_height = \"20px\";
sankou_display = \"none\";
}
else if(zoom == 3){
table_width = \"455px\";
table_margin = \"0px\";
ltable_width = \"190px\";
btable_width = \"190px\";
product_left_width = \"455px\";
product_left_height = \"600px\";
product_img_width = \"455px\";
product_cap_width = \"455px\";
font_size = \"110%\";
tfont_size = \"100%\";
image_width = 455;
image_height = 330;
detail_width = 110;
detail_pLeft = \"85px\";
detail_pRight = \"55px\";
comment_display = \"none\";
koutuu_height = \"20px\";
ensen_height = \"20px\";
sankou_display = \"none\";
}
else if(zoom == 4){
table_width = \"455px\";
table_margin = \"0px\";
ltable_width = \"190px\";
btable_width = \"190px\";
product_left_width = \"940px\";
product_left_height = \"500px\";
product_img_width = \"455px\";
product_cap_width = \"455px\";
font_size = \"110%\";
tfont_size = \"100%\";
image_width = 455;
image_height = 330;
detail_width = 110;
detail_pLeft = \"70px\";
detail_pRight = \"60px\";
comment_display = \"table-row\";
koutuu_height = \"20px\";
ensen_height = \"20px\";
sankou_display = \"block\";
}
var l = 0;
for(i = start+1; i < (start + objImage.length+1); i++){
objName = document.getElementById(\"name\" + i);
objTitle = document.getElementById(\"title\" + i);
objTable = document.getElementById(\"table\" + i);
objLTable = document.getElementById(\"ltable\" + i);
objBTable = document.getElementById(\"btable\" + i);
objPLeft = document.getElementById(\"product_left\" + i);
objPImg = document.getElementById(\"product_img\" + i);
objPCap = document.getElementById(\"product_cap\" + i);
objComment= document.getElementById(\"comment\" + i);
objAddress= document.getElementById(\"address\" + i);
objSyubetu= document.getElementById(\"syubetu\" + i);
objSyumoku= document.getElementById(\"syumoku\" + i);
objEnsen = document.getElementById(\"ensen\" + i);
objKoutuu = document.getElementById(\"koutuu\" + i);
objSankou = document.getElementById(\"sankou\" + i);
objBikou = document.getElementById(\"bikou\" + i);
objAddress.style.display = comment_display;
objSyubetu.style.display = comment_display;
objSyumoku.style.display = comment_display;
objPLeft.style.width = product_left_width;
objPLeft.style.height = product_left_height;
objPImg.style.width = product_img_width;
objPCap.style.width = product_cap_width;
objImage.item(l).width = image_width;
objImage.item(l).height = image_height;
//objDetail.item(l).width = 103;
// objDetail.item(l).style.marginLeft = detail_pLeft;
//objDetail.item(l).style.marginRight = detail_pRight;
objName.style.fontSize = font_size;
objTitle.style.display = comment_display;
objTable.style.fontSize = font_size;
objTable.style.width = table_width;
objTable.style.marginBottom = table_margin;
objLTable.style.width = ltable_width;
objBTable.style.width = btable_width;
objLTable.style.fontSize = tfont_size;
objBTable.style.fontSize = tfont_size;
objComment.style.display = comment_display;
objKoutuu.style.height = koutuu_height;
objEnsen.style.height = ensen_height;
objSankou.style.display = sankou_display;
objBikou.style.fontSize = font_size;
l++;
}
}
</script>
<script>
\$(function() {
\$('.add-cart').on('click', function(event) {
var \$form = \$(this).parents('li').find('form');
// 個数フォームのチェック
var \$quantity = \$form.parent().find('.quantity');
if (\$quantity.val() < 1) {
\$quantity[0].setCustomValidity('{{ '1以上で入力してください。'|trans }}');
setTimeout(function() {
loadingOverlay('hide');
}, 100);
return true;
} else {
\$quantity[0].setCustomValidity('');
}
event.preventDefault();
\$.ajax({
url: \$form.attr('action'),
type: \$form.attr('method'),
data: \$form.serialize(),
dataType: 'json',
beforeSend: function(xhr, settings) {
// Buttonを無効にする
\$('.add-cart').prop('disabled', true);
}
}).done(function(data) {
// カートブロックを更新する
\$.ajax({
url: \"{{ url('block_cart') }}\",
type: 'GET',
dataType: 'html'
}).done(function(html) {
\$('.ec-headerRole__cart').html(html);
});
window.location.href = \"{{ url('cart') }}\";
}).fail(function(data) {
alert('{{ 'リストへの追加に失敗しました。'|trans }}');
}).always(function(data) {
// Buttonを有効にする
\$('.add-cart').prop('disabled', false);
});
});
\$('.reload').on('click', function(event) {
location.reload();
});
});
\$('.ec-modal-overlay, .ec-modal .ec-inlineBtn--cancel').on('click', function() {
\$('.ec-modal').hide()
});
</script>
{#商品情報を取得#}
{% set Products = repository('Eccube\\\\Entity\\\\Product').findBy({Status: 1}, { update_date: 'desc' },119) %}
{% set product_mum = Products|length %}
{# 1ページに表示する件数 #}
{% set count_item = 15 %}
{%set max_page = (product_mum / count_item)|round(0, 'floor')+1%}
{% set RedirectQueryString = app.request.server.get('REDIRECT_QUERY_STRING') %}
{% if RedirectQueryString != null %}
{% set page_num = RedirectQueryString|slice('page='|length) %}
{% else %}
{%set page_num = 0%}
{% endif %}
{% if page_num == 0 %}
{%set start_num = page_num%}
{% set page_num = 1 %}
{% else %}
{%set start_num = ((page_num-1) * count_item)%}
{% endif %}
<div id=\"toplist\" style=\"width:970px;\">
<h3 class=\"t5\" style=\"color:black;margin-top:10px;width:960px;\">取扱い物件一覧
<font style=\"margin-left:620px;\">表示形式:
<select id=\"size\" name=\"size\" size=\"1\" onChange=\"comboChange(this.options[this.selectedIndex].value,{{start_num}})\">
<option value=\"1\">縮小表示</option>
<option value=\"2\" selected=\"selected\">標準</option>
<option value=\"3\">拡大表示</option>
<option value=\"4\">最大化</option>
</select>
</font>
</h3>
<div align=\"center\" style=\"margin:0 5px;height:30px;width:960px;border:1px solid #E2DFD2; font-size:18px;\">
<<
{% for i in 1..max_page %}
{% if i == page_num %}
{{i}}
{% else %}
<a href=\"{{ url('homepage',{'page':i}) }}\">{{i}}</a>
{% endif %}
{% endfor %}
>>
</div>
<!--<h3 class=\"t5\">オススメ商品</h3>-->
<!--product_left start-->
{% for Product in Products|slice(start_num,count_item) %}
<li class=\"ec-shelfGrid__item\">
{% set ProductClass = repository('Eccube\\\\Entity\\\\ProductClass').findBy({Product:Product.id}) %}
{% if ProductClass != null %}
{% set SaleType = repository('Eccube\\\\Entity\\\\Master\\\\SaleType').findBy({id: ProductClass[0].SaleType}) %}
{% if SaleType != null %}
{% set SaleTypeName = SaleType[0].name %}
{% else %}
{% set SaleTypeName = '' %}
{% endif %}
<div id=\"product_left{{start_num+loop.index}}\" class=\"product_left\" style=\"width:294px;height:500px;margin:0 0 5px 5px;\">
<!--product_img start-->
<div id=\"product_img{{start_num+loop.index}}\" class=\"product_img_01\" style=\"width:294px;\">
<h4 id=\"name{{start_num+loop.index}}\" class=\"bold\" style=\"padding:5px 0 3px 0;font-size:110%;border-bottom:thin solid green;background-color:snow;color:black;margin-bottom:4px;\">{{Product.name}}</h4>
<p id=\"title{{start_num+loop.index}}\" style=\"display:none;margin-left:5px;text-align:left;font-size:95%;color:black;\"> </p>
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\">
<img id=\"image{{start_num+loop.index}}\" name=\"image\" height=\"210\" width=\"294\" src=\"{{ asset(Product.mainImage|no_image_product, 'save_image') }}\"alt=\"{{Product.name}}\" />
</a>
<p id=\"bikou{{start_num+loop.index}}\"><font style=\"color:blue;\">{{Product.comment}}</font></p>
</div>
<!--/product_img end-->
<!--product_cap start-->
<div id=\"product_cap{{start_num+loop.index}}\" class=\"product_cap_01\" style=\"width:295px;padding-left:1px;padding-top:0px; float:right;\">
<!--{*--><h4 class=\"bold\"><a href=\"<!--{\$smarty.const.URL_DIR}-->products/detail.php?product_id=<!--{\$arrBestProducts[cnt].product_id}-->\"><!--{\$arrBestProducts[cnt].name|escape}--></a></h4><!--*}-->
<!--{*--><p class=\"t10\"><!--{\$arrBestProducts[cnt].comment|escape|nl2br}--></p><!--*}-->
<!-- edit area start-->
<div style=\"color:black;font-size:96%;\">
<p id=\"comment{{start_num+loop.index}}\" style=\"padding-bottom:10px;color:black;display:none;\">
{{Product.mainListComment}}
</p>
<table id=\"table{{start_num+loop.index}}\" border=\"1\" width=\"294\" cellpadding=\"0\" cellspacing=\"0\" bgcolor=\"#ffffff\">
<tr>
<td align=\"center\">価 格</td>
<td align=\"center\">
{% if Product.getPrice02IncTaxMax==0%}
<font style=\"color:red; font-weight:bolder;\">ご成約済</font>
{% elseif Product.getPrice02IncTaxMax==1 %}
<font style=\"color:red; font-weight:bolder;\">商 談 中</font>
{% else %}
<font style=\"color:red; font-weight:bolder;\">
{{Product.getPrice02IncTaxMax}}万円</font>
{% endif %}
</td>
</tr>
<tr id=\"address{{start_num+loop.index}}\" style=\"display:none;\">
<td align=\"center\">所 在 地</td>
<td align=\"center\"><font style=\"color:blue;\">{{Product.pref}}{{Product.ku}}{{Product.adDetail}}</font></td>
</tr>
<tr id=\"syubetu{{start_num+loop.index}}\" style=\"display:none;\">
<td align=\"center\">物 件 種 別</td>
<td align=\"center\"><font style=\"color:blue;\">{{SaleTypeName}}</font></td>
</tr>
<tr id=\"syumoku{{start_num+loop.index}}\" style=\"display:none;\">
<td align=\"center\" width=\"900px\">物 件 種 目</td>
<td align=\"center\"><font style=\"color:blue;\">{{Product.syumoku}}</font></td>
</tr>
<tr>
<td align=\"center\">土 地 面 積</td><td align=\"center\"><font style=\"color:blue;\">
<table id=\"ltable{{start_num+loop.index}}\" width=\"140\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"49%\" align=\"right\">
{{Product.landArea}}m<Span style=\"font-size:60%;height:10;position:relative; top:-3%;\">2</Span></td>
<td width=\"51%\" align=\"right\">
{% if Product.landArea != \"\" %}
{% set ltubo = \"%.2f\"|format(((Product.landArea * 0.3025)*100)/100) %}
{{ltubo}} 坪
{% endif %}
</td></tr></table>
</font></td>
</tr>
<tr>
<td align=\"center\">
{% if SaleTypeName == \"マンション\" %}
専 有 面 積
{% else %}
建 物 面 積
{% endif %}
</td><td align=\"center\"><font style=\"color:blue;\">
<table id=\"btable{{start_num+loop.index}}\" width=\"140\" border=\"0\" cellpadding=\"0\" cellspacing=\"0\"><tr><td width=\"49%\" align=\"right\">
{{Product.buildArea}}m<Span style=\"font-size:60%;height:10;position:relative; top:-3%;\">2</Span></td>
<td width=\"51%\" align=\"right\">
{% if Product.buildArea != \"\" %}
{% set btubo = \"%.2f\"|format(((Product.buildArea * 0.3025)*100)/100) %}
{{btubo}} 坪
{% endif %}
</td></tr></table>
</font></td>
</tr>
<tr>
<td id=\"ensen{{start_num+loop.index}}\" align=\"center\">沿 線 ・ 駅</td><td align=\"center\"><font style=\"color:blue;\">{{Product.ensen}}{{Product.station}}</font></td>
</tr>
</table>
<p id=\"koutuu{{start_num+loop.index}}\" style=\"height:40px;display:none;\">交通:<font style=\"color:blue;\">{{Product.stOther}}</font></p>
<!--{assign var=name value=\"detail`\$smarty.section.cnt.iteration`\"}-->
<!--{assign var=id value=\$arrBestProducts[cnt].product_id}-->
<tr style=\"height:40px;\">
<td colspan=\"2\" align=\"center\">
<a href=\"{{ url('product_detail', {'id': Product.id}) }}\" onmouseover=\"chgImg('../html/user_data/assets/images/b_detail_h.gif','detail1');\" onmouseout=\"chgImg('../html/user_data/assets/images/b_detail.gif','detail1');\">
<img src=\"../html/user_data/assets/images/b_detail.gif\" width=\"110\" height=\"21\" alt=\"詳しくはこちら\" name=\"detail1\" id=\"detail1\" />
</a>
</td>
<td>
<form action=\"{{ url('product_add_cart', {id:Product.id}) }}\" method=\"post\" id=\"form{{ Product.id }}\" name=\"productForm{{ Product.id }}\">
<input type=\"hidden\" id=\"quantity{{ Product.id }}\" name=\"quantity\" required=\"required\" min=\"1\" maxlength=\"9\" class=\"quantity\" value=\"1\">
<input type=\"hidden\" id=\"product_id\" name=\"product_id\" value=\"{{ Product.id }}\">
<input type=\"hidden\" id=\"ProductClass\" name=\"ProductClass\" value=\"{{ Product.ProductClasses[0].id }}\">
<input type=\"hidden\" id=\"_token\" name=\"_token\" value=\"{{csrf_token('Eccube\\\\Form\\\\Type\\\\AddCartType') }}\" />
</form>
{#<div class=\"ec-productRole__btn\">#}
<a type=\"button\" class=\"add-cart\" data-cartid=\"{{ Product.id }}\" form=\"productForm{{ Product.id }}\">
<img src=\"../../html/user_data/assets/images/b_box_in.gif\" width=\"108\" height=\"21\" alt=\"カゴに入れる\"style=\"margin:5px 0 0 0;\"/>
</a>
{#</div>#}
</td>
</tr>
</div>
<!-- / edit area end-->
</div>
<!--/product_cap end-->
<div style=\"clear:left;\">
<p id=\"sankou{{start_num+loop.index}}\" style=\"display:none;margin-left:5px;margin-bottom:10px;padding-top:5px;\">
<font style=\"color:black;font-size:96%;\"><参考画像>(画像の上にマウスを乗せると拡大画像がご覧になれます)</font><br>
{% if Product.mainImage !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.mainImage|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '')\" src=\"{{ asset(Product.mainImage|no_image_product ,'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub1Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub1Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub1Title}}')\" src=\"{{ asset(Product.sub1Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub2Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub2Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub2Title}}')\" src=\"{{ asset(Product.sub2Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub3Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub3Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub3Title}}')\" src=\"{{ asset(Product.sub3Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub4Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub4Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub4Title}}')\" src=\"{{ asset(Product.sub4Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub5Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub5Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub5Title}}')\" src=\"{{ asset(Product.sub5Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub6Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub6Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub6Title}}')\" src=\"{{ asset(Product.sub6Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub7Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub7Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub7Title}}')\" src=\"{{ asset(Product.sub7Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub8Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub8Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub8Title}}')\" src=\"{{ asset(Product.sub8Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub9Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub9Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub9Title}}')\" src=\"{{ asset(Product.sub9Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub12Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub12Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub12Title}}')\" src=\"{{ asset(Product.sub12Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub13Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub13Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub13Title}}')\" src=\"{{ asset(Product.sub13Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub14Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub14Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub14Title}}')\" src=\"{{ asset(Product.sub14Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
{% if Product.sub15Image !=\"\"%}
<img onmouseover=\"changeImage('image{{start_num+loop.index}}','{{ asset(Product.sub15Image|no_image_product, 'save_image') }}', 'title{{start_num+loop.index}}', '{{Product.sub15Title}}')\" src=\"{{ asset(Product.sub15Image|no_image_product, 'save_image') }}\" style=\"margin:0;border:1px solid black;height:41px;width:41px;\"/>
{% endif %}
<!--{if \$arrBestProducts[cnt].sub_large_image1 != \"\"}-->
</p>
</div>
</div>
<!--/product_left end-->
</li>
{% else %}
{% set SaleTypeName = '' %}
{% endif %}
{% endfor %}
<!--/product end-->
<!--{/section}-->
<!--{if \$navi != \"\"}-->
<div align=\"center\" style=\"margin:0 5px 5px;height:30px;width:960px;border:1px solid #E2DFD2;clear:left;font-size:18px;\">
<<
{% for i in 1..max_page %}
{% if i ==page_num %}
{{i}}
{% else %}
<a href=\"{{ url('homepage',{'page':i}) }}\">{{i}}</a>
{% endif %}
{% endfor %}
>>
</div>
<!--{/if}-->
</div>", "Block/list.twig", "/home/swift01/towakensetsu.jp/public_html/app/template/default/Block/list.twig");
}
}