<?xml version="1.0" encoding="UTF-8" ?>
<jsp:root
	xmlns:jsp="http://java.sun.com/JSP/Page"
	xmlns:og="hybs-taglib.tld"
	version="2.0">
<jsp:directive.page language="java" contentType="text/html; charset=UTF-8" />

<og:head headType="init" >
<og:text>
	<script type="text/javascript" src="{@SYS.JSP}/common/dragFiles.js?v={@SYS.BUILD_ID}"><!-- --></script>
</og:text>

	<style>
		#uploadinput { display: none; }
		#uploadsugmit{ display: none; }
		#drag-area{
			border:double 3px black;
			background-color:#EEEEEE;
		}

		body{ height: auto; width: auto;}
	</style>
</og:head>

<body>
<!-- ﾌｧｲﾙｱｯﾌﾟﾛｰﾄﾞ（ﾄﾞﾗｯｸﾞ&ﾄﾞﾛｯﾌﾟ／ﾌｧｲﾙ選択） -->
<og:text>
	<div id="drag-area" >
		<p id="uploaddrop" style="display:none;">
			<img src="{@SYS.JSP}/image/dragFiles.png" style="width:100px;height:100px;" />
		</p><br />
		<span class="btn-group">
			<og:input type="file" name="FILE_01" optionAttributes="multiple='multiple'" id="uploadinput" td="false"/>
			<!-- 「or ﾌｧｲﾙを選択」ﾎﾞﾀﾝ -->
			<button id="uploadbtn" style="width:100px;">{@LBL.FILE_IN}</button>
		</span>
		<!-- 実行ﾎﾞﾀﾝ(非表示) -->
		<og:button type="submit" id="uploadsugmit">{@LBL.SUBMIT}</og:button>
		<!-- ｱｯﾌﾟﾛｰﾄﾞの進捗状況 -->
		<div id="completeStatus"><!-- --></div>
		<div id="status"><!-- --></div>
		<!-- ｱｯﾌﾟﾛｰﾄﾞしたﾌｧｲﾙを表示 -->
		<div id="uploadinfo" style="display:none;"><!-- --></div>
		<div id="uploadform" style="display:none;" >><!-- --></div>

<og:text>x{@UPLOAD_DIR}x</og:text>

		<og:userInfo command="SET" key="UPLOAD_DIR" value="{@SYS.REAL_PATH}jsp/{@UPLOAD_DIR}" caseNN="{@UPLOAD_DIR}" />
		<og:userInfo command="SET" key="UPLOAD_DIR" value="{@USER.ID}" caseNull="{@UPLOAD_DIR}" />
	</div>
</og:text>

</body>
</jsp:root>
