| 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 | <!--{if $smarty.const.INPUT_DELIV_FEE}--> |
|---|
| 83 | <h2>配送料登録</h2> |
|---|
| 84 | <p>※全国一律送料 <input type="text" name="fee_all" class="box10" /> 円に設定する <button type="button" onclick="fnSetDelivFee(<!--{$smarty.const.DELIVFEE_MAX}-->);"><span>反映</span></button></p> |
|---|
| 85 | <table> |
|---|
| 86 | <!--{section name=cnt loop=$smarty.const.DELIVFEE_MAX}--> |
|---|
| 87 | <!--{assign var=type value="`$smarty.section.cnt.index%2`"}--> |
|---|
| 88 | <!--{assign var=keyno value="`$smarty.section.cnt.iteration`"}--> |
|---|
| 89 | <!--{assign var=key value="fee`$smarty.section.cnt.iteration`"}--> |
|---|
| 90 | <!--{assign var=key_next value="fee`$smarty.section.cnt.iteration+1`"}--> |
|---|
| 91 | |
|---|
| 92 | <!--{if $type == 0}--> |
|---|
| 93 | <!--{if $arrErr[$key] != "" || $arrErr[$key_next] != ""}--> |
|---|
| 94 | <tr> |
|---|
| 95 | <td colspan="4"><span class="attention"><!--{$arrErr[$key]}--><!--{$arrErr[$key_next]}--></span></td> |
|---|
| 96 | </tr> |
|---|
| 97 | <!--{/if}--> |
|---|
| 98 | <tr> |
|---|
| 99 | <th><!--{$arrPref[$keyno]}--></td> |
|---|
| 100 | <!--{if $smarty.section.cnt.last}--> |
|---|
| 101 | <!--{assign var=colspan value="3"}--> |
|---|
| 102 | <!--{else}--> |
|---|
| 103 | <!--{assign var=colspan value="1"}--> |
|---|
| 104 | <!--{/if}--> |
|---|
| 105 | <td width="247" colspan="<!--{$colspan}-->"> |
|---|
| 106 | <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> |
|---|
| 107 | <!--{else}--> |
|---|
| 108 | <th><!--{$arrPref[$keyno]}--></td> |
|---|
| 109 | <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> |
|---|
| 110 | </tr> |
|---|
| 111 | <!--{/if}--> |
|---|
| 112 | <!--{/section}--> |
|---|
| 113 | </table> |
|---|
| 114 | <!--{/if}--> |
|---|
| 115 | |
|---|
| 116 | <div class="btn"> |
|---|
| 117 | <button type="button" onclick="location.href='./delivery.php';"><span>前のページに戻る</span></button> |
|---|
| 118 | <button type="submit"><span>この内容で登録する</span></button> |
|---|
| 119 | </div> |
|---|
| 120 | </div> |
|---|
| 121 | </form> |
|---|