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/cart/index.tpl

    r18432 r18609  
    2020 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA. 
    2121 *}--> 
     22<script type="text/javascript" src="<!--{$TPL_DIR}-->js/jquery-1.3.2.min.js"></script> 
     23<script type="text/javascript" src="<!--{$TPL_DIR}-->js/jquery.easing.1.3.js"></script> 
     24<script type="text/javascript" src="<!--{$TPL_DIR}-->jquery.fancybox/jquery.fancybox-1.2.1.pack.js"></script> 
     25<link rel="stylesheet" href="<!--{$TPL_DIR}-->jquery.fancybox/jquery.fancybox.css" type="text/css" media="screen" /> 
     26<script type="text/javascript">//<![CDATA[ 
     27    $(document).ready(function() { 
     28        $("a.expansion").fancybox({ 
     29        }); 
     30    }); 
     31//]]></script> 
     32 
    2233<!--▼CONTENTS--> 
    2334<div id="under02column"> 
    24   <div id="under02column_cart"> 
    25     <h2 class="title"> 
    26       <img src="<!--{$TPL_DIR}-->img/cart/title.jpg" width="700" height="40" alt="現在のカゴの中" /> 
    27     </h2> 
    28     <!--{if $smarty.const.USE_POINT === true || count($arrProductsClass) > 0}--> 
    29     <p class="totalmoneyarea"> 
    30       <!--★ポイント案内★--> 
    31       <!--{if $smarty.const.USE_POINT === true}--> 
    32         <!--{if $tpl_login}--> 
    33           <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 
    34         <!--{else}--> 
    35           ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br /> 
     35    <div id="under02column_cart"> 
     36        <h2 class="title"><!--{$tpl_title|escape}--></h2> 
     37        <!--{if $smarty.const.USE_POINT !== false || count($arrProductsClass) > 0}--> 
     38            <p class="totalmoneyarea"> 
     39                <!--★ポイント案内★--> 
     40                <!--{if $smarty.const.USE_POINT !== false}--> 
     41                    <!--{if $tpl_login}--> 
     42                        <!--{$tpl_name|escape}--> 様の、現在の所持ポイントは「<em><!--{$tpl_user_point|number_format|default:0}--> pt</em>」です。<br /> 
     43                    <!--{else}--> 
     44                        ポイント制度をご利用になられる場合は、会員登録後ログインしていだだきますようお願い致します。<br /> 
     45                    <!--{/if}--> 
     46                    ポイントは商品購入時に1pt=<!--{$smarty.const.POINT_VALUE}-->円として使用することができます。<br /> 
     47                <!--{/if}--> 
     48                 
     49                <!--{* カゴの中に商品がある場合にのみ表示 *}--> 
     50                <!--{if count($arrProductsClass) > 0 }--> 
     51                    お買い上げ商品の合計金額は「<em><!--{$tpl_total_pretax|number_format}-->円</em>」です。 
     52                    <!--{if $arrInfo.free_rule > 0}--> 
     53                        <!--{if $arrData.deliv_fee|number_format > 0}--> 
     54                            あと「<em><!--{$tpl_deliv_free|number_format}-->円</em>」で送料無料です!! 
     55                        <!--{else}--> 
     56                            現在、「<em>送料無料</em>」です!! 
     57                        <!--{/if}--> 
     58                    <!--{/if}--> 
     59                <!--{/if}--> 
     60            </p> 
    3661        <!--{/if}--> 
    37       <!--{/if}--> 
    3862 
    39       <!--{* カゴの中に商品がある場合にのみ表示 *}--> 
    40       <!--{if count($arrProductsClass) > 0 }--> 
    41         お買い上げ商品の合計金額は「<em><!--{$tpl_total_pretax|number_format}-->円</em>」です。 
    42         <!--{if $arrInfo.free_rule > 0}--> 
    43           <!--{if $arrData.deliv_fee|number_format > 0}--> 
    44             あと「<em><!--{$tpl_deliv_free|number_format}-->円</em>」で送料無料です!! 
    45           <!--{else}--> 
    46             現在、「<em>送料無料</em>」です!! 
    47           <!--{/if}--> 
    48         <!--{/if}--> 
    49       <!--{/if}--> 
    50     </p> 
     63    <!--{if strlen($tpl_error) != 0}--> 
     64        <p class="attention"><!--{$tpl_error|escape}--></p> 
    5165    <!--{/if}--> 
    5266 
    53    <!--{if $tpl_message != ""}--> 
    54     <p class="attention"><!--{$tpl_message|escape}--></p> 
    55    <!--{/if}--> 
     67    <!--{if strlen($tpl_message) != 0}--> 
     68        <p class="attention"><!--{$tpl_message|escape|nl2br}--></p> 
     69    <!--{/if}--> 
    5670 
    57    <!--{if count($arrProductsClass) > 0}--> 
     71    <!--{if count($arrProductsClass) > 0}--> 
    5872 
    59    <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->"> 
    60    <!--{if 'sfGMOCartDisplay'|function_exists}--> 
    61      <!--{'sfGMOCartDisplay'|call_user_func}--> 
    62    <!--{/if}--> 
     73        <form name="form1" id="form1" method="post" action="?"> 
     74            <!--{if 'sfGMOCartDisplay'|function_exists}--> 
     75                <!--{'sfGMOCartDisplay'|call_user_func}--> 
     76            <!--{/if}--> 
    6377 
    64      <input type="hidden" name="mode" value="confirm" /> 
    65      <input type="hidden" name="cart_no" value="" /> 
    66      <table summary="商品情報"> 
    67        <tr> 
    68          <th>削除</th> 
    69          <th>商品写真</th> 
    70          <th>商品名</th> 
    71          <th>単価</th> 
    72          <th>個数</th> 
    73          <th>小計</th> 
    74        </tr> 
    75       <!--{section name=cnt loop=$arrProductsClass}--> 
    76        <tr> 
    77          <td><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.server.PHP_SELF|escape}-->'); fnModeSubmit('delete', 'cart_no', '<!--{$arrProductsClass[cnt].cart_no}-->'); return false;">削除</a> 
    78          </td> 
    79          <td class="phototd"> 
    80            <a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="win01('../products/detail_image.php?product_id=<!--{$arrProductsClass[cnt].product_id}-->&image=main_image','detail_image','<!--{$arrProductsClass[cnt].tpl_image_width}-->','<!--{$arrProductsClass[cnt].tpl_image_height}-->'); return false;" target="_blank"> 
    81            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt].main_list_image}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt].name|escape}-->" /></a> 
    82          </td> 
    83          <td><!--{* 商品名 *}--><strong><!--{$arrProductsClass[cnt].name|escape}--></strong><br /> 
    84            <!--{if $arrProductsClass[cnt].classcategory_name1 != ""}--> 
    85              <!--{$arrProductsClass[cnt].class_name1}-->:<!--{$arrProductsClass[cnt].classcategory_name1}--><br /> 
    86            <!--{/if}--> 
    87            <!--{if $arrProductsClass[cnt].classcategory_name2 != ""}--> 
    88              <!--{$arrProductsClass[cnt].class_name2}-->:<!--{$arrProductsClass[cnt].classcategory_name2}--> 
    89            <!--{/if}--> 
    90          </td> 
    91          <td class="pricetd"> 
    92          <!--{if $arrProductsClass[cnt].price02 != ""}--> 
    93            <!--{$arrProductsClass[cnt].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 
    94          <!--{else}--> 
    95            <!--{$arrProductsClass[cnt].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 
    96          <!--{/if}--> 
    97          </td> 
    98          <td id="quantity"><!--{$arrProductsClass[cnt].quantity}--> 
    99            <ul id="quantity_level"> 
    100             <li><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.server.PHP_SELF|escape}-->'); fnModeSubmit('up','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/plus.gif" width="16" height="16" alt="+" /></a></li> 
    101             <li><a href="<!--{$smarty.server.PHP_SELF|escape}-->" onclick="fnChangeAction('<!--{$smarty.server.PHP_SELF|escape}-->'); fnModeSubmit('down','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/minus.gif" width="16" height="16" alt="-" /></a></li> 
    102            </ul> 
    103          </td> 
    104          <td class="pricetd"><!--{$arrProductsClass[cnt].total_pretax|number_format}-->円</td> 
    105      </tr> 
    106      <!--{/section}--> 
    107      <tr> 
    108        <th colspan="5" class="resulttd">小計</th> 
    109        <td class="pricetd"><!--{$tpl_total_pretax|number_format}--></td> 
    110     </tr> 
    111     <tr> 
    112       <th colspan="5" class="resulttd">合計</th> 
    113       <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td> 
    114     </tr> 
    115       <!--{if $smarty.const.USE_POINT === true}--> 
    116         <!--{if $arrData.birth_point > 0}--> 
    117         <tr> 
    118           <th colspan="5" class="resulttd">お誕生月ポイント</th> 
    119           <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> 
    120         </tr> 
    121         <!--{/if}--> 
    122         <tr> 
    123           <th colspan="5" class="resulttd">今回加算ポイント</th> 
    124           <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> 
    125         </tr> 
    126       <!--{/if}--> 
    127   </table> 
    128   <p class="mini">※商品写真は参考用写真です。ご注文のカラーと異なる写真が表示されている場合でも、商品番号に記載されているカラー表示で間違いございませんのでご安心ください。</p> 
    129   <div class="tblareabtn"> 
    130     <p> 
    131       <img src="<!--{$TPL_DIR}-->img/cart/text.gif" width="390" height="30" alt="上記内容でよろしければ「レジへ行く」ボタンをクリックしてください。" /> 
    132     </p> 
     78            <input type="hidden" name="mode" value="confirm" /> 
     79            <input type="hidden" name="cart_no" value="" /> 
     80            <table summary="商品情報"> 
     81                <tr> 
     82                    <th>削除</th> 
     83                    <th>商品写真</th> 
     84                    <th>商品名</th> 
     85                    <th>単価</th> 
     86                    <th>数量</th> 
     87                    <th>小計</th> 
     88                </tr> 
     89                <!--{section name=cnt loop=$arrProductsClass}--> 
     90                    <tr style="<!--{if $arrProductsClass[cnt].error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->"> 
     91                        <td><a href="?" onclick="fnModeSubmit('delete', 'cart_no', '<!--{$arrProductsClass[cnt].cart_no}-->'); return false;">削除</a> 
     92                        </td> 
     93                        <td class="phototd"> 
     94                        <a 
     95                            <!--{if $arrProductsClass[cnt].main_image|strlen >= 1}--> 
     96                                href="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrProductsClass[cnt].main_image|sfNoImageMainList|escape}-->" 
     97                                class="expansion" 
     98                                target="_blank" 
     99                            <!--{/if}--> 
     100                        > 
     101                            <img src="<!--{$smarty.const.URL_DIR}-->resize_image.php?image=<!--{$arrProductsClass[cnt].main_list_image|sfNoImageMainList|escape}-->&amp;width=65&amp;height=65" alt="<!--{$arrProductsClass[cnt].name|escape}-->" /></a> 
     102                        </td> 
     103                        <td><!--{* 商品名 *}--><strong><!--{$arrProductsClass[cnt].name|escape}--></strong><br /> 
     104                            <!--{if $arrProductsClass[cnt].classcategory_name1 != ""}--> 
     105                                <!--{$arrProductsClass[cnt].class_name1}-->:<!--{$arrProductsClass[cnt].classcategory_name1}--><br /> 
     106                            <!--{/if}--> 
     107                            <!--{if $arrProductsClass[cnt].classcategory_name2 != ""}--> 
     108                                <!--{$arrProductsClass[cnt].class_name2}-->:<!--{$arrProductsClass[cnt].classcategory_name2}--> 
     109                            <!--{/if}--> 
     110                        </td> 
     111                        <td class="pricetd"> 
     112                        <!--{if $arrProductsClass[cnt].price02 != ""}--> 
     113                            <!--{$arrProductsClass[cnt].price02|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 
     114                        <!--{else}--> 
     115                            <!--{$arrProductsClass[cnt].price01|sfPreTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円 
     116                        <!--{/if}--> 
     117                        </td> 
     118                        <td id="quantity"><!--{$arrProductsClass[cnt].quantity}--> 
     119                            <ul id="quantity_level"> 
     120                                <li><a href="?" onclick="fnModeSubmit('up','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/plus.gif" width="16" height="16" alt="+" /></a></li> 
     121                                <li><a href="?" onclick="fnModeSubmit('down','cart_no','<!--{$arrProductsClass[cnt].cart_no}-->'); return false"><img src="<!--{$TPL_DIR}-->img/cart/minus.gif" width="16" height="16" alt="-" /></a></li> 
     122                            </ul> 
     123                        </td> 
     124                        <td class="pricetd"><!--{$arrProductsClass[cnt].total_pretax|number_format}-->円</td> 
     125                     </tr> 
     126                 <!--{/section}--> 
     127                 <tr> 
     128                     <th colspan="5" class="resulttd">小計</th> 
     129                     <td class="pricetd"><!--{$tpl_total_pretax|number_format}-->円</td> 
     130                 </tr> 
     131                 <tr> 
     132                     <th colspan="5" class="resulttd">合計</th> 
     133                     <td class="pricetd"><em><!--{$arrData.total-$arrData.deliv_fee|number_format}-->円</em></td> 
     134                 </tr> 
     135                 <!--{if $smarty.const.USE_POINT !== false}--> 
     136                     <!--{if $arrData.birth_point > 0}--> 
     137                         <tr> 
     138                             <th colspan="5" class="resulttd">お誕生月ポイント</th> 
     139                             <td class="pricetd"><!--{$arrData.birth_point|number_format}-->pt</td> 
     140                         </tr> 
     141                     <!--{/if}--> 
     142                     <tr> 
     143                         <th colspan="5" class="resulttd">今回加算ポイント</th> 
     144                         <td class="pricetd"><!--{$arrData.add_point|number_format}-->pt</td> 
     145                    </tr> 
     146                <!--{/if}--> 
     147            </table> 
     148            <div class="tblareabtn"> 
     149                <!--{if strlen($tpl_error) == 0}--> 
     150                    <p>上記内容でよろしければ「購入手続きへ」ボタンをクリックしてください。</p> 
     151                <!--{/if}--> 
    133152 
    134    <!--{if $tpl_prev_url != ""}--> 
    135      <p> 
    136        <a href="<!--{$tpl_prev_url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/cart/b_pageback_on.gif','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/cart/b_pageback.gif','back');"> 
    137          <img src="<!--{$TPL_DIR}-->img/cart/b_pageback.gif" width="150" height="30" alt="買い物を続ける" name="back" id="back" /></a>&nbsp;&nbsp; 
    138    <!--{/if}--> 
    139        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/cart/b_buystep.gif" class="box150"  alt="購入手続きへ" name="confirm" /> 
    140      </p> 
    141   </div> 
    142 </form> 
    143 <!--{else}--> 
    144 <p class="empty"><em>※ 現在カート内に商品はございません。</em></p> 
    145 <!--{/if}--> 
    146 </div> 
     153                <p> 
     154                    <!--{if $tpl_prev_url != ""}--> 
     155                        <a href="<!--{$tpl_prev_url}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/cart/b_pageback_on.gif','back');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/cart/b_pageback.gif','back');"> 
     156                            <img src="<!--{$TPL_DIR}-->img/cart/b_pageback.gif" width="150" height="30" alt="買い物を続ける" name="back" id="back" /></a>&nbsp;&nbsp; 
     157                    <!--{/if}--> 
     158                    <!--{if strlen($tpl_error) == 0}--> 
     159                        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/cart/b_buystep.gif',this)" src="<!--{$TPL_DIR}-->img/cart/b_buystep.gif" class="box150" alt="購入手続きへ" name="confirm" /> 
     160                    <!--{/if}--> 
     161                 </p> 
     162            </div> 
     163        </form> 
     164    <!--{else}--> 
     165        <p class="empty"><em>※ 現在カート内に商品はございません。</em></p> 
     166    <!--{/if}--> 
     167    </div> 
    147168</div> 
    148169<!--▲CONTENTS--> 
Note: See TracChangeset for help on using the changeset viewer.