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