Ignore:
Timestamp:
2010/03/11 10:35:11 (14 years ago)
Author:
kajiwara
Message:

正式版にナイトリービルド版をマージしてみるテスト

File:
1 edited

Legend:

Unmodified
Added
Removed
  • tmp/version-2_5-test/data/Smarty/templates/default/detail.tpl

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