addUserExcelUpload.php
1.68 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
<? include $_SERVER["DOCUMENT_ROOT"] . "/admin/inc/php/popupHeader.php" ?>
<script language="javascript">
$(document).ready(function(){
//=====프레입웤 변수들==================================================================================//
var FORM_TARGET_CLS_NM = "#Contents" ; // 폼을 동적 wrap 할 타겟 ID이름
var FORM_NAME = "alf" ; // 폼이름
var FORM_METHOD = "post" ; // 폼 메쏘드
var FORM_USE_FILE = true ; // 파일폼 사용 여부
var FORM_ACTION = "/action_front.php" ;
var NEXT_CMD = "" ; // 다은 수행 할 cmd
//=====================================================================================================//
var jForm = $(FORM_TARGET_CLS_NM).mf({ "name" : FORM_NAME , "method" : FORM_METHOD , "action" : FORM_ACTION , "useFile" : FORM_USE_FILE }) ;
$(".jSubmit").click2(function(){
$("#excelForm").submit();
});
$(".jCancel").click2(function(){
window.close();
});
}) ;
</script>
<div id="Contents" class="notice" style="width:580px;">
<h1 align="center">엑셀파일 업로드</h1>
<div class="datacList" style="width:580px; margin-top:50px; text-align:center;">
<form id="excelForm" action="/action_front.php?cmd=AdminUser.addUserForExcel" method="post" enctype="multipart/form-data">
<input type="hidden" id="flow" name="flow" value="ReOandClose">
업로드 할 Excel파일 <input type="file" name="file" />
<div class="btngroupcenter">
<span class="button bigrounded blue jSubmit">엑셀 업로드 </span>
<span class="button bigrounded blue jCancel">닫기 </span>
</div>
</form>
</div>
</div>
<? include $_SERVER["DOCUMENT_ROOT"] . "/admin/inc/php/footer.php" ?>