<?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" />
<!-- history.back() で戻るボタンを表示します。	-->
<jsp:directive.include file="/jsp/common/history_back.jsp" />

<og:equals val1="{@action}" val2="DELETE" notEquals="true">
	<og:upload
		fileURL     = "{@SYS.REAL_PATH}{@USER.BASE_DIR}"
	/>
	<og:bizLogic logics="an.AN0003S" keys="FILE" vals="{@file1}" />
</og:equals>

<og:equals val1="{@action}" val2="DELETE">
	<og:file action="delete" fileURL="{@SYS.REAL_PATH}" file1="{@FILE_PATH}" useStop="false" />
</og:equals>

<og:query command="NEW">
	update {@TBLNAME}
	set {@CLMNAME} = '{@file1}'
		,{@CLMSNAME} = '{@RETURN}'
		,DYUPD = '{@USER.YMDH}'
		,PGUPD = '{@GUI.KEY}'
		,PGPUPD = '{@GUI.KEY}'
		,USRUPD = '{@USER.ID}'
	where UNIQ = '{@UNIQ}'
</og:query>

<og:forward page="../{@GAMENID}/result.jsp" gamenId="{@GAMENID}" keys="command" vals="RENEW" />

</jsp:root>
