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

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

	session.setAttribute("modifySuccTargetURI", "/totsys/totper/mydocbox/prssbox/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">
<link rel="stylesheet" href="/totsys/common/css/kecttep.css"
	type="text/css">
<script src="/totsys/common/js/rollover.js"></script>
<script src="/totsys/common/js/popup.js"></script>
<script language="javascript">
			function formContentModify(){
				location.href="/totsys/totper/mydocbox/prssbox/form_content_modify.jsp?docID=<%=docID%>";
			}
		</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" />
	<!------------------------------- top menu end ------------------------------->
	<tr>
		<td nowrap width="0"></td>
		<td>
		<table width="100%" border="0" cellspacing="0" cellpadding="0">
			<jsp:include page="/totsys/common/inc/title/title.jsp" flush="true" />
			<tr>
				<td>
				<table border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td><a href="./doc_list.jsp"><img
							src="/totsys/common/images/bt_doc_list.gif" border="0"></a></td>
						<td width="3"></td>
						<td><a href="./doc_view.jsp?docID=<%= docID %>"><img
							src="/totsys/common/images/info_modify.gif" border="0"></a></td>
						<td width="3"></td>
						<td><a href="./doc_form_view.jsp?docID=<%= docID %>"><img
							src="/totsys/common/images/bt_form_view2.gif" border="0"></a></td>
						<td width="3"></td>
						<td><a href="./reports/report_list.jsp?docID=<%= docID %>"><img
							src="/totsys/common/images/bt_report_list.gif" border="0"></a></td>
						<td width="3"></td>
						<td><a
							href="./tot_reports/total_reports.jsp?docID=<%= docID %>"><img
							src="/totsys/common/images/bt_total_reports.gif" border="0"></a></td>
						<td width="3"></td>
						<td><a
							href="./tot_report/total_report.jsp?docID=<%= docID %>"><img
							src="/totsys/common/images/bt_total_report.gif" border="0"></a></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>
				<!----  subtopbar  버튼 시작---->
				<td>
				<table width="100%" border="0" cellpadding="0" cellspacing="0">
					<tr>
						<td width="537">&nbsp;</td>
						<td align="right"><!--<table border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td><a href="#" onclick="javacscript:formContentModify();"><img src="/totsys/common/images/bt_doctxt_modify.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./doc_form_modify.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_form_modify2.gif" border="0"></a></td>

											</table>--></td>
					</tr>
				</table>
				</td>
			</tr>
			<!----  topbar  버튼 끝---->




			<!----  topbar  버튼 시작----
						<tr>
							<td>
								<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" border="0"></a></td>
										<td align="right">
											<table border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td><a href="./doc_view.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_doc_view.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./doc_form_view.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_form_view2.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./reports/report_list.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_report_list.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./tot_reports/total_reports.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_total_reports.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./tot_report/total_report.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_total_report.gif" border="0"></a></td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<!----  topbar  버튼 끝----
						</tr>
<!--1픽셀 띄우기--
<tr>
	<td height="1">
	</td>
<tr>

<!--파란색 밑줄--
<tr>
	<td bgcolor="6891cb" height="2"></td>
</tr>
<!--1픽셀 띄우기--
<tr>
	<td height="1">
	</td>
<tr>
						<tr>
							<!----  subtopbar  버튼 시작----
							<td>
								<table width="100%" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="537">&nbsp;</td>
										<td align="right">
											<!--<table border="0" cellspacing="0" cellpadding="0"
												<tr>
													<td><a href="#" onclick="javacscript:formContentModify();"><img src="/totsys/common/images/bt_doctxt_modify.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./doc_form_modify.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_form_modify2.gif" border="0"></a></td>

											</table>--
										</td>
									</tr>
								</table>
							</td>
							<!----  topbar  버튼 끝----
						</tr>
버튼 정렬 끝 	-------------------------->



			<!------------------------------- 양식정의 시작 ------------------------------->
			<jsp:include
				page="/totsys/common/inc/documents/tot_doc/modify_form_config.jsp"
				flush="true">
				<jsp:param name="docID" value="<%= docID %>" />
			</jsp:include>
			<!------------------------------- 양식정의 끝 ------------------------------->

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

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

				<!-------------- 버튼 삭제 시작 -----------
							<!----  subtopbar  버튼 시작----
							<tr>
							<td>
								<table width="100%" border="0" cellpadding="0" cellspacing="0">
									<tr>
										<td width="537">&nbsp;</td>
										<td align="right">
											<!--<table border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td><a href="#" onclick="javacscript:formContentModify();"><img src="/totsys/common/images/bt_doctxt_modify.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./doc_form_modify.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_form_modify2.gif" border="0"></a></td>

											</table>--양식 수정 속성수정>

										</td>
									</tr>
								</table>
							</td>
							<!----  topbar  버튼 끝----
						</tr>

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

<!--1픽셀 띄우기--
<tr>
	<td height="1">
	</td>
<tr>
						<tr>
							<!----  topbar  버튼 시작----
							<td>
								<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" border="0"></a></td>
										<td align="right">
											<table border="0" cellspacing="0" cellpadding="0">
												<tr>
													<td><a href="./doc_view.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_doc_view.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./doc_form_view.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_form_view2.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./reports/report_list.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_report_list.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./tot_reports/total_reports.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_total_reports.gif" border="0"></a></td>
													<td width="3"></td>
													<td><a href="./tot_report/total_report.jsp?docID=<%= docID %>"><img src="/totsys/common/images/bt_total_report.gif" border="0"></a></td>
												</tr>
											</table>
										</td>
									</tr>
								</table>
							</td>
							<!----  topbar  버튼 끝----
						</tr>
버튼 삭제 끝 -------------------->
		</table>
		</td>
		<td nowrap width="10"></td>
	</tr>
	<!------------------------------- buttombar start ------------------------------->
	<%@ include file="/totsys/common/inc/buttom/buttom.jsp"%>
	<!------------------------------- buttombar 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{
}
%>
