You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
209 lines
6.3 KiB
209 lines
6.3 KiB
|
|
<% |
|
/************************************************************@@ |
|
* Program Name : popup_content_write.jsp |
|
* Description : /보고자/내문서함/임시보고함/임시보고 |
|
* Author : 조용준 |
|
* Create Date : 2004-11-09 |
|
* History : |
|
@@************************************************************/ |
|
%> |
|
<%@ page contentType="text/html; charset=euc-kr"%> |
|
<%@ page import="kr.co.kihyun.beans.user.HttpSSOLogin"%> |
|
<%@ page import="kr.co.kihyun.lang.MString" |
|
import="kr.co.kihyun.lang.MLong"%> |
|
<%@ page import="kr.co.kihyun.util.MUtil"%> |
|
<%@ page import="kr.co.kihyun.moumi.Moumi"%> |
|
|
|
<jsp:useBean id="userView" class="kr.co.kihyun.beans.user.UserView" |
|
scope="page" /> |
|
<jsp:useBean id="reportView" |
|
class="kr.co.kihyun.beans.totsys.report.ReportView" scope="page" /> |
|
<jsp:useBean id="doc" class="kr.co.kihyun.beans.totsys.doc.Doc" |
|
scope="page" /> |
|
|
|
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%> |
|
|
|
<% |
|
try{ |
|
/********** session내의 userId **********/ |
|
String usID = HttpSSOLogin.getLoginID(request); |
|
|
|
/******* 보고자 정보 *********/ |
|
String deptID = ""; |
|
String deptName = ""; |
|
String userName = ""; |
|
String phone = ""; |
|
String email = ""; |
|
|
|
userView.executeQuery(usID); |
|
deptID = userView.getDeptID(); |
|
deptName = userView.getDeptName(); |
|
userName = userView.getName(); |
|
phone = userView.getPhone(); |
|
email = userView.getEmail(); |
|
|
|
/********** get parameter ***********/ |
|
Long docID = MLong.parseLong(request.getParameter("docID"),null); |
|
|
|
/********* report view *******/ |
|
String note = ""; |
|
%> |
|
<html> |
|
<head> |
|
<title><%=Moumi.getTitle()%></title> |
|
<link rel="stylesheet" href="/totsys/common/css/text.css" |
|
type="text/css"> |
|
<script src="/totsys/common/js/rollover.js"></script> |
|
<script language="javascript"> |
|
function init(){ |
|
if(!'<%=note%>' == ""){ |
|
//comment.value = '<%= note %>'; |
|
} |
|
comment.value = opener.dform.comment.value; |
|
comment.focus(); |
|
} |
|
|
|
function check(){ |
|
opener.dform.comment.value = comment.value; |
|
<% |
|
if(doc.isDynaTable(docID)){ |
|
out.println("opener.modifyForm.comment.value = comment.value;"); |
|
} |
|
%> |
|
self.close(); |
|
} |
|
</script> |
|
</head> |
|
|
|
<body style='' bgcolor="#FFFFFF" text="#000000" leftmargin="0" |
|
topmargin="0" marginwidth="0" marginheight="0" onload="init();"> |
|
<table width="600" border="0" cellspacing="0" cellpadding="0" |
|
height="350"> |
|
<tr> |
|
<td width="29"><img src="images/popupt_top_left.gif" width="29" |
|
height="19"></td> |
|
<td background="images/popupt_top_center.gif" height="19"> </td> |
|
<td width="30"><img src="images/popupt_top_right.gif" width="30" |
|
height="19"></td> |
|
</tr> |
|
<tr> |
|
<td background="images/popupt_center_left.gif"> </td> |
|
<td valign="top"> |
|
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
|
|
<!--스타일시트--> |
|
<link rel="stylesheet" href="/totsys/common/css/kecttep.css" |
|
type="text/css"> |
|
|
|
<!--타이틀--> |
|
<tr> |
|
<td style="padding-top: 10; padding-bottom: 10"> |
|
<table width="100%" height="29" border="0" cellpadding="0" |
|
cellspacing="0"> |
|
<tr> |
|
<td width="39" background="images/title1.gif"> </td> |
|
<td class="kecttep_title" background="images/titlebg.gif">의견</td> |
|
<td width="13" background="images/title2.gif"> </td> |
|
</tr> |
|
</table> |
|
</td> |
|
</tr> |
|
<!--타이틀 끝--> |
|
|
|
|
|
<tr> |
|
<td height="66" valign="top" |
|
style="padding-left: 10; padding-right: 10;"> |
|
<table width="100%" border="0" cellspacing="0" cellpadding="0"> |
|
<!---- 작성자 정보 시작 ----> |
|
<tr> |
|
<td height="27" colspan="4"><img |
|
src="images/s_write_info.gif"></td> |
|
</tr> |
|
|
|
<!--테이블양식--> |
|
<tr> |
|
<td colspan="4"> |
|
<table border="1" bordercolor="#abbddd" width="100%" |
|
cellpadding="0" cellspacing="0"> |
|
|
|
|
|
|
|
<tr> |
|
<td width="100" class="kecttep_tdmenu"> 작성자명</td> |
|
<td height="27" style="padding-left: 10;"><%= userName %> </td> |
|
<td width="100" class="kecttep_tdmenu"> 작성자 ID</td> |
|
<td width="120" height="27" style="padding-left: 10;"><%= usID %> </td> |
|
</tr> |
|
<tr> |
|
<td width="100" class="kecttep_tdmenu"> 기관/부서명</td> |
|
<td height="27" style="padding-left: 10;"><%= deptName %> </td> |
|
<td width="100" class="kecttep_tdmenu"> 전화번호</td> |
|
<td height="27" style="padding-left: 10;"><%= phone %> </td> |
|
</tr> |
|
<tr> |
|
<td width="100" class="kecttep_tdmenu"> E-MAIL</td> |
|
<td height="27" style="padding-left: 10;"><%= email %> </td> |
|
<td width="100" class="kecttep_tdmenu"> 기타</td> |
|
<td height="27" style="padding-left: 10;"> </td> |
|
</tr> |
|
<!---- 작성자 정보 끝 ----> |
|
|
|
</table> |
|
</td> |
|
</tr> |
|
|
|
|
|
|
|
<tr> |
|
<td height="20" colspan="4"> </td> |
|
</tr> |
|
<!---- 내용 시작 ----> |
|
<tr> |
|
<td colspan="4"><img src="images/s_write_contents.gif"></td> |
|
</tr> |
|
<tr> |
|
<td height="150" colspan="4" valign="top"><textarea |
|
name="comment" cols="70" rows="10" STYLE="ime-mode: active"></textarea> |
|
</td> |
|
</tr> |
|
<!---- 내용 끝 ----> |
|
</table> |
|
</td> |
|
</tr> |
|
</table> |
|
<br> |
|
<!---- 확인,취소버튼 테이블 시작 ----> |
|
<table border="0" cellspacing="0" cellpadding="0" align="center"> |
|
<tr> |
|
<td><a href="javascript:check();" |
|
onMouseOut="MM_swapImgRestore()" |
|
onMouseOver="MM_swapImage('bt_enter','','images/bt_enter.gif',1)"><img |
|
name="bt_enter" border="0" src="images/bt_enter.gif"></a></td> |
|
<td width="10"> </td> |
|
<td><a href="javascript:self.close();" |
|
onMouseOut="MM_swapImgRestore()" |
|
onMouseOver="MM_swapImage('bt_cancel3','','images/bt_cancel3.gif',1)"><img |
|
name="bt_cancel3" border="0" src="images/bt_cancel3.gif"></a></td> |
|
</tr> |
|
</table> |
|
<!---- 확인,취소버튼 테이블 끝 ----></td> |
|
<td background="images/popupt_center_right.gif"> </td> |
|
</tr> |
|
<tr> |
|
<td><img src="images/popupt_bottom_left.gif" width="29" |
|
height="24"></td> |
|
<td background="images/popupt_bottom_center.gif" height="24"> </td> |
|
<td><img src="images/popupt_bottom_right.gif" width="30" |
|
height="24"></td> |
|
</tr> |
|
</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';")); |
|
} |
|
%> |