source: branches/version-2_13-dev/data/Smarty/templates/default/shopping/deliv.tpl @ 23061

Revision 23061, 8.1 KB checked in by pineray, 11 years ago (diff)

#2342 JavaScript?のグローバルな宣言を減らす
ウィンドウ関連.

  • 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-2013 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
23<div id="undercolumn">
24    <div id="undercolumn_shopping">
25        <p class="flow_area">
26            <img src="<!--{$TPL_URLPATH}-->img/picture/img_flow_01.jpg" alt="購入手続きの流れ" />
27        </p>
28        <h2 class="title"><!--{$tpl_title|h}--></h2>
29
30        <div id="address_area" class="clearfix">
31            <div class="information">
32                <p>下記一覧よりお届け先住所を選択して、「選択したお届け先に送る」ボタンをクリックしてください。</p>
33                <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
34                    <p>一覧にご希望の住所が無い場合は、「新しいお届け先を追加する」より追加登録してください。</p>
35                <!--{/if}-->
36                <p class="mini attention">※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。</p>
37            </div>
38            <!--{if $smarty.const.USE_MULTIPLE_SHIPPING !== false}-->
39                <div class="add_multiple">
40                    <p>この商品を複数の<br />お届け先に送りますか?</p>
41                    <a href="javascript:;" onclick="fnModeSubmit('multiple', '', ''); return false" onmouseover="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_several_address_on.jpg','several');" onmouseout="chgImg('<!--{$TPL_URLPATH}-->img/button/btn_several_address.jpg','several');"><img src="<!--{$TPL_URLPATH}-->img/button/btn_several_address.jpg" alt="お届け先を複数指定する" name="several" id="several" /></a>
42                </div>
43            <!--{/if}-->
44        </div>
45
46        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
47            <p class="addbtn">
48                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.common.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|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>
49            </p>
50        <!--{/if}-->
51
52        <form name="form1" id="form1" method="post" action="?">
53            <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" />
54            <input type="hidden" name="mode" value="customer_addr" />
55            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
56            <input type="hidden" name="other_deliv_id" value="" />
57            <!--{if $arrErr.deli != ""}-->
58                <p class="attention"><!--{$arrErr.deli}--></p>
59            <!--{/if}-->
60            <table summary="お届け先の指定">
61                <col width="10%" />
62                <col width="20%" />
63                <col width="50%" />
64                <col width="10%" />
65                <col width="10%" />
66                <tr>
67                    <th class="alignC">選択</th>
68                    <th class="alignC">住所種類</th>
69                    <th class="alignC">お届け先</th>
70                    <th class="alignC">変更</th>
71                    <th class="alignC">削除</th>
72                </tr>
73                <!--{section name=cnt loop=$arrAddr}-->
74                    <tr>
75                        <td class="alignC">
76                            <!--{if $smarty.section.cnt.first}-->
77                                <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="-1" <!--{if $arrForm.deliv_check.value == "" || $arrForm.deliv_check.value == -1}--> checked="checked"<!--{/if}--> />
78                            <!--{else}-->
79                                <input type="radio" name="deliv_check" id="chk_id_<!--{$smarty.section.cnt.iteration}-->" value="<!--{$arrAddr[cnt].other_deliv_id}-->"<!--{if $arrForm.deliv_check.value == $arrAddr[cnt].other_deliv_id}--> checked="checked"<!--{/if}--> />
80                            <!--{/if}-->
81                        </td>
82                        <td class="alignC">
83                            <label for="chk_id_<!--{$smarty.section.cnt.iteration}-->">
84                                <!--{if $smarty.section.cnt.first}-->
85                                    会員登録住所
86                                <!--{else}-->
87                                    追加登録住所
88                                <!--{/if}-->
89                            </label>
90                        </td>
91                        <td>
92                            <!--{assign var=key1 value=$arrAddr[cnt].pref}-->
93                            <!--{assign var=key2 value=$arrAddr[cnt].country_id}-->
94                            <!--{if $smarty.const.FORM_COUNTRY_ENABLE}-->
95                            <!--{$arrCountry[$key2]|h}--><br/>
96                            <!--{/if}-->
97                            <!--{$arrPref[$key1]|h}--><!--{$arrAddr[cnt].addr01|h}--><!--{$arrAddr[cnt].addr02|h}--><br />
98                            <!--{$arrAddr[cnt].company_name|h}--> <!--{$arrAddr[cnt].name01|h}--> <!--{$arrAddr[cnt].name02|h}-->
99                        </td>
100                        <td class="alignC">
101                            <!--{if !$smarty.section.cnt.first}-->
102                                <a href="<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php" onclick="eccube.common.win02('<!--{$smarty.const.ROOT_URLPATH}-->mypage/delivery_addr.php?page=<!--{$smarty.server.SCRIPT_NAME|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;">変更</a>
103                                <!--{else}-->
104                                    -
105                                <!--{/if}-->
106                        </td>
107                        <td class="alignC">
108                            <!--{if !$smarty.section.cnt.first}-->
109                                <a href="?" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">削除</a>
110                                <!--{else}-->
111                                    -
112                                <!--{/if}-->
113                        </td>
114                    </tr>
115                <!--{/section}-->
116            </table>
117
118            <div class="btn_area">
119                <ul>
120                    <li>
121                        <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)">
122                        <img src="<!--{$TPL_URLPATH}-->img/button/btn_back.jpg" alt="戻る" border="0" name="back03" id="back03" /></a>
123                    </li>
124                    <li>
125                    <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next_on.jpg',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_URLPATH}-->img/button/btn_next.jpg',this)" src="<!--{$TPL_URLPATH}-->img/button/btn_next.jpg" alt="選択したお届け先に送る" name="send_button" id="send_button" />
126                    </li>
127                </ul>
128            </div>
129
130        </form>
131    </div>
132</div>
Note: See TracBrowser for help on using the repository browser.