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/list.tpl

    r18432 r18609  
    2121 *}--> 
    2222<script type="text/javascript">//<![CDATA[ 
    23 // セレクトボックスに項目を割り当てる。 
    24 function lnSetSelect(name1, name2, id, val) { 
    25         sele1 = document.form1[name1]; 
    26         sele2 = document.form1[name2]; 
    27         lists = eval('lists' + id); 
    28         vals = eval('vals' + id); 
    29  
    30         if(sele1 && sele2) { 
    31                 index = sele1.selectedIndex; 
    32  
    33                 // セレクトボックスのクリア 
    34                 count = sele2.options.length; 
    35                 for(i = count; i >= 0; i--) { 
    36                         sele2.options[i] = null; 
     23// 規格2に選択肢を割り当てる。 
     24function fnSetClassCategories(form, classcat_id2_selected) { 
     25    sele1 = form.classcategory_id1; 
     26    sele2 = form.classcategory_id2; 
     27    product_id = form.product_id.value; 
     28 
     29    if (sele1) { 
     30        if (sele2) { 
     31            // 規格2の選択肢をクリア 
     32            count = sele2.options.length; 
     33            for(i = count; i >= 0; i--) { 
     34                sele2.options[i] = null; 
     35            } 
     36             
     37            // 規格2に選択肢を割り当てる 
     38            classcats = productsClassCategories[product_id][sele1.value]; 
     39            i = 0; 
     40            for (var classcat_id2_key in classcats) { 
     41                sele2.options[i] = new Option(classcats[classcat_id2_key].name, classcat_id2_key); 
     42                if (classcat_id2_key == classcat_id2_selected) { 
     43                    sele2.options[i].selected = true; 
    3744                } 
    38  
    39                 // セレクトボックスに値を割り当てる 
    40                 len = lists[index].length; 
    41                 for(i = 0; i < len; i++) { 
    42                         sele2.options[i] = new Option(lists[index][i], vals[index][i]); 
    43                         if(val != "" && vals[index][i] == val) { 
    44                                 sele2.options[i].selected = true; 
    45                         } 
    46                 } 
     45                i++; 
     46            } 
    4747        } 
     48        fnCheckStock(form); 
     49    } 
     50} 
     51// 並び順を変更 
     52function fnChangeOrderby(orderby) { 
     53    fnSetVal('orderby', orderby); 
     54    fnSetVal('pageno', 1); 
     55    fnSubmit(); 
     56} 
     57// 表示件数を変更 
     58function fnChangeDispNumber(dispNumber) { 
     59    fnSetVal('disp_number', dispNumber); 
     60    fnSetVal('pageno', 1); 
     61    fnSubmit(); 
     62} 
     63// カゴに入れる 
     64function fnInCart(productForm) { 
     65    var product_id = productForm["product_id"].value; 
     66    fnChangeAction("?#product" + product_id); 
     67    if (productForm["classcategory_id1"]) { 
     68        fnSetVal("classcategory_id1", productForm["classcategory_id1"].value); 
     69    } 
     70    if (productForm["classcategory_id2"]) { 
     71        fnSetVal("classcategory_id2", productForm["classcategory_id2"].value); 
     72    } 
     73    fnSetVal("quantity", productForm["quantity"].value); 
     74    fnSetVal("product_id", productForm["product_id"].value); 
     75    fnSubmit(); 
     76} 
     77function fnCheckStock(form) { 
     78    product_id = form.product_id.value; 
     79    classcat_id1 = form.classcategory_id1.value; 
     80    classcat_id2 = form.classcategory_id2 ? form.classcategory_id2.value : 0; 
     81    classcat2 = productsClassCategories[product_id][classcat_id1][classcat_id2]; 
     82     
     83    // 在庫(品切れ) 
     84    eleDefault = document.getElementById('cartbtn_default_' + product_id); 
     85    eleDynamic = document.getElementById('cartbtn_dynamic_' + product_id); 
     86    if ( 
     87           classcat2 
     88        && classcat2.stock_find === false 
     89    ) { 
     90        eleDefault.style.display = 'none'; 
     91        eleDynamic.innerHTML = '申し訳ございませんが、只今品切れ中です。'; 
     92    } else { 
     93        eleDefault.style.display = ''; 
     94        eleDynamic.innerHTML = ''; 
     95    } 
     96     
     97    // 販売価格 
     98    eleDefault = document.getElementById('price02_default_' + product_id); 
     99    eleDynamic = document.getElementById('price02_dynamic_' + product_id); 
     100    if ( 
     101           classcat2 
     102        && typeof classcat2.price02 != 'undefined' 
     103        && String(classcat2.price02).length >= 1 
     104    ) { 
     105        eleDefault.style.display = 'none'; 
     106        eleDynamic.innerHTML = classcat2.price02; 
     107    } else { 
     108        eleDefault.style.display = ''; 
     109        eleDynamic.innerHTML = ''; 
     110    } 
    48111} 
    49112//]]> 
     
    51114 
    52115<!--▼CONTENTS--> 
    53 <div id="undercolumn"> 
    54   <form name="form1" id="form1" method="post" action="<!--{$smarty.server.REQUEST_URI|escape}-->"> 
    55     <input type="hidden" name="pageno" value="<!--{$tpl_pageno|escape}-->" /> 
    56     <input type="hidden" name="mode" value="" /> 
    57     <input type="hidden" name="orderby" value="<!--{$orderby|escape}-->" /> 
    58     <input type="hidden" name="product_id" value="" /> 
    59   <div id="listtitle"><h2><!--★タイトル★--><!--{$tpl_subtitle}--></h2></div> 
    60   <!--検索条件ここから--> 
    61   <!--{if $tpl_subtitle == "検索結果"}--> 
    62     <ul class="pagecondarea"> 
    63       <li><strong>商品カテゴリ:</strong><!--{$arrSearch.category|escape}--></li> 
    64       <li><strong>商品名:</strong><!--{$arrSearch.name|escape}--></li> 
    65     </ul> 
    66   <!--{/if}--> 
    67   <!--検索条件ここまで--> 
    68  
    69  <!--件数ここから--> 
    70   <!--{if $tpl_linemax > 0}--> 
    71   <ul class="pagenumberarea"> 
    72     <li class="left"><span class="pagenumber"><!--{$tpl_linemax}--></span>件の商品がございます。</li> 
    73     <li class="center"><!--{$tpl_strnavi}--></li> 
    74     <li class="right"><!--{if $orderby != 'price'}--> 
    75         <a href="javascript:fnModeSubmit('', 'orderby', 'price')">価格順</a> 
    76     <!--{else}--> 
    77         <strong>価格順</strong> 
    78     <!--{/if}-->&nbsp; 
    79     <!--{if $orderby != "date"}--> 
    80         <a href="javascript:fnModeSubmit('', 'orderby', 'date')">新着順</a> 
    81     <!--{else}--> 
    82         <strong>新着順</strong> 
     116<div id="undercolumn" class="product product_list"> 
     117    <form name="form1" id="form1" method="get" action="?"> 
     118        <input type="hidden" name="mode" value="<!--{$mode|escape}-->" /> 
     119        <!--{* ▼検索条件 *}--> 
     120        <input type="hidden" name="category_id" value="<!--{$arrSearchData.category_id|escape}-->" /> 
     121        <input type="hidden" name="maker_id" value="<!--{$arrSearchData.maker_id|escape}-->" /> 
     122        <input type="hidden" name="name" value="<!--{$arrSearchData.name|escape}-->" /> 
     123        <!--{* ▲検索条件 *}--> 
     124        <!--{* ▼ページナビ関連 *}--> 
     125        <input type="hidden" name="orderby" value="<!--{$orderby|escape}-->" /> 
     126        <input type="hidden" name="disp_number" value="<!--{$disp_number|escape}-->" /> 
     127        <input type="hidden" name="pageno" value="<!--{$tpl_pageno|escape}-->" /> 
     128        <!--{* ▲ページナビ関連 *}--> 
     129        <!--{* ▼注文関連 *}--> 
     130        <input type="hidden" name="product_id" value="" /> 
     131        <input type="hidden" name="classcategory_id1" value="" /> 
     132        <input type="hidden" name="classcategory_id2" value="" /> 
     133        <input type="hidden" name="quantity" value="" /> 
     134        <!--{* ▲注文関連 *}--> 
     135        <input type="hidden" name="rnd" value="<!--{$tpl_rnd|escape}-->" /> 
     136    </form> 
     137     
     138    <!--★タイトル★--> 
     139    <h2 class="title"><!--{$tpl_subtitle|escape}--></h2> 
     140     
     141    <!--▼検索条件--> 
     142    <!--{if $tpl_subtitle == "検索結果"}--> 
     143        <ul class="pagecondarea"> 
     144            <li><strong>商品カテゴリ:</strong><!--{$arrSearch.category|escape}--></li> 
     145        <!--{if $arrSearch.maker|strlen >= 1}--><li><strong>メーカー:</strong><!--{$arrSearch.maker|escape}--></li><!--{/if}--> 
     146            <li><strong>商品名:</strong><!--{$arrSearch.name|escape}--></li> 
     147        </ul> 
    83148    <!--{/if}--> 
    84     </li> 
    85   </ul><!--件数ここまで--> 
    86   <!--{else}--> 
    87     <!--{include file="frontparts/search_zero.tpl"}--> 
    88   <!--{/if}--> 
    89  
    90   <!--{section name=cnt loop=$arrProducts}--> 
    91     <!--{assign var=id value=$arrProducts[cnt].product_id}--> 
    92     <!--▼商品ここから--> 
    93     <div class="listarea"> 
    94       <div class="listphoto"> 
    95         <!--★画像★--> 
    96         <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" class="picture" /></a> 
    97      </div> 
    98      <div class="listrightblock"> 
    99        <!--アイコン--> 
    100        <!--商品ステータス--> 
    101        <!--{if count($arrProducts[cnt].product_flag) > 0}--> 
    102        <ul class="status_icon"> 
    103          <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}--> 
    104            <!--{if $arrProducts[cnt].product_flag[flg] == "1"}--> 
    105              <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> 
    106              <li><img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->"/></li> 
    107              <!--{assign var=sts_cnt value=$sts_cnt+1}--> 
    108            <!--{/if}--> 
    109          <!--{/section}--> 
    110        </ul> 
    111        <!--{/if}--> 
    112        <!--商品ステータス--> 
    113        <!--アイコン--> 
    114        <!--★商品名★--> 
    115        <h3> 
    116          <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->"><!--{$arrProducts[cnt].name|escape}--></a> 
    117        </h3> 
    118        <p class="listcomment"><!--★コメント★--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></p> 
    119        <p> 
    120          <span class="pricebox">価格<span class="mini">(税込)</span>: 
    121          <span class="price"> 
    122          <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> 
    123            <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    124          <!--{else}--> 
    125            <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->〜<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    126          <!--{/if}-->円</span></span> 
    127          <span class="btnbox"><!--★詳細ボタン★--> 
    128          <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}--> 
    129            <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"> 
    130             <img src="<!--{$TPL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="詳しくはこちら" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 
    131          </span> 
    132        </p> 
    133  
    134          <!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}--> 
    135            <p class="soldout"><em>申し訳ございませんが、只今品切れ中です。</em></p> 
    136          <!--{else}--> 
    137            <!--▼買い物かご--> 
    138            <div class="in_cart"> 
    139              <dl> 
    140  
    141          <!--{assign var=class1 value=classcategory_id`$id`_1}--> 
    142          <!--{assign var=class2 value=classcategory_id`$id`_2}--> 
    143          <!--{if $tpl_classcat_find1[$id]}--> 
    144            <dt><!--{$tpl_class_name1[$id]|escape}-->:</dt> 
    145            <dd> 
    146              <select name="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');"> 
    147              <option value="">選択してください</option> 
    148              <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}--> 
    149              </select> 
    150              <!--{if $arrErr[$class1] != ""}--> 
    151              <br /><span class="attention">※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。</span> 
    152              <!--{/if}--> 
    153            </dd> 
    154          <!--{/if}--> 
    155          <!--{if $tpl_classcat_find2[$id]}--> 
    156            <dt><!--{$tpl_class_name2[$id]|escape}-->:</dt> 
    157            <dd> 
    158              <select name="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->"> 
    159              <option value="">選択してください</option> 
    160              </select> 
    161              <!--{if $arrErr[$class2] != ""}--> 
    162              <br /><span class="attention">※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。</span> 
    163              <!--{/if}--> 
    164            </dd> 
    165          <!--{/if}--> 
    166  
    167          <!--{assign var=quantity value=quantity`$id`}--> 
    168            <dt>個数:</dt> 
    169            <dd><input type="text" name="<!--{$quantity}-->" size="3" class="box54" value="<!--{$arrForm[$quantity]|default:1}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr[$quantity]|sfGetErrorColor}-->" /> 
    170              <!--{if $arrErr[$quantity] != ""}--> 
    171              <br /><span class="attention"><!--{$arrErr[$quantity]}--></span> 
    172              <!--{/if}--> 
    173            </dd> 
    174          </dl> 
    175              <div class="cartbtn"> 
    176              <a href="<!--{$smarty.server.REQUEST_URI|escape}-->#product<!--{$id}-->" onclick="fnChangeAction('<!--{$smarty.server.REQUEST_URI|escape}-->#product<!--{$id}-->'); fnModeSubmit('cart','product_id','<!--{$id}-->'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif','cart<!--{$id}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif','cart<!--{$id}-->');"> 
    177                <img src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart<!--{$id}-->" id="cart<!--{$id}-->" /></a> 
    178              </div> 
    179            </div> 
    180              <!--▲買い物かご--> 
    181            <!--{/if}--> 
    182           </div> 
    183        </div> 
    184          <!--{/section}--> 
    185  
    186   <!--件数ここから--> 
    187   <!--{if $tpl_linemax > 0}--> 
    188   <ul class="pagenumberarea"> 
    189     <li class="left"><span class="pagenumber"><!--{$tpl_linemax}--></span>件の商品がございます。</li> 
    190     <li class="center"><!--{$tpl_strnavi}--></li> 
    191     <li class="right"><!--{if $orderby != 'price'}--> 
    192         <a href="javascript:fnModeSubmit('', 'orderby', 'price')">価格順</a> 
    193     <!--{else}--> 
    194         <strong>価格順</strong> 
    195     <!--{/if}-->&nbsp; 
    196     <!--{if $orderby != "date"}--> 
    197         <a href="javascript:fnModeSubmit('', 'orderby', 'date')">新着順</a> 
    198     <!--{else}--> 
    199         <strong>新着順</strong> 
    200     <!--{/if}--> 
    201     </li> 
    202   </ul><!--件数ここまで--> 
    203     <!--{/if}--> 
    204   </form> 
     149    <!--▲検索条件--> 
     150 
     151    <!--▼ページナビ(本文)--> 
     152    <!--{capture name=page_navi_body}--> 
     153        <div class="pagenumberarea"> 
     154            <div class="change"> 
     155                <!--{if $orderby != 'price'}--> 
     156                    <a href="javascript:fnChangeOrderby('price');">価格順</a> 
     157                <!--{else}--> 
     158                    <strong>価格順</strong> 
     159                <!--{/if}-->&nbsp; 
     160                <!--{if $orderby != "date"}--> 
     161                        <a href="javascript:fnChangeOrderby('date');">新着順</a> 
     162                <!--{else}--> 
     163                    <strong>新着順</strong> 
     164                <!--{/if}--> 
     165                表示件数 
     166                <select name="disp_number" onchange="javascript:fnChangeDispNumber(this.value);"> 
     167                    <!--{foreach from=$arrPRODUCTLISTMAX item="dispnum" key="num"}--> 
     168                        <!--{if $num == $disp_number}--> 
     169                        <option value="<!--{$num}-->" selected="selected" ><!--{$dispnum}--></option> 
     170                        <!--{else}--> 
     171                        <option value="<!--{$num}-->" ><!--{$dispnum}--></option> 
     172                        <!--{/if}--> 
     173                    <!--{/foreach}--> 
     174                </select> 
     175            </div> 
     176            <div class="navi"><!--{$tpl_strnavi}--></div> 
     177        </div> 
     178    <!--{/capture}--> 
     179    <!--▲ページナビ(本文)--> 
     180 
     181    <!--{foreach from=$arrProducts item=arrProduct name=arrProducts}--> 
     182 
     183        <!--{if $smarty.foreach.arrProducts.first}--> 
     184            <!--▼件数--> 
     185            <div> 
     186                <span class="pagenumber"><!--{$tpl_linemax}--></span>件の商品がございます。 
     187            </div> 
     188            <!--▲件数--> 
     189             
     190            <!--▼ページナビ(上部)--> 
     191            <form name="page_navi_top" id="page_navi_top" action="?"> 
     192                <!--{if $tpl_linemax > 0}--><!--{$smarty.capture.page_navi_body|smarty:nodefaults}--><!--{/if}--> 
     193            </form> 
     194            <!--▲ページナビ(上部)--> 
     195        <!--{/if}--> 
     196 
     197        <!--{assign var=id value=$arrProduct.product_id}--> 
     198        <!--{assign var=arrErr value=$arrProduct.arrErr}--> 
     199        <!--▼商品--> 
     200        <div class="listarea"> 
     201        <a name="product<!--{$id|escape}-->" /> 
     202            <div class="listphoto"> 
     203                <!--★画像★--> 
     204                <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->" class="over"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProduct.main_list_image|sfNoImageMainList|escape}-->" alt="<!--{$arrProduct.name|escape}-->" class="picture" /></a> 
     205            </div> 
     206             
     207            <div class="listrightblock"> 
     208                <!--▼商品ステータス--> 
     209                <!--{if count($arrProduct.product_flag) > 0}--> 
     210                    <ul class="status_icon"> 
     211                        <!--{section name=flg loop=$arrProduct.product_flag|count_characters}--> 
     212                            <!--{if $arrProduct.product_flag[flg] == "1"}--> 
     213                                <li> 
     214                                    <!--{assign var=key value="`$smarty.section.flg.iteration`"}--> 
     215                                    <img src="<!--{$TPL_DIR}--><!--{$arrSTATUS_IMAGE[$key]}-->" width="65" height="17" alt="<!--{$arrSTATUS[$key]}-->"/> 
     216                                </li> 
     217                            <!--{/if}--> 
     218                        <!--{/section}--> 
     219                    </ul> 
     220                <!--{/if}--> 
     221                <!--▲商品ステータス--> 
     222                 
     223                <!--★商品名★--> 
     224                <h3> 
     225                    <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->" name="product<!--{$arrProduct.product_id}-->"><!--{$arrProduct.name|escape}--></a> 
     226                </h3> 
     227                 
     228                <!--★コメント★--> 
     229                <p class="listcomment"><!--{$arrProduct.main_list_comment|escape|nl2br}--></p> 
     230                 
     231                <p> 
     232                    <span class="pricebox sale_price"> 
     233                        <!--{$smarty.const.SALE_PRICE_TITLE}--><span class="mini">(税込)</span>: 
     234                        <span class="price"> 
     235                            <span id="price02_default_<!--{$id}-->"> 
     236                                <!--{if $arrProduct.price02_min == $arrProduct.price02_max}--> 
     237                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     238                                <!--{else}--> 
     239                                    <!--{$arrProduct.price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->~<!--{$arrProduct.price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     240                                <!--{/if}--> 
     241                            </span><span id="price02_dynamic_<!--{$id}-->"></span> 
     242                            円</span> 
     243                    </span> 
     244                     
     245                    <!--★詳細ボタン★--> 
     246                    <span class="btnbox"> 
     247                        <!--{assign var=name value="detail`$id`"}--> 
     248                        <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProduct.product_id|escape:url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"> 
     249                            <img src="<!--{$TPL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="詳しくはこちら" name="<!--{$name}-->" id="<!--{$name}-->" /></a> 
     250                    </span> 
     251                </p> 
     252 
     253                <!--▼買い物かご--> 
     254                <form name="product_form<!--{$id|escape}-->" action="?" onsubmit="return false;"> 
     255                    <input type="hidden" name="product_id" value="<!--{$id|escape}-->" /> 
     256                    <div class="in_cart"> 
     257                        <!--{if $tpl_stock_find[$id]}--> 
     258                            <dl> 
     259                                <!--{if $tpl_classcat_find1[$id]}--> 
     260                                    <!--▼規格1--> 
     261                                    <dt><!--{$tpl_class_name1[$id]|escape}-->:</dt> 
     262                                    <dd> 
     263                                        <select name="classcategory_id1" 
     264                                            style="<!--{$arrErr.classcategory_id1|sfGetErrorColor}-->" 
     265                                            onchange="fnSetClassCategories(this.form);" 
     266                                        > 
     267                                            <!--{html_options options=$arrClassCat1[$id] selected=$arrProduct.classcategory_id1}--> 
     268                                        </select> 
     269                                        <!--{if $arrErr.classcategory_id1 != ""}--> 
     270                                            <br /><span class="attention">※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。</span> 
     271                                        <!--{/if}--> 
     272                                    </dd> 
     273                                    <!--▲規格1--> 
     274                                <!--{/if}--> 
     275                                <!--{if $tpl_classcat_find2[$id]}--> 
     276                                    <!--▼規格2--> 
     277                                    <dt><!--{$tpl_class_name2[$id]|escape}-->:</dt> 
     278                                    <dd> 
     279                                        <select name="classcategory_id2" 
     280                                            style="<!--{$arrErr.classcategory_id2|sfGetErrorColor}-->" 
     281                                            onchange="fnCheckStock(this.form);" 
     282                                        > 
     283                                        </select> 
     284                                        <!--{if $arrErr.classcategory_id2 != ""}--> 
     285                                            <br /><span class="attention">※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。</span> 
     286                                        <!--{/if}--> 
     287                                    </dd> 
     288                                    <!--▲規格2--> 
     289                                <!--{/if}--> 
     290 
     291                                <dt>数量:</dt> 
     292                                <dd> 
     293                                    <input type="text" name="quantity" class="box54" value="<!--{$arrProduct.quantity|default:1|escape}-->" maxlength="<!--{$smarty.const.INT_LEN}-->" style="<!--{$arrErr.quantity|sfGetErrorColor}-->" /> 
     294                                    <!--{if $arrErr.quantity != ""}--> 
     295                                        <br /><span class="attention"><!--{$arrErr.quantity}--></span> 
     296                                    <!--{/if}--> 
     297                                </dd> 
     298                            </dl> 
     299                            <div class="cartbtn"> 
     300                                <!--★カゴに入れる★--> 
     301                                <div id="cartbtn_default_<!--{$id}-->"> 
     302                                    <input 
     303                                        type="image" 
     304                                        id="cart<!--{$id}-->" 
     305                                        src="<!--{$TPL_DIR}-->img/products/b_cartin.gif" 
     306                                        alt="カゴに入れる" 
     307                                        onclick="fnInCart(this.form); return false;" 
     308                                        onmouseover="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin_on.gif', this);" 
     309                                        onmouseout="chgImg('<!--{$TPL_DIR}-->img/products/b_cartin.gif', this);" 
     310                                    /> 
     311                                </div> 
     312                                <div class="attention" id="cartbtn_dynamic_<!--{$id}-->"></div> 
     313                            </div> 
     314                        <!--{else}--> 
     315                            <div class="cartbtn attention">申し訳ございませんが、只今品切れ中です。</div> 
     316                        <!--{/if}--> 
     317                    </div> 
     318                </form> 
     319                <!--▲買い物かご--> 
     320                 
     321            </div> 
     322        </div> 
     323        <!--▲商品--> 
     324 
     325        <!--{if $smarty.foreach.arrProducts.last}--> 
     326            <!--▼ページナビ(下部)--> 
     327            <form name="page_navi_bottom" id="page_navi_bottom" action="?"> 
     328                <!--{if $tpl_linemax > 0}--><!--{$smarty.capture.page_navi_body|smarty:nodefaults}--><!--{/if}--> 
     329            </form> 
     330            <!--▲ページナビ(下部)--> 
     331        <!--{/if}--> 
     332 
     333    <!--{foreachelse}--> 
     334        <!--{include file="frontparts/search_zero.tpl"}--> 
     335    <!--{/foreach}--> 
     336 
    205337</div> 
    206338<!--▲CONTENTS--> 
Note: See TracChangeset for help on using the changeset viewer.