1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2011 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 | |
---|
27 | </style> |
---|
28 | <form name="form1" id="form1" method="get" action="?" onsubmit="return false;"> |
---|
29 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
30 | <input type="hidden" name="mode" value=""> |
---|
31 | <p>保存されている郵便番号CSVの更新日時: <!--{$tpl_csv_datetime|h}--></p> |
---|
32 | <p>郵便番号CSVには <!--{$tpl_line|h}--> 行のデータがあります。</p> |
---|
33 | <p>郵便番号DBには <!--{$tpl_count_mtb_zip|h}--> 行のデータがあります。</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 class="basis-zip-item info"> |
---|
41 | <p>通常は、[自動登録] を利用してください。<br /> |
---|
42 | ただし、タイムアウトしてしまう環境では、タイムアウトした後に [手動登録] を正常に完了するまで繰り返してください。</p> |
---|
43 | </div> |
---|
44 | |
---|
45 | <div class="basis-zip-item"> |
---|
46 | <h2>自動登録</h2> |
---|
47 | <p>下の [削除] <!--{if !$tpl_skip_update_csv}-->[郵便番号CSV更新] <!--{/if}-->[DB手動登録] を順に実行します。ただし、タイムアウトした場合、DBは元の状態に戻ります。</p> |
---|
48 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('auto', '', ''); return false;"><span class="btn-next">自動登録</span></a></p> |
---|
49 | </div> |
---|
50 | |
---|
51 | <div class="basis-zip-item"> |
---|
52 | <h2>DB手動登録</h2> |
---|
53 | <p>指定した行数から郵便番号を登録します。タイムアウトした場合、直前まで登録されます。</p> |
---|
54 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('manual', '', ''); return false;"><span class="btn-next">手動登録</span></a> 開始行: <input type="text" name="startRowNum" value="<!--{$arrForm.startRowNum|default:$tpl_count_mtb_zip+1|h}-->" size="8"><span class="attention"><!--{$arrErr.startRowNum}--></span></p> |
---|
55 | </div> |
---|
56 | |
---|
57 | <div class="basis-zip-item"> |
---|
58 | <h2>郵便番号CSV更新</h2> |
---|
59 | <!--{if $tpl_skip_update_csv}--> |
---|
60 | ご利用頂けません。 |
---|
61 | <!--{if $tpl_zip_download_url_empty}--> |
---|
62 | <p class="attention">※ パラメータ ZIP_DOWNLOAD_URL が未設定です。</p> |
---|
63 | <!--{/if}--> |
---|
64 | <!--{if $tpl_zip_function_not_exists}--> |
---|
65 | <p class="attention">※ PHP 拡張モジュール「zip」が無効です。</p> |
---|
66 | <!--{/if}--> |
---|
67 | <!--{else}--> |
---|
68 | <p>日本郵便の WEB サイトから、郵便番号CSVを取得します。</p> |
---|
69 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('update_csv', '', ''); return false;"><span class="btn-next">更新</span></a><span class="attention"><!--{$arrErr.startRowNum}--></span></p> |
---|
70 | <!--{/if}--> |
---|
71 | </div> |
---|
72 | |
---|
73 | <div class="basis-zip-item end"> |
---|
74 | <h2>削除</h2> |
---|
75 | <p>全ての郵便番号を削除します。再登録するまで、住所自動入力は機能しなくなります。</p> |
---|
76 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete', '', ''); return false;"><span class="btn-next">削除</span></a></p> |
---|
77 | </div> |
---|
78 | </form> |
---|
79 | <!--{else}--> |
---|
80 | <iframe src="?mode=<!--{$tpl_mode|h}-->&exec=yes&startRowNum=<!--{$arrForm.startRowNum|h}-->" name="progress" height="200" width="750" frameborder="0"></iframe> |
---|
81 | <!--{/if}--> |
---|