Changeset 15912


Ignore:
Timestamp:
2007/09/22 22:54:42 (19 years ago)
Author:
nanasess
Message:

XHTML 対応

File:
1 edited

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update/data/Smarty/templates/default/detail.tpl

    r15782 r15912  
    44 * http://www.lockon.co.jp/ 
    55 *}--> 
    6 <script type="text/javascript"> 
    7 <!-- 
     6<script type="text/javascript">//<![CDATA[ 
    87// セレクトボックスに項目を割り当てる。 
    98function lnSetSelect(form, name1, name2, val) { 
    10      
    11     sele11 = document[form][name1]; 
    12     sele12 = document[form][name2]; 
    13      
    14     if(sele11 && sele12) { 
    15         index = sele11.selectedIndex; 
    16          
    17         // セレクトボックスのクリア 
    18         count = sele12.options.length; 
    19         for(i = count; i >= 0; i--) { 
    20             sele12.options[i] = null; 
    21         } 
    22          
    23         // セレクトボックスに値を割り当てる 
    24         len = lists[index].length; 
    25         for(i = 0; i < len; i++) { 
    26             sele12.options[i] = new Option(lists[index][i], vals[index][i]); 
    27             if(val != "" && vals[index][i] == val) { 
    28                 sele12.options[i].selected = true; 
    29             } 
    30         } 
    31     } 
     9 
     10        sele11 = document[form][name1]; 
     11        sele12 = document[form][name2]; 
     12 
     13        if(sele11 && sele12) { 
     14                index = sele11.selectedIndex; 
     15 
     16                // セレクトボックスのクリア 
     17                count = sele12.options.length; 
     18                for(i = count; i >= 0; i--) { 
     19                        sele12.options[i] = null; 
     20                } 
     21 
     22                // セレクトボックスに値を割り当てる 
     23                len = lists[index].length; 
     24                for(i = 0; i < len; i++) { 
     25                        sele12.options[i] = new Option(lists[index][i], vals[index][i]); 
     26                        if(val != "" && vals[index][i] == val) { 
     27                                sele12.options[i].selected = true; 
     28                        } 
     29                } 
     30        } 
    3231} 
    33  
    34 //--> 
     32//]]> 
    3533</script> 
    3634 
    37 <style type="text/css"> 
    38  
    39 #sample2{ 
    40     _display:block; 
    41 }#sample2 a{ 
    42     display:block; 
    43 } 
    44 </style> 
    45  
    4635<!--▼CONTENTS--> 
    47 <table width="" cellspacing="0" cellpadding="0" summary=" "> 
    48     <tr> 
    49         <td bgcolor="#ffffff" valign="top" align="left"> 
    50         <!--▼MAIN CONTENTS--> 
    51         <table cellspacing="0" cellpadding="0" summary=" "> 
    52             <tr valign="top"> 
    53                 <td align="right" bgcolor="#ffffff"> 
    54                 <!--タイトルここから--> 
    55                 <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    56                     <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/products/title_top.gif" width="580" height="8" alt=""></td></tr> 
    57                     <tr bgcolor="#ffebca"> 
    58                         <td><img src="<!--{$TPL_DIR}-->img/products/title_icon.gif" width="29" height="24" alt=""></td> 
    59                         <td> 
    60                         <table width="546" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    61                             <tr valign="top"> 
    62                                 <td class="fs18"><span class="blackst"><!--★タイトル★--><!--{$tpl_subtitle|escape}--></span></td> 
    63                             </tr> 
    64                         </table> 
    65                         </td> 
    66                         <td><img src="<!--{$TPL_DIR}-->img/products/title_left.gif" width="5" height="24" alt=""></td> 
    67                     </tr> 
    68                     <tr><td colspan="3"><img src="<!--{$TPL_DIR}-->img/products/title_under.gif" width="580" height="8" alt=""></td></tr> 
    69                     <tr><td height="10"></td></tr> 
    70                 </table> 
    71                 <!--タイトルここまで--> 
    72  
    73                 <!--詳細ここから--> 
    74                 <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    75                     <tr> 
    76                         <td colspan="2" class="fs12"><!--★詳細メインコメント★--><!--{$arrProduct.main_comment|nl2br}--></td> 
    77                     </tr> 
    78                     <tr><td height="15"></td></tr> 
    79                     <tr valign="top"> 
    80                         <td> 
    81                         <table width="290" border="0" cellspacing="0" cellpadding="0" summary=" ">   
    82                             <tr> 
    83                                 <td align="center" valign="middle" width="<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->"> 
    84                                 <!--{if $arrProduct.main_large_image != ""}--> 
    85                                     <!--メイン画像--><!--{assign var=key value="main_image"}--><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="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}-->'); return false;" target="_blank"><img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" /></a> 
    86                                 <!--{else}--> 
    87                                     <div id="picture"><!--メイン画像--><!--{assign var=key value="main_image"}--><img src="<!--{$arrFile[$key].filepath}-->" " alt="<!--{$arrProduct.name|escape}-->" /></div> 
    88                                 <!--{/if}--> 
    89                                 </td> 
    90                             </tr> 
    91                             <tr><td height="8"></td></tr> 
    92                             <tr> 
    93                                 <td> 
    94                                 <!--{if $arrProduct.main_large_image != ""}--> 
    95                                     <!--★拡大する★--><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="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}-->'); return false;" target="_blank"><img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" /></a> 
    96                                 <!--{/if}--> 
    97                                 </td> 
    98                             </tr> 
    99                         </table>         
    100                         </td> 
    101                         <td align="right"> 
    102                         <table width="280" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    103                             <!--アイコン--> 
    104                             <tr> 
    105                                 <td> 
    106                                     <!--{assign var=sts_cnt value=0}--> 
    107                                     <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> 
    108                                         <!--{if $arrProduct.product_flag[flg] == "1"}--> 
    109                                             <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> 
    110                                             <img src="<!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->" id="icon" /> 
    111                                             <!--{assign var=sts_cnt value=$sts_cnt+1}--> 
    112                                         <!--{/if}--> 
    113                                     <!--{/section}--> 
    114                                 </td> 
    115                             </tr> 
    116                             <!--アイコン--> 
    117                             <!--{if $sts_cnt > 0}--><tr><td height="5"></td></tr><!--{/if}--> 
    118                             <tr> 
    119                                 <td class="fs18"><span class="orangest"><!--★商品名★--><!--{$arrProduct.name|escape}--></span></td> 
    120                             </tr> 
    121                             <tr><td height="3"></td></tr> 
    122                             <tr> 
    123                                 <td><span class="red"> 
    124                                 <!--★商品コード★--> 
    125                                     <span class="fs12">商品コード</span><span class="fs10"></span></span><span class="redst"><span class="fs12">: 
    126                                     <!--{assign var=codecnt value=$arrProductCode|@count}--> 
    127                                     <!--{assign var=codemax value=`$codecnt-1`}--> 
    128                                     <!--{if $codecnt > 1}--> 
    129                                         <!--{$arrProductCode.0}-->〜<!--{$arrProductCode[$codemax]}--> 
    130                                     <!--{else}--> 
    131                                         <!--{$arrProductCode.0}--> 
    132                                     <!--{/if}--> 
    133                                     </span></span><br/> 
    134                                 <!--★価格★--> 
    135                                     <span class="red"><span class="fs12"><!--{$smarty.const.SALE_PRICE_TITLE}--></span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    136                                     <!--{if $arrProduct.price02_min == $arrProduct.price02_max}-->               
    137                                         <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    138                                     <!--{else}--> 
    139                                         <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    140                                     <!--{/if}--> 
    141                                     円</span></span><br/> 
    142                                      
    143                                     <!--{if $arrProduct.price01_max > 0}--> 
    144                                         <span class="fs12"><span class="red"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->:</span><span class="redst"> 
    145                                         <!--{if $arrProduct.price01_min == $arrProduct.price01_max}-->               
    146                                             <!--{$arrProduct.price01_min|number_format}--> 
    147                                         <!--{else}--> 
    148                                             <!--{$arrProduct.price01_min|number_format}-->〜<!--{$arrProduct.price01_max|number_format}--> 
    149                                         <!--{/if}--> 
    150                                         円 
    151                                         </span></span><br/> 
    152                                     <!--{/if}--> 
    153                                 <!--★ポイント★--> 
    154                                     <span class="red"><span class="fs12"> ポイント</span></span><span class="redst"><span class="fs12">: 
    155                                 <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
    156                                     <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    157                                 <!--{else}--> 
    158                                     <!--{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}--> 
    159                                         <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
    160                                     <!--{else}--> 
    161                                         <!--{$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}--> 
    162                                     <!--{/if}--> 
    163                                 <!--{/if}--> 
    164                                 Pt</span></span> 
    165                             </tr> 
    166                             <tr><td height="15"></td></tr> 
    167                             <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
    168                             <input type="hidden" name="mode" value="cart"> 
    169                             <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->"> 
    170                              
    171                             <!--{if $tpl_classcat_find1}--> 
    172                             <tr><td height="5" colspan="2" align="left" class="fs12"><span class="redst"><!--{if $arrErr.classcategory_id1 != ""}-->※ <!--{$tpl_class_name1}-->を入力して下さい。<!--{/if}--></span></td></tr> 
    173                             <tr> 
    174                                 <td class="fs12"><img src="<!--{$TPL_DIR}-->img/common/arrow_gray.gif" width="15" height="10" alt=""><strong><!--{$tpl_class_name1}--></strong></td> 
    175                             </tr> 
    176                             <tr><td height="3"></td></tr> 
    177                             <tr> 
    178                                 <td> 
    179                                     <select name="classcategory_id1" style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" onchange="lnSetSelect('form1', 'classcategory_id1', 'classcategory_id2', ''); "> 
    180                                     <option value="">選択してください</option> 
    181                                     <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> 
    182                                     </select> 
    183                                 </td> 
    184                             </tr> 
    185                             <tr><td height="10"></td></tr> 
    186                             <!--{/if}--> 
    187                             <!--{if $tpl_stock_find}--> 
    188                                 <!--{if $tpl_classcat_find2}--> 
    189                                 <tr><td height="5" colspan="2" align="left" class="fs12"><span class="redst"><!--{if $arrErr.classcategory_id2 != ""}-->※ <!--{$tpl_class_name2}-->を入力して下さい。<!--{/if}--></span></td></tr> 
    190                                 <tr> 
    191                                     <td class="fs12"><img src="<!--{$TPL_DIR}-->img/common/arrow_gray.gif" width="15" height="10" alt=""><strong><!--{$tpl_class_name2}--></strong></td> 
    192                                 </tr> 
    193                                 <tr><td height="3"></td></tr> 
    194                                 <tr> 
    195                                     <td> 
    196                                         <select name="classcategory_id2" style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 
    197                                         <option value="">選択してください</option> 
    198                                         </select> 
    199                                     </td> 
    200                                 </tr> 
    201                                 <tr><td height="10"></td></tr> 
    202                                 <!--{/if}--> 
    203                                 <tr> 
    204                                     <td class="fs12"><!--{if $arrErr.quantity != ""}--><span class="redst"><!--{$arrErr.quantity}--></span><br/><!--{/if}--><img src="<!--{$TPL_DIR}-->img/common/arrow_gray.gif" width="15" height="10" alt=""><strong>個 数</strong> 
    205                                         <input type="text" name="quantity" size="3" class="box3" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> style="<!--{$arrErr.quantity|sfGetErrorColor}-->" > 
    206                                     </td> 
    207                                 </tr> 
    208                             <!--{/if}--> 
    209                             <tr><td height="20"><img src="<!--{$TPL_DIR}-->img/common/line_280.gif" width="280" height="1" alt=""></td></tr> 
    210                             <tr> 
    211                                 <td align="center"> 
    212                                     <!--{if $tpl_stock_find}--> 
    213                                         <!--★カゴに入れる★--><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.submit(); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"><img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" id="cart" /></a> 
    214                                     <!--{else}--> 
    215                                         <table width="285" cellspacing="0" cellpadding="0" summary=" "> 
    216                                         <tr><td height="10"></td></tr> 
    217                                         <tr> 
    218                                             <td align="center" class="fs12"> 
    219                                             <span class="red">申し訳ございませんが、只今品切れ中です。</span> 
    220                                             </td> 
    221                                         </tr> 
    222                                         <tr><td height="10"></td></tr> 
    223                                         </table> 
    224                                     <!--{/if}--> 
    225                                 </td> 
    226                             </tr> 
    227                             </form> 
    228                         </table> 
    229                         </td> 
    230                     </tr> 
    231                     <tr><td height="35"></td></tr> 
    232                 </table> 
    233                 <!--詳細ここまで--> 
    234                  
    235                 <!--▼サブコメントここから-->       
    236                 <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> 
    237                 <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> 
    238                 <!--{if $arrProduct[$key] != ""}--> 
    239                     <table width="580" border="0" cellspacing="0" cellpadding="7" summary=" "> 
    240                         <tr> 
    241                             <td bgcolor="#e4e4e4" class="fs12"><span class="blackst"><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></span></td> 
    242                         </tr> 
    243                     </table> 
    244                      
    245                     <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    246                         <tr><td height="10"></td></tr> 
    247                         <tr valign="top"> 
    248                             <!--{assign var=key value="sub_comment`$smarty.section.cnt.iteration`"}--> 
    249                             <td class="fs12" align="left"><!--★サブテキスト★--><!--{$arrProduct[$key]|nl2br}--></td> 
    250                             <!--拡大写真がある場合ここから--> 
    251                             <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> 
    252                             <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.iteration`"}--> 
    253                             <!--{if $arrFile[$key].filepath != ""}--> 
    254                             <td align="right"> 
    255                             <table width="215" border="0" cellspacing="0" cellpadding="0" summary=" ">   
    256                                 <tr> 
    257                                     <!--{if $arrFile[$lkey].filepath != ""}--> 
    258                                         <td align="center" valign="middle"><div id="picture"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=<!--{$lkey}--><!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile[$lkey].width+60}-->','<!--{$arrFile[$lkey].height+80}-->'); return false;" target="_blank"><!--サブ画像--><img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" /></a></div> 
    259                                     <!--{else}--> 
    260                                         <td align="center" valign="middle"><img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" /></td> 
    261                                     <!--{/if}--> 
    262                                 </tr> 
    263                                 <tr><td height="8"></td></tr> 
    264                                 <tr> 
    265                                     <!--{if $arrFile[$lkey].filepath != ""}--> 
    266                                         <td align="center"><div id="more"><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win01('./detail_image.php?product_id=<!--{$arrProduct.product_id}-->&image=<!--{$lkey}--><!--{if $smarty.get.admin == 'on'}-->&admin=on<!--{/if}-->','detail_image','<!--{$arrFile[$lkey].width+60}-->','<!--{$arrFile[$lkey].height+80}-->'); return false;" onmouseover="chgImg('../img/products/b_expansion_on.gif','expansion02');" onmouseout="chgImg('../img/products/b_expansion.gif','expansion02');" target="_blank"><img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" /></a></div></td> 
    267                                     <!--{/if}--> 
    268                                 </tr> 
    269                             </table> 
    270                             </td> 
    271                             <!--{/if}--> 
    272                             <!--拡大写真がある場合ここまで--> 
    273                         </tr> 
    274                         <tr><td height="30"></td></tr> 
    275                     </table> 
    276                 <!--{/if}--> 
    277                 <!--{/section}--> 
    278                 <!--▲サブコメントここまで--> 
    279                  
    280                 <!--お客様の声ここから--> 
    281                 <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    282                     <tr> 
    283                         <td><img src="<!--{$TPL_DIR}-->img/products/title_voice.jpg" width="580" height="30" alt="この商品に対するお客様の声"></td> 
    284                     </tr> 
    285                     <tr><td height="10"></td></tr> 
    286                     <tr> 
    287                         <td> 
    288                         <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 
    289                             <!--★新規コメントを書き込む★--><a href="./review.php" onClick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" onMouseOver="chgImg('../img/products/b_comment_on.gif','review');" onMouseOut="chgImg('../img/products/b_comment.gif','review');" target="_blank"><img src="<!--{$TPL_DIR}-->img/products/b_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" /></a> 
    290                         <!--{/if}--> 
    291                         </td> 
    292                     </tr> 
    293                     <tr><td height="10"></td></tr> 
    294          
    295                     <!--{section name=cnt loop=$arrReview}--> 
    296                     <tr> 
    297                         <td class="fs12"><strong><!--{$arrReview[cnt].create_date|sfDispDBDate:false}--></strong> 投稿者:<!--{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="red"><!--{assign var=level value=$arrReview[cnt].recommend_level}--><!--{$arrRECOMMEND[$level]|escape}--></span></td> 
    298                     </tr> 
    299                     <tr><td height="5"></td></tr> 
    300                     <tr> 
    301                         <td class="fs14"><strong><!--{$arrReview[cnt].title|escape}--></strong></td> 
    302                     </tr> 
    303                     <tr><td height="5"></td></tr> 
    304                     <tr> 
    305                         <td class="fs12"><!--{$arrReview[cnt].comment|escape|nl2br}--></td> 
    306                     </tr> 
    307              
    308                     <!--{if !$smarty.section.cnt.last}--> 
    309                     <tr><td height="20"><img src="<!--{$TPL_DIR}-->img/common/line_580.gif" width="580" height="1" alt=""></td></tr> 
    310                     <!--{/if}--> 
    311                      
    312                     <!--{/section}--> 
    313                      
    314                     <tr><td height="30"></td></tr> 
    315                 </table> 
    316                 <!--お客様の声ここまで--> 
    317  
    318                 <!--{if $arrTrackbackView == "ON"}--> 
    319                 <!--▼トラックバックここから--> 
    320                 <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    321                     <tr> 
    322                         <td><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック"></td> 
    323                     </tr> 
    324                     <tr><td height="10"></td></tr> 
    325                     <tr> 
    326                         <td class="fs12"><strong>この商品のトラックバック先URL</strong></td> 
    327                     </tr> 
    328                     <tr><td height="5"></td></tr> 
    329                     <tr> 
    330                         <td class="fs12"><input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100"></td> 
    331                     </tr> 
    332                     <!--{if $arrTrackback}--> 
    333                     <tr><td height="5"></td></tr> 
    334                     <!--{section name=cnt loop=$arrTrackback}--> 
    335                     <tr> 
    336                         <td class="fs12"><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></td> 
    337                     </tr> 
    338                     <tr><td height="5"></td></tr> 
    339                     <tr> 
    340                         <td class="fs12"><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></td> 
    341                     </tr> 
    342              
    343                     <!--{if !$smarty.section.cnt.last}--> 
    344                     <tr><td height="20"><img src="<!--{$TPL_DIR}-->img/common/line_580.gif" width="580" height="1" alt=""></td></tr> 
    345                     <!--{/if}--> 
    346                      
    347                     <!--{/section}--> 
    348                     <!--{/if}--> 
    349                      
    350                     <tr><td height="30"></td></tr> 
    351                 </table> 
    352                 <!--▲トラックバックここまで--> 
    353                 <!--{/if}--> 
    354  
    355                 <!--{if $arrRecommend}--> 
    356                 <!--▼オススメ商品ここから--> 
    357                 <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    358                     <tr> 
    359                         <td colspan=3><img src="<!--{$TPL_DIR}-->img/products/title_recommend.jpg" width="580" height="30" alt="オススメ商品" /></td> 
    360                     </tr> 
    361                     <tr><td colspan=3 height="10"></td></tr> 
    362                     <tr> 
    363  
    364                     <!--{section name=cnt loop=$arrRecommend step=2}--> 
    365                     <!--{if $smarty.section.cnt.index >= 2}--> 
    366                     <tr> 
    367                         <td height="25"><img src="<!--{$TPL_DIR}-->img/common/line_280.gif" width="280" height="1" alt="" /></td> 
    368                         <td></td> 
    369                         <td align="left"><img src="<!--{$TPL_DIR}-->img/common/line_280.gif" width="280" height="1" alt="" /></td> 
    370                     </tr> 
    371                     <!--{/if}--> 
    372                      
    373                     <tr valign="top"> 
    374                         <td> 
    375                             <!-- 左列 --> 
    376                             <table width="220" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    377                                 <tr valign="top"> 
    378                                     <td align="center" valign="middle"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
    379                                     <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
    380                                         <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
    381                                     <!--{else}--> 
    382                                         <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    383                                     <!--{/if}--> 
    384                                     <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->"></a> 
    385                                     </td> 
    386                                     <td align="right"> 
    387                                     <table width="145" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    388                                         <tr> 
    389                                             <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
    390                                             <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
    391                                             <td><span class="fs12"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><!--{$arrRecommend[cnt].name|escape}--></a></span><br> 
    392                                             <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    393                                             <!--{if $price02_min == $price02_max}--> 
    394                                                 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    395                                             <!--{else}--> 
    396                                                 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    397                                             <!--{/if}--> 
    398                                             円</span></span></td> 
    399                                         </tr> 
    400                                         <tr><td height="5"></td></tr> 
    401                                         <tr> 
    402                                             <td class="fs10"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></td> 
    403                                         </tr> 
    404                                     </table> 
    405                                     </td> 
    406                                 </tr> 
    407                             </table> 
    408                             <!-- 左列 --> 
    409                         </td> 
    410                         <!--{assign var=nextCnt value=$smarty.section.cnt.index+1}--> 
    411                          
    412                         <td id="spacer"></td> 
    413                          
    414                         <td> 
    415                         <!--{if $arrRecommend[$nextCnt].product_id}--> 
    416                          
    417                             <!-- 右列 --> 
    418                             <table width="220" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    419                                 <tr valign="top"> 
    420                                     <td align="center" valign="middle"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[$nextCnt].product_id}-->"> 
    421                                     <!--{if $arrRecommend[$nextCnt].main_list_image != ""}--> 
    422                                         <!--{assign var=image_path value="`$arrRecommend[$nextCnt].main_list_image`"}--> 
    423                                     <!--{else}--> 
    424                                         <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
    425                                     <!--{/if}--> 
    426                                     <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&width=65&height=65" alt="<!--{$arrRecommend[$nextCnt].name|escape}-->"></a></td> 
    427                                     <td align="right"> 
    428                                     <table width="145" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    429                                         <tr> 
    430                                             <!--{assign var=price02_min value=`$arrRecommend[$nextCnt].price02_min`}--> 
    431                                             <!--{assign var=price02_max value=`$arrRecommend[$nextCnt].price02_max`}--> 
    432                                             <td><span class="fs12"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[$nextCnt].product_id}-->"><!--{$arrRecommend[$nextCnt].name|escape}--></a></span><br> 
    433                                             <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    434                                             <!--{if $price02_min == $price02_max}--> 
    435                                                 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    436                                             <!--{else}--> 
    437                                                 <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    438                                             <!--{/if}--> 
    439                                             円</span></span></td> 
    440                                         </tr> 
    441                                         <tr><td height="5"></td></tr> 
    442                                         <tr> 
    443                                             <td class="fs10"><!--{$arrRecommend[$nextCnt].comment|escape|nl2br}--></td> 
    444                                         </tr> 
    445                                     </table> 
    446                                     </td> 
    447                                 </tr> 
    448                             </table> 
    449                             <!-- 右列 --> 
    450                         <!--{/if}--> 
    451                         </td> 
    452                     </tr> 
    453                     <!--{/section}--> 
    454                     <tr><td colspan=3 height="25"></td></tr> 
    455                 </table> 
    456                 <!--{/if}--> 
    457                 <!--▲オススメ商品ここまで--> 
    458                  
    459                 </td> 
    460                 <!--▲RIGHT CONTENTS--> 
    461             </tr> 
    462         </table> 
    463         <!--▲MAIN CONTENTS--> 
    464         </td> 
    465     </tr> 
    466 </table> 
     36<div id="undercolumn"> 
     37  <div id="detailtitle"><h2><!--★タイトル★--><!--{$tpl_subtitle|escape}--></h2></div> 
     38  <p><!--★詳細メインコメント★--><!--{$arrProduct.main_comment|nl2br}--></p> 
     39 
     40  <div id="detailarea"> 
     41    <div id="detailphotoblock"> 
     42 
     43    <!--{assign var=key value="main_image"}--> 
     44    <!--{if $arrProduct.main_large_image != ""}--> 
     45    <!--★画像★--> 
     46      <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}-->'))"> 
     47        <img src="<!--{$arrFile[$key].filepath}-->" width="<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /> 
     48      </a> 
     49      <p> 
     50      <!--★拡大する★--> 
     51        <a href="javascript:void(opWin02('./detail_image.php','detail_image','560','580'))" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion01');" onMouseOut="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion01');" target="_blank"> 
     52          <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" name="expansion01" id="expansion01" /> 
     53       </a> 
     54      </p> 
     55      <!--{else}--> 
     56      <img src="<!--{$arrFile[$key].filepath}-->" width="<!--{$smarty.const.NORMAL_IMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_IMAGE_HEIGHT}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /> 
     57      <!--{/if}--> 
     58    </div> 
     59 
     60    <div id="detailrightblock"> 
     61      <!--アイコン--> 
     62      <!--{if count($arrProduct.product_flag) > 0}--> 
     63      <ul> 
     64        <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> 
     65        <!--{if $arrProduct.product_flag[flg] == "1"}--> 
     66        <li> 
     67          <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> 
     68          <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->" id="icon<!--{$key}-->" /> 
     69        </li> 
     70        <!--{/if}--> 
     71        <!--{/section}--> 
     72      </ul> 
     73      <!--{/if}--> 
     74 
     75      <!--★商品コード★--> 
     76      <!--{assign var=codecnt value=$arrProductCode|@count}--> 
     77      <!--{assign var=codemax value=`$codecnt-1`}--> 
     78      <div>商品コード: 
     79        <!--{if $codecnt > 1}--> 
     80          <!--{$arrProductCode.0}-->〜<!--{$arrProductCode[$codemax]}--> 
     81        <!--{else}--> 
     82          <!--{$arrProductCode.0}--> 
     83        <!--{/if}--> 
     84      </div> 
     85      <h2><!--★商品名★--><!--{$arrProduct.name|escape}--></h2> 
     86      <!--★価格★--> 
     87      <div><!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: 
     88        <span class="price"> 
     89          <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     90            <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     91          <!--{else}--> 
     92            <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     93          <!--{/if}-->円</span></div> 
     94      <div> 
     95        <!--{if $arrProduct.price01_max > 0}--> 
     96        <span class="price"><!--{$smarty.const.NORMAL_PRICE_TITLE}-->: 
     97          <!--{if $arrProduct.price01_min == $arrProduct.price01_max}--> 
     98            <!--{$arrProduct.price01_min|number_format}--> 
     99          <!--{else}--> 
     100            <!--{$arrProduct.price01_min|number_format}-->〜<!--{$arrProduct.price01_max|number_format}--> 
     101          <!--{/if}-->円</span> 
     102        <!--{/if}--> 
     103      </div> 
     104 
     105      <!--★ポイント★--> 
     106      <div><span class="price">ポイント: 
     107        <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     108          <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     109        <!--{else}--> 
     110          <!--{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}--> 
     111            <!--{$arrProduct.price02_min|sfPrePoint:$arrProduct.point_rate:$smarty.const.POINT_RULE:$arrProduct.product_id}--> 
     112          <!--{else}--> 
     113            <!--{$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}--> 
     114          <!--{/if}--> 
     115        <!--{/if}-->Pt</span></div> 
     116 
     117 
     118      <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
     119        <input type="hidden" name="mode" value="cart" /> 
     120        <input type="hidden" name="product_id" value="<!--{$tpl_product_id}-->" /> 
     121        <!--{if $tpl_classcat_find1}--> 
     122          <!--{if $arrErr.classcategory_id1 != ""}--> 
     123        <span class="attention">※ <!--{$tpl_class_name1}-->を入力して下さい。</span> 
     124          <!--{/if}--> 
     125        <dl> 
     126          <dt><!--{$tpl_class_name1}--></dt> 
     127          <dd> 
     128            <select name="classcategory_id1" 
     129                    style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" 
     130                    onchange="lnSetSelect('form1', 'classcategory_id1', 'classcategory_id2', ''); "> 
     131              <option value="">選択してください</option> 
     132              <!--{html_options options=$arrClassCat1 selected=$arrForm.classcategory_id1.value}--> 
     133            </select> 
     134          </dd> 
     135        </dl> 
     136        <!--{/if}--> 
     137 
     138        <!--{if $tpl_stock_find}--> 
     139          <!--{if $tpl_classcat_find2}--> 
     140            <!--{if $arrErr.classcategory_id2 != ""}--> 
     141        <span class="attention">※ <!--{$tpl_class_name2}-->を入力して下さい。</span> 
     142            <!--{/if}--> 
     143        <dl> 
     144          <dt><!--{$tpl_class_name2}--></dt> 
     145          <dd> 
     146            <select name="classcategory_id2" 
     147                    style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->"> 
     148              <option value="">選択してください</option> 
     149            </select> 
     150          </dd> 
     151        </dl> 
     152          <!--{/if}--> 
     153 
     154          <!--{if $arrErr.quantity != ""}--> 
     155        <span class="attention"><!--{$arrErr.quantity}--></span> 
     156          <!--{/if}--> 
     157        <dl> 
     158          <dt>個 数</dt> 
     159          <dd><input type="text" name="quantity" class="box54" value="<!--{$arrForm.quantity.value|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /></dd> 
     160        </dl> 
     161        <!--{/if}--> 
     162 
     163        <!--{if $tpl_stock_find}--> 
     164        <p class="btn"> 
     165          <!--★カゴに入れる★--> 
     166          <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="document.form1.submit(); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart');"> 
     167            <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart" /> 
     168          </a> 
     169        </p> 
     170        <!--{else}--> 
     171        <div class="attention">申し訳ございませんが、只今品切れ中です。</div> 
     172        <!--{/if}--> 
     173      </form> 
     174 
     175    </div> 
     176  </div> 
     177  <!--詳細ここまで--> 
     178 
     179  <!--▼サブコメントここから--> 
     180  <!--{section name=cnt loop=$smarty.const.PRODUCTSUB_MAX}--> 
     181  <!--{assign var=key value="sub_title`$smarty.section.cnt.iteration`"}--> 
     182    <!--{if $arrProduct[$key] != ""}--> 
     183  <div class="subarea"> 
     184    <h3><!--★サブタイトル★--><!--{$arrProduct[$key]|escape}--></h3> 
     185    <!--{assign var=ckey value="sub_comment`$smarty.section.cnt.iteration`"}--> 
     186 
     187    <!--拡大写真がある場合ここから--> 
     188    <!--{assign var=key value="sub_image`$smarty.section.cnt.iteration`"}--> 
     189    <!--{assign var=lkey value="sub_large_image`$smarty.section.cnt.iteration`"}--> 
     190    <!--{if $arrFile[$key].filepath != ""}--> 
     191    <div class="subtext"><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br}--></div> 
     192      <div class="subphotoimg"> 
     193      <!--{if $arrFile[$lkey].filepath != ""}--> 
     194        <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"> 
     195      <!--{/if}--> 
     196      <!--サブ画像--> 
     197        <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrProduct.name|escape}-->" width="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" height="<!--{$smarty.const.NORMAL_SUBIMAGE_WIDTH}-->" /> 
     198      <!--{if $arrFile[$lkey].filepath != ""}--> 
     199        </a> 
     200        <p> 
     201          <a href="<!--{$smarty.server.PHP_SELF|escape}-->" 
     202             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;" 
     203             onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion_on.gif','expansion02');" 
     204             onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_expansion.gif','expansion02');" target="_blank"> 
     205            <img src="<!--{$TPL_DIR}-->img/products/b_expansion.gif" width="85" height="13" alt="画像を拡大する" /> 
     206          </a> 
     207        </p> 
     208      <!--{/if}--> 
     209      </div> 
     210      <!--拡大写真がある場合ここまで--> 
     211    <!--{else}--> 
     212    <p><!--★サブテキスト★--><!--{$arrProduct[$ckey]|nl2br}--></p> 
     213    <!--{/if}--> 
     214 
     215  </div> 
     216  <!--{/if}--> 
     217  <!--{/section}--> 
     218  <!--▲サブコメントここまで--> 
     219 
     220 
     221 
     222  <!--この商品に対するお客様の声--> 
     223  <div id="customervoicearea"> 
     224    <h2><img src="<!--{$TPL_DIR}-->img/products/title_voice.jpg" width="580" height="30" alt="この商品に対するお客様の声" /></h2> 
     225 
     226    <!--{if count($arrReview) < $smarty.const.REVIEW_REGIST_MAX}--> 
     227    <!--★新規コメントを書き込む★--> 
     228      <a href="./review.php" 
     229         onclick="win02('./review.php?product_id=<!--{$arrProduct.product_id}-->','review','580','580'); return false;" 
     230         onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_comment_on.gif','review');" 
     231         onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_comment.gif','review');" target="_blank"> 
     232        <img src="<!--{$TPL_DIR}-->img/products/b_comment.gif" width="150" height="22" alt="新規コメントを書き込む" name="review" id="review" /> 
     233      </a> 
     234    <!--{/if}--> 
     235 
     236    <!--{if count($arrReview) > 0}--> 
     237    <ul> 
     238    <!--{section name=cnt loop=$arrReview}--> 
     239      <li> 
     240        <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> 
     241        <p class="voicetitle"><!--{$arrReview[cnt].title|escape}--></p> 
     242        <p class="voicecomment"><!--{$arrReview[cnt].comment|escape|nl2br}--></p> 
     243      </li> 
     244    <!--{/section}--> 
     245    </ul> 
     246    <!--{/if}--> 
     247  </div> 
     248  <!--お客様の声ここまで--> 
     249 
     250 
     251  <!--{if $arrTrackbackView == "ON"}--> 
     252  <!--▼トラックバックここから--> 
     253  <div id="trackbackarea"> 
     254    <h2><img src="<!--{$TPL_DIR}-->img/products/title_tb.jpg" width="580" height="30" alt="この商品に対するトラックバック" /></h2> 
     255    <h3>この商品のトラックバック先URL</h3> 
     256    <input type="text" name="trackback" value="<!--{$trackback_url}-->" size="100" class="box500" /> 
     257 
     258    <!--{if $arrTrackback}--> 
     259      <ul> 
     260      <!--{section name=cnt loop=$arrTrackback}--> 
     261        <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> 
     262          <p><!--{$arrTrackback[cnt].excerpt|escape|mb_strimwidth:0:200:"..."}--></p></li> 
     263      <!--{/section}--> 
     264      </ul> 
     265    <!--{/if}--> 
     266  <!--▲トラックバックここまで--> 
     267  </div> 
     268  <!--{/if}--> 
     269 
     270 
     271  <!--▼オススメ商品ここから--> 
     272  <!--{if $arrRecommend}--> 
     273  <div id="whoboughtarea"> 
     274    <h2><img src="<!--{$TPL_DIR}-->img/products/title_recommend.jpg" width="580" height="30" alt="オススメ商品" /></h2> 
     275    <!--{section name=cnt loop=$arrRecommend}--> 
     276    <!--{if ($smarty.section.cnt.index % 2) == 0}--> 
     277    <div class="whoboughtblock"> 
     278    <!--{/if}--> 
     279      <!-- 左列 --> 
     280      <div class="whoboughtleft"> 
     281      <!--{if $arrRecommend[cnt].main_list_image != ""}--> 
     282        <!--{assign var=image_path value="`$arrRecommend[cnt].main_list_image`"}--> 
     283      <!--{else}--> 
     284        <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     285      <!--{/if}--> 
     286 
     287        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"> 
     288         <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[cnt].name|escape}-->" /> 
     289        </a> 
     290 
     291        <!--{assign var=price02_min value=`$arrRecommend[cnt].price02_min`}--> 
     292        <!--{assign var=price02_max value=`$arrRecommend[cnt].price02_max`}--> 
     293        <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[cnt].product_id}-->"><!--{$arrRecommend[cnt].name|escape}--></a></h3> 
     294 
     295        <p>価格<span class="mini">(税込)</span>:<span class="price"> 
     296        <!--{if $price02_min == $price02_max}--> 
     297          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     298        <!--{else}--> 
     299          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     300        <!--{/if}-->円</span></p> 
     301        <p class="mini"><!--{$arrRecommend[cnt].comment|escape|nl2br}--></p> 
     302      </div> 
     303      <!-- 左列 --> 
     304 
     305      <!--{assign var=nextCnt value=$smarty.section.cnt.index+1}--> 
     306      <!--{if $arrRecommend[$nextCnt].product_id}--> 
     307      <!-- 右列 --> 
     308      <div class="whoboughtright"> 
     309        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[$nextCnt].product_id}-->"> 
     310        <!--{if $arrRecommend[$nextCnt].main_list_image != ""}--> 
     311          <!--{assign var=image_path value="`$arrRecommend[$nextCnt].main_list_image`"}--> 
     312        <!--{else}--> 
     313          <!--{assign var=image_path value="`$smarty.const.NO_IMAGE_DIR`"}--> 
     314        <!--{/if}--> 
     315          <img src="<!--{$smarty.const.SITE_URL}-->resize_image.php?image=<!--{$image_path|sfRmDupSlash}-->&amp;width=65&amp;height=65" alt="<!--{$arrRecommend[$nextCnt].name|escape}-->" /> 
     316        </a> 
     317        <!--{assign var=price02_min value=`$arrRecommend[$nextCnt].price02_min`}--> 
     318        <!--{assign var=price02_max value=`$arrRecommend[$nextCnt].price02_max`}--> 
     319        <h3><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrRecommend[$nextCnt].product_id}-->"><!--{$arrRecommend[$nextCnt].name|escape}--></a></h3> 
     320 
     321        <p>価格<span class="mini">(税込)</span>:<span class="price"> 
     322 
     323        <!--{if $price02_min == $price02_max}--> 
     324          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     325        <!--{else}--> 
     326          <!--{$price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     327        <!--{/if}-->円</span></p> 
     328        <p class="mini"><!--{$arrRecommend[$nextCnt].comment|escape|nl2br}--></p> 
     329      </div> 
     330      <!-- 右列 --> 
     331    <!--{/if}--> 
     332    <!--{if ($smarty.section.cnt.index % 2) == 0 || $smarty.section.cnt.last}--> 
     333    </div> 
     334    <!--{/if}--> 
     335  <!--{/section}--> 
     336<!--{/if}--> 
     337</div> 
    467338<!--▲CONTENTS--> 
Note: See TracChangeset for help on using the changeset viewer.