
<%
/************************************************************@@
  * Program Name	: doc_regist.jsp
  * Description		: /집계자/내문서함/등록함/문서 등록
  * Author				: 강원중
  * Create Date		: 2004.10.11
  * History				:
@@************************************************************/
%>
<%@ page contentType="text/html; charset=UTF-8"
	import="java.net.URLEncoder"
	import="kr.co.kihyun.beans.user.HttpSSOLogin"
	import="kr.co.kihyun.moumi.Moumi"
	import="kr.co.kihyun.text.html.ServletUtil"
	import="kr.co.kihyun.moumi.doc.MDoc"%>

<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%>

<%
try{
	/*********** User HttpSSOLogin check ***********/
	if(!HttpSSOLogin.isLogin(request)){
		String connURL="location='/totsys/login/login.jsp';";
		out.println(ServletUtil.getJavaScript(connURL));
		return;
	}

	/********** 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/regbox/doc_list.jsp\" class=\"d11_blue\">등록함</a>", "UTF-8");

	/********** parameter **********/
	String docID = clearXSS(request.getParameter("docID"),"");
	String strPage  = clearXSS(request.getParameter("strPage"),"");
	String findOption = clearXSS(request.getParameter("findOption"),"");
	String findWord = clearXSS(request.getParameter("findWord"),"");

//	session.setAttribute("modifySuccTargetURI", "/totsys/totper/mydocbox/regbox/doc_form_modify.jsp?docID="+docID);
	session.setAttribute("modifySuccTargetURI", "/totsys/totper/mydocbox/regbox/doc_form_view.jsp?docID="+docID);
%>
<HTML>
<HEAD>
<TITLE><%=Moumi.getTitle()%></TITLE>
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=UTF-8">
<link rel="stylesheet" href="/totsys/common/css/text.css"
	type="text/css">
<script src="/totsys/common/js/rollover.js"></script>
<script src="/totsys/common/js/popup.js"></script>
</HEAD>

<body style='' BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0"
	MARGINWIDTH="0" MARGINHEIGHT="0">
<table width="100%" height="70" border="0" cellpadding="0"
	cellspacing="0">
	<!------------------------------- top menu start ------------------------------->
	<jsp:include page="/totsys/common/inc/totper/top/top.jsp" flush="true">
		<jsp:param name="dirPath" value="<%= dirPath %>" />
	</jsp:include>
	<!------------------------------- top menu end ------------------------------->
	<tr>
		<td nowrap width="0"></td>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">

			<!--스타일시트-->
			<link rel="stylesheet" href="/totsys/common/css/kecttep.css"
				type="text/css">

			<!-- 뉴타이틀 -->
			<jsp:include page="/totsys/common/inc/title/title.jsp" flush="true" />
			<!-- 뉴타이틀 -->

			<!----  topbar  버튼 시작---->
			<tr>
				<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td><a
							href="./doc_list.jsp?strPage=<%= strPage %>&findOption=<%= findOption %>&findWord=<%= findWord %>"><img
							src="/totsys/common/images/bt_doc_list.gif" border="0"></a></td>
						<td width="22">&nbsp;</td>
						<td nowrap width="12">&nbsp;</td>
					</tr>
				</table>
				</td>
			</tr>

			<!--1픽셀 띄우기-->
			<tr>
				<td height="1"></td>
			<tr>
				<!--파란색 밑줄-->
			<tr>
				<td bgcolor="6891cb" height="2"></td>
			</tr>



			<!------------------------------- sub menu start ------------------------------->
			<jsp:include
				page="/totsys/common/inc/documents/tot_doc/modify_form_config.jsp"
				flush="true">
				<jsp:param name="docID" value="<%= docID %>" />
			</jsp:include>
			<!------------------------------- sub menu end ------------------------------->


			<!--파란색 밑줄-->
			<tr>
				<td bgcolor="6891cb" height="2"></td>
			</tr>
			<!--1픽셀 띄우기-->
			<tr>
				<td height="1"></td>
			<tr>
			<tr>
				<!---- bottom bar 버튼 ---->
				<td valign="top">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td valign="top"><a
							href="./doc_list.jsp?strPage=<%= strPage %>&findOption=<%= findOption %>&findWord=<%= findWord %>"><img
							src="/totsys/common/images/bt_doc_list.gif" border="0"></a></td>
					</tr>
				</table>
				</td>
			</tr>
		</table>
		</td>
		<td nowrap width="10"></td>
	</tr>
	<!------------------------------- top menu start ------------------------------->
	<%@ include file="/totsys/common/inc/buttom/buttom.jsp"%>
	<!------------------------------- top menu end ------------------------------->
</table>
</BODY>
<div id="SetWin" style="position: absolute; visibility: hidden; width: 100px; height: 100px; background: silver; border: 1px solid #333333; line-height: 1.4em; padding: 3px 3px"></div>
</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{
}
%>
