1 | <!--{* |
---|
2 | * This file is part of EC-CUBE |
---|
3 | * |
---|
4 | * Copyright(c) 2000-2010 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" src="<!--{$smarty.const.URL_DIR}-->js/jquery.facebox/facebox.js"></script> |
---|
23 | <link rel="stylesheet" type="text/css" href="<!--{$smarty.const.URL_DIR}-->js/jquery.facebox/facebox.css" media="screen" /> |
---|
24 | <script type="text/javascript">//<![CDATA[ |
---|
25 | // 規格2に選択肢を割り当てる。 |
---|
26 | function fnSetClassCategories(form, classcat_id2_selected) { |
---|
27 | sele1 = form.classcategory_id1; |
---|
28 | sele2 = form.classcategory_id2; |
---|
29 | |
---|
30 | if (sele1) { |
---|
31 | if (sele2) { |
---|
32 | // 規格2の選択肢をクリア |
---|
33 | count = sele2.options.length; |
---|
34 | for(i = count; i >= 0; i--) { |
---|
35 | sele2.options[i] = null; |
---|
36 | } |
---|
37 | |
---|
38 | // 規格2に選択肢を割り当てる |
---|
39 | classcats = classCategories[sele1.value]; |
---|
40 | i = 0; |
---|
41 | for (var classcat_id2_key in classcats) { |
---|
42 | sele2.options[i] = new Option(classcats[classcat_id2_key].name, classcat_id2_key); |
---|
43 | if (classcat_id2_key == classcat_id2_selected) { |
---|
44 | sele2.options[i].selected = true; |
---|
45 | } |
---|
46 | i++; |
---|
47 | } |
---|
48 | } |
---|
49 | fnCheckStock(form); |
---|
50 | } |
---|
51 | } |
---|
52 | function fnCheckStock(form) { |
---|
53 | classcat_id1 = form.classcategory_id1.value; |
---|
54 | classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : 0; |
---|
55 | classcat2 = classCategories[classcat_id1][classcat_id2]; |
---|
56 | |
---|
57 | // 商品コード |
---|
58 | eleDefault = document.getElementById('product_code_default'); |
---|
59 | eleDynamic = document.getElementById('product_code_dynamic'); |
---|
60 | if ( |
---|
61 | classcat2 |
---|
62 | && typeof classcat2.product_code != 'undefined' |
---|
63 | ) { |
---|
64 | eleDefault.style.display = 'none'; |
---|
65 | eleDynamic.innerHTML = classcat2.product_code; |
---|
66 | } else { |
---|
67 | eleDefault.style.display = ''; |
---|
68 | eleDynamic.innerHTML = ''; |
---|
69 | } |
---|
70 | |
---|
71 | // 在庫(品切れ) |
---|
72 | eleDefault = document.getElementById('cartbtn_default'); |
---|
73 | eleDynamic = document.getElementById('cartbtn_dynamic'); |
---|
74 | if ( |
---|
75 | classcat2 |
---|
76 | && classcat2.stock_find === false |
---|
77 | ) { |
---|
78 | eleDefault.style.display = 'none'; |
---|
79 | eleDynamic.innerHTML = '申し訳ございませんが、只今品切れ中です。'; |
---|
80 | } else { |
---|
81 | eleDefault.style.display = ''; |
---|
82 | eleDynamic.innerHTML = ''; |
---|
83 | } |
---|
84 | |
---|
85 | // 通常価格 |
---|
86 | eleDefault = document.getElementById('price01_default'); |
---|
87 | eleDynamic = document.getElementById('price01_dynamic'); |
---|
88 | if (eleDefault && eleDynamic) { |
---|
89 | if ( |
---|
90 | classcat2 |
---|
91 | && typeof classcat2.price01 != 'undefined' |
---|
92 | && String(classcat2.price01).length >= 1 |
---|
93 | ) { |
---|
94 | eleDefault.style.display = 'none'; |
---|
95 | eleDynamic.innerHTML = classcat2.price01; |
---|
96 | } else { |
---|
97 | eleDefault.style.display = ''; |
---|
98 | eleDynamic.innerHTML = ''; |
---|
99 | } |
---|
100 | } |
---|
101 | |
---|
102 | // 販売価格 |
---|
103 | eleDefault = document.getElementById('price02_default'); |
---|
104 | eleDynamic = document.getElementById('price02_dynamic'); |
---|
105 | if ( |
---|
106 | classcat2 |
---|
107 | && typeof classcat2.price02 != 'undefined' |
---|
108 | && String(classcat2.price02).length >= 1 |
---|
109 | ) { |
---|
110 | eleDefault.style.display = 'none'; |
---|
111 | eleDynamic.innerHTML = classcat2.price02; |
---|
112 | } else { |
---|
113 | eleDefault.style.display = ''; |
---|
114 | eleDynamic.innerHTML = ''; |
---|
115 | } |
---|
116 | |
---|
117 | // ポイント |
---|
118 | eleDefault = document.getElementById('point_default'); |
---|
119 | eleDynamic = document.getElementById('point_dynamic'); |
---|
120 | if ( |
---|
121 | classcat2 |
---|
122 | && typeof classcat2.point != 'undefined' |
---|
123 | && String(classcat2.point).length >= 1 |
---|
124 | ) { |
---|
125 | eleDefault.style.display = 'none'; |
---|
126 | eleDynamic.innerHTML = classcat2.point; |
---|
127 | } else { |
---|
128 | eleDefault.style.display = ''; |
---|
129 | eleDynamic.innerHTML = ''; |
---|
130 | } |
---|
131 | // 商品規格 |
---|
132 | eleDynamic = document.getElementById('product_class_id'); |
---|
133 | if ( |
---|
134 | classcat2 |
---|
135 | && typeof classcat2.product_class_id != 'undefined' |
---|
136 | && String(classcat2.product_class_id).length >= 1 |
---|
137 | ) { |
---|
138 | eleDynamic.value = classcat2.product_class_id; |
---|
139 | } else { |
---|
140 | eleDynamic.value = '' |
---|
141 | } |
---|
142 | // 商品種別 |
---|
143 | eleDynamic = document.getElementById('product_type'); |
---|
144 | if ( |
---|
145 | classcat2 |
---|
146 | && typeof classcat2.product_type != 'undefined' |
---|
147 | && String(classcat2.product_type).length >= 1 |
---|
148 | ) { |
---|
149 | eleDynamic.value = classcat2.product_type; |
---|
150 | } else { |
---|
151 | eleDynamic.value = '' |
---|
152 | } |
---|
153 | } |
---|
154 | $(document).ready(function() { |
---|
155 | $('a.expansion').facebox({ |
---|
156 | loadingImage : '<!--{$smarty.const.URL_DIR}-->js/jquery.facebox/loading.gif', |
---|
157 | closeImage : '<!--{$smarty.const.URL_DIR}-->js/jquery.facebox/closelabel.png' |
---|
158 | }); |
---|
159 | }); |
---|
160 | //]]> |
---|
161 | </script> |
---|
162 | |
---|
163 | <!--▼CONTENTS--> |
---|
164 | <div id="undercolumn" class="product product_detail"> |
---|
165 | |
---|
166 | <!--★タイトル★--> |
---|
167 | <h2 class="title"><!--{$tpl_subtitle|h}--></h2> |
---|
168 | |
---|
169 | <!--★詳細メインコメント★--> |
---|
170 | <div class="main_comment"><!--{$arrProduct.main_comment|nl2br_html}--></div> |
---|
171 | |
---|
172 | <div id="detailarea"> |
---|
173 | <div id="detailphotoblock"> |
---|
174 | |
---|
175 | <!--{assign var=key value="main_image"}--> |
---|
176 | |
---|
177 | <!--★画像★--> |
---|
178 | <a |
---|
179 | <!--{if $arrProduct.main_large_image|strlen >= 1}--> |
---|
180 | href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProduct.main_large_image|h}-->" |
---|
181 | class="expansion" |
---|
182 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion_on.gif','expansion01');" |
---|
183 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion.gif','expansion01');" |
---|
184 | target="_blank" |
---|
185 | <!--{/if}--> |
---|
186 | > |
---|
187 | <img src="<!--{$arrFile[$key].filepath|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" alt="<!--{$arrProduct.name|h}-->" class="picture" /><br /> |
---|
188 | <!--★拡大する★--> |
---|
189 | <!--{if $arrProduct.main_large_image|strlen >= 1}--> |
---|
190 | <img src="<!--{$TPL_DIR}-->img/button/btn_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" /> |
---|
191 | <!--{/if}--> |
---|
192 | </a> |
---|
193 | </div> |
---|
194 | |
---|
195 | <div id="detailrightblock"> |
---|
196 | <!--▼商品ステータス--> |
---|
197 | <!--{assign var=ps value=$productStatus[$smarty.get.product_id]}--> |
---|
198 | <!--{if count($ps) > 0}--> |
---|
199 | <ul class="status_icon"> |
---|
200 | <!--{foreach from=$ps item=status}--> |
---|
201 | <li> |
---|
202 | <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$status]}-->" width="60" height="17" alt="<!--{$arrSTATUS[$status]}-->" id="icon<!--{$status}-->" /> |
---|
203 | </li> |
---|
204 | <!--{/foreach}--> |
---|
205 | </ul> |
---|
206 | <!--{/if}--> |
---|
207 | <!--▲商品ステータス--> |
---|
208 | |
---|
209 | <!--★ダウンロード販売★--> |
---|
210 | <!--{if $arrProduct.down == 2}--> |
---|
211 | <div><font color="red">本商品はダウンロード販売となります。<br /> 購入後はMYページの購入履歴からダウンロード可能です。</font></div><br /> |
---|
212 | <!--{/if}--> |
---|
213 | |
---|
214 | <!--★商品コード★--> |
---|
215 | <div>商品コード: |
---|
216 | <span id="product_code_default"> |
---|
217 | <!--{if $arrProduct.product_code_min == $arrProduct.product_code_max}--> |
---|
218 | <!--{$arrProduct.product_code_min|h}--> |
---|
219 | <!--{else}--> |
---|
220 | <!--{$arrProduct.product_code_min|h}-->~<!--{$arrProduct.product_code_max|h}--> |
---|
221 | <!--{/if}--> |
---|
222 | </span><span id="product_code_dynamic"></span> |
---|
223 | </div> |
---|
224 | |
---|
225 | <!--★商品名★--> |
---|
226 | <h2><!--{$arrProduct.name|h}--></h2> |
---|
227 | |
---|
228 | <!--★販売価格★--> |
---|
229 | <div class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: |
---|
230 | <span class="price"> |
---|
231 | <span id="price02_default"> |
---|
232 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
233 | <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
234 | <!--{else}--> |
---|
235 | <!--{$arrProduct.price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
236 | <!--{/if}--> |
---|
237 | </span><span id="price02_dynamic"></span> |
---|
238 | 円 |
---|
239 | </span> |
---|
240 | </div> |
---|
241 | |
---|
242 | <!--★通常価格★--> |
---|
243 | <!--{if $arrProduct.price01_max > 0}--> |
---|
244 | <div class="normal_price"> |
---|
245 | <!--{$smarty.const.NORMAL_PRICE_TITLE}-->: |
---|
246 | <span class="price"> |
---|
247 | <span id="price01_default"> |
---|
248 | <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> |
---|
249 | <!--{$arrProduct.price01_min|number_format}--> |
---|
250 | <!--{else}--> |
---|
251 | <!--{$arrProduct.price01_min|number_format}-->~<!--{$arrProduct.price01_max|number_format}--> |
---|
252 | <!--{/if}--> |
---|
253 | </span><span id="price01_dynamic"></span> |
---|
254 | 円 |
---|
255 | </span> |
---|
256 | </div> |
---|
257 | <!--{/if}--> |
---|
258 | |
---|
259 | <!--★ポイント★--> |
---|
260 | <!--{if $smarty.const.USE_POINT !== false}--> |
---|
261 | <div><span class="price">ポイント: |
---|
262 | <span id="point_default"> |
---|
263 | <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> |
---|
264 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
265 | <!--{else}--> |
---|
266 | <!--{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}--> |
---|
267 | <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> |
---|
268 | <!--{else}--> |
---|
269 | <!--{$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}--> |
---|
270 | <!--{/if}--> |
---|
271 | <!--{/if}--> |
---|
272 | </span><span id="point_dynamic"></span> |
---|
273 | Pt |
---|
274 | </span> |
---|
275 | </div> |
---|
276 | <!--{/if}--> |
---|
277 | |
---|
278 | <!--▼メーカーURL--> |
---|
279 | <!--{if $arrProduct.comment1|strlen >= 1}--> |
---|
280 | <div><span class="comment1">メーカーURL: |
---|
281 | <a href="<!--{$arrProduct.comment1|h}-->"> |
---|
282 | <!--{$arrProduct.comment1|h}--></a> |
---|
283 | </div> |
---|
284 | <!--{/if}--> |
---|
285 | <!--▲メーカーURL--> |
---|
286 | |
---|
287 | <!--★関連カテゴリ★--> |
---|
288 | <div class="relative_cat">関連カテゴリ: |
---|
289 | <!--{section name=r loop=$arrRelativeCat}--> |
---|
290 | <p> |
---|
291 | <!--{section name=s loop=$arrRelativeCat[r]}--> |
---|
292 | <a href="<!--{$smarty.const.URL_DIR}-->products/list.php?category_id=<!--{$arrRelativeCat[r][s].category_id}-->"><!--{$arrRelativeCat[r][s].category_name}--></a> |
---|
293 | <!--{if !$smarty.section.s.last}--><!--{$smarty.const.SEPA_CATNAVI}--><!--{/if}--> |
---|
294 | <!--{/section}--> |
---|
295 | </p> |
---|
296 | <!--{/section}--> |
---|
297 | </div> |
---|
298 | |
---|
299 | <!--▼買い物かご--> |
---|
300 | <form name="form1" id="form1" method="post" action="?"> |
---|
301 | <input type="hidden" name="mode" value="cart" /> |
---|
302 | <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> |
---|
303 | <input type="hidden" name="product_class_id" value="<!--{$tpl_product_class_id}-->" id="product_class_id" /> |
---|
304 | <input type="hidden" name="product_type" value="<!--{$tpl_product_type}-->" id="product_type" /> |
---|
305 | <input type="hidden" name="favorite_product_id" value="" /> |
---|
306 | |
---|
307 | <!--{if $tpl_stock_find}--> |
---|
308 | <dl> |
---|
309 | <!--{if $tpl_classcat_find1}--> |
---|
310 | <!--▼規格1--> |
---|
311 | <dt><!--{$tpl_class_name1|h}--></dt> |
---|
312 | <dd> |
---|
313 | <select name="classcategory_id1" |
---|
314 | style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" |
---|
315 | onchange="fnSetClassCategories(this.form);" |
---|
316 | > |
---|
317 | <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> |
---|
318 | </select> |
---|
319 | <!--{if $arrErr.classcategory_id1 != ""}--> |
---|
320 | <br /><span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> |
---|
321 | <!--{/if}--> |
---|
322 | </dd> |
---|
323 | <!--▲規格1--> |
---|
324 | <!--{/if}--> |
---|
325 | |
---|
326 | <!--{if $tpl_classcat_find2}--> |
---|
327 | <!--▼規格2--> |
---|
328 | <dt><!--{$tpl_class_name2|h}--></dt> |
---|
329 | <dd> |
---|
330 | <select name="classcategory_id2" |
---|
331 | style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->" |
---|
332 | onchange="fnCheckStock(this.form);" |
---|
333 | > |
---|
334 | </select> |
---|
335 | <!--{if $arrErr.classcategory_id2 != ""}--> |
---|
336 | <br /><span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> |
---|
337 | <!--{/if}--> |
---|
338 | </dd> |
---|
339 | <!--▲規格2--> |
---|
340 | <!--{/if}--> |
---|
341 | |
---|
342 | <dt>数量</dt> |
---|
343 | <dd> |
---|
344 | <input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> |
---|
345 | <!--{if $arrErr.quantity != ""}--> |
---|
346 | <br /><span class="attention"><!--{$arrErr.quantity}--></span> |
---|
347 | <!--{/if}--> |
---|
348 | </dd> |
---|
349 | </dl> |
---|
350 | <!--{/if}--> |
---|
351 | |
---|
352 | <div class="btn"> |
---|
353 | <!--{if $smarty.const.OPTION_FAVOFITE_PRODUCT == 1 && $tpl_login === true}--> |
---|
354 | <div> |
---|
355 | <!--{assign var=add_favorite value="add_favorite`$product_id`"}--> |
---|
356 | <!--{if $arrErr[$add_favorite]}--><div class="attention"><!--{$arrErr[$add_favorite]}--></div><!--{/if}--> |
---|
357 | <!--{if !$arrProduct.favorite_count}--> |
---|
358 | <a |
---|
359 | href="javascript:fnModeSubmit('add_favorite','favorite_product_id','<!--{$arrProduct.product_id|h}-->');" |
---|
360 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_favorite_on.gif','add_favolite_product');" |
---|
361 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_favorite.gif','add_favolite_product');" |
---|
362 | ><img src="<!--{$TPL_DIR}-->img/button/btn_add_favorite.gif" width="115" height="20" alt="お気に入りに追加" name="add_favolite_product" id="add_favolite_product" /></a> |
---|
363 | <!--{else}--> |
---|
364 | <img src="<!--{$TPL_DIR}-->img/button/btn_add_favorite_on.gif" width="115" height="20" alt="お気に入り登録済" name="add_favolite_product" id="add_favolite_product" /> |
---|
365 | <!--{/if}--> |
---|
366 | </div> |
---|
367 | <!--{/if}--> |
---|
368 | |
---|
369 | <!--{if $tpl_stock_find}--> |
---|
370 | <div id="cartbtn_default"> |
---|
371 | <!--★カゴに入れる★--> |
---|
372 | <div> |
---|
373 | <a href="javascript:void(document.form1.submit())" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_cartin.gif','cart');"> |
---|
374 | <img src="<!--{$TPL_DIR}-->img/button/btn_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /></a> |
---|
375 | </div> |
---|
376 | <!--{if 'sfGMODetailDisplay'|function_exists}--><!--{* GMOワンクリック *}--> |
---|
377 | <!--{'sfGMODetailDisplay'|call_user_func}--> |
---|
378 | <!--{/if}--> |
---|
379 | </div> |
---|
380 | <div class="attention" id="cartbtn_dynamic"></div> |
---|
381 | <!--{else}--> |
---|
382 | <div class="attention">申し訳ございませんが、只今品切れ中です。</div> |
---|
383 | <!--{/if}--> |
---|
384 | </div> |
---|
385 | </form> |
---|
386 | <!--▲買い物かご--> |
---|
387 | |
---|
388 | </div> |
---|
389 | </div> |
---|
390 | <!--{* オペビルダー用 *}--> |
---|
391 | <!--{if "sfViewDetailOpe"|function_exists === TRUE}--> |
---|
392 | <!--{include file=`$smarty.const.MODULE_PATH`mdl_opebuilder/detail_ope_view.tpl}--> |
---|
393 | <!--{/if}--> |
---|
394 | <!--詳細ここまで--> |
---|
395 | |
---|
396 | <!--▼サブコメント--> |
---|
397 | <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> |
---|
398 | <!--{assign var=key value="sub_title`$smarty.section.cnt.index+1`"}--> |
---|
399 | <!--{if $arrProduct[$key] != ""}--> |
---|
400 | <div class="subarea"> |
---|
401 | <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|h}--></h3> |
---|
402 | <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.index+1`"}--> |
---|
403 | |
---|
404 | <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br_html}--></div> |
---|
405 | |
---|
406 | <!--▼サブ画像--> |
---|
407 | <!--{assign var=key value="sub_image`$smarty.section.cnt.index+1`"}--> |
---|
408 | <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.index+1`"}--> |
---|
409 | <!--{if $arrProduct[$key]|strlen >= 1}--> |
---|
410 | <div class="subphotoimg"> |
---|
411 | <a |
---|
412 | <!--{if $arrProduct[$lkey]|strlen >= 1}--> |
---|
413 | href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProduct[$lkey]|h}-->" |
---|
414 | class="expansion" |
---|
415 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion_on.gif', 'expansion_<!--{$lkey|h}-->');" |
---|
416 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_expansion.gif', 'expansion_<!--{$lkey|h}-->');" |
---|
417 | target="_blank" |
---|
418 | <!--{/if}--> |
---|
419 | > |
---|
420 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|h}-->" width="<!--{$arrFile[$key].width}-->" height="<!--{$arrFile[$key].height}-->" /><br /> |
---|
421 | <!--{if $arrProduct[$lkey]|strlen >= 1}--> |
---|
422 | <img src="<!--{$TPL_DIR}-->img/button/btn_expansion.gif" width="85" height="13" alt="画像を拡大する" id="expansion_<!--{$lkey|h}-->" /> |
---|
423 | <!--{/if}--> |
---|
424 | </a> |
---|
425 | </div> |
---|
426 | <!--{/if}--> |
---|
427 | <!--▲サブ画像--> |
---|
428 | </div> |
---|
429 | <!--{/if}--> |
---|
430 | <!--{/section}--> |
---|
431 | <!--▲サブコメント--> |
---|
432 | |
---|
433 | |
---|
434 | <!--この商品に対するお客様の声--> |
---|
435 | <div id="customervoicearea"> |
---|
436 | <h2><img src="<!--{$TPL_DIR}-->img/title/tit_product_voice.jpg" width="550" height="30" alt="この商品に対するお客様の声" /></h2> |
---|
437 | |
---|
438 | <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> |
---|
439 | <!--★新規コメントを書き込む★--> |
---|
440 | <a href="./review.php" |
---|
441 | onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" |
---|
442 | onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_comment_on.gif','review');" |
---|
443 | onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_comment.gif','review');" target="_blank"> |
---|
444 | <img src="<!--{$TPL_DIR}-->img/button/btn_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" /></a> |
---|
445 | <!--{/if}--> |
---|
446 | |
---|
447 | <!--{if count($arrReview) > 0}--> |
---|
448 | <ul> |
---|
449 | <!--{section name=cnt loop=$arrReview}--> |
---|
450 | <li> |
---|
451 | <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|h}--></a><!--{else}--><!--{$arrReview[cnt].reviewer_name|h}--><!--{/if}--> おすすめレベル:<span class="recommend_level"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|h}--></span></p> |
---|
452 | <p class="voicetitle"><!--{$arrReview[cnt].title|h}--></p> |
---|
453 | <p class="voicecomment"><!--{$arrReview[cnt].comment|h|nl2br}--></p> |
---|
454 | </li> |
---|
455 | <!--{/section}--> |
---|
456 | </ul> |
---|
457 | <!--{/if}--> |
---|
458 | </div> |
---|
459 | <!--お客様の声ここまで--> |
---|
460 | |
---|
461 | |
---|
462 | <!--{if $arrTrackbackView == "ON"}--> |
---|
463 | <!--▼トラックバック--> |
---|
464 | <div id="trackbackarea"> |
---|
465 | <h2>この商品に対するトラックバック</h2> |
---|
466 | <h3>この商品のトラックバック先URL</h3> |
---|
467 | <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> |
---|
468 | |
---|
469 | <!--{if $arrTrackback}--> |
---|
470 | <ul> |
---|
471 | <!--{section name=cnt loop=$arrTrackback}--> |
---|
472 | <li><strong><!--{$arrTrackback[cnt].create_date|sfDispDBDate:false}--> <a href="<!--{$arrTrackback[cnt].url}-->" target="_blank"><!--{$arrTrackback[cnt].title|h}--></a> from <!--{$arrTrackback[cnt].blog_name|h}--></strong> |
---|
473 | <p><!--{$arrTrackback[cnt].excerpt|mb_strimwidth:0:200:"..."|h}--></p></li> |
---|
474 | <!--{/section}--> |
---|
475 | </ul> |
---|
476 | <!--{/if}--> |
---|
477 | </div> |
---|
478 | <!--▲トラックバック--> |
---|
479 | <!--{/if}--> |
---|
480 | |
---|
481 | |
---|
482 | <!--▼関連商品--> |
---|
483 | <!--{if $arrRecommend}--> |
---|
484 | <div id="whoboughtarea"> |
---|
485 | <h2><img src="<!--{$TPL_DIR}-->img/title/tit_product_recommend.jpg" width="550" height="30" alt="その他のオススメ商品(関連商品)" /></h2> |
---|
486 | <div class="whoboughtblock"> |
---|
487 | |
---|
488 | <!--{section name=cnt loop=$arrRecommend}--> |
---|
489 | <!--{if ($smarty.section.cnt.index % 2) == 0}--> |
---|
490 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
491 | <!-- 左列 --> |
---|
492 | <div class="whoboughtleft"> |
---|
493 | |
---|
494 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|u}-->"> |
---|
495 | <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /></a> |
---|
496 | |
---|
497 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
498 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
499 | <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3> |
---|
500 | |
---|
501 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
502 | <!--{if $price02_min == $price02_max}--> |
---|
503 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
504 | <!--{else}--> |
---|
505 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
506 | <!--{/if}-->円</span></p> |
---|
507 | <p class="mini"><!--{$arrRecommend[cnt].comment|h|nl2br}--></p> |
---|
508 | </div> |
---|
509 | <!-- 左列 --> |
---|
510 | <!--{/if}--> |
---|
511 | <!--{/if}--> |
---|
512 | |
---|
513 | <!--{if ($smarty.section.cnt.index % 2) != 0}--> |
---|
514 | <!--{* assign var=nextCnt value=$smarty.section.cnt.index+1 *}--> |
---|
515 | <!--{if $arrRecommend[cnt].product_id}--> |
---|
516 | <!-- 右列 --> |
---|
517 | <div class="whoboughtright"> |
---|
518 | |
---|
519 | <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|u}-->"> |
---|
520 | <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrRecommend[cnt].main_list_image|sfNoImageMainList|h}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|h}-->" /></a> |
---|
521 | |
---|
522 | <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> |
---|
523 | <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> |
---|
524 | <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id|u}-->"><!--{$arrRecommend[cnt].name|h}--></a></h3> |
---|
525 | |
---|
526 | <p class="sale_price"><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>:<span class="price"> |
---|
527 | |
---|
528 | <!--{if $price02_min == $price02_max}--> |
---|
529 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
530 | <!--{else}--> |
---|
531 | <!--{$price02_min|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$price02_max|sfCalcIncTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> |
---|
532 | <!--{/if}-->円</span></p> |
---|
533 | <p class="mini"><!--{$arrRecommend[cnt].comment|h|nl2br}--></p> |
---|
534 | </div> |
---|
535 | <!-- 右列 --> |
---|
536 | <!--{/if}--> |
---|
537 | <!--{/if}--> |
---|
538 | |
---|
539 | <!--{if $smarty.section.cnt.last}--> |
---|
540 | </div> |
---|
541 | <!--{/if}--> |
---|
542 | <!--{/section}--> |
---|
543 | </div> |
---|
544 | <!--{/if}--> |
---|
545 | <!--▲関連商品--> |
---|
546 | |
---|
547 | </div> |
---|
548 | <!--▲CONTENTS--> |
---|