1 | <!--{* |
---|
2 | /* |
---|
3 | * This file is part of EC-CUBE |
---|
4 | * |
---|
5 | * Copyright(c) 2000-2012 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 | |
---|
25 | <!--{if $tpl_mode|strlen == 0 || $arrErr|@count >= 1}--> |
---|
26 | <style type="text/css"> |
---|
27 | |
---|
28 | </style> |
---|
29 | <form name="form1" id="form1" method="get" action="?" onsubmit="return false;"> |
---|
30 | <input type="hidden" name="<!--{$smarty.const.TRANSACTION_ID_NAME}-->" value="<!--{$transactionid}-->" /> |
---|
31 | <input type="hidden" name="mode" value=""> |
---|
32 | <p><!--{t string="tpl_Date and time of saved postal code CSV update: T_FIELD_01" T_FIELD=$tpl_csv_datetime|h}--></p> |
---|
33 | <p><!--{t string="tpl_Postal code There are T_FIELD lines of data in the CSV._01" T_FIELD=$tpl_line|h}--></p> |
---|
34 | <p><!--{t string="tpl_Postal code There are T_FIELD lines of data in the DB._01" T_FIELD=$tpl_count_mtb_zip|h}--></p> |
---|
35 | <!--{if $tpl_count_mtb_zip == 0}--> |
---|
36 | <p class="attention"><!--{t string="tpl_Please carry out registration._01"}--></p> |
---|
37 | <!--{elseif $tpl_line <> $tpl_count_mtb_zip}--> |
---|
38 | <p class="attention"><!--{t string="tpl_There is a difference in the number of lines. There may be an abnormality in registration._01"}--></p> |
---|
39 | <!--{/if}--> |
---|
40 | |
---|
41 | <div class="basis-zip-item info"> |
---|
42 | <p><!--{t string="tpl_Under normal conditions_01" escape="none"}--></p> |
---|
43 | </div> |
---|
44 | |
---|
45 | <div class="basis-zip-item"> |
---|
46 | <h2><!--{t string="tpl_Automatic registration_01"}--></h2> |
---|
47 | <p> |
---|
48 | <!--{if !$tpl_skip_update_csv}--> |
---|
49 | <!--{t string="tpl_[Delete] [Postal code CSV update] and [DB manual registration] below will be carried out in order._01"}--> |
---|
50 | <!--{else}--> |
---|
51 | <!--{t string="tpl_[Delete] and [DB manual registration] below will be carried out in order. _01"}--> |
---|
52 | <!--{/if}--> |
---|
53 | </p> |
---|
54 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('auto', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Automatic registration_01"}--></span></a></p> |
---|
55 | </div> |
---|
56 | |
---|
57 | <div class="basis-zip-item"> |
---|
58 | <h2><!--{t string="tpl_DB manual registration_01"}--></h2> |
---|
59 | <p><!--{t string="tpl_Postal codes will be registered starting with the designated line number._01"}--></p> |
---|
60 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('manual', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Manual registration_01"}--></span></a> <!--{t string="tpl_Start line_01"}-->: <input type="text" name="startRowNum" value="<!--{$arrForm.startRowNum|default:$tpl_count_mtb_zip+1|h}-->" size="8"><span class="attention"><!--{$arrErr.startRowNum}--></span></p> |
---|
61 | </div> |
---|
62 | |
---|
63 | <div class="basis-zip-item"> |
---|
64 | <h2><!--{t string="tpl_Postal code CSV update_01"}--></h2> |
---|
65 | <!--{if $tpl_skip_update_csv}--> |
---|
66 | <!--{t string="tpl_Cannot be used._01"}--> |
---|
67 | <!--{if $tpl_zip_download_url_empty}--> |
---|
68 | <p class="attention"><!--{t string="tpl_* PHP extension module 'zip' is invalid._01"}--></p> |
---|
69 | <!--{/if}--> |
---|
70 | <!--{if $tpl_zip_function_not_exists}--> |
---|
71 | <p class="attention"><!--{t string="tpl_138"}--></p> |
---|
72 | <!--{/if}--> |
---|
73 | <!--{else}--> |
---|
74 | <p><!--{t string="tpl_A postal code CSV will be obtained from the Japan Post Web site._01"}--></p> |
---|
75 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('update_csv', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Update_01"}--></span></a><span class="attention"><!--{$arrErr.startRowNum}--></span></p> |
---|
76 | <!--{/if}--> |
---|
77 | </div> |
---|
78 | |
---|
79 | <div class="basis-zip-item end"> |
---|
80 | <h2><!--{t string="tpl_Remove_01"}--></h2> |
---|
81 | <p><!--{t string="tpl_All postal codes will be deleted. _01"}--></p> |
---|
82 | <p><a class="btn-normal" href="javascript:;" onclick="fnModeSubmit('delete', '', ''); return false;"><span class="btn-next"><!--{t string="tpl_Remove_01"}--></span></a></p> |
---|
83 | </div> |
---|
84 | </form> |
---|
85 | <!--{else}--> |
---|
86 | <iframe src="?mode=<!--{$tpl_mode|h}-->&exec=yes&startRowNum=<!--{$arrForm.startRowNum|h}-->" name="progress" height="200" width="750" frameborder="0"></iframe> |
---|
87 | <!--{/if}--> |
---|