source: tmp/version-2_5-test/data/Smarty/templates/default/cart/index.tpl @ 18609

Revision 18609, 9.5 KB checked in by kajiwara, 14 years ago (diff)

正式版にナイトリービルド版をマージしてみるテスト

  • Property svn:eol-style set to LF
  • Property svn:mime-type set to text/html; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2007 LOCKON CO.,LTD. All Rights Reserved.
5 *
6 * http://www.lockon.co.jp/
7 *
8 * This program is free software; you can redistribute it and/or
9 * modify it under the terms of the GNU General Public License
10 * as published by the Free Software Foundation; either version 2
11 * of the License, or (at your option) any later version.
12 *
13 * This program is distributed in the hope that it will be useful,
14 * but WITHOUT ANY WARRANTY; without even the implied warranty of
15 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
16 * GNU General Public License for more details.
17 *
18 * You should have received a copy of the GNU General Public License
19 * along with this program; if not, write to the Free Software
20 * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA  02111-1307, USA.
21 *}-->
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
33<!--▼CONTENTS-->
34<div id="under02column">
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>
61        <!--{/if}-->
62
63    <!--{if strlen($tpl_error) != 0}-->
64        <p class="attention"><!--{$tpl_error|escape}--></p>
65    <!--{/if}-->
66
67    <!--{if strlen($tpl_message) != 0}-->
68        <p class="attention"><!--{$tpl_message|escape|nl2br}--></p>
69    <!--{/if}-->
70
71    <!--{if count($arrProductsClass) > 0}-->
72
73        <form name="form1" id="form1" method="post" action="?">
74            <!--{if 'sfGMOCartDisplay'|function_exists}-->
75                <!--{'sfGMOCartDisplay'|call_user_func}-->
76            <!--{/if}-->
77
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}-->
152
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>
168</div>
169<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.