source: branches/comu-utf8/html/user_data/include/bloc/cart.tpl @ 15211

Revision 15211, 2.5 KB checked in by Yammy, 17 years ago (diff)

変数置換のreplaceテスト

Line 
1<!--{*
2 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
3 *
4 * http://www.lockon.co.jp/
5 *}-->
6<!--現在のカゴの中ここから-->
7<table width="166" border="0" cellspacing="0" cellpadding="0" summary=" ">
8    <tr>
9        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/side/title_cartin.jpg" width="166" height="35" alt="現在のカゴの中"></td>
10    </tr>
11    <tr>
12        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
13        <td align="center" bgcolor="#ffffff">
14        <table width="146" border="0" cellspacing="0" cellpadding="0" summary=" ">
15            <tr><td height="5"></td></tr>
16            <tr>
17                <!--{assign var=val value=$arrCartList.0.TotalQuantity|number_format|default:0}-->
18                <td class="fs10"><!--{$smarty.const._lang_product_quantity|replace:"__%Quantity%__":$val}--></td>
19            </tr>
20            <tr><td height="10"><img src="<!--{$smarty.const.URL_DIR}-->img/side/line_146.gif" width="146" height="1" alt=""></td></tr>
21            <tr>
22                <td class="fs12"><span class="redst">合計:<!--{$arrCartList.0.ProductsTotal|number_format|default:0}-->円</span></td>
23            </tr>
24            <tr><td height="5"><!--{$arrCartList.0.free_rule}--></td></tr>
25           
26            <!-- カゴの中に商品がある場合にのみ表示 -->
27            <!--{if $arrCartList.0.TotalQuantity > 0 and $arrCartList.0.free_rule > 0}-->
28            <tr>
29                <td class="fs10">
30                <!--{if $arrCartList.0.deliv_free > 0}-->
31                    送料手数料無料まであと<!--{$arrCartList.0.deliv_free|number_format|default:0}-->円(税込)です。
32                <!--{else}-->
33                    現在、送料は「<span class="redst">無料</span>」です。
34                <!--{/if}-->
35                </td>
36            </tr>
37            <tr><td height="10"></td></tr>
38            <!--{/if}-->
39            <tr>
40                <td align="center"><a href="<!--{$smarty.const.URL_DIR}-->cart/index.php" onmouseover="chgImg('<!--{$smarty.const.URL_DIR}-->img/side/button_cartin_on.gif','button_cartin');" onmouseout="chgImg('<!--{$smarty.const.URL_DIR}-->img/side/button_cartin.gif','button_cartin');"><img src="<!--{$smarty.const.URL_DIR}-->img/side/button_cartin.gif" width="87" height="22" alt="カゴの中を見る" border="0" name="button_cartin"></a></td>
41            </tr>
42        </table>
43        </td>
44        <td bgcolor="#cccccc"><img src="<!--{$smarty.const.URL_DIR}-->img/common/_.gif" width="1" height="10" alt=""></td>
45    </tr>
46    <tr>
47        <td colspan="3"><img src="<!--{$smarty.const.URL_DIR}-->img/side/flame_bottom01.gif" width="166" height="15" alt=""></td>
48    </tr>
49    <tr><td height="10"></td></tr>
50</table>
51<!--現在のカゴの中ここまで-->
Note: See TracBrowser for help on using the repository browser.