
<%
/**********************************************************************************
	프로그램명		: dept_view.jsp
	프로그램설명	:
	작 성 자			: 조용준
	작 성 일			: 04.0702
	최신변경일		:
***********************************************************************************/
%>
<%@ page contentType="text/html; charset=UTF-8"%>
<%@ page import="kr.co.kihyun.beans.user.HttpSSOLogin"%>
<%@ page import="kr.co.kihyun.text.html.ServletUtil"%>
<%@ page import="kr.co.kihyun.lang.Encoder"%>
<%@ page import="kr.co.kihyun.moumi.Moumi"%>
<%@ page import="kr.co.kihyun.lang.MString"%>
<%@ page import="kr.co.kihyun.beans.user.User"%>
<%@ page import="kr.co.kihyun.beans.entity.MDept"%>
<%@ page import="java.net.URLEncoder"%>

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

<%
	try{
        /***** user Login check *****************/
		if(!HttpSSOLogin.isLogin(request)){
			String connURL="parent.location='/totsys/login/login.jsp';";
			out.println(ServletUtil.getJavaScript(connURL));
			return;
		}
%>

<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 language="javascript">
    		function deptRegist() {
    			detailFrame.location.replace('/totsys/sysadm/dept/dept_regist.jsp');
    		}

    		function userRegist() {
				if(leftFrame.selected_id == '' || leftFrame.selected_id == 'root') {
					alert('좌측에서 상위부서를 선택해주세요.');
					return;
				}
    			detailFrame.location.replace('/totsys/sysadm/user/user_regist.jsp');
    		}

    		function fileInsert() {
    			window.open('./file_upload.jsp', "post","width=1000, height=750, toolbar=no,location=no,directories=no,status=no,menubar=no,scrollbars=no,resizable=no"); 
    		}
    	</script>
<style>
td {
	padding: 2px 3px 2px 3px;
}
</style>
</HEAD>

<body style='' BGCOLOR=#FFFFFF LEFTMARGIN=0 TOPMARGIN=0 MARGINWIDTH=0
	MARGINHEIGHT=0>
<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="deptRegist();"><span
					class="regist" style="width: 70px; cursor: pointer">부서등록</span></a></td>
				<td><a class="simplebutton" href="#" onclick="userRegist();"><span
					class="regist" style="width: 80px; cursor: pointer">사용자등록</span></a></td>
				<td><a class="simplebutton" href="#" onclick="fileInsert();"><span
					class="regist" style="width: 125px; cursor: pointer">사용자목록
				가져오기</span></a></td>
			</tr>-->
		</table>
		</td>
	</tr>
</table>
</BODY>
</HTML>
<%
	}catch(Exception ex){
                //38.오류메세지를 통한 정보 노출(getMessage)_CWE-209 : Update by YOUNGJUN,CHO
                ex.printStackTrace();
		//out.println(ex);
		//out.println("<html><body style='overflow=auto' bgcolor='white'><h1>Can't contact servlet runner</h1><br><br> Message : "+ex.getMessage()+"</body></html>");
		//out.println("<META HTTP-EQUIV='refresh' CONTENT='0.1 URL=/error/exception.jsp'>");
                //================================================
	}finally{
	}
%>
