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

Revision 19785, 6.2 KB checked in by Seasoft, 13 years ago (diff)

#862(テンプレート上のエスケープを簡単に)
#628(未使用処理・定義などの削除)

  • Smarty 変数 tpl_start

#879(jQuery の ready イベントと競合する body の onload イベントを使用している)

  • Property svn:eol-style set to LF
  • 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<div id="under02column">
24    <div id="under02column_shopping">
25        <p class="flowarea">
26            <img src="<!--{$TPL_DIR}-->img/picture/img_flow_01.gif" width="700" height="36" alt="購入手続きの流れ" />
27        </p>
28        <h2 class="title"><!--{$tpl_title|h}--></h2>
29
30        <p>下記一覧よりお届け先住所を選択して、「選択したお届け先に送る」ボタンをクリックしてください。</p>
31        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
32            <p>一覧にご希望の住所が無い場合は、「新しいお届け先を追加する」より追加登録してください。</p>
33        <!--{/if}-->
34        <p>※最大<!--{$smarty.const.DELIV_ADDR_MAX|h}-->件まで登録できます。</p>
35
36        <!--{if $tpl_addrmax < $smarty.const.DELIV_ADDR_MAX}-->
37            <p class="addbtn">
38                <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->','new_deiv','600','640'); return false;" onmouseover="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_address_on.gif','addition');" onmouseout="chgImg('<!--{$TPL_DIR}-->img/button/btn_add_address.gif','addition');"><img src="<!--{$TPL_DIR}-->img/button/btn_add_address.gif" width="160" height="22" alt="新しいお届け先を追加する" name="addition" id="addition" /></a>
39            </p>
40        <!--{/if}-->
41        <form name="form1" id="form1" method="post" action="?">
42            <input type="hidden" name="mode" value="customer_addr" />
43            <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
44            <input type="hidden" name="other_deliv_id" value="" />
45            <!--{if $arrErr.deli != ""}-->
46                <p class="attention"><!--{$arrErr.deli}--></p>
47            <!--{/if}-->
48            <table summary="お届け先の指定">
49                <tr>
50                    <th>選択</th>
51                    <th>住所種類</th>
52                    <th>お届け先</th>
53                    <th>変更</th>
54                    <th>削除</th>
55                </tr>
56                <!--{section name=cnt loop=$arrAddr}-->
57                <tr>
58                     <td class="centertd">
59                         <!--{if $smarty.section.cnt.first}-->
60                            <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}--> />
61                         <!--{else}-->
62                            <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}--> />
63                         <!--{/if}-->
64                    </td>
65                    <td>
66                        <label for="chk_id_<!--{$smarty.section.cnt.iteration}-->">
67                            <!--{if $smarty.section.cnt.first}-->
68                                会員登録住所
69                            <!--{else}-->
70                                追加登録住所
71                            <!--{/if}-->
72                        </label>
73                    </td>
74                    <td>
75                        <!--{assign var=key value=$arrAddr[cnt].pref}-->
76                        <!--{$arrPref[$key]}--><!--{$arrAddr[cnt].addr01|h}--><!--{$arrAddr[cnt].addr02|h}--><br />
77                        <!--{$arrAddr[cnt].name01|h}--> <!--{$arrAddr[cnt].name02|h}-->
78                    </td>
79                    <td class="centertd">
80                        <!--{if !$smarty.section.cnt.first}-->
81                            <a href="<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php" onclick="win02('<!--{$smarty.const.URL_DIR}-->mypage/delivery_addr.php?page=<!--{$smarty.server.PHP_SELF|h}-->&amp;other_deliv_id=<!--{$arrAddr[cnt].other_deliv_id}-->','new_deiv','600','640'); return false;">変更</a>
82                        <!--{/if}-->
83                    </td>
84                    <td class="centertd">
85                        <!--{if !$smarty.section.cnt.first}-->
86                            <a href="?" onclick="fnModeSubmit('delete', 'other_deliv_id', '<!--{$arrAddr[cnt].other_deliv_id}-->'); return false">削除</a>
87                        <!--{/if}-->
88                    </td>
89                </tr>
90            <!--{/section}-->
91        </table>
92
93            <div class="tblareabtn">
94                <a href="<!--{$smarty.const.URL_CART_TOP}-->" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back_on.gif',back03)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_back.gif',back03)">
95                    <img src="<!--{$TPL_DIR}-->img/button/btn_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" /></a>
96                <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_address_select_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/button/btn_address_select.gif',this)" src="<!--{$TPL_DIR}-->img/button/btn_address_select.gif" alt="選択したお届け先に送る" class="box190" name="send_button" id="send_button" />
97            </div>
98        </form>
99    </div>
100</div>
101<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.