addUserExcelUpload.php 1.68 KB
<? 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" ?>