
<%
/************************************************************@@
  * 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.moumi.doc.MDoc"%>

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

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

	/****** Parameter ******/
	String docID = "";
	docID = clearXSS(request.getParameter("docID"),"");

	/************ 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> &gt; <a href=\"/totsys/totper/mydocbox/regbox/doc_view.jsp?docID="+docID+"\" class=\"d11_blue\">문서 기본정보</a>", "UTF-8");

	session.setAttribute("modifySuccTargetURI", "totper/mydocbox");
	session.setAttribute("modifyFailTargetURI", "/totsys/totper/mydocbox/regbox/doc_modify.jsp?docID="+docID);
	%>
<HTML>
<HEAD>
<TITLE><%=Moumi.getTitle()%></TITLE>
<link rel="stylesheet" href="/totsys/common/css/text.css" type="text/css">
</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">
			<tr>
				<td></td>
			</tr>

			<!--스타일시트-->
			<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 height="">
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td>
                                                    <a href="./doc_list.jsp">
                                                        <img src="/totsys/common/images/bt_doc_list.gif">
                                                    </a>
                                                </td>
						<td width="22">&nbsp;</td>
					</tr>
				</table>
				</td>
			</tr>
			<!----  topbar  버튼 끝---->

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

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

			<!--1픽셀 띄우기-->
			<tr>
				<td height="1"></td>
			<tr>
			<tr>
				<!---- 내용---->
				<td height="31" valign="top">
				<table width="100%" border="0" cellspacing="0" cellpadding="0">
					<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/tot_doc/base_info_modify.jsp"
						flush="true">
						<jsp:param name="docID" value="<%= docID %>" />
					</jsp:include>
					<!------------------------------- 문서기본정보 변경 끝 ------------------------------->
				</table>
				</td>
			</tr>

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

				<!--파란색 밑줄-->
			<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 width="12" valign="top">
                                                    <a href="./doc_list.jsp">
                                                        <img src="/totsys/common/images/bt_doc_list.gif" border="0">
                                                    </a>
                                                </td>
						<td align="right" valign="top">&nbsp;</td>
					</tr>
				</table>
				<!----  bottom bar  버튼 끝 ----></td>
			</tr>
		</table>
		</form>
		</td>
		<td nowrap width="10">&nbsp;</td>
	</tr>

	<!--1픽셀 띄우기-->
	<tr>
		<td height="31"></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: auto ; height : auto; background: silver; border: 1 #333333 solid; line-height: 1.4em; padding: 3 3"></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{}
%>
