| 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=""> |
|---|
| 26 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
|---|
| 27 | <input type="hidden" name="mode" value="edit" /> |
|---|
| 28 | <!--{assign var=key value="deliv_id"}--> |
|---|
| 29 | <input type="hidden" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" /> |
|---|
| 30 | <div id="basis" class="contents-main"> |
|---|
| 31 | <h2><!--{t string="tpl_Delivery method registration_01"}--></h2> |
|---|
| 32 | |
|---|
| 33 | <table> |
|---|
| 34 | <tr> |
|---|
| 35 | <th><!--{t string="tpl_Delivery company name<span class='attention'> *</span>_01" escape="none"}--></th> |
|---|
| 36 | <td colspan="3"> |
|---|
| 37 | <!--{assign var=key value="name"}--> |
|---|
| 38 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 39 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td> |
|---|
| 40 | </tr> |
|---|
| 41 | <tr> |
|---|
| 42 | <th><!--{t string="tpl_Name<span class='attention'> *</span>_01" escape="none"}--></th> |
|---|
| 43 | <td colspan="3"> |
|---|
| 44 | <!--{assign var=key value="service_name"}--> |
|---|
| 45 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 46 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td> |
|---|
| 47 | </tr> |
|---|
| 48 | <tr> |
|---|
| 49 | <th><!--{t string="tpl_Explanation_01"}--></th> |
|---|
| 50 | <td colspan="3"> |
|---|
| 51 | <!--{assign var=key value="remark"}--> |
|---|
| 52 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 53 | <textarea name="<!--{$arrForm[$key].keyname}-->" cols="60" rows="8" class="area60" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->"><!--{"\n"}--><!--{$arrForm[$key].value|h}--></textarea></td> |
|---|
| 54 | </tr> |
|---|
| 55 | <tr> |
|---|
| 56 | <th><!--{t string="tpl_Voucher No. URL_01"}--></th> |
|---|
| 57 | <td colspan="3"> |
|---|
| 58 | <!--{assign var=key value="confirm_url"}--> |
|---|
| 59 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 60 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="60" class="box60" /></td> |
|---|
| 61 | </tr> |
|---|
| 62 | <!--{section name=cnt loop=$smarty.const.DELIVTIME_MAX}--> |
|---|
| 63 | <!--{assign var=type value="`$smarty.section.cnt.index%2`"}--> |
|---|
| 64 | <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}--> |
|---|
| 65 | <!--{assign var=key value="deliv_time`$smarty.section.cnt.iteration`"}--> |
|---|
| 66 | <!--{assign var=key_next value="deliv_time`$smarty.section.cnt.iteration+1`"}--> |
|---|
| 67 | <!--{if $type == 0}--> |
|---|
| 68 | <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}--> |
|---|
| 69 | <tr> |
|---|
| 70 | <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td> |
|---|
| 71 | </tr> |
|---|
| 72 | <!--{/if}--> |
|---|
| 73 | <tr> |
|---|
| 74 | <th><!--{t string="tpl_Delivery time T_ARG1_01" T_ARG1=$keyno}--></th> |
|---|
| 75 | <!--{if $smarty.section.cnt.last}--> |
|---|
| 76 | <!--{assign var=colspan value="3"}--> |
|---|
| 77 | <!--{else}--> |
|---|
| 78 | <!--{assign var=colspan value="1"}--> |
|---|
| 79 | <!--{/if}--> |
|---|
| 80 | <td colspan="<!--{$colspan}-->"> |
|---|
| 81 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="20" class="box20" /></td> |
|---|
| 82 | <!--{else}--> |
|---|
| 83 | <th><!--{t string="tpl_Delivery time T_ARG1_01" T_ARG1=$keyno}--></th> |
|---|
| 84 | <td><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> </td> |
|---|
| 85 | </tr> |
|---|
| 86 | <!--{/if}--> |
|---|
| 87 | <!--{/section}--> |
|---|
| 88 | |
|---|
| 89 | </table> |
|---|
| 90 | |
|---|
| 91 | <h2><!--{t string="tpl_Available product types_01"}--></h2> |
|---|
| 92 | <!--{assign var=key value="product_type_id"}--> |
|---|
| 93 | <table> |
|---|
| 94 | <tr> |
|---|
| 95 | <th><!--{t string="tpl_Product type_01"}--></th> |
|---|
| 96 | <td><span class="attention"><!--{$arrErr[$key]}--></span><!--{html_radios name=$key options=$arrProductType selected=$arrForm[$key].value separator=' '}--></td> |
|---|
| 97 | </tr> |
|---|
| 98 | </table> |
|---|
| 99 | |
|---|
| 100 | <h2><!--{t string="tpl_Available payment methods_01"}--></h2> |
|---|
| 101 | <!--{assign var=key value="payment_ids"}--> |
|---|
| 102 | <table> |
|---|
| 103 | <tr> |
|---|
| 104 | <th><!--{t string="tpl_Payment method_01"}--></th> |
|---|
| 105 | <td> |
|---|
| 106 | <span class="attention"><!--{$arrErr[$key]}--></span> |
|---|
| 107 | <!--{html_checkboxes name=$key options=$arrPayments selected=$arrForm[$key].value separator=' '}--> |
|---|
| 108 | </td> |
|---|
| 109 | </tr> |
|---|
| 110 | </table> |
|---|
| 111 | <!--{* |
|---|
| 112 | <!--{if $smarty.const.INPUT_DELIV_FEE}--> |
|---|
| 113 | <h2><!--{t string="tpl_Delivery charge registration_01"}--></h2> |
|---|
| 114 | <div class="btn"> |
|---|
| 115 | <!--{t string="tpl_* Uniform shipping rates($):_01"}--> <input type='text' name='fee_all' class='box10' /> <a class="btn-normal" href="javascript:;" onclick="fnSetDelivFee(<!--{$smarty.const.DELIVFEE_MAX}-->); return false;"><span><!--{t string="tpl_Calculate_01"}--></span></a> |
|---|
| 116 | </div> |
|---|
| 117 | <table> |
|---|
| 118 | <!--{section name=cnt loop=$smarty.const.DELIVFEE_MAX}--> |
|---|
| 119 | <!--{assign var=type value="`$smarty.section.cnt.index%2`"}--> |
|---|
| 120 | <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}--> |
|---|
| 121 | <!--{assign var=key value="fee`$smarty.section.cnt.iteration`"}--> |
|---|
| 122 | <!--{assign var=key_next value="fee`$smarty.section.cnt.iteration+1`"}--> |
|---|
| 123 | |
|---|
| 124 | <!--{if $type == 0}--> |
|---|
| 125 | <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}--> |
|---|
| 126 | <tr> |
|---|
| 127 | <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td> |
|---|
| 128 | </tr> |
|---|
| 129 | <!--{/if}--> |
|---|
| 130 | <tr> |
|---|
| 131 | <th><!--{$arrPref[$keyno]}--></th> |
|---|
| 132 | <!--{if $smarty.section.cnt.last}--> |
|---|
| 133 | <!--{assign var=colspan value="3"}--> |
|---|
| 134 | <!--{else}--> |
|---|
| 135 | <!--{assign var=colspan value="1"}--> |
|---|
| 136 | <!--{/if}--> |
|---|
| 137 | <td width="247" colspan="<!--{$colspan}-->"> |
|---|
| 138 | <!--{t string="currency_prefix"}--> <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> <!--{t string="currency_suffix"}--></td> |
|---|
| 139 | <!--{else}--> |
|---|
| 140 | <th><!--{$arrPref[$keyno]}--></th> |
|---|
| 141 | <td width="248"><!--{t string="currency_prefix"}--><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|h}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> <!--{t string="currency_suffix"}--></td> |
|---|
| 142 | </tr> |
|---|
| 143 | <!--{/if}--> |
|---|
| 144 | <!--{/section}--> |
|---|
| 145 | </table> |
|---|
| 146 | <!--{/if}--> |
|---|
| 147 | *}--> |
|---|
| 148 | <div class="btn-area"> |
|---|
| 149 | <ul> |
|---|
| 150 | <li><a class="btn-action" href="javascript:;" onclick="location.href='./delivery.php';"><span class="btn-prev"><!--{t string="tpl_Return to previous page_01"}--></span></a></li> |
|---|
| 151 | <li><a class="btn-action" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Save and continue_01"}--></span></a></li> |
|---|
| 152 | </ul> |
|---|
| 153 | </div> |
|---|
| 154 | </div> |
|---|
| 155 | </form> |
|---|