<?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" />
<jsp:directive.include file="/jsp/custom/result_info.jsp" />

<og:value command="SET" key="TEMP_DIR" value="{@DATE.YMDHMS}" />

<og:upload
	fileURL = "{@USER.ID}/{@TEMP_DIR}"
/>

<og:equals val1="{@file}{@insertDIR}" nullCheck="true" useStop="true" >
	<og:message lbl="ERR0036" val0="{@LBL.MSG0015} or insertDIR" />
</og:equals>


<og:equals val1="{@file}" val2="{@file}">
	<og:directXMLSave
		dbid	 = "{@DBID}"
		fileURL  = "{@USER.ID}/{@TEMP_DIR}"
		keys	 = "{@KEYS}"
		vals	 = "{@VALS}"
		debug	 = "{@debug}"
	/>

	<og:file action="delete" fileURL="{@USER.ID}/{@TEMP_DIR}" />

</og:equals>

<og:equals val1="{@insertDIR}" val2="{@insertDIR}">
	<og:directXMLSave
		dbid	 = "{@DBID}"
		fileURL  = "{@insertDIR}"
		keys	 = "{@KEYS}"
		vals	 = "{@VALS}"
		debug	 = "{@debug}"
	/>
</og:equals>

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