source: branches/comu-ver2/data/Smarty/templates/default/shopping/payment.tpl @ 17435

Revision 17435, 7.7 KB checked in by Seasoft, 16 years ago (diff)

ポイントシステムをON・OFF可能に。フロント機能のみの暫定対応。

  • 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<!--▼CONTENTS-->
23<div id="under02column">
24  <div id="under02column_shopping">
25    <p class="flowarea">
26      <img src="<!--{$TPL_DIR}-->img/shopping/flow02.gif" width="700" height="36" alt="購入手続きの流れ" />
27    </p>
28    <h2 class="title">
29      <img src="<!--{$TPL_DIR}-->img/shopping/payment_title.jpg" width="700" height="40" alt="お支払い方法、お届け時間等の指定" /></h2>
30
31    <form name="form1" id="form1" method="post" action="<!--{$smarty.server.PHP_SELF|escape}-->">
32      <input type="hidden" name="mode" value="confirm" />
33      <input type="hidden" name="uniqid" value="<!--{$tpl_uniqid}-->" />
34      <div class="payarea">
35        <h3><img src="<!--{$TPL_DIR}-->img/shopping/subtitle01.gif" width="670" height="33" alt="お支払方法の指定" /></h3>
36        <p>お支払方法をご選択ください。</p>
37
38        <!--{assign var=key value="payment_id"}-->
39        <!--{if $arrErr[$key] != ""}-->
40        <p class="attention"><!--{$arrErr[$key]}--></p>
41        <!--{/if}-->
42        <table summary="お支払方法選択">
43          <tr>
44            <th>選択</th>
45            <th colspan="<!--{if $arrPayment[cnt].payment_image == ""}-->2<!--{else}-->3<!--{/if}-->">お支払方法</th>
46          </tr>
47          <!--{section name=cnt loop=$arrPayment}-->
48          <tr>
49            <td class="centertd"><input type="radio" id="pay_<!--{$smarty.section.cnt.iteration}-->" name="<!--{$key}-->" onclick="fnModeSubmit('payment', '', '');" value="<!--{$arrPayment[cnt].payment_id}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" <!--{$arrPayment[cnt].payment_id|sfGetChecked:$arrForm[$key].value}--> />
50            </td>
51            <td>
52              <label for="pay_<!--{$smarty.section.cnt.iteration}-->"><!--{$arrPayment[cnt].payment_method|escape}--><!--{if $arrPayment[cnt].note != ""}--><!--{/if}--></label>
53            </td>
54            <!--{if $arrPayment[cnt].payment_image != ""}-->
55            <td>
56              <img src="<!--{$smarty.const.IMAGE_SAVE_URL}--><!--{$arrPayment[cnt].payment_image}-->" />
57            </td>
58            <!--{/if}-->
59          </tr>
60          <!--{/section}-->
61        </table>
62      </div>
63
64      <div class="payarea02">
65        <h3><img src="<!--{$TPL_DIR}-->img/shopping/subtitle02.gif" width="670" height="33" alt="お届け時間の指定" /></h3>
66        <p>ご希望の方は、お届け時間を選択してください。</p>
67        <div>
68          <!--★配達日指定★-->
69          <!--{assign var=key value="deliv_date"}-->
70          <span class="attention"><!--{$arrErr[$key]}--></span>
71          <em>お届け日指定:</em>
72          <!--{if !$arrDelivDate}-->
73            ご指定頂けません。
74          <!--{else}-->
75            <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
76              <option value="" selected="">指定なし</option>
77              <!--{html_options options=$arrDelivDate selected=$arrForm[$key].value}-->
78            </select>
79          <!--{/if}-->
80          <!--{assign var=key value="deliv_time_id"}-->
81          <span class="attention"><!--{$arrErr[$key]}--></span>
82          <em>お届け時間指定:</em>
83          <select name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->">
84            <option value="" selected="">指定なし</option>
85            <!--{html_options options=$arrDelivTime selected=$arrForm[$key].value}-->
86          </select>
87         </div>
88      </div>
89
90      <div class="payarea02">
91        <h3><img src="<!--{$TPL_DIR}-->img/shopping/subtitle03.gif" width="670" height="33" alt="その他お問い合わせ" /></h3>
92        <p>その他お問い合わせ事項がございましたら、こちらにご入力ください。</p>
93        <div>
94         <!--★その他お問い合わせ事項★-->
95         <!--{assign var=key value="message"}-->
96         <span class="attention"><!--{$arrErr[$key]}--></span>
97         <textarea name="<!--{$key}-->"  style="<!--{$arrErr[$key]|sfGetErrorColor}-->" cols="80" rows="8" class="area660" wrap="head"><!--{$arrForm[$key].value|escape}--></textarea>
98         <span class="attention"> (<!--{$smarty.const.LTEXT_LEN}-->文字まで)</span>
99        </div>
100      </div>
101
102      <!-- ▼ポイント使用 ここから -->
103      <!--{if $tpl_login == 1 && $smarty.const.USE_POINT !== false}-->
104        <div class="pointarea">
105          <h3><img src="<!--{$TPL_DIR}-->img/shopping/subtitle_point.jpg" width="670" height="32" alt="ポイント使用の指定" /></h3>
106
107            <p><span class="attention">1ポイントを1円</span>として使用する事ができます。<br />
108              使用する場合は、「ポイントを使用する」にチェックを入れた後、使用するポイントをご記入ください。</p>
109          <div>
110            <p><!--{$objCustomer->getValue('name01')|escape}--> <!--{$objCustomer->getValue('name02')|escape}-->様の、現在の所持ポイントは「<em><!--{$tpl_user_point|default:0}-->Pt</em>」です。</p>
111            <p>今回ご購入合計金額:<span class="price"><!--{$arrData.subtotal|number_format}-->円</span><span class="attention">(送料、手数料を含みません。)</span></p>
112            <ul>
113              <li><input type="radio" id="point_on" name="point_check" value="1" <!--{$arrForm.point_check.value|sfGetChecked:1}--> onclick="fnCheckInputPoint();" /><label for="point_on">ポイントを使用する</label></li>
114               <!--{assign var=key value="use_point"}-->
115
116               <li class="underline">今回のお買い物で、<input type="text" name="<!--{$key}-->" value="<!--{$arrForm[$key].value|default:$tpl_user_point}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="6" class="box60" />&nbsp;ポイントを使用する。<span class="attention"><!--{$arrErr[$key]}--></span></li>
117               <li><input type="radio" id="point_off" name="point_check" value="2" <!--{$arrForm.point_check.value|sfGetChecked:2}--> onclick="fnCheckInputPoint();" /><label for="point_off">ポイントを使用しない</label></li>
118             </ul>
119          </div>
120        </div>
121      <!--{/if}-->
122      <!-- ▲ポイント使用 ここまで -->
123
124      <div class="tblareabtn">
125        <a href="<!--{$tpl_back_url|escape}-->" onmouseover="chgImg('<!--{$TPL_DIR}-->img/common/b_back_on.gif','back03')" onmouseout="chgImg('<!--{$TPL_DIR}-->img/common/b_back.gif','back03')">
126          <img src="<!--{$TPL_DIR}-->img/common/b_back.gif" width="150" height="30" alt="戻る" border="0" name="back03" id="back03" />
127        </a>&nbsp;
128        <input type="image" onmouseover="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_next_on.gif',this)" onmouseout="chgImgImageSubmit('<!--{$TPL_DIR}-->img/common/b_next.gif',this)" src="<!--{$TPL_DIR}-->img/common/b_next.gif" class="box150" alt="次へ" name="next" id="next" />
129      </div>
130    </form>
131  </div>
132</div>
133<!--▲CONTENTS-->
Note: See TracBrowser for help on using the repository browser.