| 1 | <!--{* |
---|
| 2 | * This file is part of EC-CUBE |
---|
| 3 | * |
---|
| 4 | * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved. |
---|
| 5 | * |
---|
| 6 | * http://www.lockon.co.jp/ |
---|
| 7 | * |
---|
| 8 | * This program is free software; you can redistribute it and/or |
---|
| 9 | * modify it under the terms of the GNU General Public License |
---|
| 10 | * as published by the Free Software Foundation; either version 2 |
---|
| 11 | * of the License, or (at your option) any later version. |
---|
| 12 | * |
---|
| 13 | * This program is distributed in the hope that it will be useful, |
---|
| 14 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
| 15 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
| 16 | * GNU General Public License for more details. |
---|
| 17 | * |
---|
| 18 | * You should have received a copy of the GNU General Public License |
---|
| 19 | * along with this program; if not, write to the Free Software |
---|
| 20 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
| 21 | *}--> |
---|
| 22 | <script type="text/javascript">//<![CDATA[ |
---|
| 23 | // セレクトボックスに項目を割り当てる。 |
---|
| 24 | function lnSetSelect(form, name1, name2, val) { |
---|
| 25 | |
---|
| 26 | sele11 = document[form][name1]; |
---|
| 27 | sele12 = document[form][name2]; |
---|
| 28 | |
---|
| 29 | if(sele11 && sele12) { |
---|
| 30 | index = sele11.selectedIndex; |
---|
| 31 | |
---|
| 32 | // セレクトボックスのクリア |
---|
| 33 | count = sele12.options.length; |
---|
| 34 | for(i = count; i >= 0; i--) { |
---|
| 35 | sele12.options[i] = null; |
---|
| 36 | } |
---|
| 37 | |
---|
| 38 | // セレクトボックスに値を割り当てる |
---|
| 39 | len = lists[index].length; |
---|
| 40 | for(i = 0; i < len; i++) { |
---|
| 41 | sele12.options[i] = new Option(lists[index][i], vals[index][i]); |
---|
| 42 | if(val != "" && vals[index][i] == val) { |
---|
| 43 | sele12.options[i].selected = true; |
---|
| 44 | } |
---|
| 45 | } |
---|
| 46 | } |
---|
| 47 | } |
---|
| 48 | //]]> |
---|
| 49 | </script> |
---|
| 50 | |
---|
| 51 | <!--▼CONTENTS--> |
---|
| 52 | <div id="undercolumn"> |
---|
| 53 | <div id="detailtitle"><h2><!--★タイトル★--><!--{$tpl_subtitle|escape}--></h2></div> |
---|
| 54 | <p class="main_comment"><!--★詳細メインコメント★--><!--{$arrProduct.main_comment|nl2br}--></p> |
---|
| 55 | |
---|
| 56 | <div id="detailarea"> |
---|
| 57 | <div id="detailphotoblock"> |
---|
| 58 | |
---|
| 59 | <!--{assign var=key value="main_image"}--> |
---|
| 60 | <!--{if $arrProduct.main_large_image != ""}--> |
---|
| 61 | <!--★画像★--> |
---|
| 62 | <a href="javascript:void(win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=main_large_image<!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile.main_large_image.width+60}-->', '<!--{$arrFile.main_large_image.height+80}-->'))"> |
---|
| 63 | <img src="<!--{$arrFile[$key].filepath}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /> |
---|
| 64 | </a> |
---|
| 65 | <p> |
---|
| 66 | <!--★拡大する★--> |
---|
| 67 | <a href="javascript:void(win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=main_large_image<!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile.main_large_image.width+60}-->', '<!--{$arrFile.main_large_image.height+80}-->'))" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion01');" onMouseOut="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion01');"> |
---|
| 68 | <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" /> |
---|
| 69 | </a> |
---|
| 70 | </p> |
---|
| 71 | <!--{else}--> |
---|
| 72 | <img src="<!--{$arrFile[$key].filepath}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /> |
---|
| 73 | <!--{/if}--> |
---|
| 74 | </div> |
---|
| 75 | |
---|
| 76 | <div id="detailrightblock"> |
---|
| 77 | <!--アイコン--> |
---|
| 78 | <!--{if count($arrProduct.product_flag) > 0}--> |
---|
| 79 | <ul class="status_icon"> |
---|
| 80 | <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> |
---|
| 81 | <!--{if $arrProduct.product_flag[flg] == "1"}--> |
---|
| 82 | <li> |
---|
| 83 | <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> |
---|
| 84 | <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->" id="icon<!--{$key}-->" /> |
---|
| 85 | </li> |
---|
| 86 | <!--{/if}--> |
---|
| 87 | <!--{/section}--> |
---|
| 88 | </ul> |
---|
| 89 | <!--{/if}--> |
---|
| 90 | |
---|
| 91 | <!--★商品コード★--> |
---|
| 92 | <!--{assign var=codecnt value=$arrProductCode|@count}--> |
---|
| 93 | <!--{assign var=codemax value=`$codecnt-1`}--> |
---|
| 94 | <div>商品コード: |
---|
| 95 | <!--{if $codecnt > 1}--> |
---|
| 96 | <!--{$arrProductCode.0}-->〜<!--{$arrProductCode[$codemax]}--> |
---|
| 97 | <!--{else}--> |
---|
| 98 | <!--{$arrProductCode.0}--> |
---|
| 99 | <!--{/if}--> |
---|
| 100 | </div> |
---|
| 101 | |
---|
| 102 | <!--★商品名★--> |
---|
| 103 | <h2><!--{$arrProduct.name|escape}--></h2> |
---|
| 104 | |
---|
| 105 | <!--★販売価格★--> |
---|
| 106 | <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: |
---|
| 107 | <span class="price"> |
---|
| 108 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
| 109 | <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 110 | <!--{else}--> |
---|
| 111 | <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 112 | <!--{/if}-->円</span></div> |
---|
| 113 | |
---|
| 114 | <!--★通常価格★--> |
---|
| 115 | <div class="normal_price"> |
---|
| 116 | <!--{if $arrProduct.price01_max > 0}--> |
---|
| 117 | <span class="price"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->: |
---|
| 118 | <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> |
---|
| 119 | <!--{$arrProduct.price01_min|number_format}--> |
---|
| 120 | <!--{else}--> |
---|
| 121 | <!--{$arrProduct.price01_min|number_format}-->〜<!--{$arrProduct.price01_max|number_format}--> |
---|
| 122 | <!--{/if}-->円</span> |
---|
| 123 | <!--{/if}--> |
---|
| 124 | </div> |
---|
| 125 | |
---|
| 126 | <!--★ポイント★--> |
---|
| 127 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
| 128 | <div><span class="price">ポイント: |
---|
| 129 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
| 130 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
| 131 | <!--{else}--> |
---|
| 132 | <!--{if $arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id == $arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
| 133 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
| 134 | <!--{else}--> |
---|
| 135 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--><!--{$arrProduct.price02_max|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
| 136 | <!--{/if}--> |
---|
| 137 | <!--{/if}-->Pt</span></div> |
---|
| 138 | <!--{/if}--> |
---|
| 139 | |
---|
| 140 | <!--★関連カテゴリ★--> |
---|
| 141 | <div class="relative_cat">関連カテゴリ: |
---|
| 142 | <!--{section name=r loop=$arrRelativeCat}--> |
---|
| 143 | <p> |
---|
| 144 | <!--{section name=s loop=$arrRelativeCat[r]}--> |
---|
| 145 | <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> |
---|
| 146 | <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> |
---|
| 147 | <!--{/section}--> |
---|
| 148 | </p> |
---|
| 149 | <!--{/section}--> |
---|
| 150 | </div> |
---|
| 151 | |
---|
| 152 | |
---|
| 153 | <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> |
---|
| 154 | <input type="hidden" name="mode" value="cart" /> |
---|
| 155 | <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> |
---|
| 156 | <input type="hidden" name="favorite_product_id" value="" /> |
---|
| 157 | <!--{if $tpl_classcat_find1}--> |
---|
| 158 | <dl> |
---|
| 159 | <dt> |
---|
| 160 | <!--{$tpl_class_name1}--> |
---|
| 161 | </dt> |
---|
| 162 | <dd> |
---|
| 163 | <select name="classcategory_id1" |
---|
| 164 | style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" |
---|
| 165 | onchange="lnSetSelect('form1', 'classcategory_id1', 'classcategory_id2', ''); " |
---|
| 166 | > |
---|
| 167 | <option value="">選択してください</option> |
---|
| 168 | <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> |
---|
| 169 | </select> |
---|
| 170 | <!--{if $arrErr.classcategory_id1 != ""}--> |
---|
| 171 | <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> |
---|
| 172 | <!--{/if}--> |
---|
| 173 | </dd> |
---|
| 174 | </dl> |
---|
| 175 | <!--{/if}--> |
---|
| 176 | |
---|
| 177 | <!--{if $tpl_stock_find}--> |
---|
| 178 | <!--{if $tpl_classcat_find2}--> |
---|
| 179 | <dl> |
---|
| 180 | <dt><!--{$tpl_class_name2}--></dt> |
---|
| 181 | <dd> |
---|
| 182 | <select name="classcategory_id2" |
---|
| 183 | style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> |
---|
| 184 | <option value="">選択してください</option> |
---|
| 185 | </select> |
---|
| 186 | <!--{if $arrErr.classcategory_id2 != ""}--> |
---|
| 187 | <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> |
---|
| 188 | <!--{/if}--> |
---|
| 189 | </dd> |
---|
| 190 | </dl> |
---|
| 191 | <!--{/if}--> |
---|
| 192 | |
---|
| 193 | <dl> |
---|
| 194 | <dt>数量</dt> |
---|
| 195 | <dd><input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> |
---|
| 196 | <!--{if $arrErr.quantity != ""}--> |
---|
| 197 | <br /><span class="attention"><!--{$arrErr.quantity}--></span> |
---|
| 198 | <!--{/if}--> |
---|
| 199 | </dd> |
---|
| 200 | </dl> |
---|
| 201 | <!--{/if}--> |
---|
| 202 | |
---|
| 203 | <!--{if $tpl_stock_find}--> |
---|
| 204 | <p class="btn"> |
---|
| 205 | <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login}--> |
---|
| 206 | <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> |
---|
| 207 | <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> |
---|
| 208 | <!--{if !$arrProduct.favorite_count}--> |
---|
| 209 | <a href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id}-->');">[お気に入りに追加]</a><br /> |
---|
| 210 | <!--{else}--> |
---|
| 211 | [お気に入り登録済]<br /> |
---|
| 212 | <!--{/if}--> |
---|
| 213 | <!--{/if}--> |
---|
| 214 | <!--★カゴに入れる★--> |
---|
| 215 | <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> |
---|
| 216 | <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /> |
---|
| 217 | </a> |
---|
| 218 | </p> |
---|
| 219 | <!--{else}--> |
---|
| 220 | <div class="attention">申し訳ございませんが、只今品切れ中です。</div> |
---|
| 221 | <!--{/if}--> |
---|
| 222 | </form> |
---|
| 223 | |
---|
| 224 | </div> |
---|
| 225 | </div> |
---|
| 226 | <!--{* オペビルダー用 *}--> |
---|
| 227 | <!--{if "sfViewDetailOpe"|function_exists === TRUE}--> |
---|
| 228 | <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/detail_ope_view.tpl}--> |
---|
| 229 | <!--{/if}--> |
---|
| 230 | <!--詳細ここまで--> |
---|
| 231 | |
---|
| 232 | <!--▼サブコメント--> |
---|
| 233 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
| 234 | <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> |
---|
| 235 | <!--{if $arrProduct[$key] != ""}--> |
---|
| 236 | <div class="subarea"> |
---|
| 237 | <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></h3> |
---|
| 238 | <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.iteration`"}--> |
---|
| 239 | |
---|
| 240 | <!--▼拡大写真--> |
---|
| 241 | <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> |
---|
| 242 | <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.iteration`"}--> |
---|
| 243 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
| 244 | <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br}--></div> |
---|
| 245 | <div class="subphotoimg"> |
---|
| 246 | <!--{if $arrFile[$lkey].filepath != ""}--> |
---|
| 247 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=<!--{$lkey}--><!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile[$lkey].width+60}-->','<!--{$arrFile[$lkey].height+80}-->'); return false;" target="_blank"> |
---|
| 248 | <!--{/if}--> |
---|
| 249 | <!--サブ画像--> |
---|
| 250 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" width="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" /> |
---|
| 251 | <!--{if $arrFile[$lkey].filepath != ""}--> |
---|
| 252 | </a> |
---|
| 253 | <p> |
---|
| 254 | <a href="<!--{$smarty.server.PHP_SELF|escape}-->" |
---|
| 255 | onclick="win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=<!--{$lkey}--><!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile[$lkey].width+60}-->','<!--{$arrFile[$lkey].height+80}-->'); return false;" |
---|
| 256 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion02');" |
---|
| 257 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion02');" target="_blank"> |
---|
| 258 | <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" /> |
---|
| 259 | </a> |
---|
| 260 | </p> |
---|
| 261 | <!--{/if}--> |
---|
| 262 | </div> |
---|
| 263 | <!--▲拡大写真--> |
---|
| 264 | <!--{else}--> |
---|
| 265 | <p><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br}--></p> |
---|
| 266 | <!--{/if}--> |
---|
| 267 | </div> |
---|
| 268 | <!--{/if}--> |
---|
| 269 | <!--{/section}--> |
---|
| 270 | <!--▲サブコメント--> |
---|
| 271 | |
---|
| 272 | |
---|
| 273 | <!--この商品に対するお客様の声--> |
---|
| 274 | <div id="customervoicearea"> |
---|
| 275 | <h2><img src="<!--{$TPL_DIR}-->img/products/title_voice.jpg" width="580" height="30" alt="この商品に対するお客様の声" /></h2> |
---|
| 276 | |
---|
| 277 | <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> |
---|
| 278 | <!--★新規コメントを書き込む★--> |
---|
| 279 | <a href="./review.php" |
---|
| 280 | onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" |
---|
| 281 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_comment_on.gif','review');" |
---|
| 282 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_comment.gif','review');" target="_blank"> |
---|
| 283 | <img src="<!--{$TPL_DIR}-->img/products/b_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" /> |
---|
| 284 | </a> |
---|
| 285 | <!--{/if}--> |
---|
| 286 | |
---|
| 287 | <!--{if count($arrReview) > 0}--> |
---|
| 288 | <ul> |
---|
| 289 | <!--{section name=cnt loop=$arrReview}--> |
---|
| 290 | <li> |
---|
| 291 | <p class="voicedate"><!--{$arrReview[cnt].create_date|sfDispDBDate:false}--> 投稿者:<!--{if $arrReview[cnt].reviewer_url}--><a href="<!--{$arrReview[cnt].reviewer_url}-->" target="_blank"><!--{$arrReview[cnt].reviewer_name|escape}--></a><!--{else}--><!--{$arrReview[cnt].reviewer_name|escape}--><!--{/if}--> おすすめレベル:<span class="price"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|escape}--></span></p> |
---|
| 292 | <p class="voicetitle"><!--{$arrReview[cnt].title|escape}--></p> |
---|
| 293 | <p class="voicecomment"><!--{$arrReview[cnt].comment|escape|nl2br}--></p> |
---|
| 294 | </li> |
---|
| 295 | <!--{/section}--> |
---|
| 296 | </ul> |
---|
| 297 | <!--{/if}--> |
---|
| 298 | </div> |
---|
| 299 | <!--お客様の声ここまで--> |
---|
| 300 | |
---|
| 301 | |
---|
| 302 | <!--{if $arrTrackbackView == "ON"}--> |
---|
| 303 | <!--▼トラックバック--> |
---|
| 304 | <div id="trackbackarea"> |
---|
| 305 | <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> |
---|
| 306 | <h3>この商品のトラックバック先URL</h3> |
---|
| 307 | <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> |
---|
| 308 | |
---|
| 309 | <!--{if $arrTrackback}--> |
---|
| 310 | <ul> |
---|
| 311 | <!--{section name=cnt loop=$arrTrackback}--> |
---|
| 312 | <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|escape}--></a> from <!--{$arrTrackback[cnt].blog_name|escape}--></strong> |
---|
| 313 | <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> |
---|
| 314 | <!--{/section}--> |
---|
| 315 | </ul> |
---|
| 316 | <!--{/if}--> |
---|
| 317 | </div> |
---|
| 318 | <!--▲トラックバック--> |
---|
| 319 | <!--{/if}--> |
---|
| 320 | |
---|
| 321 | |
---|
| 322 | <!--▼関連商品--> |
---|
| 323 | <!--{if $arrRecommend}--> |
---|
| 324 | <div id="whoboughtarea"> |
---|
| 325 | <h2><img src="<!--{$TPL_DIR}-->img/products/title_recommend.jpg" width="580" height="30" alt="その他のオススメ商品(関連商品)" /></h2> |
---|
| 326 | <div class="whoboughtblock"> |
---|
| 327 | |
---|
| 328 | <!--{section name=cnt loop=$arrRecommend}--> |
---|
| 329 | <!--{if ($smarty.section.cnt.index % 2) == 0}--> |
---|
| 330 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
| 331 | <!-- 左列 --> |
---|
| 332 | <div class="whoboughtleft"> |
---|
| 333 | <!--{if $arrRecommend[cnt].main_list_image != ""}--> |
---|
| 334 | <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> |
---|
| 335 | <!--{else}--> |
---|
| 336 | <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> |
---|
| 337 | <!--{/if}--> |
---|
| 338 | |
---|
| 339 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> |
---|
| 340 | <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> |
---|
| 341 | </a> |
---|
| 342 | |
---|
| 343 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
| 344 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
| 345 | <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> |
---|
| 346 | |
---|
| 347 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
| 348 | <!--{if $price02_min == $price02_max}--> |
---|
| 349 | <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 350 | <!--{else}--> |
---|
| 351 | <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 352 | <!--{/if}-->円</span></p> |
---|
| 353 | <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> |
---|
| 354 | </div> |
---|
| 355 | <!-- 左列 --> |
---|
| 356 | <!--{/if}--> |
---|
| 357 | <!--{/if}--> |
---|
| 358 | |
---|
| 359 | <!--{if ($smarty.section.cnt.index % 2) != 0}--> |
---|
| 360 | <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}--> |
---|
| 361 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
| 362 | <!-- 右列 --> |
---|
| 363 | <div class="whoboughtright"> |
---|
| 364 | <!--{if $arrRecommend[cnt].main_list_image != ""}--> |
---|
| 365 | <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> |
---|
| 366 | <!--{else}--> |
---|
| 367 | <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> |
---|
| 368 | <!--{/if}--> |
---|
| 369 | |
---|
| 370 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> |
---|
| 371 | <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> |
---|
| 372 | </a> |
---|
| 373 | |
---|
| 374 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
| 375 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
| 376 | <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> |
---|
| 377 | |
---|
| 378 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
| 379 | |
---|
| 380 | <!--{if $price02_min == $price02_max}--> |
---|
| 381 | <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 382 | <!--{else}--> |
---|
| 383 | <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
| 384 | <!--{/if}-->円</span></p> |
---|
| 385 | <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> |
---|
| 386 | </div> |
---|
| 387 | <!-- 右列 --> |
---|
| 388 | <!--{/if}--> |
---|
| 389 | <!--{/if}--> |
---|
| 390 | |
---|
| 391 | <!--{if $smarty.section.cnt.last}--> |
---|
| 392 | </div> |
---|
| 393 | <!--{/if}--> |
---|
| 394 | <!--{/section}--> |
---|
| 395 | </div> |
---|
| 396 | <!--{/if}--> |
---|
| 397 | <!--▲関連商品--> |
---|
| 398 | |
---|
| 399 | </div> |
---|
| 400 | <!--▲CONTENTS--> |
---|