Ignore:
Timestamp:
2007/07/20 15:58:59 (17 years ago)
Author:
nanasess
Message:

r15064 から svn cp
とりあえず暫定コミット.

  • UTF-8 に変更
  • slib.php, glib.php のクラス化
  • LC_Page の抽象化(一部)
Location:
branches/feature-module-update
Files:
1 edited
2 copied

Legend:

Unmodified
Added
Removed
  • branches/feature-module-update

    • Property svn:ignore set to
      .cache

      .settings

      .projectOptions
  • branches/feature-module-update/html/install/user_data/templates/default1/templates/list.tpl

    r13457 r15078  
    66<script type="text/javascript"> 
    77<!-- 
    8 // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤Ë¹àÌܤò³ä¤êÅö¤Æ¤ë¡£ 
     8// セレクトボックスに項目を割り当てる。 
    99function lnSetSelect(name1, name2, id, val) { 
    1010    sele1 = document.form1[name1]; 
     
    1616        index = sele1.selectedIndex; 
    1717         
    18         // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤Î¥¯¥ê¥¢ 
     18        // セレクトボックスのクリア 
    1919        count = sele2.options.length; 
    2020        for(i = count; i >= 0; i--) { 
     
    2222        } 
    2323         
    24         // ¥»¥ì¥¯¥È¥Ü¥Ã¥¯¥¹¤ËÃͤò³ä¤êÅö¤Æ¤ë 
     24        // セレクトボックスに値を割り当てる 
    2525        len = lists[index].length; 
    2626        for(i = 0; i < len; i++) { 
     
    3535</script> 
    3636 
    37 <!--¢§CONTENTS--> 
     37<!--CONTENTS--> 
    3838<table width="" cellspacing="0" cellpadding="0" summary=" "> 
    3939    <tr> 
    4040        <td bgcolor="#ffffff" align="left"> 
    41         <!--¢§MAIN CONTENTS--> 
     41        <!--MAIN CONTENTS--> 
    4242        <table cellspacing="0" cellpadding="0" summary=" " id="container"> 
    4343            <tr valign="top"> 
     
    4949 
    5050                <td id="right"> 
    51                 <!--¥¿¥¤¥È¥ë¤³¤³¤«¤é--> 
     51                <!--タイトルここから--> 
    5252                <table width="" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    5353                    <tr><td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/products/title_top.gif" width="580" height="8" alt=""></td></tr> 
     
    5757                        <table width="546" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    5858                            <tr valign="top"> 
    59                                 <td class="fs18"><span class="blackst"><!--¡ú¥¿¥¤¥È¥ë¡ú--><!--{$tpl_subtitle}--></span></td> 
     59                                <td class="fs18"><span class="blackst"><!--★タイトル★--><!--{$tpl_subtitle}--></span></td> 
    6060                            </tr> 
    6161                        </table> 
     
    6666                    <tr><td height="10"></td></tr> 
    6767                </table> 
    68                 <!--¥¿¥¤¥È¥ë¤³¤³¤Þ¤Ç--> 
    69  
    70                 <!--¸¡º÷¾ò·ï¤³¤³¤«¤é--> 
    71                 <!--{if $tpl_subtitle == "¸¡º÷·ë²Ì"}--> 
     68                <!--タイトルここまで--> 
     69 
     70                <!--検索条件ここから--> 
     71                <!--{if $tpl_subtitle == "検索結果"}--> 
    7272                <table width="" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    7373                    <tr><td><img src="<!--{$smarty.const.URL_DIR}-->img/products/flame_top.gif" width="580" height="8" alt=""></td></tr> 
     
    8585                                    <tr><td height="10"></td></tr> 
    8686                                    <tr> 
    87                                         <td class="fs12"><!--¡ú¸¡º÷·ë²Ì¡ú--><span class="blackst">¾¦ÉÊ¥«¥Æ¥´¥ê¡§</span><span class="black"><!--{$arrSearch.category|escape}--></span><br> 
    88                                         <span class="blackst">¾¦ÉÊ̾¡§</span><span class="black"><!--{$arrSearch.name|escape}--></span> 
     87                                        <td class="fs12"><!--★検索結果★--><span class="blackst">商品カテゴリ:</span><span class="black"><!--{$arrSearch.category|escape}--></span><br> 
     88                                        <span class="blackst">商品名:</span><span class="black"><!--{$arrSearch.name|escape}--></span> 
    8989                                    </tr> 
    9090                                    <tr><td height="10"></td></tr> 
     
    100100                </table> 
    101101                <!--{/if}--> 
    102                 <!--¸¡º÷¾ò·ï¤³¤³¤Þ¤Ç--> 
     102                <!--検索条件ここまで--> 
    103103                 
    104                 <!--·ï¿ô¤³¤³¤«¤é--> 
     104                <!--件数ここから--> 
    105105                <!--{if $tpl_linemax > 0}--> 
    106106                <table width="" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     
    110110                        <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    111111                            <tr> 
    112                                 <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>·ï¤Î¾¦Éʤ¬¤´¤¶¤¤¤Þ¤¹¡£<!--{$tpl_strnavi}--></td> 
    113                                 <td class="fs12" align="right"><!--{if $orderby != 'price'}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'price')">²Á³Ê½ç</a><!--{else}--><strong>²Á³Ê½ç</strong><!--{/if}-->¡¡<!--{if $orderby != "date"}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'date')">¿·Ãå½ç</a><!--{else}--><strong>¿·Ãå½ç</strong><!--{/if}--></td> 
     112                                <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>件の商品がございます。<!--{$tpl_strnavi}--></td> 
     113                                <td class="fs12" align="right"><!--{if $orderby != 'price'}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'price')">価格順</a><!--{else}--><strong>価格順</strong><!--{/if}--> <!--{if $orderby != "date"}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'date')">新着順</a><!--{else}--><strong>新着順</strong><!--{/if}--></td> 
    114114                            </tr> 
    115115                        </table> 
     
    119119                    <tr><td height="15"></td></tr> 
    120120                </table> 
    121                 <!--·ï¿ô¤³¤³¤Þ¤Ç--> 
     121                <!--件数ここまで--> 
    122122                <!--{else}--> 
    123123                <!--{include file="frontparts/search_zero.tpl"}--> 
     
    127127                <!--{section name=cnt loop=$arrProducts}--> 
    128128                <!--{assign var=id value=$arrProducts[cnt].product_id}--> 
    129                 <!--¢§¾¦Éʤ³¤³¤«¤é--> 
     129                <!--▼商品ここから--> 
    130130                <tr valign="top"> 
    131131                    <td><a name="product<!--{$id}-->" id="product<!--{$id}-->"></a></td> 
    132                     <td align="center" valign="middle"><!--¡ú²èÁü¡ú--><div id="picture"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->"><!--¾¦Éʼ̿¿--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td> 
     132                    <td align="center" valign="middle"><!--★画像★--><div id="picture"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->"><!--商品写真--><img src="<!--{$smarty.const.IMAGE_SAVE_URL|sfTrimURL}-->/<!--{$arrProducts[cnt].main_list_image}-->" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td> 
    133133                    <td align="right"> 
    134134                        <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    135                             <!--¥¢¥¤¥³¥ó--> 
     135                            <!--アイコン--> 
    136136                            <tr> 
    137137                                <td colspan="2"> 
    138                                 <!--¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹--> 
     138                                <!--商品ステータス--> 
    139139                                <!--{assign var=sts_cnt value=0}--> 
    140140                                <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}--> 
     
    144144                                    <!--{/if}--> 
    145145                                <!--{/section}--> 
    146                                 <!--¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹--> 
    147                                 </td> 
    148                             </tr> 
    149                             <!--¥¢¥¤¥³¥ó--> 
     146                                <!--商品ステータス--> 
     147                                </td> 
     148                            </tr> 
     149                            <!--アイコン--> 
    150150                            <!--{if $sts_cnt > 0}--> 
    151151                            <tr><td height="8"></td></tr> 
     
    156156                                    <tr><td height="5"></td></tr> 
    157157                                    <tr> 
    158                                         <td class="fs14"><!--¡ú¾¦ÉÊ̾¡ú-->¡¡<a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--¾¦ÉÊ̾--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td> 
     158                                        <td class="fs14"><!--★商品名★--> <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--商品名--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td> 
    159159                                    </tr> 
    160160                                    <tr><td height="5"></td></tr> 
     
    165165                            <tr><td height="8"></td></tr> 
    166166                            <tr> 
    167                                 <td colspan="2" class="fs12"><!--¡ú¥³¥á¥ó¥È¡ú--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td> 
     167                                <td colspan="2" class="fs12"><!--★コメント★--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td> 
    168168                            </tr> 
    169169                            <tr><td height="8"></td></tr> 
    170170                            <tr> 
    171171                                <td> 
    172                                     <span class="red"><span class="fs12">²Á³Ê</span><span class="fs10">(Àǹþ)</span></span><span class="redst"><span class="fs12">¡§ 
     172                                    <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    173173                                    <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> 
    174174                                        <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    175175                                    <!--{else}--> 
    176                                         <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->¡Á<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     176                                        <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    177177                                    <!--{/if}--> 
    178                                     ±ß</span></span> 
     178                                    </span></span> 
    179179                                </td> 
    180180                                <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}--> 
    181                                 <td align="right"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"><img src="<!--{$smarty.const.URL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="¾Ü¤·¤¯¤Ï¤³¤Á¤é" name="<!--{$name}-->" id="<!--{$name}-->" /></a></td> 
     181                                <td align="right"><a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_detail_on.gif','<!--{$name}-->');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_detail.gif','<!--{$name}-->');"><img src="<!--{$smarty.const.URL_DIR}-->img/products/b_detail.gif" width="115" height="25" alt="詳しくはこちら" name="<!--{$name}-->" id="<!--{$name}-->" /></a></td> 
    182182                            </tr> 
    183183                            <!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}--> 
    184184                                <tr> 
    185                                     <td class="fs12"><span class="red">¿½¤·Ìõ¤´¤¶¤¤¤Þ¤»¤ó¤¬¡¢Âþº£ÉÊÀÚ¤ìÃæ¤Ç¤¹¡£</span></td> 
     185                                    <td class="fs12"><span class="red">申し訳ございませんが、只今品切れ中です。</span></td> 
    186186                                </tr> 
    187187                            <!--{else}--> 
    188                                 <!--¢§Ç㤤ʪ¤«¤´--> 
     188                                <!--▼買い物かご--> 
    189189                                <tr><td height=5></td></tr> 
    190190                                <tr valign="top" align="right" id="price"> 
     
    197197                                                    <!--{assign var=class1 value=classcategory_id`$id`_1}--> 
    198198                                                    <!--{assign var=class2 value=classcategory_id`$id`_2}--> 
    199                                                     <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}-->¢¨ <!--{$tpl_class_name1[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr> 
     199                                                    <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}-->※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。<!--{/if}--></span></td></tr> 
    200200                                                    <tr> 
    201                                                         <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}-->¡§ </td> 
     201                                                        <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}--> </td> 
    202202                                                        <td> 
    203203                                                            <select name="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');"> 
    204                                                             <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option> 
     204                                                            <option value="">選択してください</option> 
    205205                                                            <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}--> 
    206206                                                            </select> 
     
    209209                                                    <!--{/if}--> 
    210210                                                    <!--{if $tpl_classcat_find2[$id]}--> 
    211                                                     <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}-->¢¨ <!--{$tpl_class_name2[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr> 
     211                                                    <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}-->※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。<!--{/if}--></span></td></tr> 
    212212                                                    <tr> 
    213                                                         <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}-->¡§ </td> 
     213                                                        <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}--> </td> 
    214214                                                        <td> 
    215215                                                            <select name="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->"> 
    216                                                             <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option> 
     216                                                            <option value="">選択してください</option> 
    217217                                                            </select> 
    218218                                                        </td> 
     
    222222                                                    <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{$arrErr[$quantity]}--></span></td></tr> 
    223223                                                    <tr> 
    224                                                         <td align="right" width="115" class="fs12st">¸Ä¿ô¡§  
     224                                                        <td align="right" width="115" class="fs12st">個数:  
    225225                                                            <!--{if $arrErr.quantity != ""}--><br/><span class="redst"><!--{$arrErr.quantity}--></span><!--{/if}--> 
    226226                                                            <input type="text" name="<!--{$quantity}-->" size="3" class="box3" value="<!--{$arrForm[$quantity]|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> style="<!--{$arrErr[$quantity]|sfGetErrorColor}-->" > 
    227227                                                        </td> 
    228228                                                        <td width="170" align="center"> 
    229                                                             <a href="" onclick="fnChangeAction('<!--{$smarty.server.REQUEST_URI|escape}-->#product<!--{$id}-->'); fnModeSubmit('cart','product_id','<!--{$id}-->'); return false;" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_cartin_on.gif','cart<!--{$id}-->');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_cartin.gif','cart<!--{$id}-->');"><img src="<!--{$smarty.const.URL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="¥«¥´¤ËÆþ¤ì¤ë" name="cart<!--{$id}-->" id="cart<!--{$id}-->" /></a> 
     229                                                            <a href="" onclick="fnChangeAction('<!--{$smarty.server.REQUEST_URI|escape}-->#product<!--{$id}-->'); fnModeSubmit('cart','product_id','<!--{$id}-->'); return false;" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_cartin_on.gif','cart<!--{$id}-->');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/products/b_cartin.gif','cart<!--{$id}-->');"><img src="<!--{$smarty.const.URL_DIR}-->img/products/b_cartin.gif" width="115" height="25" alt="カゴに入れる" name="cart<!--{$id}-->" id="cart<!--{$id}-->" /></a> 
    230230                                                        </td> 
    231231                                                    </tr> 
     
    237237                                    </td> 
    238238                                </tr> 
    239                                 <!--¢¥Ç㤤ʪ¤«¤´-->  
     239                                <!--▲買い物かご-->    
    240240                            <!--{/if}-->                     
    241241                        </table> 
     
    246246                </table> 
    247247 
    248                 <!--·ï¿ô¤³¤³¤«¤é--> 
     248                <!--件数ここから--> 
    249249                <!--{if $tpl_linemax > 0}--> 
    250250                <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     
    254254                        <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    255255                            <tr> 
    256                                 <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>·ï¤Î¾¦Éʤ¬¤´¤¶¤¤¤Þ¤¹¡£<!--{$tpl_strnavi}--></td> 
    257                                 <td class="fs12" align="right"><!--{if $orderby != 'price'}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'price')">²Á³Ê½ç</a><!--{else}--><strong>²Á³Ê½ç</strong><!--{/if}-->¡¡<!--{if $orderby != "date"}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'date')">¿·Ãå½ç</a><!--{else}--><strong>¿·Ãå½ç</strong><!--{/if}--> </td> 
     256                                <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>件の商品がございます。<!--{$tpl_strnavi}--></td> 
     257                                <td class="fs12" align="right"><!--{if $orderby != 'price'}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'price')">価格順</a><!--{else}--><strong>価格順</strong><!--{/if}--> <!--{if $orderby != "date"}--><a href="#" onclick="fnModeSubmit('', 'orderby', 'date')">新着順</a><!--{else}--><strong>新着順</strong><!--{/if}--> </td> 
    258258                            </tr> 
    259259                        </table> 
     
    263263                    <tr><td height="15"></td></tr> 
    264264                </table> 
    265                 <!--·ï¿ô¤³¤³¤Þ¤Ç--> 
     265                <!--件数ここまで--> 
    266266                <!--{/if}--> 
    267267                </form> 
    268                 <!--¢¥RIGHT CONTENTS--> 
     268                <!--RIGHT CONTENTS--> 
    269269            </tr> 
    270270        </table> 
    271         <!--¢¥MAIN CONTENTS--> 
     271        <!--MAIN CONTENTS--> 
    272272        </td> 
    273273    </tr> 
    274274</table> 
    275 <!--¢¥CONTENTS--> 
     275<!--CONTENTS--> 
Note: See TracChangeset for help on using the changeset viewer.