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