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/test/kakinaka/templates/script.tpl

    r12157 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                <!--{/if}--> 
     
    126126                <!--{section name=cnt loop=$arrProducts}--> 
    127127                <!--{assign var=id value=$arrProducts[cnt].product_id}--> 
    128                 <!--¢§¾¦Éʤ³¤³¤«¤é--> 
     128                <!--▼商品ここから--> 
    129129                <tr valign="top"> 
    130130                    <td><a name="product<!--{$id}-->" id="product<!--{$id}-->"></a></td> 
    131                     <td><!--¡ú²èÁü¡ú--><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}-->" width="130" height="130" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td> 
     131                    <td><!--★画像★--><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}-->" width="130" height="130" alt="<!--{$arrProducts[cnt].name|escape}-->" /></a></div></td> 
    132132                    <td align="right"> 
    133133                        <table width="420" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    134                             <!--¥¢¥¤¥³¥ó--> 
     134                            <!--アイコン--> 
    135135                            <tr> 
    136136                                <td colspan="2"> 
    137                                 <!--¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹--> 
     137                                <!--商品ステータス--> 
    138138                                <!--{assign var=sts_cnt value=0}--> 
    139139                                <!--{section name=flg loop=$arrProducts[cnt].product_flag|count_characters}--> 
     
    143143                                    <!--{/if}--> 
    144144                                <!--{/section}--> 
    145                                 <!--¾¦ÉÊ¥¹¥Æ¡¼¥¿¥¹--> 
    146                                 </td> 
    147                             </tr> 
    148                             <!--¥¢¥¤¥³¥ó--> 
     145                                <!--商品ステータス--> 
     146                                </td> 
     147                            </tr> 
     148                            <!--アイコン--> 
    149149                            <!--{if $sts_cnt > 0}--> 
    150150                            <tr><td height="8"></td></tr> 
     
    155155                                    <tr><td height="5"></td></tr> 
    156156                                    <tr> 
    157                                         <td class="fs14"><!--¡ú¾¦ÉÊ̾¡ú-->¡¡<a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--¾¦ÉÊ̾--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td> 
     157                                        <td class="fs14"><!--★商品名★--> <a href="<!--{$smarty.const.DETAIL_P_HTML}--><!--{$arrProducts[cnt].product_id}-->" class="over"><!--商品名--><strong><!--{$arrProducts[cnt].name|escape}--></strong></a></td> 
    158158                                    </tr> 
    159159                                    <tr><td height="5"></td></tr> 
     
    164164                            <tr><td height="8"></td></tr> 
    165165                            <tr> 
    166                                 <td colspan="2" class="fs12"><!--¡ú¥³¥á¥ó¥È¡ú--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td> 
     166                                <td colspan="2" class="fs12"><!--★コメント★--><!--{$arrProducts[cnt].main_list_comment|escape|nl2br}--></td> 
    167167                            </tr> 
    168168                            <tr><td height="8"></td></tr> 
    169169                            <tr> 
    170170                                <td> 
    171                                     <span class="red"><span class="fs12">²Á³Ê</span><span class="fs10">(Àǹþ)</span></span><span class="redst"><span class="fs12">¡§ 
     171                                    <span class="red"><span class="fs12">価格</span><span class="fs10">(税込)</span></span><span class="redst"><span class="fs12">: 
    172172                                    <!--{if $arrProducts[cnt].price02_min == $arrProducts[cnt].price02_max}--> 
    173173                                        <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    174174                                    <!--{else}--> 
    175                                         <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}-->¡Á<!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
     175                                        <!--{$arrProducts[cnt].price02_min|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--><!--{$arrProducts[cnt].price02_max|sfPreTax:$arrSiteInfo.tax:$arrSiteInfo.tax_rule|number_format}--> 
    176176                                    <!--{/if}--> 
    177                                     ±ß</span></span> 
     177                                    </span></span> 
    178178                                </td> 
    179179                                <!--{assign var=name value="detail`$smarty.section.cnt.iteration`"}--> 
    180                                 <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> 
     180                                <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> 
    181181                            </tr> 
    182182                            <!--{if $arrProducts[cnt].stock_max == 0 && $arrProducts[cnt].stock_unlimited_max != 1}--> 
    183183                                <tr> 
    184                                     <td class="fs12"><span class="red">¿½¤·Ìõ¤´¤¶¤¤¤Þ¤»¤ó¤¬¡¢Âþº£ÉÊÀÚ¤ìÃæ¤Ç¤¹¡£</span></td> 
     184                                    <td class="fs12"><span class="red">申し訳ございませんが、只今品切れ中です。</span></td> 
    185185                                </tr> 
    186186                            <!--{else}--> 
    187                                 <!--¢§Ç㤤ʪ¤«¤´--> 
     187                                <!--▼買い物かご--> 
    188188                                <tr><td height=5></td></tr> 
    189189                                <tr valign="top" align="right" id="price"> 
     
    196196                                                    <!--{assign var=class1 value=classcategory_id`$id`_1}--> 
    197197                                                    <!--{assign var=class2 value=classcategory_id`$id`_2}--> 
    198                                                     <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}-->¢¨ <!--{$tpl_class_name1[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr> 
     198                                                    <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class1] != ""}-->※ <!--{$tpl_class_name1[$id]}-->を入力して下さい。<!--{/if}--></span></td></tr> 
    199199                                                    <tr> 
    200                                                         <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}-->¡§ </td> 
     200                                                        <td align="right" class="fs12st"><!--{$tpl_class_name1[$id]|escape}--> </td> 
    201201                                                        <td> 
    202202                                                            <select name="<!--{$class1}-->" style="<!--{$arrErr[$class1]|sfGetErrorColor}-->" onchange="lnSetSelect('<!--{$class1}-->', '<!--{$class2}-->', '<!--{$id}-->','');"> 
    203                                                             <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option> 
     203                                                            <option value="">選択してください</option> 
    204204                                                            <!--{html_options options=$arrClassCat1[$id] selected=$arrForm[$class1]}--> 
    205205                                                            </select> 
     
    208208                                                    <!--{/if}--> 
    209209                                                    <!--{if $tpl_classcat_find2[$id]}--> 
    210                                                     <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}-->¢¨ <!--{$tpl_class_name2[$id]}-->¤òÆþÎϤ·¤Æ²¼¤µ¤¤¡£<!--{/if}--></span></td></tr> 
     210                                                    <tr><td colspan="2" height="5" align="center" class="fs12"><span class="redst"><!--{if $arrErr[$class2] != ""}-->※ <!--{$tpl_class_name2[$id]}-->を入力して下さい。<!--{/if}--></span></td></tr> 
    211211                                                    <tr> 
    212                                                         <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}-->¡§ </td> 
     212                                                        <td align="right" class="fs12st"><!--{$tpl_class_name2[$id]|escape}--> </td> 
    213213                                                        <td> 
    214214                                                            <select name="<!--{$class2}-->" style="<!--{$arrErr[$class2]|sfGetErrorColor}-->"> 
    215                                                             <option value="">ÁªÂò¤·¤Æ¤¯¤À¤µ¤¤</option> 
     215                                                            <option value="">選択してください</option> 
    216216                                                            </select> 
    217217                                                        </td> 
     
    221221                                                    <tr><td colspan="2" height="10" align="center" class="fs12"><span class="redst"><!--{$arrErr[$quantity]}--></span></td></tr> 
    222222                                                    <tr> 
    223                                                         <td align="right" width="115" class="fs12st">¸Ä¿ô¡§  
     223                                                        <td align="right" width="115" class="fs12st">個数:  
    224224                                                            <!--{if $arrErr.quantity != ""}--><br/><span class="redst"><!--{$arrErr.quantity}--></span><!--{/if}--> 
    225225                                                            <input type="text" name="<!--{$quantity}-->" size="3" class="box3" value="<!--{$arrForm[$quantity]|default:1}-->" maxlength=<!--{$smarty.const.INT_LEN}--> style="<!--{$arrErr[$quantity]|sfGetErrorColor}-->" > 
    226226                                                        </td> 
    227227                                                        <td width="170" align="center"> 
    228                                                             <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> 
     228                                                            <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> 
    229229                                                        </td> 
    230230                                                    </tr> 
     
    236236                                    </td> 
    237237                                </tr> 
    238                                 <!--¢¥Ç㤤ʪ¤«¤´-->  
     238                                <!--▲買い物かご-->    
    239239                            <!--{/if}-->                     
    240240                        </table> 
     
    245245                </table> 
    246246 
    247                 <!--·ï¿ô¤³¤³¤«¤é--> 
     247                <!--件数ここから--> 
    248248                <!--{if $tpl_linemax > 0}--> 
    249249                <table width="580" border="0" cellspacing="0" cellpadding="0" summary=" "> 
     
    253253                        <table width="560" border="0" cellspacing="0" cellpadding="0" summary=" "> 
    254254                            <tr> 
    255                                 <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>·ï¤Î¾¦Éʤ¬¤´¤¶¤¤¤Þ¤¹¡£<!--{$tpl_strnavi}--></td> 
    256                                 <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> 
     255                                <td class="fs12" align="left"><span class="redst"><!--{$tpl_linemax}--></span>件の商品がございます。<!--{$tpl_strnavi}--></td> 
     256                                <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> 
    257257                            </tr> 
    258258                        </table> 
     
    262262                    <tr><td height="15"></td></tr> 
    263263                </table> 
    264                 <!--·ï¿ô¤³¤³¤Þ¤Ç--> 
     264                <!--件数ここまで--> 
    265265                <!--{/if}--> 
    266266                </form> 
    267                 <!--¢¥RIGHT CONTENTS--> 
     267                <!--RIGHT CONTENTS--> 
    268268            </tr> 
    269269        </table> 
    270         <!--¢¥MAIN CONTENTS--> 
     270        <!--MAIN CONTENTS--> 
    271271        </td> 
    272272    </tr> 
    273273</table> 
    274 <!--¢¥CONTENTS--> 
     274<!--CONTENTS--> 
Note: See TracChangeset for help on using the changeset viewer.