
<%
/************************************************************@@
  * 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.lang.MLong" 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);

	/****** Parameter ******/
	Long docID = MLong.parseLong(request.getParameter("docID"),null);
	String strPage = clearXSS(request.getParameter("strPage"),"");
	String findOption = clearXSS(request.getParameter("findOption"),"");
	String findWord = clearXSS(Encoder.toJava(request.getParameter("findWord")),"");

	String url= clearXSS(request.getParameter("url"),"");

	session.setAttribute("modifySuccTargetURI", "totper/mydocbox");
	session.setAttribute("modifyFailTargetURI", "/totsys/sysadm/prssbox/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/SquareButtons.css"
	type="text/css">
<script src="/totsys/common/js/rollover.js"></script>
<link rel="stylesheet" href="/totsys/common/css/kecttep.css"
	type="text/css">
<link rel="stylesheet" href="/totsys/common/css/tabs.css"
	type="text/css">
<script>
			function modify(){
				location.href="/totsys/sysadm/prssbox/doc_view.jsp?docID=<%= docID %>";
			}

			function formView(){
				location.href="/totsys/sysadm/prssbox/doc_form_view.jsp?docID=<%=docID%>";
			}

			function reports(){
				location.href="/totsys/sysadm/prssbox/reports/report_list.jsp?docID=<%= docID %>";
			}

			function totReports(){
				location.href="/totsys/sysadm/prssbox/tot_reports/total_reports.jsp?docID=<%= docID %>";
			}

			function totReport(){
				location.href="/totsys/sysadm/prssbox/tot_report/total_report.jsp?docID=<%= docID %>";
			}
		</script>
</HEAD>

<body style='' BGCOLOR="#FFFFFF" LEFTMARGIN="0" TOPMARGIN="0"
	MARGINWIDTH="0" MARGINHEIGHT="0">
<div>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<jsp:include page="/totsys/common/inc/totper/top/top.jsp" flush="true" />
	<jsp:include page="/totsys/common/inc/title/title.jsp" flush="true" />
</table>
</div>

<div id="header">
<ul id="primary">
	<li><span class="kecttep_menu_focous">기본정보</span></li>
	<li><a href="#" onclick="formView();">양식정보</a></li>
	<li><a href="#" onclick="reports();">제출현황</a></li>
	<li><a href="#" onclick="totReports();">집계현황</a></li>
	<li><a href="#" onclick="totReport();">집계표</a></li>
</ul>
</div>

<div id="main">
<div id="contents">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr class="toolbar">
		<td align="left">
		<table border="0" cellspacing="0" cellpadding="0">
			<tr>
				<td><a class="simplebutton" href="#"
					onclick="javascript:cancle();"><span class="no"><%= Moumi.getMessageBundle().getString("moumi.message.button.docCancel") %></span></a>
				</td>
			</tr>
		</table>
		</td>
	</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="0">
	<tr>
		<td height="10"></td>
	</tr>

	<tr>
		<td valign="top"><!------------------------------- 문서 기본정보 변경 시작 ------------------------------->
		<jsp:include
			page="/totsys/common/inc/documents/tot_doc/base_info_modify.jsp"
			flush="true">
			<jsp:param name="docID" value="<%= docID %>" />
			<jsp:param name="url" value="<%= url %>" />
			<jsp:param name="redirectURI"
				value="/totsys/sysadm/prssbox/doc_list.jsp" />
			<jsp:param name="url_sysadm" value="mmprss" />
		</jsp:include> <!------------------------------- 문서 기본정보 변경 시작 ------------------------------->
		</td>
	</tr>
</table>
</div>
</div>
<!------------------------------- top menu start ------------------------------->
<%@ include file="/totsys/common/inc/buttom/buttom.jsp"%>
<!------------------------------- top menu end ------------------------------->

</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{}
%>
