
<%
/************************************************************@@
  * Program Name	: doc_regist.jsp
  * Description		: /집계자/내문서함/등록함/문서 등록
  * Author			: 기현테크
  * Create Date		: 2010.11.25
  * History				:
@@************************************************************/
%>
<%@ page contentType="text/html; charset=UTF-8"
	import="java.net.URLEncoder"
	import="kr.co.kihyun.beans.user.HttpSSOLogin" import="java.util.*"
	import="java.io.StringReader"
	import="javax.swing.text.html.parser.ParserDelegator"
	import="kr.co.kihyun.lang.Encoder"
    import="kr.co.kihyun.util.Stopwatch"
	import="kr.co.kihyun.text.html.TagFilter"
	import="kr.co.kihyun.text.html.ServletUtil"
	import="kr.co.kihyun.text.html.CallbackHandler"
	import="kr.co.kihyun.moumi.Moumi"
    import="kr.co.kihyun.moumi.doc.MDoc"
	import="kr.co.kihyun.moumi.doc.table.MTable"
	import="kr.co.kihyun.moumi.doc.table.TableDefine"
	import="kr.co.kihyun.moumi.doc.table.TableCreation"
	import="kr.co.kihyun.moumi.doc.table.item.MItem"
	import="kr.co.kihyun.lang.MInteger"
    import="kr.co.kihyun.lang.MString"
	import="java.net.URLEncoder"
    import="java.net.URLDecoder"%>
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>
<%
try{
	/*********** 소요시간 체크 ***********/
	Stopwatch stopwatch = new Stopwatch();
	long startTime = stopwatch.start();

	/********** session내의 userId **********/
	String usID = HttpSSOLogin.getLoginID(request);

	/************ top value ************/
	String dirPath = URLEncoder.encode("<a href=\"/totsys/totper/mydocbox/index.html\" class=\"d11_blue\">내문서</a> &gt; <a href=\"/totsys/totper/mydocbox/formbox/doc_list.jsp\" class=\"d11_blue\">양식함</a>", "UTF-8");

	/********** parameter **********/
	String docName = clearXSS(URLDecoder.decode(MString.checkNull(request.getParameter("docName")), "UTF-8"),"");
	String accAuth = clearXSS(request.getParameter("accAuth"),"");
	String stDate = clearXSS(request.getParameter("stDate"),"");
	String edDate = clearXSS(request.getParameter("edDate"),"");
	String deptIDs = clearXSS(request.getParameter("deptIDs"),"");
	String repDocID = clearXSS(request.getParameter("repDocID"),"");
	String docGroupID = clearXSS(request.getParameter("docGroupID"),"");

	String strPage = clearXSS(request.getParameter("strPage"),"");
	String findOption = clearXSS(request.getParameter("findOption"),"");
	String findWord = clearXSS(Encoder.toJava(request.getParameter("findWord")),"");
	String titleName = Moumi.getMessageBundle().getString("moumi.message.totsys.totper.mydocbox.formbox.doc_list_jsp")+" > "+Moumi.getMessageBundle().getString("moumi.message.totsys.totper.mydocbox.formbox.doc_reform_config_jsp");
	%>
<HTML>
<HEAD>
<TITLE><%=Moumi.getTitle()%></TITLE>
<link rel="stylesheet" href="/totsys/common/css/text.css"
	type="text/css">
<link rel="stylesheet" href="/totsys/common/css/kecttep.css"
	type="text/css">
</HEAD>

<body style='' BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0"
	MARGINWIDTH="0" MARGINHEIGHT="0">
<table width="100%" height="70" border="0" cellpadding="0"
	cellspacing="0">
	<tr>
		<td nowrap width="0"></td>
		<td valign="top">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<jsp:include page="/totsys/common/inc/title/title.jsp" flush="true">
				<jsp:param value='<%= URLEncoder.encode(titleName, "UTF-8") %>'
					name="title" />
				<jsp:param value='<%= URLEncoder.encode(docName, "UTF-8") %>'
					name="desc" />
			</jsp:include>
			<!------------------------------- form config start ------------------------------->
			<jsp:include
				page="/totsys/common/inc/documents/tot_doc/form_config_form.jsp"
				flush="true">
				<jsp:param name="docName"
					value='<%= URLEncoder.encode(docName, "UTF-8") %>' />
				<jsp:param name="stDate" value="<%= stDate %>" />
				<jsp:param name="edDate" value="<%= edDate %>" />
				<jsp:param name="deptIDs" value="<%= deptIDs %>" />
				<jsp:param name="accAuth" value="<%= accAuth %>" />
				<jsp:param name="repDocID" value="<%= repDocID %>" />
				<jsp:param name="docGroupID" value="<%= docGroupID %>" />
			</jsp:include>
			</form>


		</table>
		</td>
	</tr>
</table>
</BODY>
<div id="SetWin"
	style="position: absolute; Visibility : 'hidden'; width :'100'; height :'100'; background: silver; border: 1 #333333 solid; line-height: 1.4em; padding: 3 3">
</HTML>
<%
}catch(Exception ex){ex.printStackTrace();
	out.println(kr.co.kihyun.text.html.ServletUtil.getJavaScript("location='/servlet/kr.co.kihyun.beans.user.HttpSSOLogin?mode=logout';"));
}finally{
}
%>
