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 | <!--{if $tpl_mode|strlen == 0 || $arrErr|@count >= 1}--> |
---|
25 | <style type="text/css"> |
---|
26 | .item { |
---|
27 | margin-top: 1em; |
---|
28 | } |
---|
29 | </style> |
---|
30 | <form name="form1" id="form1" method="get" action="?" onsubmit="return false;"> |
---|
31 | <input type="hidden" name="mode" value=""> |
---|
32 | <p>郵便番号CSVには <!--{$tpl_line|escape}--> 行のデータがあります。</p> |
---|
33 | <p>郵便番号DBには <!--{$tpl_count_mtb_zip|escape}--> 行のデータがあります。</p> |
---|
34 | <!--{if $tpl_count_mtb_zip == 0}--> |
---|
35 | <p class="attention">登録を行なってください。</p> |
---|
36 | <!--{elseif $tpl_line <> $tpl_count_mtb_zip}--> |
---|
37 | <p class="attention">行数に差異があります。登録に異常がある恐れがあります。</p> |
---|
38 | <!--{/if}--> |
---|
39 | |
---|
40 | <div style="margin: 1em 0;"> |
---|
41 | <p>通常は、[自動登録] を利用してください。<br /> |
---|
42 | ただし、タイムアウトしてしまう環境では、タイムアウトした後に [手動登録] を正常に完了するまで繰り返してください。</p> |
---|
43 | </div> |
---|
44 | |
---|
45 | <div class="item"> |
---|
46 | <a class="btn_normal" href="javascript:;" onclick="fnModeSubmit('auto', '', '');">自動登録</a><br /> |
---|
47 | 全ての郵便番号を削除してから、登録しなおします。タイムアウトした場合、元の状態に戻ります。 |
---|
48 | </div> |
---|
49 | <div class="item"> |
---|
50 | <a class="btn_normal" href="javascript:;" onclick="fnModeSubmit('delete', '', '');">手動削除</a><br /> |
---|
51 | 全ての郵便番号を削除します。再登録するまで、住所自動入力は機能しなくなります。 |
---|
52 | </div> |
---|
53 | <div class="item"> |
---|
54 | <a class="btn_normal" href="javascript:;" onclick="fnModeSubmit('manual', '', '');">手動登録</a> |
---|
55 | 開始行: <input type="text" name="startRowNum" value="<!--{$arrForm.startRowNum|default:$tpl_count_mtb_zip+1|escape}-->" size="8"><span class="attention"><!--{$arrErr.startRowNum}--></span><br /> |
---|
56 | 指定した行数から郵便番号を登録します。タイムアウトした場合、直前まで登録されます。 |
---|
57 | </div> |
---|
58 | </form> |
---|
59 | <!--{else}--> |
---|
60 | <iframe src="?mode=<!--{$tpl_mode|escape}-->&exec=yes&startRowNum=<!--{$arrForm.startRowNum|escape}-->" name="progress" height="200" width="750" frameborder="0"></iframe> |
---|
61 | <!--{/if}--> |
---|