
<%
/************************************************************@@
  * Program Name	: doc_modify.jsp
  * Description		: /집계자/내문서함/등록함/기본정보 변경
  * Author				: 강원중
  * Create Date		: 2004-11-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.lang.Encoder"
	import="kr.co.kihyun.moumi.doc.MDoc"%>

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

<%
try{
	/********** 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 docID = clearXSS(request.getParameter("docID"),"");
	String strPage = clearXSS(request.getParameter("strPage"),"");
	String findOption = clearXSS(request.getParameter("findOption"),"");
	String findWord = clearXSS(Encoder.toJava(request.getParameter("findWord")),"");

	session.setAttribute("modifySuccTargetURI", "/totsys/totper/mydocbox/formbox/doc_view.jsp?docID="+docID);
	session.setAttribute("modifyFailTargetURI", "/totsys/totper/mydocbox/formbox/doc_modify.jsp?docID="+docID);
	%>
<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">
<script src="/totsys/common/js/rollover.js"></script>
</HEAD>

<body style='' BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0"
	MARGINWIDTH="0" MARGINHEIGHT="0" onload="docForm.docName.focus();">
<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 valign="top">
		<table width="100%" border="0" cellspacing="0" cellpadding="0">

			<!-- 뉴타이틀 -->
			<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>
					</tr>
				</table>
				</td>
			</tr>
			<!----  topbar  버튼 끝---->
			<tr>
				<td height="31" valign="top">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">

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

					<tr nowrap height="10">
						<td height="10"></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<!------------------------------- 등록자 정보 시작 ------------------------------->
					<jsp:include page="/totsys/common/inc/totper/totper.jsp"
						flush="true">
						<jsp:param name="docID"
							value="<%= docID %>" />
					</jsp:include>
					<!------------------------------- 등록자 정보 끝 ------------------------------->
					<tr nowrap height="10">
						<td height="10"></td>
						<td></td>
						<td></td>
						<td></td>
					</tr>
					<!------------------------------- 문서기본정보 변경 시작 ------------------------------->
					<jsp:include
						page="/totsys/common/inc/documents/form_doc/base_info_modify.jsp"
						flush="true">
						<jsp:param name="docID" value="<%= docID %>" />
					</jsp:include>
					<!------------------------------- 문서기본정보 변경 끝 ------------------------------->
				</table>
				</td>
			</tr>

			<!--파란색 밑줄-->
			<tr>
				<td bgcolor="6891cb" height="2"></td>
			</tr>

			<!--1픽셀 띄우기-->
			<tr>
				<td height="1"></td>
			<tr>

				<!----  bottom bar  버튼 시작 ---->
			<tr>
				<td valign="top">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td width="12" 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>
			<!----  bottom bar  버튼 끝 ---->
		</table>
		</td>
		<td nowrap width="10"></td>
	</tr>
	<!------------------------------- top menu start ------------------------------->
	<%@ include file="/totsys/common/inc/buttom/buttom.jsp"%>
	<!------------------------------- top menu end ------------------------------->
</table>
</BODY>
</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{}
%>
