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.
155 lines
5.3 KiB
155 lines
5.3 KiB
<%@ page contentType="text/html; charset=euc-kr" |
|
import="kr.co.kihyun.beans.user.HttpSSOLogin" |
|
import="kr.co.kihyun.text.html.ServletUtil" |
|
import="kr.co.kihyun.beans.user.UserView" |
|
import="kr.co.kihyun.beans.user.RepoAdmUser" |
|
import="kr.co.kihyun.moumi.report.MReport" |
|
import="kr.co.kihyun.moumi.MoumiConfig" import="kr.co.kihyun.lang.MLong" |
|
import="kr.co.kihyun.lang.Encoder"%> |
|
|
|
<%@ include file="/totsys/common/inc/sec/secure.inc.jsp"%> |
|
|
|
<% |
|
try{ |
|
/*********** User HttpSSOLogin check ***********/ |
|
if(!HttpSSOLogin.isLogin(request)){ |
|
//login 성공후 되돌아올 주소 |
|
String connURL="opener.location='/totsys/login/login.jsp';"; |
|
out.println(ServletUtil.getJavaScript(connURL)); |
|
out.println(ServletUtil.getJavaScript("window.close();")); |
|
return; |
|
} |
|
|
|
/********** session내의 부서명 **********/ |
|
String deptID = HttpSSOLogin.getDeptName(request); |
|
|
|
|
|
/****** Parameter ******/ |
|
//Long reportID = MLong.parseLong(request.getParameter("reportID")); |
|
String accDocCd = clearXSS(MString.checkNull(request.getParameter("accDocCd")),""); |
|
%> |
|
|
|
<%@page import="kr.co.kihyun.lang.MString"%><html> |
|
<head> |
|
<title><%=MoumiConfig.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 checkAccDocCd(){ |
|
if(accDocCd.value == ""){ |
|
alert("<%=MoumiConfig.getMessageBundle().getString("moumi.message.popup.docNumberCheck")%>"); |
|
accDocCd.focus(); |
|
return; |
|
}else{ |
|
if(!confirm("<%= MoumiConfig.getMessageBundle().getString("moumi.message.popup.docSubmitTotdoc") %>")){ |
|
return; |
|
} |
|
opener.compForm.prss.value = '<%=MReport.COMP%>'; |
|
opener.compForm.accDocCd.value=document.getElementById('accDocCd').value; |
|
opener.compForm.submit(); |
|
self.close(); |
|
|
|
|
|
} |
|
} |
|
</script> |
|
|
|
|
|
</head> |
|
<body style='' bgcolor="#FFFFFF" text="#000000" leftmargin="0" |
|
topmargin="0" marginwidth="0" marginheight="0" > |
|
<!--onload="contents.focus();">--> |
|
<table width="300" border="0" cellspacing="0" cellpadding="0" |
|
height="100"> |
|
<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: 10px; padding-bottom: 10px"> |
|
<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"> |
|
<%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.document")%><%=MoumiConfig.getMessageBundle().getString("moumi.message.tot_doc.number")%> |
|
</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="3"></td> |
|
</tr> |
|
<tr> |
|
<td colspan="4" valign="top"><%=deptID%>_<input type="text" |
|
name="accDocCd" > |
|
</td> |
|
</tr> |
|
<!---- 요청사유 끝 ----> |
|
</table> |
|
</td> |
|
</tr> |
|
</table> |
|
<!---- 확인,취소버튼 테이블 시작 ----> |
|
<table border="0" cellspacing="0" cellpadding="0" align="center"> |
|
<tr> |
|
<br> |
|
<td> |
|
<a href="#" onclick="javascript:checkAccDocCd();"> |
|
<img name="bt_enter" border="0" src="/totsys/common/images/bt_ok.gif"> |
|
</a> |
|
</td> |
|
<td width="10"> </td> |
|
<td> |
|
<a href="#" onclick="javascript:window.close();"> |
|
<img name="bt_cancel3" border="0" src="/totsys/common/images/bt_cancle.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> |
|
</FORM> |
|
</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{ |
|
} |
|
%>
|
|
|