source: branches/version-2_5-dev/data/Smarty/templates/default/shopping/multiple.tpl @ 20523

Revision 20523, 6.8 KB checked in by Seasoft, 11 years ago (diff)

#627(ソース整形・ソースコメントの改善)

  • Property svn:eol-style set to LF
  • Property svn:keywords set to Id
  • Property svn:mime-type set to text/x-smarty-template; charset=UTF-8
Line 
1<!--{*
2 * This file is part of EC-CUBE
3 *
4 * Copyright(c) 2000-2010 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<!--▼CONTENTS-->
23<script type="text/javascript" src="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.js"></script>
24<link rel="stylesheet" type="text/css" href="<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/facebox.css" media="screen" />
25<script type="text/javascript">//<![CDATA[
26    $(document).ready(function() {
27        $("a.expansion").facebox({
28            loadingImage : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/loading.jpg',
29            closeImage   : '<!--{$smarty.const.ROOT_URLPATH}-->js/jquery.facebox/closelabel.png'
30        });
31    });
32//]]></script>
33<div id="undercolumn">
34    <div id="undercolumn_shopping">
35        <p class="flow_area">
36            <img src="<!--{$TPL_URLPATH}-->img/picture/img_flow_01.jpg" alt="購入手続きの流れ" />
37        </p>
38        <h2 class="title"><!--{$tpl_title|h}--></h2>
39        <p class="information">各商品のお届け先を選択してください。</p>
40        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
41            <p>一覧にご希望の住所が無い場合は、「新しいお届け先を追加する」より追加登録してください。</p>
42        <!--{/if}-->
43        <p class="mini attention">※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。</p>
44
45        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
46            <p class="addbtn">
47                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->','new_deiv','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address_on.jpg','addition');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg','addition');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_add_address.jpg" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
48            </p>
49        <!--{/if}-->
50        <form name="form1" id="form1" method="post" action="?">
51            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
52            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
53            <input type="hidden" name="mode" value="confirm" />
54            <table summary="商品情報">
55                <colgroup width="10%"></colgroup>
56                <colgroup width="35%"></colgroup>
57                <colgroup width="10%"></colgroup>
58                <colgroup width="45%"></colgroup>
59                <tr>
60                    <th>商品写真</th>
61                    <th>商品名</th>
62                    <th>数量</th>
63                    <th>お届け先</th>
64                </tr>
65                <!--{foreach from=$items item=item name=cartItem}-->
66                    <!--{assign var=index value=$smarty.foreach.cartItem.index}-->
67                    <tr style="<!--{if $item.error}-->background-color: <!--{$smarty.const.ERR_COLOR}-->;<!--{/if}-->">
68                        <td class="alignC">
69                        <a
70                            <!--{if $item.main_image|strlen >= 1}--> href="<!--{$smarty.const.IMAGE_SAVE_URLPATH}--><!--{$item.main_image|sfNoImageMainList|h}-->" class="expansion" target="_blank"
71                            <!--{/if}-->
72                        >
73                            <img src="<!--{$smarty.const.ROOT_URLPATH}-->resize_image.php?image=<!--{$item.main_list_image|sfNoImageMainList|h}-->&amp;width=65&amp;height=65" alt="&lt;!--{$item.productsClass.name|h}--&gt;" /></a>
74                        </td>
75                        <td><!--{* 商品名 *}--><strong><!--{$item.name|h}--></strong><br />
76                            <!--{if $item.classcategory_name1 != ""}-->
77                                <!--{$item.class_name1}-->:<!--{$item.classcategory_name1}--><br />
78                            <!--{/if}-->
79                            <!--{if $item.classcategory_name2 != ""}-->
80                                <!--{$item.class_name2}-->:<!--{$item.classcategory_name2}--><br />
81                            <!--{/if}-->
82                            <!--{$item.price02|sfCalcIncTax:$arrInfo.tax:$arrInfo.tax_rule|number_format}-->円
83                        </td>
84                        <td>
85                            <!--{assign var=key value="quantity`$index`"}-->
86                            <input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value}-->" class="box40" />
87                        </td>
88                        <td>
89                            <input type="hidden" name="cart_no<!--{$index}-->" value="<!--{$index}-->" />
90                            <input type="hidden" name="product_class_id<!--{$index}-->" value="<!--{$item.product_class_id}-->" />
91                            <!--{assign var=key value="shipping`$index`"}-->
92                            <select name="<!--{$key}-->"><!--{html_options options=$addrs selected=$arrForm[$key].value}--></select>
93                        </td>
94                    </tr>
95                <!--{/foreach}-->
96            </table>
97            <div class="btn_area">
98                <ul>
99                    <li>
100                    <a href="<!--{$smarty.const.CART_URLPATH}-->" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back_on.jpg',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_back.jpg',back03)">
101                        <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back03" id="back03" /></a>
102                    </li>
103                    <li>
104                    <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_address_select_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_address_select.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_address_select.jpg" alt="選択したお届け先に送る" class="box190" name="send_button" id="send_button" />
105                    </li>
106                </ul>
107            </div>
108        </form>
109    </div>
110</div>
Note: See TracBrowser for help on using the repository browser.