<?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="result" />

<og:readTable
	command		= "NEW"
	fileURL		= "{@SYS.REAL_PATH}report/{@USER.BASE_GAMENID}"
	filename	= "fileDownloadList.txt"
	scope		= "request"
	mainTrans	= "false"
/>

<og:columnCheck command="{@command}" />

<og:equals val1="{@command}" val2="INSERTONE">
	<og:value command="SET" key="MODELNAME" value="{@USER.ID}_{@USER.YMDH}"/>
</og:equals>

<og:equals val1="MODIFY|REALDELETE" val2="{@command}" contains="true">
	<og:value command="SETTBL" tblScope="request" key="REPNAME"/>
	<og:value command="SETTBL" tblScope="request" key="TYPE"/>
	<og:value command="SETTBL" tblScope="request" key="MODELNAME"/>
	<og:value command="SETTBL" tblScope="request" key="ISREP"/>

	<!-- デフォルトで定義されている出力方法は変更できないようにしています -->
	<og:equals val1="{@ISREP}" val2="N">
		<jsp:directive.include file="/jsp/common/history_back.jsp" />
		<og:dataCheck
			command	= "NEW"
			lbl		= "GEE0001">
				(false)
		</og:dataCheck>
	</og:equals>
</og:equals>

<og:equals val1="{@command}" val2="REALDELETE">
	<og:forward page="entry.jsp" keys="command,MODELNAME" vals="{@command},{@MODELNAME}" />
</og:equals>

<form method="POST" action="upload.jsp" enctype="multipart/form-data">

<og:submit value="update" lbl="ENTRY" accesskey="E"/>
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<og:hidden keys="command,MODELNAME,file1_NEW,GAMENID,h_rowSel" vals="{@command},{@MODELNAME},{@MODELNAME},{@USER.BASE_GAMENID},{@h_rowSel}" />

<table summary="layout" >
<tr>
	<og:input type="file" name="file1" size="30" lbl="MSG0015" />
</tr>
<tr>
	<og:column name="REPNAME" value="{@REPNAME}" must="true" />
</tr>
<tr>
	<og:column name="TYPE" value="{@TYPE}" addNoValue="false" must="true" />
</tr>
</table>
</form>

<jsp:directive.include file="/jsp/common/htmlend.jsp" />
</jsp:root>
