기존 jsp추가
This commit is contained in:
parent
3fabc13218
commit
4d37940604
16
src/main/webapp/WEB-INF/jsp/_common/jsp/captChaAudio.jsp
Normal file
16
src/main/webapp/WEB-INF/jsp/_common/jsp/captChaAudio.jsp
Normal file
@ -0,0 +1,16 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="seed.utils.SeedAudioCaptCha, nl.captcha.Captcha"%>
|
||||
|
||||
<%
|
||||
|
||||
String getAnswer = request.getParameter("ans");
|
||||
if ("y".equals(getAnswer)) {
|
||||
Captcha captcha = (Captcha) session.getAttribute(Captcha.NAME);
|
||||
getAnswer = captcha.getAnswer();
|
||||
out.print(getAnswer);
|
||||
return;
|
||||
}
|
||||
out.clear();
|
||||
pageContext.pushBody();
|
||||
new SeedAudioCaptCha().getAudioCaptCha(request, response, getAnswer);
|
||||
|
||||
%>
|
||||
13
src/main/webapp/WEB-INF/jsp/_common/jsp/captChaImg.jsp
Normal file
13
src/main/webapp/WEB-INF/jsp/_common/jsp/captChaImg.jsp
Normal file
@ -0,0 +1,13 @@
|
||||
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="seed.utils.SeedCaptCha"%>
|
||||
|
||||
<%
|
||||
|
||||
try{
|
||||
out.clear();
|
||||
pageContext.pushBody();
|
||||
new SeedCaptCha().getCaptCha(request, response);
|
||||
} catch(Exception e){
|
||||
e.printStackTrace();
|
||||
}
|
||||
|
||||
%>
|
||||
23
src/main/webapp/WEB-INF/jsp/_common/jsp/captChaProc.jsp
Normal file
23
src/main/webapp/WEB-INF/jsp/_common/jsp/captChaProc.jsp
Normal file
@ -0,0 +1,23 @@
|
||||
<%@page session="true" language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" import="nl.captcha.Captcha" %>
|
||||
|
||||
<%
|
||||
|
||||
response.setHeader("Pragma-directive", "no-cache");
|
||||
response.setHeader("Cache-directive", "no-cache");
|
||||
response.setHeader("Pragma", "no-cache");
|
||||
response.setHeader("Cache-Control", "no-cache");
|
||||
response.setDateHeader("Expires",0);
|
||||
|
||||
Captcha captcha = (Captcha) session.getAttribute(Captcha.NAME);
|
||||
|
||||
String captChaValue = request.getParameter("captChaValue");
|
||||
|
||||
if ( captChaValue != null && !"".equals(captChaValue) ) {
|
||||
if (captcha.isCorrect(captChaValue)) {
|
||||
out.print("Y");
|
||||
} else {
|
||||
out.print("N");
|
||||
}
|
||||
}
|
||||
|
||||
%>
|
||||
@ -0,0 +1,4 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<c:out escapeXml='true' value='${success}' />|<c:out escapeXml='true' value='${url}' />
|
||||
11
src/main/webapp/WEB-INF/jsp/_common/jsp/editorFileReg.jsp
Normal file
11
src/main/webapp/WEB-INF/jsp/_common/jsp/editorFileReg.jsp
Normal file
@ -0,0 +1,11 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<c:choose>
|
||||
<c:when test='${success == "0"}'>
|
||||
<c:out escapeXml='true' value='${success}' />|<s:message code="${message}" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:out escapeXml='true' value='${success}' />|<c:out escapeXml='true' value='${url}' />|<c:out escapeXml='true' value='${alt}' />|<c:out escapeXml='true' value='${title}' />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
700
src/main/webapp/WEB-INF/jsp/_common/jsp/error.jsp
Normal file
700
src/main/webapp/WEB-INF/jsp/_common/jsp/error.jsp
Normal file
@ -0,0 +1,700 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%
|
||||
response.setStatus(200);
|
||||
|
||||
boolean exboolean = false;
|
||||
String siteIdx = "";
|
||||
String url = SeedUtils.setReplaceNull(request.getAttribute("javax.servlet.forward.request_uri"));
|
||||
url = url.replaceAll("https://", "").replaceAll("http://", "");
|
||||
request.setAttribute("url", url);
|
||||
url = (String)url;
|
||||
|
||||
if(!url.equals("")){
|
||||
if(url.indexOf("/index.do") > -1 || url.indexOf("/subIndex/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
siteIdx = urls[1];
|
||||
}else if(url.indexOf("/user/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
if(url.indexOf("/proc/") > -1 && url.indexOf("Proc.do") > -1){
|
||||
siteIdx = urls[4];
|
||||
}else{
|
||||
siteIdx = urls[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pageContext.setAttribute("siteIdx", siteIdx);
|
||||
%>
|
||||
|
||||
<c:set var="siteIdx" value="${pageScope.siteIdx}"/>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<% if(!siteIdx.equals("")){ %>
|
||||
<link href="/site/<%=siteIdx%>/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% }else{ %>
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||
<link rel="stylesheet" href="/css/seed.layout.css">
|
||||
<link rel="stylesheet" href="/css/seed.contents.css">
|
||||
<link rel="stylesheet" href="/css/seed.mediaquery.css">
|
||||
<link rel="stylesheet" href="/css/lib/jquery.mCustomScrollbar.min.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.date.css">
|
||||
<!-- css -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/js/lib/polyfill/IE9.js"></script>
|
||||
<script src="/js/lib/polyfill/PIE_IE9.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%
|
||||
try{
|
||||
|
||||
if(!siteIdx.equals("")){
|
||||
%>
|
||||
<c:import url="/WEB-INF/views/site/${siteIdx}/jsp/alert/error.jsp"></c:import>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.error"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
}catch(Exception e){
|
||||
session.setAttribute("message", "common.message.error");
|
||||
exboolean = true;
|
||||
}
|
||||
%>
|
||||
|
||||
<script>
|
||||
<% if(exboolean){ %>
|
||||
location.replace("/common/message.do");
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- 에러페이지 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 에러페이지 -->
|
||||
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error400.jsp
Normal file
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error400.jsp
Normal file
@ -0,0 +1,713 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%
|
||||
response.setStatus(200);
|
||||
|
||||
boolean exboolean = false;
|
||||
String siteIdx = "";
|
||||
String url = SeedUtils.setReplaceNull(request.getAttribute("javax.servlet.forward.request_uri"));
|
||||
url = url.replaceAll("https://", "").replaceAll("http://", "");
|
||||
request.setAttribute("url", url);
|
||||
url = (String)url;
|
||||
|
||||
if(!url.equals("")){
|
||||
if(url.indexOf("/index.do") > -1 || url.indexOf("/subIndex/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
siteIdx = urls[1];
|
||||
}else if(url.indexOf("/user/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
if(url.indexOf("/proc/") > -1 && url.indexOf("Proc.do") > -1){
|
||||
siteIdx = urls[4];
|
||||
}else{
|
||||
siteIdx = urls[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pageContext.setAttribute("siteIdx", siteIdx);
|
||||
%>
|
||||
|
||||
<c:set var="siteIdx" value="${pageScope.siteIdx}"/>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<% if(!siteIdx.equals("")){ %>
|
||||
<link href="/site/<%=siteIdx%>/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% }else{ %>
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||
<link rel="stylesheet" href="/css/seed.layout.css">
|
||||
<link rel="stylesheet" href="/css/seed.contents.css">
|
||||
<link rel="stylesheet" href="/css/seed.mediaquery.css">
|
||||
<link rel="stylesheet" href="/css/lib/jquery.mCustomScrollbar.min.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.date.css">
|
||||
<!-- css -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/js/lib/polyfill/IE9.js"></script>
|
||||
<script src="/js/lib/polyfill/PIE_IE9.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%
|
||||
try{
|
||||
|
||||
if(!siteIdx.equals("")){
|
||||
%>
|
||||
<c:import url="/WEB-INF/views/site/${siteIdx}/jsp/alert/error.jsp"></c:import>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.error"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
}catch(Exception e){
|
||||
session.setAttribute("message", "common.message.error");
|
||||
exboolean = true;
|
||||
}
|
||||
%>
|
||||
|
||||
<script>
|
||||
$.ajax({
|
||||
|
||||
type : "POST" ,
|
||||
async : true ,
|
||||
url:"/common/proc/errorLogsProc.do" ,
|
||||
timeout : 30000 ,
|
||||
cache : false ,
|
||||
data:{
|
||||
"pageUrl" : $(location).attr('href'),
|
||||
"errorType" : "400"
|
||||
}
|
||||
});
|
||||
|
||||
<% if(exboolean){ %>
|
||||
location.replace("/common/message.do");
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- 에러페이지 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 에러페이지 -->
|
||||
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error403.jsp
Normal file
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error403.jsp
Normal file
@ -0,0 +1,713 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%
|
||||
response.setStatus(200);
|
||||
|
||||
boolean exboolean = false;
|
||||
String siteIdx = "";
|
||||
String url = SeedUtils.setReplaceNull(request.getAttribute("javax.servlet.forward.request_uri"));
|
||||
url = url.replaceAll("https://", "").replaceAll("http://", "");
|
||||
request.setAttribute("url", url);
|
||||
url = (String)url;
|
||||
|
||||
if(!url.equals("")){
|
||||
if(url.indexOf("/index.do") > -1 || url.indexOf("/subIndex/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
siteIdx = urls[1];
|
||||
}else if(url.indexOf("/user/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
if(url.indexOf("/proc/") > -1 && url.indexOf("Proc.do") > -1){
|
||||
siteIdx = urls[4];
|
||||
}else{
|
||||
siteIdx = urls[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pageContext.setAttribute("siteIdx", siteIdx);
|
||||
%>
|
||||
|
||||
<c:set var="siteIdx" value="${pageScope.siteIdx}"/>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<% if(!siteIdx.equals("")){ %>
|
||||
<link href="/site/<%=siteIdx%>/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% }else{ %>
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||
<link rel="stylesheet" href="/css/seed.layout.css">
|
||||
<link rel="stylesheet" href="/css/seed.contents.css">
|
||||
<link rel="stylesheet" href="/css/seed.mediaquery.css">
|
||||
<link rel="stylesheet" href="/css/lib/jquery.mCustomScrollbar.min.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.date.css">
|
||||
<!-- css -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/js/lib/polyfill/IE9.js"></script>
|
||||
<script src="/js/lib/polyfill/PIE_IE9.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%
|
||||
try{
|
||||
|
||||
if(!siteIdx.equals("")){
|
||||
%>
|
||||
<c:import url="/WEB-INF/views/site/${siteIdx}/jsp/alert/error.jsp"></c:import>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.error"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
}catch(Exception e){
|
||||
session.setAttribute("message", "common.message.error");
|
||||
exboolean = true;
|
||||
}
|
||||
%>
|
||||
|
||||
<script>
|
||||
$.ajax({
|
||||
|
||||
type : "POST" ,
|
||||
async : true ,
|
||||
url:"/common/proc/errorLogsProc.do" ,
|
||||
timeout : 30000 ,
|
||||
cache : false ,
|
||||
data:{
|
||||
"pageUrl" : $(location).attr('href'),
|
||||
"errorType" : "403"
|
||||
}
|
||||
});
|
||||
|
||||
<% if(exboolean){ %>
|
||||
location.replace("/common/message.do");
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- 에러페이지 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 에러페이지 -->
|
||||
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error404.jsp
Normal file
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error404.jsp
Normal file
@ -0,0 +1,713 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%
|
||||
response.setStatus(200);
|
||||
|
||||
boolean exboolean = false;
|
||||
String siteIdx = "";
|
||||
String url = SeedUtils.setReplaceNull(request.getAttribute("javax.servlet.forward.request_uri"));
|
||||
url = url.replaceAll("https://", "").replaceAll("http://", "");
|
||||
request.setAttribute("url", url);
|
||||
url = (String)url;
|
||||
|
||||
if(!url.equals("")){
|
||||
if(url.indexOf("/index.do") > -1 || url.indexOf("/subIndex/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
siteIdx = urls[1];
|
||||
}else if(url.indexOf("/user/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
if(url.indexOf("/proc/") > -1 && url.indexOf("Proc.do") > -1){
|
||||
siteIdx = urls[4];
|
||||
}else{
|
||||
siteIdx = urls[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pageContext.setAttribute("siteIdx", siteIdx);
|
||||
%>
|
||||
|
||||
<c:set var="siteIdx" value="${pageScope.siteIdx}"/>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<% if(!siteIdx.equals("")){ %>
|
||||
<link href="/site/<%=siteIdx%>/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% }else{ %>
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||
<link rel="stylesheet" href="/css/seed.layout.css">
|
||||
<link rel="stylesheet" href="/css/seed.contents.css">
|
||||
<link rel="stylesheet" href="/css/seed.mediaquery.css">
|
||||
<link rel="stylesheet" href="/css/lib/jquery.mCustomScrollbar.min.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.date.css">
|
||||
<!-- css -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/js/lib/polyfill/IE9.js"></script>
|
||||
<script src="/js/lib/polyfill/PIE_IE9.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%
|
||||
try{
|
||||
|
||||
if(!siteIdx.equals("")){
|
||||
%>
|
||||
<c:import url="/WEB-INF/views/site/${siteIdx}/jsp/alert/error.jsp"></c:import>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.error"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
}catch(Exception e){
|
||||
session.setAttribute("message", "common.message.error");
|
||||
exboolean = true;
|
||||
}
|
||||
%>
|
||||
|
||||
<script>
|
||||
$.ajax({
|
||||
|
||||
type : "POST" ,
|
||||
async : true ,
|
||||
url:"/common/proc/errorLogsProc.do" ,
|
||||
timeout : 30000 ,
|
||||
cache : false ,
|
||||
data:{
|
||||
"pageUrl" : $(location).attr('href'),
|
||||
"errorType" : "404"
|
||||
}
|
||||
});
|
||||
|
||||
<% if(exboolean){ %>
|
||||
location.replace("/common/message.do");
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- 에러페이지 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 에러페이지 -->
|
||||
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error405.jsp
Normal file
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error405.jsp
Normal file
@ -0,0 +1,713 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%
|
||||
response.setStatus(200);
|
||||
|
||||
boolean exboolean = false;
|
||||
String siteIdx = "";
|
||||
String url = SeedUtils.setReplaceNull(request.getAttribute("javax.servlet.forward.request_uri"));
|
||||
url = url.replaceAll("https://", "").replaceAll("http://", "");
|
||||
request.setAttribute("url", url);
|
||||
url = (String)url;
|
||||
|
||||
if(!url.equals("")){
|
||||
if(url.indexOf("/index.do") > -1 || url.indexOf("/subIndex/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
siteIdx = urls[1];
|
||||
}else if(url.indexOf("/user/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
if(url.indexOf("/proc/") > -1 && url.indexOf("Proc.do") > -1){
|
||||
siteIdx = urls[4];
|
||||
}else{
|
||||
siteIdx = urls[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pageContext.setAttribute("siteIdx", siteIdx);
|
||||
%>
|
||||
|
||||
<c:set var="siteIdx" value="${pageScope.siteIdx}"/>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<% if(!siteIdx.equals("")){ %>
|
||||
<link href="/site/<%=siteIdx%>/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% }else{ %>
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||
<link rel="stylesheet" href="/css/seed.layout.css">
|
||||
<link rel="stylesheet" href="/css/seed.contents.css">
|
||||
<link rel="stylesheet" href="/css/seed.mediaquery.css">
|
||||
<link rel="stylesheet" href="/css/lib/jquery.mCustomScrollbar.min.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.date.css">
|
||||
<!-- css -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/js/lib/polyfill/IE9.js"></script>
|
||||
<script src="/js/lib/polyfill/PIE_IE9.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%
|
||||
try{
|
||||
|
||||
if(!siteIdx.equals("")){
|
||||
%>
|
||||
<c:import url="/WEB-INF/views/site/${siteIdx}/jsp/alert/error.jsp"></c:import>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.error"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
}catch(Exception e){
|
||||
session.setAttribute("message", "common.message.error");
|
||||
exboolean = true;
|
||||
}
|
||||
%>
|
||||
|
||||
<script>
|
||||
$.ajax({
|
||||
|
||||
type : "POST" ,
|
||||
async : true ,
|
||||
url:"/common/proc/errorLogsProc.do" ,
|
||||
timeout : 30000 ,
|
||||
cache : false ,
|
||||
data:{
|
||||
"pageUrl" : $(location).attr('href'),
|
||||
"errorType" : "405"
|
||||
}
|
||||
});
|
||||
|
||||
<% if(exboolean){ %>
|
||||
location.replace("/common/message.do");
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- 에러페이지 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 에러페이지 -->
|
||||
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error500.jsp
Normal file
713
src/main/webapp/WEB-INF/jsp/_common/jsp/error/error500.jsp
Normal file
@ -0,0 +1,713 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%
|
||||
response.setStatus(200);
|
||||
|
||||
boolean exboolean = false;
|
||||
String siteIdx = "";
|
||||
String url = SeedUtils.setReplaceNull(request.getAttribute("javax.servlet.forward.request_uri"));
|
||||
url = url.replaceAll("https://", "").replaceAll("http://", "");
|
||||
request.setAttribute("url", url);
|
||||
url = (String)url;
|
||||
|
||||
if(!url.equals("")){
|
||||
if(url.indexOf("/index.do") > -1 || url.indexOf("/subIndex/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
siteIdx = urls[1];
|
||||
}else if(url.indexOf("/user/") > -1){
|
||||
String[] urls = url.split("/");
|
||||
if(url.indexOf("/proc/") > -1 && url.indexOf("Proc.do") > -1){
|
||||
siteIdx = urls[4];
|
||||
}else{
|
||||
siteIdx = urls[3];
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
pageContext.setAttribute("siteIdx", siteIdx);
|
||||
%>
|
||||
|
||||
<c:set var="siteIdx" value="${pageScope.siteIdx}"/>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
|
||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
||||
|
||||
<% if(!siteIdx.equals("")){ %>
|
||||
<link href="/site/<%=siteIdx%>/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% }else{ %>
|
||||
<!-- css -->
|
||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||
<link rel="stylesheet" href="/css/seed.layout.css">
|
||||
<link rel="stylesheet" href="/css/seed.contents.css">
|
||||
<link rel="stylesheet" href="/css/seed.mediaquery.css">
|
||||
<link rel="stylesheet" href="/css/lib/jquery.mCustomScrollbar.min.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.css">
|
||||
<link rel="stylesheet" href="/css/picker.default.date.css">
|
||||
<!-- css -->
|
||||
|
||||
<!--[if lt IE 9]>
|
||||
<script src="/js/lib/polyfill/IE9.js"></script>
|
||||
<script src="/js/lib/polyfill/PIE_IE9.js"></script>
|
||||
<![endif]-->
|
||||
|
||||
<!-- js -->
|
||||
<!-- 라이브러리, 플러그인 -->
|
||||
<script src="/js/lib/jquery-1.9.1.min.js"></script>
|
||||
<!-- 라이브러리, 플러그인 끝 -->
|
||||
<!-- js -->
|
||||
<% } %>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<%
|
||||
try{
|
||||
|
||||
if(!siteIdx.equals("")){
|
||||
%>
|
||||
<c:import url="/WEB-INF/views/site/${siteIdx}/jsp/alert/error.jsp"></c:import>
|
||||
<%
|
||||
}else{
|
||||
%>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.error"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<%
|
||||
}
|
||||
}catch(Exception e){
|
||||
session.setAttribute("message", "common.message.error");
|
||||
exboolean = true;
|
||||
}
|
||||
%>
|
||||
|
||||
<script>
|
||||
$.ajax({
|
||||
|
||||
type : "POST" ,
|
||||
async : true ,
|
||||
url:"/common/proc/errorLogsProc.do" ,
|
||||
timeout : 30000 ,
|
||||
cache : false ,
|
||||
data:{
|
||||
"pageUrl" : $(location).attr('href'),
|
||||
"errorType" : "500"
|
||||
}
|
||||
});
|
||||
|
||||
<% if(exboolean){ %>
|
||||
location.replace("/common/message.do");
|
||||
<% } %>
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
<!-- 에러페이지 -->
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<!-- 에러페이지 -->
|
||||
126
src/main/webapp/WEB-INF/jsp/_common/jsp/fileDownLoadList.jsp
Normal file
126
src/main/webapp/WEB-INF/jsp/_common/jsp/fileDownLoadList.jsp
Normal file
@ -0,0 +1,126 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.message.fileDownLoadList.title"/></title>
|
||||
<link rel="stylesheet" href="/css/space.css">
|
||||
<script src="/js/seed.app.js"></script>
|
||||
<script src="/js/lib/jquery.bxslider.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="seed-popup-wrap">
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="common.message.fileDownLoadList"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="more-btn-box">
|
||||
<button type="button" id="moreTableItem" class="more-table-item">칼럼 더보기</button>
|
||||
</div>
|
||||
|
||||
<div class="form-wrap">
|
||||
<div class="table-layout br-none">
|
||||
|
||||
<table>
|
||||
<colgroup>
|
||||
<col class="small_checkbox">
|
||||
<col class="title">
|
||||
<col class="item-mobile-hidden">
|
||||
<col>
|
||||
<col class="item-mobile-hidden">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><s:message code="common.num"/></th>
|
||||
<th scope="col"><s:message code="common.fileName"/></th>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="common.memberName"/></th>
|
||||
<th scope="col"><s:message code="common.ip"/></th>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="common.regDate"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:choose>
|
||||
<c:when test="${!empty fileDownLoadList}">
|
||||
<c:forEach items="${fileDownLoadList}" var="fileDownLoadList" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out escapeXml='true' value='${fileDownLoadCnt - (page-1)*row - status.index}' /></td>
|
||||
<td class="al"><c:out escapeXml='true' value='${fileDownLoadList._fileName}' /></td>
|
||||
<td class="item-mobile-hidden"><c:out escapeXml='true' value='${fileDownLoadList._memberName}' /></td>
|
||||
<td><c:out escapeXml='true' value='${fileDownLoadList._memberIp}' /></td>
|
||||
<td class="item-mobile-hidden"><c:out escapeXml='true' value='${fileDownLoadList._fileDownLoadDate}' /></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td class="no-data-colspan"><s:message code="common.message.no.data"/></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
<div class="pagination-container">
|
||||
<div class="pagination-inner clear">
|
||||
<div class="pagination-control prev clear">
|
||||
<a class="first-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=1&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.first"/>" ><s:message code="common.page.first"/></a>
|
||||
<c:choose>
|
||||
<c:when test="${block > 1}">
|
||||
<a class="prev-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${fPage-1}' />&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.prev"/>" ><s:message code="common.page.prev"/></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a class="prev-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${fPage}' />&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.prev"/>" ><s:message code="common.page.prev"/></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<ul class="pagination clear">
|
||||
<c:forEach begin="0" end="${lPage-fPage}" var="index" >
|
||||
<c:choose>
|
||||
<c:when test="${index+fPage==page}">
|
||||
<li><a class="on" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.now"/>" ><c:out escapeXml='true' value='${page}' /></a></li>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<li><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${index+fPage}' />&row=<c:out escapeXml='true' value='${row}' />" title="<c:out escapeXml='true' value='${index+fPage}' /> <s:message code="common.page.page"/>" ><c:out escapeXml='true' value='${index+fPage}' /></a></li>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<div class="pagination-control next clear">
|
||||
<c:choose>
|
||||
<c:when test="${block < blocks}">
|
||||
<a class="next-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${lPage+1}' />&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.next"/>" ><s:message code="common.page.next"/></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a class="next-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${lPage}' />&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.next"/>" ><s:message code="common.page.next"/></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<a class="last-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/bbs/<c:out escapeXml='true' value='${funcSetIdx}' />/<c:out escapeXml='true' value='${funcDataIdx}' />/fileDownLoadList.do?page=<c:out escapeXml='true' value='${pages}' />&row=<c:out escapeXml='true' value='${row}' />" title="<s:message code="common.page.last"/>" ><s:message code="common.page.last"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-area mb5">
|
||||
<a href="javascript:window.close();" class="btn-normal violet"><s:message code="common.button.close"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,104 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="java.util.Date"%>
|
||||
<%@ page import="java.text.SimpleDateFormat"%>
|
||||
<%@ page import="java.net.URLEncoder" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<%
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
String fileName = "첨부파일_다운로드_이력_"+sdfFormat.format(new Date()).substring(0, 14)+".xls";
|
||||
|
||||
if(this.getBrowser(request).equals("MSIE") || this.getBrowser(request).equals("Chrome")){
|
||||
fileName = URLEncoder.encode(fileName, "UTF-8").replaceAll("\\+", "%20");
|
||||
}else if(this.getBrowser(request).equals("Firefox")){
|
||||
fileName = new String(fileName.getBytes("UTF-8"), "8859_1").replaceAll("\\+", "%20");
|
||||
}else if(this.getBrowser(request).equals("Opera")){
|
||||
fileName = new String(fileName.getBytes("UTF-8"), "8859_1").replaceAll("\\+", "%20");
|
||||
}
|
||||
|
||||
response.setHeader("Content-Type", "application/vnd.ms-excel;charset=utf-8");
|
||||
response.setHeader("Content-Disposition", "attachment;filename="+fileName);
|
||||
response.setHeader("Content-Description", "JSP Generated Data");
|
||||
%>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body{
|
||||
background-color: #FAFFFF;
|
||||
}
|
||||
talbe{
|
||||
border-top: 5px solid #000;border-collapse: collapse;border-spacing: 0;;font-size: 12px;margin: 5px 0 15px; word-break: break-all;
|
||||
}
|
||||
table th{
|
||||
background-color: #EAEAEA; border-bottom: 1px solid #000; border-right: 1px solid #d6d6d6; font-weight: 600; height: 35px;
|
||||
}
|
||||
table td{
|
||||
text-align: center; border-bottom: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; height: 30px; padding: 2px 10px;
|
||||
}
|
||||
.subj{
|
||||
text-align: left; border-bottom: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; height: 30px; padding: 2px 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><s:message code="common.num"/></th>
|
||||
<th scope="col"><s:message code="common.fileName"/></th>
|
||||
<th scope="col"><s:message code="common.memberName"/></th>
|
||||
<th scope="col"><s:message code="common.ip"/></th>
|
||||
<th scope="col"><s:message code="common.regDate"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:choose>
|
||||
<c:when test="${!empty fileDownLoadList}">
|
||||
<c:forEach items="${fileDownLoadList}" var="fileDownLoadList" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out escapeXml='true' value='${status.index+1}' /></td>
|
||||
<td><c:out escapeXml='true' value='${fileDownLoadList.fileName}' /></td>
|
||||
<td><c:out escapeXml='true' value='${fileDownLoadList.memberName}' /></td>
|
||||
<td><c:out escapeXml='true' value='${fileDownLoadList.memberIp}' /></td>
|
||||
<td style='mso-number-format:\@'><c:out escapeXml='true' value='${fileDownLoadList.fileDownLoadDate}' /></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="5"><s:message code="common.message.no.data"/></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%!
|
||||
private String getBrowser(HttpServletRequest request){
|
||||
String header = request.getHeader("User-Agent").toLowerCase();
|
||||
|
||||
if(header.indexOf("msie") > -1){
|
||||
return "MSIE";
|
||||
}else if(header.indexOf("trident/") > -1){
|
||||
return "MSIE";
|
||||
}else if(header.indexOf("chrome") > -1){
|
||||
return "Chrome";
|
||||
}else if(header.indexOf("opera") > -1){
|
||||
return "Opera";
|
||||
}
|
||||
return "Firefox";
|
||||
}
|
||||
%>
|
||||
121
src/main/webapp/WEB-INF/jsp/_common/jsp/fileupload.jsp
Normal file
121
src/main/webapp/WEB-INF/jsp/_common/jsp/fileupload.jsp
Normal file
@ -0,0 +1,121 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<meta id="viewport" name="viewport" content="initial-scale=1.0, width=device-width, maximum-scale=1.0, minimum-scale=1.0, user-scalable=no">
|
||||
<meta charset="utf-8">
|
||||
<title><s:message code="common.fileupload.title"/></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="seed-popup-wrap">
|
||||
|
||||
<form:form id="frm" name="frm" action="/common/proc/${siteIdx}/${funcType}/${funcIdx}/${funcDataIdx}/${fileCode}/fileRegProc.do" method="post" enctype="multipart/form-data">
|
||||
<fieldset>
|
||||
<legend><s:message code="common.fileupload.table.caption"/></legend>
|
||||
|
||||
<div class="bbs-view-layout">
|
||||
<div class="bbs-view-title">
|
||||
<h1><s:message code="common.fileupload.table.caption"/></h1>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="common.fileupload.fileName"/></p>
|
||||
<div class="item-box">
|
||||
<div class="input-align-wrap">
|
||||
<input type="text" style="width:300px" class="essential temp-file-input" id="tempFileInput" readonly required title="<s:message code="common.fileupload.fileName"/>" value="" style="ime-mode: disabled;" >
|
||||
<div class="temp-file-area">
|
||||
<label for="upFile" class="temp-file-button"><s:message code="common.fileupload.fileName"/></label>
|
||||
<input type="file" name="upFile" id="upFile" class="essential temp-file-hideen" onchange="javascript:document.getElementById('commonFileText').value = this.value; document.getElementById('tempFileInput').value = this.value" required title="<s:message code="common.fileupload.fileName"/>" value="" style="ime-mode: disabled;" >
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="common.fileupload.fileName.text"/></p>
|
||||
<div class="item-box">
|
||||
<textarea name="commonFileText" id="commonFileText" style="width: 100%; height: 170px;"><c:out escapeXml='false' value='${commonFileText}' /></textarea>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="btn-area">
|
||||
<button type="submit" class="btn-normal violet"><s:message code="common.button.confirm"/></button>
|
||||
<a href="javascript:window.close();" class="btn-normal violet"><s:message code="common.button.close"/></a>
|
||||
</div>
|
||||
</fieldset>
|
||||
</form:form>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
opener.$.unblockUI();
|
||||
<c:if test='${fileChk == "uploadY" || fileChk == "deleteY"}'>
|
||||
<c:if test='${fileChk == "uploadY"}'>
|
||||
$("input:radio[name='bbsDataThumb']", parent.opener.document).prop("checked", false);
|
||||
<c:out escapeXml='false' value='${messageHtml}' />
|
||||
</c:if>
|
||||
<c:out escapeXml='false' value='${fileSizeHtml}' />
|
||||
window.close();
|
||||
</c:if>
|
||||
|
||||
$('#frm').submit(function(){
|
||||
|
||||
if($("#upFile").val() == ""){
|
||||
alert("<s:message code="common.fileupload.message.upload"/>");
|
||||
$("#upFile").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
var val = $("#upFile").val().split("\\");
|
||||
var fileName = val[val.length-1]; //마지막 화일명
|
||||
var fileType = fileName.substring(fileName.lastIndexOf("."));//확장자빼오기
|
||||
|
||||
var extArray = new Array("txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz");
|
||||
|
||||
var extChk = false;
|
||||
|
||||
for(var f=0; f<extArray.length; f++){
|
||||
if("."+extArray[f] == fileType.toLowerCase()){
|
||||
extChk = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!extChk){
|
||||
alert("<s:message code="common.fileupload.message.no.upload"/>");
|
||||
return false;
|
||||
}
|
||||
|
||||
if("<s:eval expression="@config['file.text']" />" == "true"){
|
||||
if($("#commonFileText").val() == ""){
|
||||
if(fileType.toLowerCase() == '.jpg' || fileType.toLowerCase() == '.gif' ||
|
||||
fileType.toLowerCase() == '.bmp' || fileType.toLowerCase() == '.png'){//허용 확장자 비교
|
||||
alert("<s:message code="common.fileupload.message.image.alt"/>");
|
||||
$("#commonFileText").focus();
|
||||
return false;
|
||||
}else if(fileType.toLowerCase() == '.mp4'){//허용 확장자 비교
|
||||
alert("<s:message code="common.fileupload.message.movie.alt"/>");
|
||||
$("#commonFileText").focus();
|
||||
return false;
|
||||
}else{
|
||||
alert("<s:message code="common.fileupload.fileName.text"/> <s:message code="common.message.essential"/>");
|
||||
$("#commonFileText").focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
$.blockUI({ message: null });
|
||||
opener.$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
36
src/main/webapp/WEB-INF/jsp/_common/jsp/firewall.jsp
Normal file
36
src/main/webapp/WEB-INF/jsp/_common/jsp/firewall.jsp
Normal file
@ -0,0 +1,36 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.no.firewall"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
56
src/main/webapp/WEB-INF/jsp/_common/jsp/getCode.jsp
Normal file
56
src/main/webapp/WEB-INF/jsp/_common/jsp/getCode.jsp
Normal file
@ -0,0 +1,56 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title>getCode</title>
|
||||
|
||||
<style>
|
||||
textarea{position: absolute;left:0;top:0;right:0;bottom:0;background:transparent;border:0;padding:0;outline:none;cursor:pointer}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body <c:if test='${menuCode != "N"}'>class="seedPop"</c:if>>
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${codeType == "func"}'>
|
||||
<c:choose>
|
||||
<c:when test='${menuCode == "bbs" || menuCode == "survey" || menuCode == "formbuilder" || menuCode == "quick"}'>
|
||||
<textarea id="textAreaCode" style="width:96%;" readonly><ul><!--@seed:${code}--><c:out escapeXml='false' value='${getCode}' /><!--@seed:${code}--></ul><c:out escapeXml='false' value='${codeRelation}' /><c:out escapeXml='false' value='${siteMenuTitle}' /></textarea>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<textarea id="textAreaCode" style="width:96%;" readonly><!--@seed:${code}--><c:out escapeXml='false' value='${getCode}' /><!--@seed:${code}--><c:out escapeXml='false' value='${codeRelation}' /><c:out escapeXml='false' value='${siteMenuTitle}' /></textarea>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<textarea id="textAreaCode" style="width:96%;" readonly><c:if test='${!empty getSubTitleCode}'><!--@seed:siteMenuSubTitle--><c:out escapeXml='false' value='${getSubTitleCode}' /><!--@seed:siteMenuSubTitle--></c:if><!--@seed:${code}--><c:out escapeXml='false' value='${getCode}' /><!--@seed:${code}--><c:out escapeXml='false' value='${codeRelation}' /><c:out escapeXml='false' value='${siteMenuTitle}' /></textarea>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
|
||||
|
||||
$("#textAreaCode").click(function(){
|
||||
|
||||
this.focus();
|
||||
this.select();
|
||||
|
||||
setTimeout(function(){
|
||||
document.execCommand('copy');
|
||||
|
||||
alert('텍스트가 클립보드에 복사되었습니다.\nCtrl+V를 눌러 붙여넣으세요.');
|
||||
|
||||
(parent || window.parent).document.getElementById('SeedModal').click();
|
||||
}, 1);
|
||||
|
||||
});
|
||||
|
||||
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
4
src/main/webapp/WEB-INF/jsp/_common/jsp/getCodeList.jsp
Normal file
4
src/main/webapp/WEB-INF/jsp/_common/jsp/getCodeList.jsp
Normal file
@ -0,0 +1,4 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:import url="/menu/${siteIdx}/${menuCode}SetList.do?menuCode=${menuCode}"></c:import>
|
||||
92
src/main/webapp/WEB-INF/jsp/_common/jsp/hwpPreview.jsp
Normal file
92
src/main/webapp/WEB-INF/jsp/_common/jsp/hwpPreview.jsp
Normal file
@ -0,0 +1,92 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 9)|!(IE)]><!--><html lang="ko" style="width:100%;height:100%;"><!--<![endif]-->
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<meta name="robots" content="noindex">
|
||||
<!--[if IE]>
|
||||
<meta http-equiv="X-UA-Compatible" content="IE=edge,chrome=1">
|
||||
<![endif]-->
|
||||
<title>미리보기 페이지</title>
|
||||
<!-- js -->
|
||||
<!--[if lte IE 9]>
|
||||
<script src="/js/html5.js"></script>
|
||||
<![endif]-->
|
||||
</head>
|
||||
|
||||
<body onload="OnStart()" style="width:100%;height:100%;">
|
||||
<div style="width:100%;height:100%; overflow-y:scroll;">
|
||||
<!-- 한글 파일 미리 보기 보여줄 장소에 오브젝트 엠베디드 하는 스크립트 적용 -->
|
||||
<script>WriteEmbedHanPop();</script>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
//hwpctrl를 이용하기 위해서는 한글 2002이상이 사용자 컴퓨터에 깔려 있어야 한다.
|
||||
//active X처럼 특별히 웹상에서 설치해야 할 파일은 없다.
|
||||
var MinVersion = 0x0505010C;
|
||||
var data;
|
||||
var pHwpCtrl;
|
||||
|
||||
//페이지 로드시 맨 처음 실행될 함수.
|
||||
function OnStart() {
|
||||
|
||||
pHwpCtrl = document.HwpCtrl;
|
||||
_VerifyVersion();
|
||||
//document.HwpCtrl.SetClientName("DEBUG");
|
||||
URLOpen();
|
||||
}
|
||||
|
||||
function _VerifyVersion(){
|
||||
|
||||
pHwpCtrl = document.HwpCtrl;
|
||||
|
||||
// 설치확인
|
||||
if(pHwpCtrl.GetVersionInfo(0) == null){
|
||||
alert("한글 2002 컨트롤이 설치되지 않았습니다.");
|
||||
return;
|
||||
}
|
||||
|
||||
//버젼 확인
|
||||
CurVersion = pHwpCtrl.Version;
|
||||
if(CurVersion < MinVersion){
|
||||
alert(!"HwpCtrl의 버젼이 낮아서 정상적으로 동작하지 않을 수 있습니다.\n"+"최신 버젼으로 업데이트하기를 권장합니다.\n\n"
|
||||
+ "현재 버젼: 0x"
|
||||
+ CurVersion.toString(16)
|
||||
+ "\n"
|
||||
+ "권장 버젼: 0x"
|
||||
+ MinVersion.toString(16) + " 이상");
|
||||
}
|
||||
}
|
||||
|
||||
//한글파일 문서 열기
|
||||
function URLOpen(){
|
||||
|
||||
document.HwpCtrl.Clear(1); //문서 내용 지움
|
||||
document.HwpCtrl.Open("<s:eval expression="@config['root.url']" />${hwpOpen}", "", "code:acp;url:true")
|
||||
document.HwpCtrl.EditMode=1;
|
||||
document.HwpCtrl.MovePos(2); //캐럿을 문서 처음으로 이동
|
||||
}
|
||||
|
||||
//한글 컨트롤 오브젝트를 html에 심는 함수
|
||||
function WriteEmbedHanPop(){
|
||||
|
||||
document.write("<OBJECT id='HwpCtrl' style='LEFT: 0px; TOP: 0px;' height='100%' width='100%' align='center' classid='CLSID:BD9C32DE-3155-4691-8972-097D53B10052'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_MENU' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_STANDARD' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_FORMAT' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_DRAW' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_TABLE' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_IMAGE' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='TOOLBAR_HEADERFOOTER' VALUE='FALSE'>");
|
||||
document.write("<PARAM NAME='SHOW_TOOLBAR' VALUE='FALSE'>");
|
||||
document.write("</OBJECT>");
|
||||
}
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
20
src/main/webapp/WEB-INF/jsp/_common/jsp/jsPage.jsp
Normal file
20
src/main/webapp/WEB-INF/jsp/_common/jsp/jsPage.jsp
Normal file
@ -0,0 +1,20 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(document).ready(function(){
|
||||
|
||||
<c:if test='${pageType == "sub"}'>
|
||||
jf_menuOn('<c:out escapeXml='true' value='${tSiteMenuDB._siteMenuNameType}' />', '<c:out escapeXml='true' value='${siteIdx}' />', '<c:out escapeXml='true' value='${tSiteMenuDB._siteMenuIdxs}' />', '<c:out escapeXml='true' value='${tSiteMenuDB._siteMenuDepth}' />');
|
||||
</c:if>
|
||||
<c:if test='${memberGrant != "S" && !memberAuthM}'>
|
||||
jf_menuAuth('<c:out escapeXml='true' value='${seedMenuAuth}' />', '<c:out escapeXml='true' value='${pageType}' />');
|
||||
</c:if>
|
||||
});
|
||||
|
||||
$(window).on('resize load', function(){
|
||||
jf_activeMenu('${pageType}', '${tSiteDB._siteActiveMenuWidth}', '${tSiteMenuDB._siteActiveMenuWidth}');
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
38
src/main/webapp/WEB-INF/jsp/_common/jsp/menuEList.jsp
Normal file
38
src/main/webapp/WEB-INF/jsp/_common/jsp/menuEList.jsp
Normal file
@ -0,0 +1,38 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:if test='${menuManagerCnt > 0}'>
|
||||
<li>
|
||||
<a href="#"><i class="seed-icon"></i><s:message code="manager.top.menu.site"/><span class="main-menu-arr BEHAVIOR"></span></a>
|
||||
<ul>
|
||||
<li><a id="siteMenuList" href="/gte/<c:out escapeXml='true' value='${siteIdx}'/>/siteMenuList.do#siteMenuList">- <s:message code="manager.site.tab.siteMenu"/></a></li>
|
||||
</ul>
|
||||
</li>
|
||||
</c:if>
|
||||
|
||||
<li>
|
||||
<a href="#"><i class="seed-icon"></i><s:message code="manager.top.menu.function"/><span class="main-menu-arr BEHAVIOR"></span></a>
|
||||
<ul>
|
||||
<c:forEach items="${menuList}" var="menuList" varStatus="status">
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(menuList._menuLink, "LayOutPage.do") > -1}'>
|
||||
<c:set var="menuParts" value="${fn:split(menuList._menuLink, '/')}" />
|
||||
<c:set var="menuPart" value="${menuParts[1]}_${status.index}" />
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(menuList._menuLink, "/") > -1}'>
|
||||
<c:set var="menuParts" value="${fn:split(menuList._menuLink, '/')}" />
|
||||
<c:set var="menuPart" value="${menuParts[0]}_${status.index}" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="menuParts" value="${fn:split(menuList._menuLink, '.')}" />
|
||||
<c:set var="menuPart" value="${menuParts[0]}" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<li><a id="<c:out escapeXml='true' value='${menuPart}' />" href="/gte/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${menuList._menuLink}' />#<c:out escapeXml='true' value='${menuPart}' />">- <c:out escapeXml='true' value='${menuList._menuName}' /></a></li>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
</li>
|
||||
24
src/main/webapp/WEB-INF/jsp/_common/jsp/menuList.jsp
Normal file
24
src/main/webapp/WEB-INF/jsp/_common/jsp/menuList.jsp
Normal file
@ -0,0 +1,24 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:forEach items="${menuList}" var="menuList" varStatus="status">
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(menuList._menuLink, "LayOutPage.do") > -1}'>
|
||||
<c:set var="menuParts" value="${fn:split(menuList._menuLink, '/')}" />
|
||||
<c:set var="menuPart" value="${menuParts[1]}_${status.index}" />
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(menuList._menuLink, "/") > -1}'>
|
||||
<c:set var="menuParts" value="${fn:split(menuList._menuLink, '/')}" />
|
||||
<c:set var="menuPart" value="${menuParts[0]}_${status.index}" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<c:set var="menuParts" value="${fn:split(menuList._menuLink, '.')}" />
|
||||
<c:set var="menuPart" value="${menuParts[0]}" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<li><a id="<c:out escapeXml='true' value='${menuPart}' />" href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${menuList._menuLink}' />#<c:out escapeXml='true' value='${menuPart}' />">- <c:out escapeXml='true' value='${menuList._menuName}' /></a></li>
|
||||
</c:forEach>
|
||||
76
src/main/webapp/WEB-INF/jsp/_common/jsp/menuMemberList.jsp
Normal file
76
src/main/webapp/WEB-INF/jsp/_common/jsp/menuMemberList.jsp
Normal file
@ -0,0 +1,76 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.message.function.title"/></title>
|
||||
<link rel="stylesheet" href="/css/space.css">
|
||||
<script src="/js/seed.app.js"></script>
|
||||
<script src="/js/lib/jquery.bxslider.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="seed-popup-wrap">
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="common.function.member"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-wrap">
|
||||
<div class="table-layout br-none">
|
||||
|
||||
<table>
|
||||
<caption><s:message code="common.member.menuMemberList.table.caption"/></caption>
|
||||
<colgroup>
|
||||
<col style="width: 100%;" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><s:message code="common.menu"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/memberForm.do"><s:message code="common.function.member.memberForm"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/memberFormPw.do"><s:message code="common.function.member.memberEdit"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/memberIdFind.do"><s:message code="common.function.member.memberIdFind"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/memberPwFind.do"><s:message code="common.function.member.memberPwFind"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/memberFormPwDel.do"><s:message code="common.function.member.memberDel"/></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".funcClick").click(function(){
|
||||
var url = $(this).attr("href");
|
||||
$("#siteMenuLinkUrl", parent.document).val(url);
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
70
src/main/webapp/WEB-INF/jsp/_common/jsp/menuMyPageList.jsp
Normal file
70
src/main/webapp/WEB-INF/jsp/_common/jsp/menuMyPageList.jsp
Normal file
@ -0,0 +1,70 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.message.function.title"/></title>
|
||||
<link rel="stylesheet" href="/css/space.css">
|
||||
<script src="/js/seed.app.js"></script>
|
||||
<script src="/js/lib/jquery.bxslider.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="seed-popup-wrap">
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="common.function.mypage"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="form-wrap">
|
||||
<div class="table-layout br-none">
|
||||
|
||||
<table>
|
||||
<caption><s:message code="common.member.menuMyPageList.table.caption"/></caption>
|
||||
<colgroup>
|
||||
<col style="width: 100%;" />
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><s:message code="common.menu"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/mypage/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/bbsDataList.do"><s:message code="common.function.mypage.bbsDataList"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/mypage/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/formbuilderDataList.do"><s:message code="common.function.mypage.formbuilderDataList"/></a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><a class="funcClick" href="/user/mypage/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${siteMenuIdx}' />/memberAuthList.do"><s:message code="common.function.mypage.memberAuthList"/></a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".funcClick").click(function(){
|
||||
var url = $(this).attr("href");
|
||||
$("#siteMenuLinkUrl", parent.document).val(url);
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
166
src/main/webapp/WEB-INF/jsp/_common/jsp/message.jsp
Normal file
166
src/main/webapp/WEB-INF/jsp/_common/jsp/message.jsp
Normal file
@ -0,0 +1,166 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
</head>
|
||||
|
||||
<body style="visibility:visible">
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".wrapper").hide();
|
||||
|
||||
try{
|
||||
if(opener != "undefined" && opener && !opener.closed) {
|
||||
if(opener.location.href.indexOf("Form") < 0 && opener.location.href.indexOf("Edit") < 0 && opener.location.href.indexOf("Reply") < 0){
|
||||
opener.location.replace(opener.location.href);
|
||||
}
|
||||
}
|
||||
}catch(e){
|
||||
|
||||
}finally{
|
||||
|
||||
var href = "";
|
||||
|
||||
//팝업창에서 부모창에 값을 넣어줘야하는경우 https일때는 같이 https페이지로 이동
|
||||
// <c:if test='${fn:indexOf(url, "memberChk.do") <= -1}'>
|
||||
// if(location.href.indexOf("https") > -1){
|
||||
// href = location.href.replace("https://", "");
|
||||
// href = "http://"+href.substring(0, href.indexOf("/"));
|
||||
// }
|
||||
// </c:if>
|
||||
|
||||
if("<s:eval expression="@config['message.check']" />" == "nomessage"){
|
||||
|
||||
$("body").hide();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
|
||||
}else{
|
||||
|
||||
if("<s:eval expression="@config['message.check']" />" == "script"){
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(message, "(nomessage)") > -1}'></c:when>
|
||||
<c:when test='${fn:indexOf(message, "(message)") > -1}'>
|
||||
alert("<c:out escapeXml='true' value='${fn:replace(message, "(message)", "")}' />");
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
alert("<s:message code="${message}" text="Error Message" />");
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<c:out escapeXml='false' value='${append}' />
|
||||
|
||||
if("<c:out escapeXml='true' value='${opener}' />" == "location"){
|
||||
opener.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "reload"){
|
||||
opener.location.reload();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "parent"){
|
||||
parent.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='false' value='${url}' />" != "" && "<c:out escapeXml='false' value='${url}' />" != "null" && "<c:out escapeXml='false' value='${url}' />" != null){
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}
|
||||
|
||||
if("<c:out escapeXml='true' value='${self}' />" == "close"){
|
||||
self.close();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history"){
|
||||
history.back();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history.go(-1)"){
|
||||
history.go(-1);
|
||||
}
|
||||
|
||||
}else{
|
||||
|
||||
$(".wrapper").show();
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(message, "(nomessage)") > -1}'></c:when>
|
||||
<c:when test='${fn:indexOf(message, "(message)") > -1}'>
|
||||
$("#message").append("<c:out escapeXml='true' value='${fn:replace(message, "(message)", "")}' />");
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
$("#message").append("<s:message code="${message}" text="Error Message" />");
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<c:out escapeXml='false' value='${append}' />
|
||||
|
||||
if("<s:eval expression="@config['message.confirm']" />" == "false"){
|
||||
var timer = setInterval(function (){
|
||||
|
||||
if("<c:out escapeXml='true' value='${opener}' />" == "location"){
|
||||
opener.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "reload"){
|
||||
opener.location.reload();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "parent"){
|
||||
parent.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='false' value='${url}' />" != "" && "<c:out escapeXml='false' value='${url}' />" != "null" && "<c:out escapeXml='false' value='${url}' />" != null){
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}
|
||||
|
||||
if("<c:out escapeXml='true' value='${self}' />" == "close"){
|
||||
self.close();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history"){
|
||||
history.back();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history.go(-1)"){
|
||||
history.go(-1);
|
||||
}
|
||||
|
||||
clearInterval(timer);
|
||||
}, <s:eval expression="@config['message.time']" />);
|
||||
}else{
|
||||
$(".message_btn_area").append("<input type=\"image\" name=\"confirm\" id=\"confirm\" src=\"/img/common/message_ok.png\" alt=\"<s:message code="common.button.confirm" text="Error Button" />\"");
|
||||
$("#confirm").click(function(){
|
||||
|
||||
if("<c:out escapeXml='true' value='${opener}' />" == "location"){
|
||||
opener.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "reload"){
|
||||
opener.location.reload();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "parent"){
|
||||
parent.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='false' value='${url}' />" != "" && "<c:out escapeXml='false' value='${url}' />" != "null" && "<c:out escapeXml='false' value='${url}' />" != null){
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}
|
||||
|
||||
if("<c:out escapeXml='true' value='${self}' />" == "close"){
|
||||
self.close();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history"){
|
||||
history.back();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history.go(-1)"){
|
||||
history.go(-1);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
@ -0,0 +1,65 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.message.title"/></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
<form:form id="frm" name="frm" action="/common/proc/message/messageRegProc.do" method="post">
|
||||
<input type="hidden" name="receiveMemberIdx" value="<c:out escapeXml='true' value='${tMemberDB.memberIdx}' />"/>
|
||||
<input type="hidden" name="fileCode" value="<c:out escapeXml='true' value='${fileCode}' />">
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><s:message code="common.messageForm.receiveName"/></td>
|
||||
<td>
|
||||
<c:out escapeXml='true' value='${tMemberDB.memberId}' />(<c:out escapeXml='true' value='${tMemberDB.memberName}' />)
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><s:message code="common.messageForm.messageContent"/></td>
|
||||
<td><textarea rows="" cols="" name="messageContent" id="messageContent"></textarea></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><s:message code="common.message.icon.file"/></td>
|
||||
<td colspan="3">
|
||||
<s:message code="common.message.file5"/> <span id="fileSizeHtml">0 / <c:out escapeXml='true' value='${messageFileSize}' /> Mbyte</span>
|
||||
<a href="/common/message/message/0/0/<c:out escapeXml='true' value='${fileCode}' />/fileUpLoad.do" id="upFile"><s:message code="user.bbs.button.bbsFile"/></a>
|
||||
<ul id="upFileHtml"></ul>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<input type="submit" value="<s:message code="common.message.button.send"/>">
|
||||
<a href="javascript:window.close();"><s:message code="common.message.button.cancel" /></a>
|
||||
|
||||
</form:form>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$("#upFile").click(function(){
|
||||
var url = $(this).attr("href");
|
||||
window.open(url,"popFileUpload","width=430, height=340, resizable=no, menubar=no, status=no");
|
||||
return false;
|
||||
});
|
||||
|
||||
$('#frm').submit(function(){
|
||||
|
||||
if($("#messageContent").val() == ""){
|
||||
alert("<s:message code="common.messageForm.messageContent"/> <s:message code="common.message.essential"/>");
|
||||
$("#messageContent").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
$.blockUI({ message : '<h1><img src="/img/common/-img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
158
src/main/webapp/WEB-INF/jsp/_common/jsp/message/messageList.jsp
Normal file
158
src/main/webapp/WEB-INF/jsp/_common/jsp/message/messageList.jsp
Normal file
@ -0,0 +1,158 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.messageList.title"/></title>
|
||||
</head>
|
||||
<body>
|
||||
|
||||
<form:form id="frmSearch" name="frmSearch" action="/common/message/messageList.do" method="post">
|
||||
<input type="hidden" name="page" value="1" />
|
||||
<input type="hidden" name="row" value="<c:out escapeXml='true' value='${row}' />" />
|
||||
|
||||
<div>
|
||||
<p>
|
||||
<select style="width:120px;" name="messageStatus" id="messageStatus" >
|
||||
<option value="" <c:if test="${messageStatus == ''}">selected</c:if>>
|
||||
<s:message code="common.select.option.value.all" />
|
||||
</option>
|
||||
<option value="Y" <c:if test="${messageStatus == 'Y'}">selected</c:if>>
|
||||
<s:message code="common.messageList.status.yes" />
|
||||
</option>
|
||||
<option value="N" <c:if test="${messageStatus == 'N'}">selected</c:if>>
|
||||
<s:message code="common.messageList.status.no" />
|
||||
</option>
|
||||
</select>
|
||||
|
||||
<select style="width:120px;" name="column" id="column">
|
||||
<option value="messageSendName" <c:if test="${column == 'messageSendName'}">selected</c:if>>
|
||||
<s:message code="common.messageList.sendName" />
|
||||
</option>
|
||||
<option value="messageContent" <c:if test="${column == 'messageContent'}">selected</c:if>>
|
||||
<s:message code="common.messageList.messageContent" />
|
||||
</option>
|
||||
</select>
|
||||
|
||||
<input type="text" name="search" id="search" value="<c:out escapeXml='true' value='${search}' />" />
|
||||
<input type="image" src="<s:message code="common.button.search" />" alt="<s:message code="common.button.search.alt" />" />
|
||||
</p>
|
||||
</div>
|
||||
</form:form>
|
||||
|
||||
<form:form id="frm" name="frm" action="/common/proc/message/messageDelProc.do" method="post" >
|
||||
<table>
|
||||
<tr>
|
||||
<td><input type="checkbox" id="allChk" /></td>
|
||||
<td><s:message code="common.messageList.sendName" /></td>
|
||||
<td><s:message code="common.messageList.messageContent" /></td>
|
||||
<td><s:message code="common.messageList.sendDate" /></td>
|
||||
<td><s:message code="common.status" /></td>
|
||||
<td><s:message code="common.messageList.viewDate" /></td>
|
||||
</tr>
|
||||
<c:choose>
|
||||
<c:when test="${!empty messageList && fn:length(messageList) > 0}">
|
||||
<c:forEach items="${messageList}" var="messageList">
|
||||
<tr>
|
||||
<td><input type="checkbox" name="idxs" id="idxs" value="<c:out escapeXml='true' value='${messageList.messageIdx}' />" /></td>
|
||||
<td><c:out escapeXml='true' value='${messageList.messageSendId}' />(<c:out escapeXml='true' value='${messageList.messageSendName}' />)</td>
|
||||
<td>
|
||||
<a href="/common/message/messageView/<c:out escapeXml='true' value='${messageList.messageIdx}' />.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><c:out escapeXml='true' value='${fn:substring(messageList.messageContent, 0, 50)}' /></a>
|
||||
</td>
|
||||
<td><c:out escapeXml='true' value='${fn:substring(messageList.messageRegDate, 0, 10)}' /></td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test='${messageList.messageStatus == "Y"}'>
|
||||
<s:message code="common.messageList.status.yes" />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<s:message code="common.messageList.status.no" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test='${messageList.messageStatus == "Y"}'>
|
||||
<c:out escapeXml='true' value='${fn:substring(messageList.messageModDate, 0, 10)}' />
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
-
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="6"><s:message code="common.message.no.data" /></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</table>
|
||||
|
||||
<c:if test="${!empty messageList && fn:length(messageList) > 0}">
|
||||
<div class="admpagging">
|
||||
<a href="/common/message/messageList.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&page=1" title="<s:message code="common.page.first" />" class="btn"><img src="/site/gta/_images/btn_first.gif" class="vertical-m" alt="" /></a>
|
||||
<c:if test="${block > 1}">
|
||||
<a href="/common/message/messageList.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&page=<c:out escapeXml='true' value='${fPage-1}' />" title="<s:message code="common.page.prev" />" class="btn mr_10"><img src="/site/gta/_images/btn_prev.gif" class="vertical-m" alt="" /></a>
|
||||
</c:if>
|
||||
|
||||
<c:forEach begin="0" end="${lPage-fPage}" var="index" >
|
||||
<c:choose>
|
||||
<c:when test="${index+fPage==page}">
|
||||
<a href="#" title="<s:message code="common.page.now" />" class="numon"><c:out escapeXml='true' value='${page}' /></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a href="/common/message/messageList.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&row=<c:out escapeXml='true' value='${row}' />&page=<c:out escapeXml='true' value='${index+fPage}' />" title="<c:out escapeXml='true' value='${index+fPage}' /> <s:message code="common.page.page" />" class="num"><c:out escapeXml='true' value='${index+fPage}' /></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
|
||||
<c:if test="${block < blocks}">
|
||||
<a href="/common/message/messageList.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&page=<c:out escapeXml='true' value='${lPage+1}' />" title="<s:message code="common.page.next" />" class="btn ml_10"><img src="/site/gta/_images/btn_next.gif" class="vertical-m" alt="" /></a>
|
||||
</c:if>
|
||||
<a href="/common/message/messageList.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&page=<c:out escapeXml='true' value='${pages}' />" title="<s:message code="common.page.last" />" class="btn"><img src="/site/gta/_images/btn_last.gif" class="vertical-m" alt="" /></a>
|
||||
</div>
|
||||
</c:if>
|
||||
|
||||
<input type="image" src="<s:message code="common.button.del" />" alt="<s:message code="common.button.del.alt" />" />
|
||||
|
||||
</form:form>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$("#allChk").click(function(){
|
||||
if($("#allChk").is(":checked")){
|
||||
$("input:checkbox").prop("checked",true);
|
||||
}else{
|
||||
$("input:checkbox").prop("checked",false);
|
||||
}
|
||||
});
|
||||
|
||||
$("#messageStatus").change(function(){
|
||||
$("#frmSearch").submit();
|
||||
});
|
||||
|
||||
$('#frm').submit(function(){
|
||||
|
||||
if(!confirm("<s:message code='common.message.message.confirm.del'/>")){
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!$('input:checkbox[name="idxs"]').is(":checked")){
|
||||
alert("<s:message code="common.message.no.check"/>");
|
||||
return false;
|
||||
}
|
||||
|
||||
$.blockUI({ message : '<h1><img src="/img/common/-img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
102
src/main/webapp/WEB-INF/jsp/_common/jsp/message/messageView.jsp
Normal file
102
src/main/webapp/WEB-INF/jsp/_common/jsp/message/messageView.jsp
Normal file
@ -0,0 +1,102 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@page import="seed.utils.SeedProperties"%>
|
||||
|
||||
<%
|
||||
SeedProperties seedProperties = new SeedProperties();
|
||||
pageContext.setAttribute("cn", "\n");
|
||||
%>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.messageView.title"/></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table>
|
||||
<tr>
|
||||
<td><s:message code="common.messageView.sendName" /></td>
|
||||
<td><c:out escapeXml='true' value='${tMessageDB.messageSendId}' />(<c:out escapeXml='true' value='${tMessageDB.messageSendName}' />)</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><s:message code="common.messageView.messageContent" /></td>
|
||||
<td><c:out escapeXml='false' value='${fn:replace(tMessageDB.messageContent, cn, "<br/>")}' /></td>
|
||||
</tr>
|
||||
|
||||
<c:if test="${!empty messageFileList && fn:length(messageFileList) > 0}">
|
||||
<tr>
|
||||
<td><s:message code="common.message.icon.file" /></td>
|
||||
<td>
|
||||
<c:forEach items="${messageFileList}" var="messageFileList">
|
||||
<p>
|
||||
<img src="/img/icon/icon_<c:out escapeXml='true' value='${messageFileList.messageFileType}' />.gif" alt="<c:out escapeXml='true' value='${messageFileList.messageFileText}' />" />
|
||||
<a href="/common/proc/messageUpFile/message/<c:out escapeXml='true' value='${tMessageDB.messageIdx}' />/fileDownLoad/<c:out escapeXml='true' value='${messageFileList.messageFileIdx}' />.do" title="<s:message code="common.message.blank"/> <c:out escapeXml='true' value='${messageFileList.messageFileText}' /> <s:message code="common.message.down"/>"><c:out escapeXml='true' value='${messageFileList.messageFileName}' /></a>
|
||||
</p>
|
||||
</c:forEach>
|
||||
</td>
|
||||
</tr>
|
||||
</c:if>
|
||||
</table>
|
||||
|
||||
<table>
|
||||
<caption></caption>
|
||||
<tr>
|
||||
<td><s:message code="common.messageList.message.prev" /></td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${!empty tMessagePreDB}">
|
||||
<a href="/common/message/messageView/<c:out escapeXml='true' value='${tMessagePreDB.messageIdx}' />.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />">
|
||||
<c:out escapeXml='false' value='${fn:replace(tMessagePreDB.messageContent, cn, "<br/>")}' />
|
||||
</a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<s:message code="common.messageList.message.no.prev" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><s:message code="common.messageList.message.next" /></td>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${!empty tMessageNextDB}">
|
||||
<a href="/common/message/messageView/<c:out escapeXml='true' value='${tMessageNextDB.messageIdx}' />.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />">
|
||||
<c:out escapeXml='false' value='${fn:replace(tMessageNextDB.messageContent, cn, "<br/>")}' />
|
||||
</a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<s:message code="common.messageList.message.no.next" />
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
</tr>
|
||||
</table>
|
||||
|
||||
<a class="dataDel" href="/common/proc/message/messageDelProc/<c:out escapeXml='true' value='${tMessageDB.messageIdx}' />.do">
|
||||
<img src="<s:message code="common.button.del" />" alt="<s:message code="common.button.del.alt" />" />
|
||||
</a>
|
||||
<a href="/common/message/messageList.do?messageStatus=<c:out escapeXml='true' value='${messageStatus}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />">
|
||||
<img src="<s:message code="common.button.list" />" alt="<s:message code="common.button.list.alt" />" />
|
||||
</a>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".dataDel").click(function(){
|
||||
if(!confirm("<s:message code='common.message.message.confirm.del'/>")){
|
||||
return false;
|
||||
}
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
|
||||
$('#frm').submit(function(){
|
||||
$.blockUI({ message : '<h1><img src="/img/common/-img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
5
src/main/webapp/WEB-INF/jsp/_common/jsp/popup.jsp
Normal file
5
src/main/webapp/WEB-INF/jsp/_common/jsp/popup.jsp
Normal file
@ -0,0 +1,5 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:out escapeXml='false' value='${popupDataPopupContent}' />
|
||||
73
src/main/webapp/WEB-INF/jsp/_common/jsp/postCode.jsp
Normal file
73
src/main/webapp/WEB-INF/jsp/_common/jsp/postCode.jsp
Normal file
@ -0,0 +1,73 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.postcode.title"/></title>
|
||||
<link href="/site/sanhak/jsp/member/css/member.css" rel="stylesheet" type="text/css"/>
|
||||
<style>
|
||||
.adR li:first-child {border-top:0px;}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="idCheck">
|
||||
<h1 class="idCheckTitle">우편번호 찾기</h1>
|
||||
<div class="idCheckTitle3">
|
||||
<form:form name="frm" id="frm" method="post" action="/common/postCode.do">
|
||||
<input type="text" name="search" id="search" value="<c:out escapeXml='true' value='${search}' />" class="inputBox" style="width:300px;" /> <input type="image" src="/site/sanhak/images/member/searchBtn.gif" align="absmiddle" alt="검색">
|
||||
<p class="idCheckTxt">동(읍/면/리/가)를 입력해 주세요. (예:삼성동, 을지로3가)</p>
|
||||
</form:form>
|
||||
</div>
|
||||
|
||||
<div style="width:500px;margin:10px auto;">
|
||||
|
||||
<div>
|
||||
<ul class="adR" style="height:100px;overflow-x:hidden;background:#fafafa;padding:20px;margin-bottom:20px;">
|
||||
<c:choose>
|
||||
<c:when test="${!empty postCodeList}">
|
||||
<c:forEach items="${postCodeList}" var="postCodeList">
|
||||
<li style="border-top:1px solid #eee;line-height:20px;"><a href="#" onclick="javascript:jf_postCodeClick('<c:out escapeXml='true' value='${postCodeList.zipCode}' />', '<c:out escapeXml='true' value='${postCodeList.sido}' /> <c:out escapeXml='true' value='${postCodeList.gugun}' /> <c:out escapeXml='true' value='${postCodeList.dong}' />');"><span>(<c:out escapeXml='true' value='${postCodeList.zipCode}' />)</span> <c:out escapeXml='true' value='${postCodeList.sido}' /> <c:out escapeXml='true' value='${postCodeList.gugun}' /> <c:out escapeXml='true' value='${postCodeList.dong}' /> <c:out escapeXml='true' value='${postCodeList.bunji}' /></a></li>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<li style="text-align:center;">등록된 우편번호가 없습니다.</li>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</ul>
|
||||
</div>
|
||||
<div style="text-align:center;">
|
||||
<a href="javascript:window.close();" style="display:inline-block;padding:5px 10px;border:1px solid #ccc;"><s:message code="common.button.close"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$("#search").focus();
|
||||
|
||||
$("#frm").submit(function(){
|
||||
if($("#search").val() == ""){
|
||||
alert("검색하실 단어는 <s:message code="common.message.essential"/>");
|
||||
$("#search").focus();
|
||||
return false;
|
||||
}
|
||||
});
|
||||
|
||||
function jf_postCodeClick(zipCode, address){
|
||||
var zipCodes = zipCode.split("-");
|
||||
$("#post1", parent.opener.document).val(zipCodes[0]);
|
||||
$("#post2", parent.opener.document).val(zipCodes[1]);
|
||||
$("#address1", parent.opener.document).val(address);
|
||||
window.close();
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
52826
src/main/webapp/WEB-INF/jsp/_common/jsp/postCode.txt
Normal file
52826
src/main/webapp/WEB-INF/jsp/_common/jsp/postCode.txt
Normal file
File diff suppressed because it is too large
Load Diff
36
src/main/webapp/WEB-INF/jsp/_common/jsp/seed.jsp
Normal file
36
src/main/webapp/WEB-INF/jsp/_common/jsp/seed.jsp
Normal file
@ -0,0 +1,36 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
<%@ page isErrorPage="true" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<!--[if lt IE 7 ]><html class="ie ie6" lang="ko"><![endif]-->
|
||||
<!--[if IE 7 ]><html class="ie ie7" lang="ko"><![endif]-->
|
||||
<!--[if IE 8 ]><html class="ie ie8" lang="ko"><![endif]-->
|
||||
<!--[if IE 9 ]><html class="ie ie9" lang="ko"><![endif]-->
|
||||
<!--[if (gte IE 10)|!(IE)]><!--><html lang="ko"><!--<![endif]-->
|
||||
<head>
|
||||
<title><s:message code="common.message.title" text="Message Title" /></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"><s:message code="common.message.no.seed"/></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
84
src/main/webapp/WEB-INF/jsp/_common/jsp/seedPaging.jsp
Normal file
84
src/main/webapp/WEB-INF/jsp/_common/jsp/seedPaging.jsp
Normal file
@ -0,0 +1,84 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
|
||||
<%!
|
||||
|
||||
public String getPage(int total, int page, int row, String pageUrl){
|
||||
|
||||
String pageData = "";
|
||||
|
||||
int pages = (total == 0) ? 1 : (int) ((total - 1) / row) + 1;
|
||||
int blocks;
|
||||
int block;
|
||||
int firstPage;
|
||||
int lastPage;
|
||||
|
||||
blocks = (int) Math.ceil(1.0 * pages / 10.0);
|
||||
block = (int) Math.ceil(1.0 * page / 10.0);
|
||||
firstPage = (block - 1) * 10 + 1;
|
||||
lastPage = block * 10;
|
||||
if (lastPage > pages)
|
||||
lastPage = pages;
|
||||
|
||||
pageData = "<a href="+pageUrl+"&spage=1 title=\"첫페이지\">첫페이지</a>";
|
||||
|
||||
if(block > 1){
|
||||
pageData += "<a href="+pageUrl+"&spage="+(firstPage-1)+" title=\"이전페이지\">이전페이지</a>";
|
||||
}
|
||||
|
||||
for(int i=firstPage, idx=1; i <= lastPage; i++, idx++){
|
||||
if(page == i) {
|
||||
pageData += "<a href="+pageUrl+"&spage="+page+" title=\"현재페이지\"><strong>"+page+"</strong></a>";
|
||||
}else{
|
||||
pageData += "<a href="+pageUrl+"&spage="+i+" title=\""+i+" 페이지>"+i+"</a>";
|
||||
}
|
||||
}
|
||||
|
||||
if(block < blocks){
|
||||
pageData += "<a href="+pageUrl+"&spage="+(lastPage+1)+" title=\"다음페이지\">다음페이지</a>";
|
||||
}
|
||||
|
||||
pageData += "<a href="+pageUrl+"&spage="+pages+" title=\"마지막페이지\">마지막페이지</a>";
|
||||
|
||||
return pageData;
|
||||
}
|
||||
|
||||
public String getManagerPage(int total, int page, int row, String pageUrl){
|
||||
|
||||
String pageData = "";
|
||||
|
||||
int pages = (total == 0) ? 1 : (int) ((total - 1) / row) + 1;
|
||||
int blocks;
|
||||
int block;
|
||||
int firstPage;
|
||||
int lastPage;
|
||||
|
||||
blocks = (int) Math.ceil(1.0 * pages / 10.0);
|
||||
block = (int) Math.ceil(1.0 * page / 10.0);
|
||||
firstPage = (block - 1) * 10 + 1;
|
||||
lastPage = block * 10;
|
||||
if (lastPage > pages)
|
||||
lastPage = pages;
|
||||
|
||||
pageData = "<a href="+pageUrl+"&spage=1 title=\"첫페이지\"><img src=\"/img/common/list_navi1.gif\" alt=\"처음 목록으로 이동\" /></a>";
|
||||
|
||||
if(block > 1){
|
||||
pageData += "<a href="+pageUrl+"&spage="+(firstPage-1)+" title=\"이전페이지\"><img src=\"/img/common/list_navi2.gif\" alt=\"이전 목록으로 이동\" /></a>";
|
||||
}
|
||||
pageData += "<ul>";
|
||||
for(int i=firstPage, idx=1; i <= lastPage; i++, idx++){
|
||||
if(page == i) {
|
||||
pageData += "<li class=\"on\"><a href="+pageUrl+"&spage="+page+" title=\"현재페이지\">"+page+"</a></li>";
|
||||
}else{
|
||||
pageData += "<li class=\"off\"><a href="+pageUrl+"&spage="+i+" title=\""+i+" 페이지\">"+i+"</a></li>";
|
||||
}
|
||||
}
|
||||
pageData += "</ul>";
|
||||
if(block < blocks){
|
||||
pageData += "<a href="+pageUrl+"&spage="+(lastPage+1)+" title=\"다음페이지\"><img src=\"/img/common/list_navi3.gif\" alt=\"다음 목록으로 이동\" /></a>";
|
||||
}
|
||||
|
||||
pageData += "<a href="+pageUrl+"&spage="+pages+" title=\"마지막페이지\"><img src=\"/img/common/list_navi4.gif\" alt=\"마지막 목록으로 이동\" /></a>";
|
||||
|
||||
return pageData;
|
||||
}
|
||||
%>
|
||||
15
src/main/webapp/WEB-INF/jsp/_common/jsp/seedSetPage.jsp
Normal file
15
src/main/webapp/WEB-INF/jsp/_common/jsp/seedSetPage.jsp
Normal file
@ -0,0 +1,15 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
|
||||
<%
|
||||
String cookieName = SeedUtils.setReplaceNull((String)request.getAttribute("cookieName"));
|
||||
String event = SeedUtils.setReplaceNull((String)request.getAttribute("event"));
|
||||
|
||||
Cookie cookie = new Cookie(cookieName, event);
|
||||
|
||||
cookie.setMaxAge(365*24*60*60);
|
||||
cookie.setPath("/");
|
||||
|
||||
response.addCookie(cookie);
|
||||
%>
|
||||
24
src/main/webapp/WEB-INF/jsp/_common/jsp/siteList.jsp
Normal file
24
src/main/webapp/WEB-INF/jsp/_common/jsp/siteList.jsp
Normal file
@ -0,0 +1,24 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<c:if test='${fn:length(siteList) > 0}'>
|
||||
|
||||
<c:set var="selectSiteName" value="" />
|
||||
|
||||
<c:forEach items="${siteList}" var="siteList" varStatus="status">
|
||||
<c:if test='${selectSiteName == "" && siteList._siteIdx == siteIdx}'>
|
||||
<c:set var="selectSiteName" value='${siteList._siteName}' />
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
|
||||
<button type="button" class="site-setting-btn toggle-setting-btn BEHAVIOR"><c:out escapeXml='true' value='${selectSiteName}' /></button>
|
||||
<ul class="site setting-list PIE">
|
||||
</c:if>
|
||||
<c:forEach items="${siteList}" var="siteList" varStatus="status">
|
||||
<li><a data-siteidx="${siteList._siteIdx}" href="/<c:out escapeXml='true' value='${pageType}'/>/<c:out escapeXml='true' value='${siteList._siteIdx}' />/dashboard.do#dashboard"><c:out escapeXml='true' value='${siteList._siteName}' /></a></li>
|
||||
</c:forEach>
|
||||
<c:if test='${fn:length(siteList) > 0}'>
|
||||
</ul>
|
||||
</c:if>
|
||||
177
src/main/webapp/WEB-INF/jsp/_common/jsp/umessage.jsp
Normal file
177
src/main/webapp/WEB-INF/jsp/_common/jsp/umessage.jsp
Normal file
@ -0,0 +1,177 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.message.title" text="Error Title" /></title>
|
||||
<c:if test='${!empty siteIdx}'>
|
||||
<link href="/site/<c:out escapeXml='true' value='${siteIdx}' />/jsp/alert/css/alert.css" rel="stylesheet" type="text/css"/>
|
||||
</c:if>
|
||||
</head>
|
||||
|
||||
<body style="visibility:visible">
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${!empty siteIdx}'>
|
||||
<c:import url="/user/${siteIdx}/alert/message/jsp/Page.do"></c:import>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div id="wrapper">
|
||||
<div class="login-page">
|
||||
<div class="login-area">
|
||||
<div class="login-wrap">
|
||||
<div class="alert-area clear">
|
||||
<h1></h1>
|
||||
<p class="alert-content"><span id="message"></span></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
Copyright (c) 2016 <strong>Global IT</strong>. All Rights Reserved.
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".wrapper").hide();
|
||||
|
||||
try{
|
||||
if(opener != "undefined" && opener && !opener.closed) {
|
||||
if(opener.location.href.indexOf("Form") < 0 && opener.location.href.indexOf("Edit") < 0 && opener.location.href.indexOf("Reply") < 0){
|
||||
opener.location.replace(opener.location.href);
|
||||
}
|
||||
}
|
||||
}catch(e){
|
||||
|
||||
}finally{
|
||||
|
||||
var href = "";
|
||||
|
||||
//팝업창에서 부모창에 값을 넣어줘야하는경우 https일때는 같이 https페이지로 이동
|
||||
// <c:if test='${fn:indexOf(url, "memberChk.do") <= -1}'>
|
||||
// if(location.href.indexOf("https") > -1){
|
||||
// href = location.href.replace("https://", "");
|
||||
// href = "http://"+href.substring(0, href.indexOf("/"));
|
||||
// }
|
||||
// </c:if>
|
||||
|
||||
if("<s:eval expression="@config['message.check']" />" == "nomessage"){
|
||||
|
||||
$("body").hide();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
|
||||
}else{
|
||||
|
||||
if("<s:eval expression="@config['message.check']" />" == "script"){
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(message, "(nomessage)") > -1}'></c:when>
|
||||
<c:when test='${fn:indexOf(message, "(message)") > -1}'>
|
||||
alert("<c:out escapeXml='true' value='${fn:replace(message, "(message)", "")}' />");
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
alert("<s:message code="${message}" text="Error Message" />");
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<c:out escapeXml='false' value='${append}' />
|
||||
|
||||
if("<c:out escapeXml='true' value='${opener}' />" == "location"){
|
||||
opener.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "reload"){
|
||||
opener.location.reload();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "parent"){
|
||||
parent.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='false' value='${url}' />" != "" && "<c:out escapeXml='false' value='${url}' />" != "null" && "<c:out escapeXml='false' value='${url}' />" != null){
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}
|
||||
|
||||
if("<c:out escapeXml='true' value='${self}' />" == "close"){
|
||||
self.close();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history"){
|
||||
history.back();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history.go(-1)"){
|
||||
history.go(-1);
|
||||
}
|
||||
|
||||
}else{
|
||||
|
||||
$(".wrapper").show();
|
||||
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(message, "(nomessage)") > -1}'></c:when>
|
||||
<c:when test='${fn:indexOf(message, "(message)") > -1}'>
|
||||
$("#message").append("<c:out escapeXml='true' value='${fn:replace(message, "(message)", "")}' />");
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
$("#message").append("<s:message code="${message}" text="Error Message" />");
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
<c:out escapeXml='false' value='${append}' />
|
||||
|
||||
if("<s:eval expression="@config['message.confirm']" />" == "false"){
|
||||
var timer = setInterval(function (){
|
||||
|
||||
if("<c:out escapeXml='true' value='${opener}' />" == "location"){
|
||||
opener.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "reload"){
|
||||
opener.location.reload();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "parent"){
|
||||
parent.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='false' value='${url}' />" != "" && "<c:out escapeXml='false' value='${url}' />" != "null" && "<c:out escapeXml='false' value='${url}' />" != null){
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}
|
||||
|
||||
if("<c:out escapeXml='true' value='${self}' />" == "close"){
|
||||
self.close();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history"){
|
||||
history.back();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history.go(-1)"){
|
||||
history.go(-1);
|
||||
}
|
||||
|
||||
clearInterval(timer);
|
||||
}, <s:eval expression="@config['message.time']" />);
|
||||
}else{
|
||||
$(".message_btn_area").append("<input type=\"image\" name=\"confirm\" id=\"confirm\" src=\"/img/common/message_ok.png\" alt=\"<s:message code="common.button.confirm" text="Error Button" />\"");
|
||||
$("#confirm").click(function(){
|
||||
|
||||
if("<c:out escapeXml='true' value='${opener}' />" == "location"){
|
||||
opener.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "reload"){
|
||||
opener.location.reload();
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='true' value='${opener}' />" == "parent"){
|
||||
parent.location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}else if("<c:out escapeXml='false' value='${url}' />" != "" && "<c:out escapeXml='false' value='${url}' />" != "null" && "<c:out escapeXml='false' value='${url}' />" != null){
|
||||
location.replace(href+"<c:out escapeXml='false' value='${url}' />");
|
||||
}
|
||||
|
||||
if("<c:out escapeXml='true' value='${self}' />" == "close"){
|
||||
self.close();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history"){
|
||||
history.back();
|
||||
}else if("<c:out escapeXml='true' value='${self}' />" == "history.go(-1)"){
|
||||
history.go(-1);
|
||||
}
|
||||
|
||||
});
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
Loading…
Reference in New Issue
Block a user