1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2012 LOCKON CO.,LTD. All Rights Reserved. |
---|
6 | * |
---|
7 | * http://www.lockon.co.jp/ |
---|
8 | * |
---|
9 | * This program is free software; you can redistribute it and/or |
---|
10 | * modify it under the terms of the GNU General Public License |
---|
11 | * as published by the Free Software Foundation; either version 2 |
---|
12 | * of the License, or (at your option) any later version. |
---|
13 | * |
---|
14 | * This program is distributed in the hope that it will be useful, |
---|
15 | * but WITHOUT ANY WARRANTY; without even the implied warranty of |
---|
16 | * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the |
---|
17 | * GNU General Public License for more details. |
---|
18 | * |
---|
19 | * You should have received a copy of the GNU General Public License |
---|
20 | * along with this program; if not, write to the Free Software |
---|
21 | * Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA. |
---|
22 | */ |
---|
23 | *}--> |
---|
24 | |
---|
25 | <form name="form1" id="form1" method="post" action="./payment_input.php" enctype="multipart/form-data"> |
---|
26 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
27 | <input type="hidden" name="mode" value="edit" /> |
---|
28 | <input type="hidden" name="payment_id" value="<!--{$tpl_payment_id}-->" /> |
---|
29 | <input type="hidden" name="image_key" value="" /> |
---|
30 | <input type="hidden" name="fix" value="<!--{$arrForm.fix.value}-->" /> |
---|
31 | <!--{foreach key=key item=item from=$arrHidden}--> |
---|
32 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
---|
33 | <!--{/foreach}--> |
---|
34 | <input type="hidden" name="charge_flg" value="<!--{$charge_flg}-->" /> |
---|
35 | <div id="basis" class="contents-main"> |
---|
36 | <h2>支払方法登録・編集</h2> |
---|
37 | |
---|
38 | <table class="form"> |
---|
39 | <col width="20%" /> |
---|
40 | <col width="80%" /> |
---|
41 | <tr> |
---|
42 | <th>支払方法<span class="attention"> *</span></th> |
---|
43 | <td> |
---|
44 | <!--{assign var=key value="payment_method"}--> |
---|
45 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
46 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
47 | </td> |
---|
48 | </tr> |
---|
49 | <tr> |
---|
50 | <th>手数料<span class="attention"> *</span></th> |
---|
51 | <td> |
---|
52 | <!--{if $charge_flg == 2}--> |
---|
53 | 設定できません |
---|
54 | <!--{else}--> |
---|
55 | <!--{assign var=key value="charge"}--> |
---|
56 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
57 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
58 | 円 |
---|
59 | <!--{/if}--> |
---|
60 | </td> |
---|
61 | </tr> |
---|
62 | <tr> |
---|
63 | <th>利用条件(円)</th> |
---|
64 | <td> |
---|
65 | <!--{assign var=key_from value="rule_max"}--> |
---|
66 | <!--{assign var=key_to value="upper_rule"}--> |
---|
67 | <span class="attention"><!--{$arrErr[$key_from]}--></span> |
---|
68 | <span class="attention"><!--{$arrErr[$key_to]}--></span> |
---|
69 | <input type="text" name="<!--{$arrForm[$key_from].keyname}-->" value="<!--{$arrForm[$key_from].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key_from].length}-->" style="<!--{$arrErr[$key_from]|sfGetErrorColor}-->" /> |
---|
70 | 円 |
---|
71 | ~ |
---|
72 | <input type="text" name="<!--{$arrForm[$key_to].keyname}-->" value="<!--{$arrForm[$key_to].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key_to].length}-->" style="<!--{$arrErr[$key_to]|sfGetErrorColor}-->" /> |
---|
73 | 円 |
---|
74 | </td> |
---|
75 | </tr> |
---|
76 | <tr> |
---|
77 | <th>ロゴ画像</th> |
---|
78 | <td> |
---|
79 | <!--{assign var=key value="payment_image"}--> |
---|
80 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
81 | <!--{if $arrFile[$key].filepath != ""}--> |
---|
82 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->"> <br /><a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
---|
83 | <!--{/if}--> |
---|
84 | <input type="file" name="<!--{$key}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
---|
85 | <a class="btn-normal" href="javascript:;" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
---|
86 | </td> |
---|
87 | </tr> |
---|
88 | </table> |
---|
89 | |
---|
90 | <div class="btn-area"> |
---|
91 | <ul> |
---|
92 | <li><a class="btn-action" href="javascript:;" onclick="location.href='./payment.php';"><span class="btn-prev">前のページに戻る</span></a></li> |
---|
93 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li> |
---|
94 | </ul> |
---|
95 | </div> |
---|
96 | </div> |
---|
97 | </form> |
---|