geoinfo_admin/old/main.jsp

174 lines
6.9 KiB
Plaintext

<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<html>
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>국토지반정보 포털 관리시스템</title>
<script src="${pageContext.request.contextPath}/js/jquery/jquery-1.10.2.min.js"></script>
<script>
var context = "${pageContext.request.contextPath}";
function getCookie(name)
{
var nameOfCookie = name + "=";
var x = 0;
while ( x <= document.cookie.length )
{
var y = (x+nameOfCookie.length);
if ( document.cookie.substring( x, y ) == nameOfCookie ) {
if ( (endOfCookie=document.cookie.indexOf( ";", y )) == -1 )
endOfCookie = document.cookie.length;
return unescape( document.cookie.substring( y, endOfCookie ) );
}
x = document.cookie.indexOf( " ", x ) + 1;
if ( x == 0 )
break;
}
return "";
}
/*
function download_approved() { //공지사항 띄우기
var cookie_name = 'download_approved_01';
if (getCookie(cookie_name) != "download_approved_01")
{
noticeWindow2 = window.open('/admins/popup/download_approved.jsp',cookie_name,'scrollbars=no,width=500,height=380,left=550,top=200', true);
if (noticeWindow2) {
noticeWindow2.focus();
}
}
}//body 부분 추가onload="download_approved();"
*/
$(document).ready(function(){
$("#layer_pop").click(function(){
$("div").css("background-image","url(${pageContext.request.contextPath}/images/admins/btn_1.png)");
//$(this).text('승인 대기 0건');
});
});
function removeDOM() {
document.documentElement.innerHTML = ''; // 전체 DOM 제거
window.location.href = "about:blank"; // 페이지 변경
}
document.addEventListener('keydown', function(event) {
var e = event || window.event; // IE 호환성을 위한 event 객체 가져오기
if ((e.ctrlKey && e.shiftKey && e.keyCode === 73) || e.keyCode === 123) {
// Ctrl+Shift+I 또는 F12 키 눌림 감지
console.log('디버깅이 감지되었습니다.');
removeDOM();
e.returnValue = false; // 개발자 도구 열림 방지 (IE)
if (e.preventDefault) e.preventDefault(); // 개발자 도구 열림 방지 (표준)
}
/** Ctrl+P 막기 **/
if (e.ctrlKey && e.keyCode == 80) {
e.cancelBubble = true;
e.returnValue = false; // IE
if (e.preventDefault) e.preventDefault(); // 표준
if (e.stopPropagation) e.stopPropagation(); // 표준
}
});
/** 스크린 캡처 막기 **/
document.addEventListener('keyup', function(e) {
if (e.key == 'PrintScreen') {
navigator.clipboard.writeText('');
}
});
</script>
<style type="text/css">
#layer_pop{
position:absolute;
width:115px;
height:18px;
top:112px;
left:950px;
background-image:url("${pageContext.request.contextPath}/images/admins/btn_1.png");
background-repeat : no-repeat;
border : 0px solid #333;
font-size: 12px;
text-align:center;
color : #FFFFFF;
cursor : pointer;
vertical-align: middle;
padding-top: 3px;
padding-bottom: 3px;
}
</style>
</head>
<body>
<table border='0' width="100%"cellspacing="0" cellpadding="0">
<tr>
<td valign="top" background="${pageContext.request.contextPath}/images/admins/frame/top_main_bak.gif">
<table width="934" border="0" cellspacing="0" cellpadding="0">
<tr>
<!--- 탑메뉴 시작 --->
<td width="244" valign="top">
<a href="${pageContext.request.contextPath}/index.do">
<img src="${pageContext.request.contextPath}/images/admins/frame/top_main.gif" width="244" height="135" border="0" usemap="#Map" />
</a>
</td>
<td width="690" valign="top"><img src="${pageContext.request.contextPath}/images/admins/frame/top_menu.gif" width="690" height="135" border="0" usemap="#Map2" /></td>
<!--- 탑메뉴 끝 --->
</tr>
</table>
</td>
</tr>
<tr>
<td width="100%">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="244" height="668" valign="top" background="${pageContext.request.contextPath}/images/admins/left_bak.jpg">
<iframe width="244" height="668" marginheight="0" src="${pageContext.request.contextPath}/admins/${menuId}/left.do?pId=${pId}&menuId=${menuId}" name="leftFrame" frameborder="0" scrolling="no"></iframe>
</td>
<td width="10" valign="top">&nbsp;</td>
<td width="100%" valign="top">
<iframe height="650" width="1200" marginheight="0" src="${pageContext.request.contextPath}/admins/frame/mainframe.do?menuId=${menuId}&pId=${pId}&viewName=${viewName}&idx=${idx}" name="mainFrame" frameborder="0" scrolling="no"></iframe>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td background="${pageContext.request.contextPath}/images/admins/frame/bottom_bak.gif">
<table width="934" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="${pageContext.request.contextPath}/images/admins/frame/bottom.gif" width="934" height="55" /></td>
</tr>
</table>
</td>
</tr>
</table>
<map name="Map" id="Map">
<area shape="rect" coords="160,98,217,116" href="${pageContext.request.contextPath}/admins/main/logout.do" target="_top"/>
</map>
<map name="Map2" id="Map2">
<area shape="rect" coords="10,91,96,119" href="${pageContext.request.contextPath}/admins/main/main.do?menuId=user&pId=00" target="_top"/>
<area shape="rect" coords="108,91,254,120" href="${pageContext.request.contextPath}/admins/main/main.do?menuId=userLog&pId=00" target="_top" />
<area shape="rect" coords="265,91,404,122" href="${pageContext.request.contextPath}/admins/main/main.do?menuId=chLog&pId=00" target="_top" />
<area shape="rect" coords="419,91,486,121" href="${pageContext.request.contextPath}/admins/main/main.do?menuId=notice&pId=00" target="_top" />
<area shape="rect" coords="500,92,556,121" href="${pageContext.request.contextPath}/admins/main/main.do?menuId=board&pId=00" target="_top" />
<area shape="rect" coords="566,93,681,121" href="${pageContext.request.contextPath}/admins/main/main.do?menuId=manager&pId=00" target="_top" />
</map>
<%-- <c:choose>
<c:when test="${nDownApp gt 0}">
<div id="layer_pop" onclick="mainFrame.iframeMain.location.href ='${pageContext.request.contextPath}/admins/chLog/20.do?check=1';" style = "background-image:url('${pageContext.request.contextPath}/images/admins/btn_2.png');">승인 대기 <c:out value="${nDownApp}"/>건</div>
</c:when>
<c:otherwise>
<div id="layer_pop" onclick="mainFrame.iframeMain.location.href ='${pageContext.request.contextPath}/admins/chLog/20.do?check=1';" style = "">승인 대기 0건</div>
</c:otherwise>
</c:choose> --%>
</body>
</html>