| 1 | <!--{* |
---|
| 2 | /* |
---|
| 3 | * This file is part of EC-CUBE |
---|
| 4 | * |
---|
| 5 | * Copyright(c) 2000-2010 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=""> |
---|
| 25 | <input type="hidden" name="mode" value="edit" /> |
---|
| 26 | <!--{assign var=key value="deliv_id"}--> |
---|
| 27 | <input type="hidden" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" /> |
---|
| 28 | <div id="basis" class="contents-main"> |
---|
| 29 | <h2>配送業者登録</h2> |
---|
| 30 | |
---|
| 31 | <table> |
---|
| 32 | <tr> |
---|
| 33 | <th>配送業者名<span class="attention"> *</span></td> |
---|
| 34 | <td colspan="3"> |
---|
| 35 | <!--{assign var=key value="name"}--> |
---|
| 36 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 37 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /></td> |
---|
| 38 | </tr> |
---|
| 39 | <tr> |
---|
| 40 | <th>名称<span class="attention"> *</span></td> |
---|
| 41 | <td colspan="3"> |
---|
| 42 | <!--{assign var=key value="service_name"}--> |
---|
| 43 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 44 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /></td> |
---|
| 45 | </tr> |
---|
| 46 | <tr> |
---|
| 47 | <th>伝票No.URL</td> |
---|
| 48 | <td colspan="3"> |
---|
| 49 | <!--{assign var=key value="confirm_url"}--> |
---|
| 50 | <span class="attention"><!--{$arrErr[$key]}--></span> |
---|
| 51 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="30" class="box30" /></td> |
---|
| 52 | </tr> |
---|
| 53 | <!--{section name=cnt loop=$smarty.const.DELIVTIME_MAX}--> |
---|
| 54 | <!--{assign var=type value="`$smarty.section.cnt.index%2`"}--> |
---|
| 55 | <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}--> |
---|
| 56 | <!--{assign var=key value="deliv_time`$smarty.section.cnt.iteration`"}--> |
---|
| 57 | <!--{assign var=key_next value="deliv_time`$smarty.section.cnt.iteration+1`"}--> |
---|
| 58 | <!--{if $type == 0}--> |
---|
| 59 | <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}--> |
---|
| 60 | <tr> |
---|
| 61 | <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td> |
---|
| 62 | </tr> |
---|
| 63 | <!--{/if}--> |
---|
| 64 | <tr> |
---|
| 65 | <th>お届け時間<!--{$keyno}--></td> |
---|
| 66 | <!--{if $smarty.section.cnt.last}--> |
---|
| 67 | <!--{assign var=colspan value="3"}--> |
---|
| 68 | <!--{else}--> |
---|
| 69 | <!--{assign var=colspan value="1"}--> |
---|
| 70 | <!--{/if}--> |
---|
| 71 | <td colspan="<!--{$colspan}-->"> |
---|
| 72 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" size="20" class="box20" /></td> |
---|
| 73 | <!--{else}--> |
---|
| 74 | <th>お届け時間<!--{$keyno}--></td> |
---|
| 75 | <td><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> </td> |
---|
| 76 | </tr> |
---|
| 77 | <!--{/if}--> |
---|
| 78 | <!--{/section}--> |
---|
| 79 | |
---|
| 80 | </table> |
---|
| 81 | |
---|
| 82 | <h2>取扱商品種別</h2> |
---|
| 83 | <!--{assign var=key value="product_type_id"}--> |
---|
| 84 | <table> |
---|
| 85 | <tr> |
---|
| 86 | <th>商品種別</th> |
---|
| 87 | <td><span class="attention"><!--{$arrErr[$key]}--></span><!--{html_radios name=$key options=$arrProductType selected=$arrForm[$key].value}--></td> |
---|
| 88 | </tr> |
---|
| 89 | </table> |
---|
| 90 | |
---|
| 91 | <!--{if $smarty.const.INPUT_DELIV_FEE}--> |
---|
| 92 | <h2>配送料登録</h2> |
---|
| 93 | <div class="btn">※全国一律送料 <input type="text" name="fee_all" class="box10" /> 円に設定する <a class="btn_normal" href="javascript:;" onclick="fnSetDelivFee(<!--{$smarty.const.DELIVFEE_MAX}-->);"><span>反映</span></a></div> |
---|
| 94 | <table> |
---|
| 95 | <!--{section name=cnt loop=$smarty.const.DELIVFEE_MAX}--> |
---|
| 96 | <!--{assign var=type value="`$smarty.section.cnt.index%2`"}--> |
---|
| 97 | <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}--> |
---|
| 98 | <!--{assign var=key value="fee`$smarty.section.cnt.iteration`"}--> |
---|
| 99 | <!--{assign var=key_next value="fee`$smarty.section.cnt.iteration+1`"}--> |
---|
| 100 | |
---|
| 101 | <!--{if $type == 0}--> |
---|
| 102 | <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}--> |
---|
| 103 | <tr> |
---|
| 104 | <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td> |
---|
| 105 | </tr> |
---|
| 106 | <!--{/if}--> |
---|
| 107 | <tr> |
---|
| 108 | <th><!--{$arrPref[$keyno]}--></td> |
---|
| 109 | <!--{if $smarty.section.cnt.last}--> |
---|
| 110 | <!--{assign var=colspan value="3"}--> |
---|
| 111 | <!--{else}--> |
---|
| 112 | <!--{assign var=colspan value="1"}--> |
---|
| 113 | <!--{/if}--> |
---|
| 114 | <td width="247" colspan="<!--{$colspan}-->"> |
---|
| 115 | <input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円</td> |
---|
| 116 | <!--{else}--> |
---|
| 117 | <th><!--{$arrPref[$keyno]}--></td> |
---|
| 118 | <td width="248"><input type="text" name="<!--{$arrForm[$key].keyname}-->" value="<!--{$arrForm[$key].value|escape}-->" maxlength="<!--{$arrForm[$key].length}-->" size="20" class="box20" style="<!--{$arrErr[$key]|sfGetErrorColor}-->" /> 円</td> |
---|
| 119 | </tr> |
---|
| 120 | <!--{/if}--> |
---|
| 121 | <!--{/section}--> |
---|
| 122 | </table> |
---|
| 123 | <!--{/if}--> |
---|
| 124 | |
---|
| 125 | <div class="btn"> |
---|
| 126 | <a class="btn_normal" href="javascript:;" onclick="location.href='./delivery.php';"><span>前のページに戻る</span></a> |
---|
| 127 | <a class="btn_normal" href="javascript:;" onclick="fnFormModeSubmit('form1', 'edit', '', '');"><span>この内容で登録する</span></a> |
---|
| 128 | </div> |
---|
| 129 | </div> |
---|
| 130 | </form> |
---|