| 1 | <!--{* |
|---|
| 2 | /* |
|---|
| 3 | * This file is part of EC-CUBE |
|---|
| 4 | * |
|---|
| 5 | * Copyright(c) 2000-2011 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 | <form name="form1" id="form1" method="post" action="./payment_input.php" enctype="multipart/form-data"> |
|---|
| 25 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
|---|
| 26 | <input type="hidden" name="mode" value="edit" /> |
|---|
| 27 | <input type="hidden" name="payment_id" value="<!--{$tpl_payment_id}-->" /> |
|---|
| 28 | <input type="hidden" name="image_key" value="" /> |
|---|
| 29 | <input type="hidden" name="fix" value="<!--{$arrForm.fix.value}-->" /> |
|---|
| 30 | <!--{foreach key=key item=item from=$arrHidden}--> |
|---|
| 31 | <input type="hidden" name="<!--{$key}-->" value="<!--{$item|h}-->" /> |
|---|
| 32 | <!--{/foreach}--> |
|---|
| 33 | <input type="hidden" name="charge_flg" value="<!--{$charge_flg}-->" /> |
|---|
| 34 | <div id="basis" class="contents-main"> |
|---|
| 35 | <h2>支払方法登録・編集</h2> |
|---|
| 36 | |
|---|
| 37 | <table class="form"> |
|---|
| 38 | <col width="20%" /> |
|---|
| 39 | <col width="80%" /> |
|---|
| 40 | <tr> |
|---|
| 41 | <th>支払方法<span class="attention"> *</span></th> |
|---|
| 42 | <td> |
|---|
| 43 | <!--{assign var=key value="payment_method"}--> |
|---|
| 44 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 45 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" size="30" class="box30" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
|---|
| 46 | </td> |
|---|
| 47 | </tr> |
|---|
| 48 | <tr> |
|---|
| 49 | <th>手数料<span class="attention"> *</span></th> |
|---|
| 50 | <td> |
|---|
| 51 | <!--{if $charge_flg == 2}--> |
|---|
| 52 | 設定できません |
|---|
| 53 | <!--{else}--> |
|---|
| 54 | <!--{assign var=key value="charge"}--> |
|---|
| 55 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 56 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" size="10" class="box10" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
|---|
| 57 | 円 |
|---|
| 58 | <!--{/if}--> |
|---|
| 59 | </td> |
|---|
| 60 | </tr> |
|---|
| 61 | <tr> |
|---|
| 62 | <th>利用条件(円)</th> |
|---|
| 63 | <td> |
|---|
| 64 | <!--{assign var=key_from value="rule"}--> |
|---|
| 65 | <!--{assign var=key_to value="upper_rule"}--> |
|---|
| 66 | <span class="attention"><!--{$arrErr[$key_from]}--></span> |
|---|
| 67 | <span class="attention"><!--{$arrErr[$key_to]}--></span> |
|---|
| 68 | <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}-->" /> |
|---|
| 69 | 円 |
|---|
| 70 | ~ |
|---|
| 71 | <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}-->" /> |
|---|
| 72 | 円 |
|---|
| 73 | </td> |
|---|
| 74 | </tr> |
|---|
| 75 | <tr> |
|---|
| 76 | <th>ロゴ画像</th> |
|---|
| 77 | <td> |
|---|
| 78 | <!--{assign var=key value="payment_image"}--> |
|---|
| 79 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 80 | <!--{if $arrFile[$key].filepath != ""}--> |
|---|
| 81 | <img src="<!--{$arrFile[$key].filepath}-->" alt="<!--{$arrForm.name|h}-->"> <br /><a href="" onclick="fnModeSubmit('delete_image', 'image_key', '<!--{$key}-->'); return false;">[画像の取り消し]</a><br /> |
|---|
| 82 | <!--{/if}--> |
|---|
| 83 | <input type="file" name="<!--{$key}-->" size="30" class="box30" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> |
|---|
| 84 | <a class="btn-normal" href="javascript:;" name="btn" onclick="fnModeSubmit('upload_image', 'image_key', '<!--{$key}-->'); return false;">アップロード</a> |
|---|
| 85 | </td> |
|---|
| 86 | </tr> |
|---|
| 87 | </table> |
|---|
| 88 | |
|---|
| 89 | <div class="btn-area"> |
|---|
| 90 | <ul> |
|---|
| 91 | <li><a class="btn-action" href="javascript:;" onclick="location.href='./payment.php';"><span class="btn-prev">前のページに戻る</span></a></li> |
|---|
| 92 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next">この内容で登録する</span></a></li> |
|---|
| 93 | </ul> |
|---|
| 94 | </div> |
|---|
| 95 | </div> |
|---|
| 96 | </form> |
|---|