MST1150.tpl
11.1 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<HTML>
<HEAD>
<META name="GENERATOR" content="Microsoft FrontPage 4.0">
<META http-equiv="Content-Type" content="text/html; charset=EUC-JP">
<META http-equiv="Content-Style-Type" content="text/css">
<link href="./css/style.css" rel="stylesheet" type="text/css">
<TITLE>め〜るNiポン!</TITLE>
<script type="text/javascript" src="./include/input_chk.js" charset="EUC-JP"></script>
<script>
{literal}
function Disp_List(){
document.frm.action="./MST1100.php";
document.frm.method="POST";
document.frm.submit();
return;
}
function Out_File(){
document.frm.action="./MST1159.php";
document.frm.method="POST";
document.frm.submit();
return;
}
function CheckFile(){
if (document.frm.userfile.value == ""){
alert("ファイルを選択してください");
return false;
}else{
document.frm.action="./MST1151.php";
document.frm.method="POST";
document.frm.submit();
return;
}
}
{/literal}
</script>
</HEAD>
<BODY bgcolor="White">
<FORM name="frm" enctype="multipart/form-data" method="post">
<!-- ヘッダー表示 -->
{include file='header.tpl'}
<!-- メニュー表示 -->
{include file='menu.tpl'}
<table width="100%" border="0">
<tr>
<th><B><font color=blue size=5>CSV一括登録・出力</font></B></th>
</tr>
</table>
<hr />
<TABLE border="0" width="100%">
<TR>
<TD align="center">
<INPUT type="button" name="back" value="一覧に戻る" onClick="Disp_List();">
</TD>
</TR>
<TR>
<TD align="center">
<table border="0" width="90%">
<tr>
<td align="center">
<input type="button" value="CSV出力" onClick="Out_File();">
</td>
<td align="center">
<input type="hidden" name="MAX_FILE_SIZE" value="10000000">
<b>一括登録:</b>
<input name="userfile" type="file" size="60" contenteditable="false">
<input type="button" value=" 実 行 " onClick="CheckFile();">
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD align="center">
<table border="0" width="90%">
<tr>
<td align="center">
<FONT size=3>■CSVファイルの形式 <b><font color="#FF0000">※</font></b>は必須入力です</font><br>
</td>
</tr>
<tr>
<td>
<b><font color="#FF0000" size=3>※CSVの一覧を作成の際は、一度出力・保存をしていただきますと、出力したものを雛型としてご利用いただけます。</font></b>
</td>
</tr>
<tr>
<td>
<b><font color="#FF0000" size=4>下記の注意事項以外のデータを作成し、登録した際のデータ不具合は弊社のサポート対象外となります。</font></b>
</td>
</tr>
<tr>
<td align="center">
<table width="90%" border="0" cellspacing="1" cellpadding="1" class="mainColor">
<tr>
<td>
<table cellspacing="1" cellpadding="1" width="100%" align="center" class="mainColor" border="0">
<tr>
<td class="toneDown" align="center" width="100">要素番号</td>
<td class="toneDown" align="center" width="150">項目名</td>
<td class="toneDown" align="center" >備考</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100"> </td>
<td class="backWhite" align="center" width="150"><font color="#FF0000"><b>タイトル行</b></font></td>
<td class="backWhite" align="left">
<font color="#FF0000"><b>・ CSV登録する際に必ず1行目にタイトル行を作成してください</b></font?>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">0</td>
<td class="backWhite" align="center" width="150">データNo.</td>
<td class="backWhite" align="left" >
・ユーザーの処理番号です<br>
・新規追加ユーザーは入力無しで設定してください<br>
・また、CSV出力により設定されている番号は変更しないでください<br>
データ不正の原因となります<br>
既存のユーザー処理番号を入力して登録した場合はデータの<br>
上書き保存となります<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">1</td>
<td class="backWhite" align="center" width="150">漢字姓 <b><font color="#FF0000">※</font></b></td>
<td class="backWhite" align="left" >
・最大全角50文字まで入力可能です<br>
・個別に更新する際に全角以外の文字を入力するとエラーとなります<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">2</td>
<td class="backWhite" align="center" width="150">漢字名</td>
<td class="backWhite" align="left" >
・最大全角50文字まで入力可能です<br>
・個別に更新する際に全角以外の文字を入力するとエラーとなります<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">3</td>
<td class="backWhite" align="center" width="150">カナ姓</td>
<td class="backWhite" align="left" >
・最大全角カタカナ100文字まで入力可能です<br>
・個別に更新する際に全角カタカナ以外の文字を入力するとエラーとなります<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">4</td>
<td class="backWhite" align="center" width="150">カナ名</td>
<td class="backWhite" align="left" >
・最大全角カタカナ100文字まで入力可能です<br>
・個別に更新する際に全角カタカナ以外の文字を入力するとエラーとなります<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">5</td>
<td class="backWhite" align="center" width="150">性別</td>
<td class="backWhite" align="left" >
・「男」「女」以外は設定しないでください<br>
・未入力、上記設定値以外は「男」となります<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">6</td>
<td class="backWhite" align="center" width="150">所属 <b><font color="#FF0000">※</font></b></td>
<td class="backWhite" align="left" >
・所属グループを選択します<br>
・所属は必ず3桁の半角数字を入力してください<br>
※例:001(Excelにて入力する場合は「'001」と入力してください)<br>
・複数グループ所属時は"/"(スラッシュ)で区切ってください<br>
(設定例) 001/002/003/<br>
下記一覧以外の値は使用しないでください<br>
<table width="300" border="0" cellspacing="1" cellpadding="1" class="mainColor">
<tr>
<td>
<table cellspacing="1" cellpadding="1" align="center" class="mainColor" border="0">
<tr>
<td class="toneDown" align="center" width="150">グループ番号</td>
<td class="toneDown" align="center" width="150">グループ名</td>
</tr>
{section name=idx loop=$Group_Data}
<tr>
<td class="backWhite" align="center" width="150">{$Group_Data[idx][0]}</td>
<td class="backWhite" align="center" width="150">{$Group_Data[idx][1]}</td>
</tr>
{/section}
</table>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">7</td>
<td class="backWhite" align="center" width="150">メールアドレス(PC)</td>
<td class="backWhite" align="left" >
・PC側メールアドレスを設定します<br>
・半角英数文字のみ入力してください<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">8</td>
<td class="backWhite" align="center" width="150">メールアドレス(携帯)</td>
<td class="backWhite" align="left" >
・携帯電話側メールアドレスを設定します<br>
・半角英数文字のみ入力してください<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">9</td>
<td class="backWhite" align="center" width="150">郵便番号</td>
<td class="backWhite" align="left" >
・「-」なし半角数字のみで入力してください<br>
・最大半角7文字まで入力可能です<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">10</td>
<td class="backWhite" align="center" width="150">住所(県)</td>
<td class="backWhite" align="left" >
・正式な県名を入力してください<br>
(設定例)<br>
<b><font color="#FF0000">×</font></b> 宮城<br>
<b>○</b> 宮城県<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">11</td>
<td class="backWhite" align="center" width="150">住所(市)</td>
<td class="backWhite" align="left" >
・全角50文字まで入力可能です<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">12</td>
<td class="backWhite" align="center" width="150">住所(町名番地)</td>
<td class="backWhite" align="left" >
・全角50文字まで入力可能です<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">13</td>
<td class="backWhite" align="center" width="150">住所(その他)</td>
<td class="backWhite" align="left" >
・全角50文字まで入力可能です<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">14</td>
<td class="backWhite" align="center" width="150">電話番号</td>
<td class="backWhite" align="left" >
・半角14文字まで入力可能です<br>
・局番の区切りには「-」を入力してください<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">15</td>
<td class="backWhite" align="center" width="150">携帯電話番号</td>
<td class="backWhite" align="left" >
・半角14文字まで入力可能です<br>
・番号の区切りに「-」を入力してください<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">16</td>
<td class="backWhite" align="center" width="150">メモ</td>
<td class="backWhite" align="left" >
・メモ欄にご使用ください<br>
</td>
</tr>
<tr>
<td class="backWhite" align="center" width="100">17</td>
<td class="backWhite" align="center" width="150">会社名</td>
<td class="backWhite" align="left" >
・全角25文字まで入力可能です<br>
</td>
</tr>
</table>
</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
<TR>
<TD align="center">
<INPUT type="button" name="back" value="一覧に戻る" onClick="Disp_List();">
</TD>
</TR>
</TABLE>
<!-- フッター表示 -->
{include file='footer.tpl'}
</FORM>
</BODY>
</HTML>