최초커밋(나머지)

main
이범준 11 months ago
parent 021bf77e28
commit f9a0b3050a

@ -0,0 +1,88 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE taglib
PUBLIC "-//Sun Microsystems, Inc.//DTD JSP Tag Library 1.2//EN"
"http://java.sun.com/dtd/web-jsptaglibrary_1_2.dtd">
<taglib>
<tlib-version>1.3</tlib-version>
<jsp-version>1.2</jsp-version>
<short-name>jwork</short-name>
<uri>http://www.egovframe.go.kr/tags/ext/jfile/jsp</uri>
<tag>
<name>fileuploader</name>
<tag-class>egovframework.com.ext.jfile.taglibs.FileUploadTag</tag-class>
<attribute>
<name>objectId</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>fileId</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>uploadCompletedEvent</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>maxFileSize</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>maxFileCount</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>fileType</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>usePreview</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanId</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>useSecurity</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>uploadMode</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<name>filedownloader</name>
<tag-class>egovframework.com.ext.jfile.taglibs.FileDownloadTag</tag-class>
<attribute>
<name>objectId</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>fileId</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>usePreview</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>beanId</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>useSecurity</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>uploadMode</name>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

@ -0,0 +1,29 @@
<?xml version="1.0" encoding="UTF-8"?>
<root>
<item>
<code>1</code>
<value>POPUPZONE</value>
<name>팝업존</name>
</item>
<item>
<code>2</code>
<value>POPUPWIN</value>
<name>팝업창</name>
</item>
<item>
<code>3</code>
<value>BANNER</value>
<name>배너</name>
</item>
<item>
<code>4</code>
<value>POPUPMOBILE</value>
<name>모바일 팝업</name>
</item>
<!--
<item>
<code>5</code>
<value>BANNER2</value>
<name>배너2</name>
</item> -->
</root>

@ -0,0 +1,2 @@
IV[16] = {0x77,0x6F,0x6F,0x6E,0x65,0x65,0x69,0x74,0x67,0x6F,0x6F,0x64,0x01,0x11,0x22,0x33}
MK[16] = {0x33,0x22,0x11,0x01,0x64,0x6F,0x6F,0x67,0x74,0x69,0x65,0x6E,0x6F,0x6F,0x77,0x44}

@ -0,0 +1,128 @@
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:context="http://www.springframework.org/schema/context"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xmlns:task="http://www.springframework.org/schema/task"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:aop="http://www.springframework.org/schema/aop"
xsi:schemaLocation="http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.2.xsd
http://www.springframework.org/schema/task http://www.springframework.org/schema/task/spring-task-4.0.xsd
http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.2.xsd
http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.2.xsd
http://www.springframework.org/schema/aop http://www.springframework.org/schema/aop/spring-aop-4.0.xsd">
<!-- 스케줄러
<bean id="pushService" class="egovframework.itgcms.module.push.service.impl.PushServiceImpl"/>
<task:scheduler id="gsScheduler" pool-size="10" />
<task:executor id="gsTaskExecutor" pool-size="10" />
<task:annotation-driven executor="gsTaskExecutor" scheduler="gsScheduler" /> -->
<context:component-scan base-package="egovframework" use-default-filters="false">
<context:include-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
<context:include-filter expression="org.springframework.web.bind.annotation.ControllerAdvice" type="annotation"/>
</context:component-scan>
<!-- 엑셀다운로드 -->
<!--
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="1" />
<bean id="excelDown" class="egovframework.rte.util.ExcelDownloadView" />
-->
<!-- 엑셀다운로드 및 JSONVIEW 추가 -->
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" id="viewResolver" p:order="0" />
<bean id="excelDown" class="egovframework.itgcms.util.ExcelDownloadView" />
<!-- <bean class="org.springframework.web.servlet.view.json.MappingJacksonJsonView" id="jsonView">
<property name="contentType" value="application/json;charset=UTF-8"/>
</bean> -->
<!-- For Pagination Tag -->
<bean class="egovframework.com.cmm.ImagePaginationRenderer" id="imageRenderer"/>
<bean class="egovframework.itgcms.util.UserPaginationRenderer" id="userPagingRenderer"/>
<bean class="egovframework.rte.ptl.mvc.tags.ui.pagination.DefaultPaginationManager" id="paginationManager">
<property name="rendererType">
<map>
<entry key="image" value-ref="imageRenderer"/>
<entry key="user" value-ref="userPagingRenderer"/>
</map>
</property>
</bean>
<mvc:annotation-driven/>
<!--
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter">
<property name="webBindingInitializer">
<bean class="egovframework.com.cmm.web.EgovBindingInitializer"/>
</property>
</bean>
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"/>
-->
<!-- IP 정보 기록 및 로그인 체크가 필요한 URL과 로그인 여부를 체크해줄 인터셉터를 등록한다. -->
<!-- <mvc:interceptors>
<bean class="egovframework.com.cmm.interceptor.IpObtainInterceptor" />
<mvc:interceptor>
<mvc:mapping path="/**/*.do" />
<mvc:exclude-mapping path="/uat/uia/**" />
<mvc:exclude-mapping path="/index.do" />
<mvc:exclude-mapping path="/EgovLeft.do" />
<mvc:exclude-mapping path="/EgovContent.do" />
<mvc:exclude-mapping path="/EgovTop.do" />
<mvc:exclude-mapping path="/EgovBottom.do" />
<mvc:exclude-mapping path="/uat/uia/egovLoginUsr.do" />
<mvc:exclude-mapping path="/uat/uia/actionLogin.do" />
<bean class="egovframework.com.cmm.interceptor.AuthenticInterceptor" />
</mvc:interceptor>
</mvc:interceptors> -->
<mvc:interceptors>
<!-- controller 실행 전이나 후에 실행 될 intercepter 로직 class -->
<mvc:interceptor>
<mvc:mapping path="/_mngr_/*"/>
<mvc:mapping path="/_mngr_/*/*"/>
<bean class="egovframework.itgcms.util.AccessLogIntercepter"/>
</mvc:interceptor>
<!-- cache config -->
<bean id="webContentInterceptor" class="org.springframework.web.servlet.mvc.WebContentInterceptor">
<property name="cacheSeconds" value="0"/>
<property name="useExpiresHeader" value="true"/>
<property name="useCacheControlHeader" value="true"/>
<property name="useCacheControlNoStore" value="true"/>
</bean>
</mvc:interceptors>
<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
<property name="defaultErrorView" value="com/cmm/error/egovError"/>
<property name="exceptionMappings">
<props>
<prop key="org.springframework.dao.DataAccessException">com/cmm/error/dataAccessFailure</prop>
<prop key="org.springframework.transaction.TransactionException">com/cmm/error/dataAccessFailure</prop>
<prop key="egovframework.rte.fdl.cmmn.exception.EgovBizException">com/cmm/error/egovBizException</prop>
<prop key="org.springframework.web.HttpSessionRequiredException">com/uat/uia/EgovLoginUsr</prop>
</props>
</property>
<!--
<property name="defaultErrorView" value="/error1"/>
<property name="exceptionMappings">
<props>
<prop key="org.springframework.dao.DataAccessException">/error2</prop>
<prop key="org.springframework.transaction.TransactionException">/error3</prop>
<prop key="egovframework.rte.fdl.cmmn.exception.EgovBizException">/error4</prop>
<prop key="org.springframework.web.HttpSessionRequiredException">/error5</prop>
</props>
</property>
-->
</bean>
<aop:aspectj-autoproxy/>
<!-- for JFile -->
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0"/>
<bean class="org.springframework.web.servlet.view.InternalResourceViewResolver" p:order="1"
p:prefix="/WEB-INF/jsp/egovframework/"
p:suffix=".jsp" p:viewClass="org.springframework.web.servlet.view.JstlView"/>
</beans>

@ -0,0 +1,17 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="<c:url value='/css/egovframework/com/main.css' />" rel="stylesheet" type="text/css">
<title>eGovFrame 공통 컴포넌트</title>
</head>
<body>
<div id="wrap">
<div id="footer">
<p>Copyright(c)2011 MINISTRY OF SECURITY AND PUBLIC ADMINISTRATION.</p>
</div>
</div>
</body>
</html>

@ -0,0 +1,34 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:if test="${loginVO != null}">
${loginVO.name }님 환영합니다. <a href="${pageContext.request.contextPath }/uat/uia/actionLogout.do">로그아웃</a>
</c:if>
<c:if test="${loginVO == null }">
<jsp:forward page="/uat/uia/egovLoginUsr.do"/>
</c:if>
<p/><p/><p/>
<b>실행시 오류사항이 있으시면 표준프레임워크센터로 연락하시기 바랍니다.<br /><br/>
<b>* 화면 설명 *</b><p/>
왼쪽 메뉴는 메뉴과 관련된 컴포넌트(메뉴관리, 사이트맵 등)들의 영향을 받지 않습니다.<p/>
각 컴포넌트들을 쉽게 찾아볼 수 있는 바로가기 링크페이지 입니다.<p/>
<br /><b>* egovframework.com.cmm.web.EgovComIndexController.java 설명 *</b><p/>
컴포넌트 설치 후 설치된 컴포넌트들을 IncludedInfo annotation을 통해 찾아낸 후<p/>
화면에 표시할 정보를 처리하는 Controller 클래스<p/><br />
개발시 메뉴 구조가 잡히기 전에 배포파일들에 포함된 공통 컴포넌트들의 목록성 화면에<p/>
URL을 제공하여 개발자가 편하게 활용하도록 하기 위해 작성된 것임<p/>
<b>실 운영 시에는 삭제해서 배포하는 것을 권장함</b><p />
운영시에 본 컨트롤을 사용하여 메뉴를 구성하는 경우 성능 문제를 일으키거나<p/>
사용자별 메뉴 구성에 오류를 발생할 수 있음<p />
</body>
</html>

@ -0,0 +1,121 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>eGovFrame 공통 컴포넌트</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
</head>
<body>
<c:set var="isMai" value="false"/>
<c:set var="isUat" value="false"/>
<c:set var="isSec" value="false"/>
<c:set var="isSts" value="false"/>
<c:set var="isCop" value="false"/>
<c:set var="isUss" value="false"/>
<c:set var="isSym" value="false"/>
<c:set var="isSsi" value="false"/>
<c:set var="isDam" value="false"/>
<c:set var="isCom" value="false"/>
<c:set var="isExt" value="false"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:if test="${isMai == 'false' && result.gid == '0'}">
<tr height = "16">
<td align="left" width="100%">
<h1>포털(예제) 메인화면</h1>
</td>
</tr>
<c:set var="isMai" value="true"/>
</c:if>
<c:if test="${isUat == 'false' && result.gid == '10'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>사용자디렉토리/통합인증</h1>
</td>
</tr>
<c:set var="isUat" value="true"/>
</c:if>
<c:if test="${isSec == 'false' && result.gid == '20'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>보안</h1>
</td>
</tr>
<c:set var="isSec" value="true"/>
</c:if>
<c:if test="${isSts == 'false' && result.gid == '30'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>통계/리포팅</h1>
</td>
</tr>
<c:set var="isSts" value="true"/>
</c:if>
<c:if test="${isCop == 'false' && result.gid == '40'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>협업</h1>
</td>
</tr>
<c:set var="isCop" value="true"/>
</c:if>
<c:if test="${isUss == 'false' && result.gid == '50'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>사용자지원</h1>
</td>
</tr>
<c:set var="isUss" value="true"/>
</c:if>
<c:if test="${isSym == 'false' && result.gid == '60'}">
<tr height = "16" >
<td align="left" width="100%">
<br><h1>시스템관리</h1>
</td>
</tr>
<c:set var="isSym" value="true"/>
</c:if>
<c:if test="${isSsi == 'false' && result.gid == '70'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>시스템/서비스연계</h1>
</td>
</tr>
<c:set var="isSsi" value="true"/>
</c:if>
<c:if test="${isDam == 'false' && result.gid == '80'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>디지털 자산 관리</h1>
</td>
</tr>
<c:set var="isDam" value="true"/>
</c:if>
<c:if test="${isCom == 'false' && result.gid == '90'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>요소기술</h1>
</td>
</tr>
<c:set var="isCom" value="true"/>
</c:if>
<c:if test="${isExt == 'false' && result.gid == '100'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>외부 추가 컴포넌트</h1>
</td>
</tr>
<c:set var="isExt" value="true"/>
</c:if>
<tr height = "16">
<td align="left" valign="center" width="100%">
<a href="${pageContext.request.contextPath}<c:out value="${result.listUrl}"/>" target="_content" class="link"> <c:out value="${result.order}"/>. <c:out value="${result.name}"/></a>
</td>
</tr>
</c:forEach>
</table>
</body>
</html>

@ -0,0 +1,17 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>eGovFrame 공통 컴포넌트</title>
</head>
<frameset frameborder="0" framespacing="0" rows="40, *, 43">
<frame name="_top" src="<c:url value='/EgovTop.do' />" scrolling="no" title="헤더">
<frameset frameborder="0" framespacing="0" cols="20%, 80%">
<frame name="_left" src="<c:url value='/EgovLeft.do' />" scrolling="yes" title="메뉴페이지">
<frame name="_content" src="<c:url value='/EgovContent.do' />" title="메인페이지">
</frameset>
<frame name="_bottom" src="<c:url value='/EgovBottom.do' />" scrolling="no" title="푸터">
</frameset>

@ -0,0 +1,17 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<link href="<c:url value='/css/egovframework/com/main.css' />" rel="stylesheet" type="text/css">
<title>eGovFrame 공통 컴포넌트</title>
</head>
<body>
<div id="wrap">
<div id="header">
<h1><img src="<c:url value='/images/egovframework/com/cmm/main/h1_logo.jpg' />" width="123" height="29" alt="egovframe"></h1>
</div>
</div>
</body>
</html>

@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지"/></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지" /></td>
<td width="399" align="left" class="lt_text2">데이터 처리 중 오류가 발생하였습니다. </td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="#LINK" onClick="fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기 버튼이미지" /></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지"/></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지"/></td>
<td width="399" align="left" class="lt_text2">수행중 오류가 발생하였습니다. </td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="javascript:fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기 버튼이미지"/></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지" /></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지" /></td>
<td width="399" align="left" class="lt_text2">알 수 없는 오류가 발생했습니다.</td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="#LINK" onClick="fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기 버튼이미지"/></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지"/></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지"/></td>
<td width="399" align="left" class="lt_text2">세션이 만료되었습니다.</td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="javascript:fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기버튼이미지" /></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

@ -0,0 +1,96 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovFileList.jsp
* @Description : 파일 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ---------- ------ ---------------------------
* @ 2009.03.26 이삼섭 최초 생성
* @ 2011.07.20 옥찬우 <Input> Tag id속성 추가( Line : 68 )
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.26
* @version 1.0
* @see
*
*/
%>
<!-- link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css"-->
<script type="text/javascript">
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
}
function fn_egov_deleteFile(atchFileId, fileSn) {
forms = document.getElementsByTagName("form");
for (var i = 0; i < forms.length; i++) {
if (typeof(forms[i].atchFileId) != "undefined" &&
typeof(forms[i].fileSn) != "undefined" &&
typeof(forms[i].fileListCnt) != "undefined") {
form = forms[i];
}
}
//form = document.forms[0];
form.atchFileId.value = atchFileId;
form.fileSn.value = fileSn;
form.action = "<c:url value='/cmm/fms/deleteFileInfs.do'/>";
form.submit();
}
function fn_egov_check_file(flag) {
if (flag=="Y") {
document.getElementById('file_upload_posbl').style.display = "block";
document.getElementById('file_upload_imposbl').style.display = "none";
} else {
document.getElementById('file_upload_posbl').style.display = "none";
document.getElementById('file_upload_imposbl').style.display = "block";
}
}
</script>
<!-- <form name="fileForm" action="" method="post" > -->
<input type="hidden" name="atchFileId" value="${atchFileId}">
<input type="hidden" name="fileSn" >
<input type="hidden" name="fileListCnt" id="fileListCnt" value="${fileListCnt}">
<!-- </form> -->
<!--<title>파일목록</title> -->
<table>
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<tr>
<td>
<c:choose>
<c:when test="${updateFlag=='Y'}">
<c:out value="${fileVO.orignlFileNm}"/>&nbsp;[<c:out value="${fileVO.fileMg}"/>&nbsp;byte]
<img src="<c:url value='/images/egovframework/com/cmm/fms/icon/bu5_close.gif' />"
width="19" height="18" onClick="fn_egov_deleteFile('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>');" alt="파일삭제">
</c:when>
<c:otherwise>
<a href="javascript:fn_egov_downFile('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
<c:out value="${fileVO.orignlFileNm}"/>&nbsp;[<c:out value="${fileVO.fileMg}"/>&nbsp;byte]
</a>
</c:otherwise>
</c:choose>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(fileList) == 0}">
<tr>
<td></td>
</tr>
</c:if>
</table>

@ -0,0 +1,39 @@
<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovImgFileList.jsp
* @Description : 이미지 파일 조회화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.31 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.31
* @version 1.0
* @see
*
*/
%>
<title>이미지파일목록</title>
<table>
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<tr>
<td></td>
</tr>
<tr>
<td>
<img src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>' width="640" alt="해당파일이미지"/>
</td>
</tr>
<tr>
<td></td>
</tr>
</c:forEach>
</table>

@ -0,0 +1,4 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="javascript/x-javascript" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<validator:javascript dynamicJavascript="false" staticJavascript="true"/>

@ -0,0 +1,41 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.egovframe.go.kr/tags/ext/jfile/jsp" prefix="jwork"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<input type="hidden" id="totalFileSize" value="0" />
<div id="swfupload-control" class="swfupload-control">
<div class="middle" style="width:95%">
<!-- <div class="title">
<div class="title_left">*첨부파일</div>
<div class="title_right">
파일총 사이즈 : <span id="totalFileSizeDisplay">0 Byte</span>
<span id="spanButtonAllDown" class="allDown"><button onclick="return false;"/></span>
</div>
</div> -->
<div class="">
<div class="content_right">
<table id="fileAreaTable" width="100%" cellpadding="0" cellspacing="0" style="border-collapse: collapse;" class="board_view2">
<col /><col width="100px"/><col width="100px"/><col width="70px"/>
<tr>
<th class="top" style="background-image: url('${ctx}/resource/jfile/swfupload/images/text-bg.gif');background-repeat: repeat-x;">파일명</th>
<th class="top" style="background-image: url('${ctx}/resource/jfile/swfupload/images/text-bg.gif');background-repeat: repeat-x;">사이즈</th>
<th class="top" style="background-image: url('${ctx}/resource/jfile/swfupload/images/text-bg.gif');background-repeat: repeat-x;">다운로드 수</th>
<th class="topend" style="background-image: url('${ctx}/resource/jfile/swfupload/images/text-bg.gif');background-repeat: repeat-x;">다운로드</th>
</tr>
<tr id="noDataRow">
<td class="all_txt" colspan="4">첨부된 파일이 없습니다.</td>
</tr>
</table>
</div>
</div>
</div>
</div>

@ -0,0 +1,53 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ page isELIgnored="false" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/fmt" prefix="fmt" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib uri="http://www.egovframe.go.kr/tags/ext/jfile/jsp" prefix="jwork"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<input type="hidden" id="totalFileSize" value="0" />
<div id="swfupload-control" class="swfupload-control">
<div class="middle">
<div class="title">
<div class="title_right">
<div class="jfile_content">
<table width="100%" cellpadding="0" cellspacing="0" style="border-collapse: collapse;" class="board_view3">
<col width="130px"/><col width="200px"/>
<tr>
<td>파일총 사이즈 : <span id="totalFileSizeDisplay">0 Byte</span></td>
<td><span id="spanButtonAllDown" class="allDown"><button onclick="return false;" /></span></td>
</tr>
</table>
</div>
</div>
</div>
<div>
<div class="jfile_content">
<div class="content_left">
<span id="spanButtonPlaceHolder" class="swfupload"></span>
<span id="spanThumbnail" class="thumbnail"><img src="${ctx}/resource/jfile/swfupload/images/preview_img.gif" /></span>
</div>
<div class="content_right">
<div style="width: 100%">
<table id="fileAreaTable" width="100%" cellpadding="0" cellspacing="0" style="border-collapse: collapse;" class="board_view2">
<col width="*"/><col width="15%"/><col width="30%"/><col width="10%"/><col width="10%"/>
<tr>
<th class="top" style="background-image: url('${ctx}/resource/jfile//swfupload/images/text-bg.gif');background-repeat: repeat-x;">파일명</th>
<th class="top" style="background-image: url('${ctx}/resource/jfile//swfupload/images/text-bg.gif');background-repeat: repeat-x;">사이즈</th>
<th class="top" style="background-image: url('${ctx}/resource/jfile//swfupload/images/text-bg.gif');background-repeat: repeat-x;">업로드 진행바</th>
<th class="top" style="background-image: url('${ctx}/resource/jfile//swfupload/images/text-bg.gif');background-repeat: repeat-x;">다운로드</th>
<th class="topend" style="background-image: url('${ctx}/resource/jfile//swfupload/images/text-bg.gif');background-repeat: repeat-x;">삭제</th>
</tr>
<tr id="noDataRow">
<td class="all_txt" colspan="5">첨부된 파일이 없습니다.</td>
</tr>
</table>
</div>
</div>
</div>
</div>
</div>
</div>

@ -0,0 +1,53 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : message.jsp
* @Description : alert 내용 출력
* @Modification Information
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
*/
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><c:out value="${message.title }"/></title>
<script type="text/javascript">
//<![CDATA[
<c:choose>
<c:when test="${message.type eq 'alert'}">
<c:if test="${message.msg != ''}">
alert("<c:out value="${message.msg}"/>");
</c:if>
<c:out value="${message.script}" escapeXml="false" />
</c:when>
<c:when test="${message.type eq 'confirm'}">
<c:if test="${message.msg != ''}">
if(confirm("<c:out value="${message.msg}"/>")){
<c:out value="${message.okUrl}" escapeXml="false" />
}else{
<c:out value="${message.cancelUrl}" escapeXml="false" />
}
</c:if>
<c:out value="${message.script}" escapeXml="false" />
</c:when>
<c:otherwise>
<c:if test="${message.msg != ''}">
alert("<c:out value="${message.msg}"/>");
</c:if>
<c:out value="${message.script}" escapeXml="false" />
</c:otherwise>
</c:choose>
//]]>
</script>
</head>
<body>
</body>
</html>

@ -0,0 +1,48 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : adminMainIndex.jsp
* @Description : 관리자 메인 화면
* @Modification Information
*
* 수정일 수정자 수정내용
* ------- -------- ---------------------------
*/
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="ko" lang="ko" >
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<title><c:out value="${message.title }"/></title>
</head>
<body>
<form id="messageForm" name="messageForm" method="post">
<c:forEach var="entry" items="${param}" varStatus="status">
<input type="hidden" name="${entry.key}" value="${entry.value}"/>
</c:forEach>
</form>
<script type="text/javascript">
//<![CDATA[
<c:if test="${message.msg != ''}">
alert("<c:out value="${message.msg}"/>");
</c:if>
try{
goMessageFormUrl();
}catch(e){
//location.href="/";
}
//]]>
function goMessageFormUrl(){
var frm = document.messageForm;
frm.action="${message.url}";
frm.submit();
}
</script>
</body>
</html>

@ -0,0 +1,42 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovAdministCalPopup.jsp
* @Description : EgovAdministCalPopup 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>행정달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/sym/cal/cal.css' />" />
<script type="text/javaScript" language="javascript">
<!--
-->
</script>
</head>
<form name="pForm">
<input type="hidden" name="init" value="">
</form>
<!-- IE
<iframe name="ifcal" src="<c:url value='/sym/cal/EgovselectAdministCalendar.do'/>" style="width:252px; height:175px;" frameborder=0></iframe>
-->
<!-- FIREFOX -->
<iframe name="ifcal" src="<c:url value='/sym/cal/EgovselectAdministCalendar.do'/>" style="width:290px; height:191px;" frameborder=0 title="달력팝업창호출"></iframe>

@ -0,0 +1,168 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovAdministCalendar.jsp
* @Description : EgovAdministCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>행정달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/sym/cal/cal.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 초기화
******************************************************** */
function fnInit(){
var varParam = window.dialogArguments;
var varForm = document.all["Form"];
var pForm = parent.document.all["pForm"];
if (varParam.sDate) {
var sDate = varParam.sDate;
if(sDate.length == 10) {
if(pForm.init.value != "OK") {
pForm.init.value = "OK";
varForm.action = "<c:url value='/sym/cal/EgovselectAdministCalendar.do'/>";
varForm.year.value = sDate.substr(0,4);
varForm.month.value = sDate.substr(5,2);
varForm.submit();
}
}
}
}
/* ********************************************************
* 연월변경
******************************************************** */
function fnChangeCalendar(year, month){
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/EgovselectAdministCalendar.do'/>";
varForm.year.value = year;
varForm.month.value = month;
varForm.submit();
}
/* ********************************************************
* 결과연월일 반환
******************************************************** */
function fnReturnDay(day){
var retVal = new Object();
var sYear = "0000"+document.Form.year.value;
var sMonth = "00"+document.Form.month.value;
var sDay = "00"+day;
retVal.year = sYear.substr(sYear.length-4,4);
retVal.month = sMonth.substr(sMonth.length-2,2);
retVal.day = sDay.substr(sDay.length-2,2);
retVal.sDate = retVal.year + retVal.month + retVal.day;
retVal.vDate = retVal.year + "-" + retVal.month + "-" + retVal.day;
parent.window.returnValue = retVal;
parent.window.close();
}
/* ********************************************************
* 결과연월일 반환 확인
******************************************************** */
function fnReturnConfirm(day, rest){
if (rest=="Y") {
if (confirm("휴일입니다.\n계속하시겠습니까?")) {
fnReturnDay(day);
}
} else {
fnReturnDay(day);
}
}
-->
</script>
<title>Insert title here</title>
</head>
<body onLoad=javascript:fnInit();>
<form name="Form" action ="<c:url value='/sym/cal/EgovselectAdministCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="year" value="${resultList[0].year}" />
<input type="hidden" name="month" value="${resultList[0].month}" />
<input type="hidden" name="day" />
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year-1},${resultList[0].month});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_pre_year.gif' />" alt="이전년도"></a>
</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year},${resultList[0].month-1});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_pre_month.gif' />" alt="이전달"></a>
</th>
<th class="title" width="108" nowrap colspan=3>${resultList[0].year}년${resultList[0].month}월</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year},${resultList[0].month+1});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_aft_month.gif' />" alt="다음달"></a>
</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year+1},${resultList[0].month});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_aft_year.gif' />" alt="다음년도"></a>
</tr>
<tr>
<th class="title" width="36" nowrap>일</th>
<th class="title" width="36" nowrap>월</th>
<th class="title" width="36" nowrap>화</th>
<th class="title" width="36" nowrap>수</th>
<th class="title" width="36" nowrap>목</th>
<th class="title" width="36" nowrap>금</th>
<th class="title" width="36" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:choose>
<c:when test='${result.day == ""}'>
<c:choose>
<c:when test='${result.weeks != 6}'>
<td></td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result.restAt == "Y" }'>
<td class="lt_text3" nowrap STYLE="color:red;cursor:pointer;cursor:hand" onClick="javascript:fnReturnConfirm(${result.day},'${result.restAt}');">
${result.day}
</td>
</c:when>
<c:otherwise>
<td class="lt_text3" nowrap STYLE="color:black;cursor:pointer;cursor:hand" onClick="javascript:fnReturnConfirm(${result.day},'${result.restAt}');">
${result.day}
</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test='${result.week == 7}'>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
</form>
</body>
</html>

@ -0,0 +1,171 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovAdministDayCalendar.jsp
* @Description : EgovAdministDayCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList[0].year-3}" />
<c:set var="year_b2" value="${resultList[0].year-2}" />
<c:set var="year_b1" value="${resultList[0].year-1}" />
<c:set var="year" value="${resultList[0].year}" />
<c:set var="year_a1" value="${resultList[0].year+1}" />
<c:set var="year_a2" value="${resultList[0].year+2}" />
<c:set var="year_a3" value="${resultList[0].year+3}" />
<c:set var="month" value="${resultList[0].month}" />
<c:set var="week" value="${resultList[0].week}" />
<c:set var="day" value="${resultList[0].day}" />
<c:set var="lastDayMonth" value="${resultList[0].lastDayMonth}" />
<html lang="ko">
<head>
<title>행정달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>행정달력 일간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="administDayCalendar" action ="<c:url value='/sym/cal/EgovAdministDayCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="200" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;행정달력 일간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.administDayCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
&nbsp;&nbsp;
<select name="month" onChange="javascript:fn_egov_change_Calendar(document.administDayCalendar);" title="월선택">
<option value=1 <c:if test="${month==1 }">selected="selected"</c:if> >01</option>
<option value=2 <c:if test="${month==2 }">selected="selected"</c:if> >02</option>
<option value=3 <c:if test="${month==3 }">selected="selected"</c:if> >03</option>
<option value=4 <c:if test="${month==4 }">selected="selected"</c:if> >04</option>
<option value=5 <c:if test="${month==5 }">selected="selected"</c:if> >05</option>
<option value=6 <c:if test="${month==6 }">selected="selected"</c:if> >06</option>
<option value=7 <c:if test="${month==7 }">selected="selected"</c:if> >07</option>
<option value=8 <c:if test="${month==8 }">selected="selected"</c:if> >08</option>
<option value=9 <c:if test="${month==9 }">selected="selected"</c:if> >09</option>
<option value=10 <c:if test="${month==10}">selected="selected"</c:if> >10</option>
<option value=11 <c:if test="${month==11}">selected="selected"</c:if> >11</option>
<option value=12 <c:if test="${month==12}">selected="selected"</c:if> >12</option>
</select> 월
&nbsp;&nbsp;
<select name="day" onChange="javascript:fn_egov_change_Calendar(document.administDayCalendar);" title="일선택">
<c:if test="${lastDayMonth >= 28}"><option value=0 <c:if test="${day==0 }">selected="selected"</c:if> >선택</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=1 <c:if test="${day==1 }">selected="selected"</c:if> >01</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=2 <c:if test="${day==2 }">selected="selected"</c:if> >02</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=3 <c:if test="${day==3 }">selected="selected"</c:if> >03</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=4 <c:if test="${day==4 }">selected="selected"</c:if> >04</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=5 <c:if test="${day==5 }">selected="selected"</c:if> >05</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=6 <c:if test="${day==6 }">selected="selected"</c:if> >06</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=7 <c:if test="${day==7 }">selected="selected"</c:if> >07</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=8 <c:if test="${day==8 }">selected="selected"</c:if> >08</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=9 <c:if test="${day==9 }">selected="selected"</c:if> >09</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=10 <c:if test="${day==10}">selected="selected"</c:if> >10</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=11 <c:if test="${day==11}">selected="selected"</c:if> >11</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=12 <c:if test="${day==12}">selected="selected"</c:if> >12</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=13 <c:if test="${day==13}">selected="selected"</c:if> >13</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=14 <c:if test="${day==14}">selected="selected"</c:if> >14</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=15 <c:if test="${day==15}">selected="selected"</c:if> >15</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=16 <c:if test="${day==16}">selected="selected"</c:if> >16</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=17 <c:if test="${day==17}">selected="selected"</c:if> >17</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=18 <c:if test="${day==18}">selected="selected"</c:if> >18</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=19 <c:if test="${day==19}">selected="selected"</c:if> >19</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=20 <c:if test="${day==20}">selected="selected"</c:if> >20</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=21 <c:if test="${day==21}">selected="selected"</c:if> >21</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=22 <c:if test="${day==22}">selected="selected"</c:if> >22</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=23 <c:if test="${day==23}">selected="selected"</c:if> >23</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=24 <c:if test="${day==24}">selected="selected"</c:if> >24</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=25 <c:if test="${day==25}">selected="selected"</c:if> >25</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=26 <c:if test="${day==26}">selected="selected"</c:if> >26</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=27 <c:if test="${day==27}">selected="selected"</c:if> >27</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=28 <c:if test="${day==28}">selected="selected"</c:if> >28</option></c:if>
<c:if test="${lastDayMonth >= 29}"><option value=29 <c:if test="${day==29}">selected="selected"</c:if> >29</option></c:if>
<c:if test="${lastDayMonth >= 30}"><option value=30 <c:if test="${day==30}">selected="selected"</c:if> >30</option></c:if>
<c:if test="${lastDayMonth == 31}"><option value=31 <c:if test="${day==31}">selected="selected"</c:if> >31</option></c:if>
</select> 일
</div>
</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;} class="title" width="80" nowrap>요일</th>
<th style={height:50px;} class="title" width="120" nowrap>날짜</th>
<th style={height:50px;} class="title" width="300" nowrap>휴일</th>
</tr>
</thead>
<tbody>
<tr>
<td style={height:150px;text-align:center;vertical-align:middle;<c:if test="${resultList[0].restAt == 'Y'}">color:red;</c:if>} >
<c:if test="${week == 1}">일</c:if>
<c:if test="${week == 2}">월</c:if>
<c:if test="${week == 3}">화</c:if>
<c:if test="${week == 4}">수</c:if>
<c:if test="${week == 5}">목</c:if>
<c:if test="${week == 6}">금</c:if>
<c:if test="${week == 7}">토</c:if>
</td>
<td style={height:150px;text-align:center;vertical-align:middle;<c:if test="${resultList[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList[0].year}년 ${resultList[0].month}월 ${resultList[0].day}일
</td>
<td style={height:150px;text-align:center;vertical-align:middle;} nowrap STYLE="color:red">
<c:forEach var="restde" items="${RestdeList}" varStatus="status">
<c:if test="${resultList[0].year eq restde.year && resultList[0].month eq restde.month && resultList[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
</tbody>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,165 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovAdministMonthCalendar.jsp
* @Description : EgovAdministMonthCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList[0].year-3}"/>
<c:set var="year_b2" value="${resultList[0].year-2}"/>
<c:set var="year_b1" value="${resultList[0].year-1}"/>
<c:set var="year" value="${resultList[0].year}" />
<c:set var="year_a1" value="${resultList[0].year+1}"/>
<c:set var="year_a2" value="${resultList[0].year+2}"/>
<c:set var="year_a3" value="${resultList[0].year+3}"/>
<c:set var="month" value="${resultList[0].month}" />
<html lang="ko">
<head>
<title>행정달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fnChangeCalendar(year, month){
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/EgovAdministMonthCalendar.do'/>";
varForm.year.value = year;
varForm.month.value = month;
varForm.submit();
}
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>행정달력 월간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="administMonthCalendar" action ="<c:url value='/sym/cal/EgovAdministMonthCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="day" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="400" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;행정달력 월간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.administMonthCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
&nbsp;&nbsp;
<select name="month" onChange="javascript:fn_egov_change_Calendar(document.administMonthCalendar);" title="월선택">
<option value=1 <c:if test="${month==1 }">selected="selected"</c:if> >01</option>
<option value=2 <c:if test="${month==2 }">selected="selected"</c:if> >02</option>
<option value=3 <c:if test="${month==3 }">selected="selected"</c:if> >03</option>
<option value=4 <c:if test="${month==4 }">selected="selected"</c:if> >04</option>
<option value=5 <c:if test="${month==5 }">selected="selected"</c:if> >05</option>
<option value=6 <c:if test="${month==6 }">selected="selected"</c:if> >06</option>
<option value=7 <c:if test="${month==7 }">selected="selected"</c:if> >07</option>
<option value=8 <c:if test="${month==8 }">selected="selected"</c:if> >08</option>
<option value=9 <c:if test="${month==9 }">selected="selected"</c:if> >09</option>
<option value=10 <c:if test="${month==10}">selected="selected"</c:if> >10</option>
<option value=11 <c:if test="${month==11}">selected="selected"</c:if> >11</option>
<option value=12 <c:if test="${month==12}">selected="selected"</c:if> >12</option>
</select> 월
</div>
</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:choose>
<c:when test='${result.day == ""}'>
<c:choose>
<c:when test='${result.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result.restAt == "Y" }'>
<c:choose>
<c:when test='${result.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result.day}
<c:forEach var="restde" items="${RestdeList}" varStatus="status">
<c:if test="${result.year eq restde.year && result.month eq restde.month && result.day eq restde.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result.day}
<c:forEach var="restde" items="${RestdeList}" varStatus="status">
<c:if test="${result.year eq restde.year && result.month eq restde.month && result.day eq restde.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,222 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovAdministWeekCalendar.jsp
* @Description : EgovAdministWeekCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList[0].year-3}"/>
<c:set var="year_b2" value="${resultList[0].year-2}"/>
<c:set var="year_b1" value="${resultList[0].year-1}"/>
<c:set var="year" value="${resultList[0].year}" />
<c:set var="year_a1" value="${resultList[0].year+1}"/>
<c:set var="year_a2" value="${resultList[0].year+2}"/>
<c:set var="year_a3" value="${resultList[0].year+3}"/>
<c:set var="month" value="${resultList[0].month}" />
<c:set var="weeks" value="${resultList[0].weeks}" />
<c:set var="maxWeeks" value="${resultList[0].maxWeeks}" />
<html lang="ko">
<head>
<title>행정달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>행정달력 주간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="administWeekCalendar" action ="<c:url value='/sym/cal/EgovAdministWeekCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="day" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="200" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;행정달력 주간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.administWeekCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
&nbsp;&nbsp;
<select name="month" onChange="javascript:fn_egov_change_Calendar(document.administWeekCalendar);" title="월선택">
<option value=1 <c:if test="${month==1 }">selected="selected"</c:if> >01</option>
<option value=2 <c:if test="${month==2 }">selected="selected"</c:if> >02</option>
<option value=3 <c:if test="${month==3 }">selected="selected"</c:if> >03</option>
<option value=4 <c:if test="${month==4 }">selected="selected"</c:if> >04</option>
<option value=5 <c:if test="${month==5 }">selected="selected"</c:if> >05</option>
<option value=6 <c:if test="${month==6 }">selected="selected"</c:if> >06</option>
<option value=7 <c:if test="${month==7 }">selected="selected"</c:if> >07</option>
<option value=8 <c:if test="${month==8 }">selected="selected"</c:if> >08</option>
<option value=9 <c:if test="${month==9 }">selected="selected"</c:if> >09</option>
<option value=10 <c:if test="${month==10}">selected="selected"</c:if> >10</option>
<option value=11 <c:if test="${month==11}">selected="selected"</c:if> >11</option>
<option value=12 <c:if test="${month==12}">selected="selected"</c:if> >12</option>
</select> 월
&nbsp;&nbsp;
<select name="weeks" onChange="javascript:fn_egov_change_Calendar(document.administWeekCalendar);" title="일선택">
<c:if test="${maxWeeks >= 1}"><option value=0 <c:if test="${weeks==0 }">selected="selected"</c:if> >선택</option></c:if>
<c:if test="${maxWeeks >= 1}"><option value=1 <c:if test="${weeks==1 }">selected="selected"</c:if> >1</option></c:if>
<c:if test="${maxWeeks >= 2}"><option value=2 <c:if test="${weeks==2 }">selected="selected"</c:if> >2</option></c:if>
<c:if test="${maxWeeks >= 3}"><option value=3 <c:if test="${weeks==3 }">selected="selected"</c:if> >3</option></c:if>
<c:if test="${maxWeeks >= 4}"><option value=4 <c:if test="${weeks==4 }">selected="selected"</c:if> >4</option></c:if>
<c:if test="${maxWeeks >= 5}"><option value=5 <c:if test="${weeks==5 }">selected="selected"</c:if> >5</option></c:if>
<c:if test="${maxWeeks == 6}"><option value=6 <c:if test="${weeks==6 }">selected="selected"</c:if> >6</option></c:if>
</select> 주
</div>
</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;} class="title" width="80" nowrap>요일</th>
<th style={height:50px;} class="title" width="120" nowrap>날짜</th>
<th style={height:50px;} class="title" width="300" nowrap>휴일</th>
</tr>
</thead>
<tbody>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:red;} >일</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_1[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_1[0].year}년 ${resultList_1[0].month}월 ${resultList_1[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_1[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_1}" varStatus="status">
<c:if test="${resultList_1[0].year eq restde.year && resultList_1[0].month eq restde.month && resultList_1[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >월</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_2[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_2[0].year}년 ${resultList_2[0].month}월 ${resultList_2[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_2[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_2}" varStatus="status">
<c:if test="${resultList_2[0].year eq restde.year && resultList_2[0].month eq restde.month && resultList_2[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >화</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_3[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_3[0].year}년 ${resultList_3[0].month}월 ${resultList_3[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_3[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_3}" varStatus="status">
<c:if test="${resultList_3[0].year eq restde.year && resultList_3[0].month eq restde.month && resultList_3[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >수</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_4[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_4[0].year}년 ${resultList_4[0].month}월 ${resultList_4[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_4[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_4}" varStatus="status">
<c:if test="${resultList_4[0].year eq restde.year && resultList_4[0].month eq restde.month && resultList_4[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >목</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_5[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_5[0].year}년 ${resultList_5[0].month}월 ${resultList_5[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_5[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_5}" varStatus="status">
<c:if test="${resultList_5[0].year eq restde.year && resultList_5[0].month eq restde.month && resultList_5[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >금</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_6[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_6[0].year}년 ${resultList_6[0].month}월 ${resultList_6[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_6[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_6}" varStatus="status">
<c:if test="${resultList_6[0].year eq restde.year && resultList_6[0].month eq restde.month && resultList_6[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:red;} >토</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_7[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_7[0].year}년 ${resultList_7[0].month}월 ${resultList_7[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_7[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_7}" varStatus="status">
<c:if test="${resultList_7[0].year eq restde.year && resultList_7[0].month eq restde.month && resultList_7[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
</tbody>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,832 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovAdministYearCalendar.jsp
* @Description : EgovAdministYearCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList_1[0].year-3}"/>
<c:set var="year_b2" value="${resultList_1[0].year-2}"/>
<c:set var="year_b1" value="${resultList_1[0].year-1}"/>
<c:set var="year" value="${resultList_1[0].year}" />
<c:set var="year_a1" value="${resultList_1[0].year+1}"/>
<c:set var="year_a2" value="${resultList_1[0].year+2}"/>
<c:set var="year_a3" value="${resultList_1[0].year+3}"/>
<c:set var="month" value="${resultList_1[0].month}" />
<html lang="ko">
<head>
<title>행정달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>행정달력 연간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="administYearCalendar" action ="<c:url value='/sym/cal/EgovAdministYearCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="day" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="400" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;행정달력 연간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.administYearCalendar);" title="년도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
</div>
</td>
</tr>
</table>
<!-- 1월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">1 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_1" items="${resultList_1}" varStatus="status">
<c:choose>
<c:when test='${result_1.day == ""}'>
<c:choose>
<c:when test='${result_1.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_1.restAt == "Y" }'>
<c:choose>
<c:when test='${result_1.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_1.day}
<c:forEach var="restde_1" items="${RestdeList_1}" varStatus="status">
<c:if test="${result_1.year eq restde_1.year && result_1.month eq restde_1.month && result_1.day eq restde_1.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_1.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_1.day}
<c:forEach var="restde_1" items="${RestdeList_1}" varStatus="status">
<c:if test="${result_1.year eq restde_1.year && result_1.month eq restde_1.month && result_1.day eq restde_1.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_1.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_1.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 1월 종료 -->
<!-- 2월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">2 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_2" items="${resultList_2}" varStatus="status">
<c:choose>
<c:when test='${result_2.day == ""}'>
<c:choose>
<c:when test='${result_2.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_2.restAt == "Y" }'>
<c:choose>
<c:when test='${result_2.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_2.day}
<c:forEach var="restde_2" items="${RestdeList_2}" varStatus="status">
<c:if test="${result_2.year eq restde_2.year && result_2.month eq restde_2.month && result_2.day eq restde_2.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_2.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_2.day}
<c:forEach var="restde_2" items="${RestdeList_2}" varStatus="status">
<c:if test="${result_2.year eq restde_2.year && result_2.month eq restde_2.month && result_2.day eq restde_2.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_2.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_2.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 2월 종료 -->
<!-- 3월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">3 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_3" items="${resultList_3}" varStatus="status">
<c:choose>
<c:when test='${result_3.day == ""}'>
<c:choose>
<c:when test='${result_3.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_3.restAt == "Y" }'>
<c:choose>
<c:when test='${result_3.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_3.day}
<c:forEach var="restde_3" items="${RestdeList_3}" varStatus="status">
<c:if test="${result_3.year eq restde_3.year && result_3.month eq restde_3.month && result_3.day eq restde_3.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_3.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_3.day}
<c:forEach var="restde_3" items="${RestdeList_3}" varStatus="status">
<c:if test="${result_3.year eq restde_3.year && result_3.month eq restde_3.month && result_3.day eq restde_3.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_3.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_3.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 3월 종료 -->
<!-- 4월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">4 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_4" items="${resultList_4}" varStatus="status">
<c:choose>
<c:when test='${result_4.day == ""}'>
<c:choose>
<c:when test='${result_4.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_4.restAt == "Y" }'>
<c:choose>
<c:when test='${result_4.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_4.day}
<c:forEach var="restde_4" items="${RestdeList_4}" varStatus="status">
<c:if test="${result_4.year eq restde_4.year && result_4.month eq restde_4.month && result_4.day eq restde_4.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_4.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_4.day}
<c:forEach var="restde_4" items="${RestdeList_4}" varStatus="status">
<c:if test="${result_4.year eq restde_4.year && result_4.month eq restde_4.month && result_4.day eq restde_4.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_4.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_4.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 4월 종료 -->
<!-- 5월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">5 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_5" items="${resultList_5}" varStatus="status">
<c:choose>
<c:when test='${result_5.day == ""}'>
<c:choose>
<c:when test='${result_5.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_5.restAt == "Y" }'>
<c:choose>
<c:when test='${result_5.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_5.day}
<c:forEach var="restde_5" items="${RestdeList_5}" varStatus="status">
<c:if test="${result_5.year eq restde_5.year && result_5.month eq restde_5.month && result_5.day eq restde_5.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_5.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_5.day}
<c:forEach var="restde_5" items="${RestdeList_5}" varStatus="status">
<c:if test="${result_5.year eq restde_5.year && result_5.month eq restde_5.month && result_5.day eq restde_5.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_5.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_5.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 5월 종료 -->
<!-- 6월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">6 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_6" items="${resultList_6}" varStatus="status">
<c:choose>
<c:when test='${result_6.day == ""}'>
<c:choose>
<c:when test='${result_6.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_6.restAt == "Y" }'>
<c:choose>
<c:when test='${result_6.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_6.day}
<c:forEach var="restde_6" items="${RestdeList_6}" varStatus="status">
<c:if test="${result_6.year eq restde_6.year && result_6.month eq restde_6.month && result_6.day eq restde_6.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_6.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_6.day}
<c:forEach var="restde_6" items="${RestdeList_6}" varStatus="status">
<c:if test="${result_6.year eq restde_6.year && result_6.month eq restde_6.month && result_6.day eq restde_6.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_6.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_6.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 6월 종료 -->
<!-- 7월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">7 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_7" items="${resultList_7}" varStatus="status">
<c:choose>
<c:when test='${result_7.day == ""}'>
<c:choose>
<c:when test='${result_7.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_7.restAt == "Y" }'>
<c:choose>
<c:when test='${result_7.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_7.day}
<c:forEach var="restde_7" items="${RestdeList_7}" varStatus="status">
<c:if test="${result_7.year eq restde_7.year && result_7.month eq restde_7.month && result_7.day eq restde_7.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_7.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_7.day}
<c:forEach var="restde_7" items="${RestdeList_7}" varStatus="status">
<c:if test="${result_7.year eq restde_7.year && result_7.month eq restde_7.month && result_7.day eq restde_7.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_7.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_7.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 7월 종료 -->
<!-- 8월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">8 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_8" items="${resultList_8}" varStatus="status">
<c:choose>
<c:when test='${result_8.day == ""}'>
<c:choose>
<c:when test='${result_8.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_8.restAt == "Y" }'>
<c:choose>
<c:when test='${result_8.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_8.day}
<c:forEach var="restde_8" items="${RestdeList_8}" varStatus="status">
<c:if test="${result_8.year eq restde_8.year && result_8.month eq restde_8.month && result_8.day eq restde_8.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_8.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_8.day}
<c:forEach var="restde_8" items="${RestdeList_8}" varStatus="status">
<c:if test="${result_8.year eq restde_8.year && result_8.month eq restde_8.month && result_8.day eq restde_8.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_8.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_8.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 8월 종료 -->
<!-- 9월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">9 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_9" items="${resultList_9}" varStatus="status">
<c:choose>
<c:when test='${result_9.day == ""}'>
<c:choose>
<c:when test='${result_9.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_9.restAt == "Y" }'>
<c:choose>
<c:when test='${result_9.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_9.day}
<c:forEach var="restde_9" items="${RestdeList_9}" varStatus="status">
<c:if test="${result_9.year eq restde_9.year && result_9.month eq restde_9.month && result_9.day eq restde_9.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_9.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_9.day}
<c:forEach var="restde_9" items="${RestdeList_9}" varStatus="status">
<c:if test="${result_9.year eq restde_9.year && result_9.month eq restde_9.month && result_9.day eq restde_9.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_9.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_9.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 9월 종료 -->
<!-- 10월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">10 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_10" items="${resultList_10}" varStatus="status">
<c:choose>
<c:when test='${result_10.day == ""}'>
<c:choose>
<c:when test='${result_10.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_10.restAt == "Y" }'>
<c:choose>
<c:when test='${result_10.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_10.day}
<c:forEach var="restde_10" items="${RestdeList_10}" varStatus="status">
<c:if test="${result_10.year eq restde_10.year && result_10.month eq restde_10.month && result_10.day eq restde_10.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_10.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_10.day}
<c:forEach var="restde_10" items="${RestdeList_10}" varStatus="status">
<c:if test="${result_10.year eq restde_10.year && result_10.month eq restde_10.month && result_10.day eq restde_10.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_10.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_10.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 10월 종료 -->
<!-- 11월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">11 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_11" items="${resultList_11}" varStatus="status">
<c:choose>
<c:when test='${result_11.day == ""}'>
<c:choose>
<c:when test='${result_11.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_11.restAt == "Y" }'>
<c:choose>
<c:when test='${result_11.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_11.day}
<c:forEach var="restde_11" items="${RestdeList_11}" varStatus="status">
<c:if test="${result_11.year eq restde_11.year && result_11.month eq restde_11.month && result_11.day eq restde_11.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_11.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_11.day}
<c:forEach var="restde_11" items="${RestdeList_11}" varStatus="status">
<c:if test="${result_11.year eq restde_11.year && result_11.month eq restde_11.month && result_11.day eq restde_11.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_11.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_11.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 11월 종료 -->
<!-- 12월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">12 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_12" items="${resultList_12}" varStatus="status">
<c:choose>
<c:when test='${result_12.day == ""}'>
<c:choose>
<c:when test='${result_12.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_12.restAt == "Y" }'>
<c:choose>
<c:when test='${result_12.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_12.day}
<c:forEach var="restde_12" items="${RestdeList_12}" varStatus="status">
<c:if test="${result_12.year eq restde_12.year && result_12.month eq restde_12.month && result_12.day eq restde_12.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_12.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_12.day}
<c:forEach var="restde_12" items="${RestdeList_12}" varStatus="status">
<c:if test="${result_12.year eq restde_12.year && result_12.month eq restde_12.month && result_12.day eq restde_12.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_12.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_12.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 12월 종료 -->
<table cellpadding="8" class="table-search" border="0" style={height:50px;}>
<tr>
<td class="title_left"> </td>
</tr>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,43 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalCalPopup.jsp
* @Description : EgovNormalCalPopup 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.10.13 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.10.13
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/sym/cal/cal.css' />" />
<script type="text/javaScript" language="javascript">
<!--
-->
</script>
</head>
<form name="pForm">
<input type="hidden" name="init" value="">
</form>
<!-- IE
<iframe name="ifcal" src="<c:url value='/sym/cal/callCal.do'/>" style="width:252px; height:175px;" frameborder=0></iframe>
-->
<!-- FIREFOX -->
<iframe name="ifcal" src="<c:url value='/sym/cal/callCal.do'/>" style="width:290px; height:191px;" frameborder=0 title="달력호출"></iframe>

@ -0,0 +1,160 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovCalendar.jsp
* @Description : EgovCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.10.13 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.10.13
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/sym/cal/cal.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 초기화
******************************************************** */
function fnInit(){
var varParam = window.dialogArguments;
var varForm = document.all["Form"];
var pForm = parent.document.all["pForm"];
if (varParam.sDate) {
var sDate = varParam.sDate;
if(sDate.length == 10) {
if(pForm.init.value != "OK") {
pForm.init.value = "OK";
varForm.action = "<c:url value='/sym/cal/callCal.do'/>";
varForm.year.value = sDate.substr(0,4);
varForm.month.value = sDate.substr(5,2);
varForm.submit();
}
}
}
}
/* ********************************************************
* 연월변경
******************************************************** */
function fnChangeCalendar(year, month){
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/callCal.do'/>";
varForm.year.value = year;
varForm.month.value = month;
varForm.submit();
}
/* ********************************************************
* 결과연월일 반환
******************************************************** */
function fnReturnDay(day){
var retVal = new Object();
var sYear = "0000"+document.Form.year.value;
var sMonth = "00"+document.Form.month.value;
var sDay = "00"+day;
retVal.year = sYear.substr(sYear.length-4,4);
retVal.month = sMonth.substr(sMonth.length-2,2);
retVal.day = sDay.substr(sDay.length-2,2);
retVal.sDate = retVal.year + retVal.month + retVal.day;
retVal.vDate = retVal.year + "-" + retVal.month + "-" + retVal.day;
parent.window.returnValue = retVal;
parent.window.close();
}
-->
</script>
<title>달력</title>
</head>
<!--
<body onLoad=javascript:fnInit();>
-->
<body>
<form name="Form" action ="<c:url value='/sym/cal/callCal.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="year" value="${resultList[0].year}" />
<input type="hidden" name="month" value="${resultList[0].month}" />
<input type="hidden" name="day" />
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year-1},${resultList[0].month});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_pre_year.gif' />" alt="이전년도"></a>
</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year},${resultList[0].month-1});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_pre_month.gif' />" alt="이전달"></a>
</th>
<th class="title" width="108" nowrap colspan=3>${resultList[0].year}년${resultList[0].month}월</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year},${resultList[0].month+1});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_aft_month.gif' />" alt="다음달"></a>
</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year+1},${resultList[0].month});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_aft_year.gif' />" alt="다음년도"></a>
</tr>
<tr>
<th class="title" width="36" nowrap>일</th>
<th class="title" width="36" nowrap>월</th>
<th class="title" width="36" nowrap>화</th>
<th class="title" width="36" nowrap>수</th>
<th class="title" width="36" nowrap>목</th>
<th class="title" width="36" nowrap>금</th>
<th class="title" width="36" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:choose>
<c:when test='${result.day == ""}'>
<c:choose>
<c:when test='${result.weeks != 6}'>
<td></td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result.restAt == "Y" }'>
<td class="lt_text3" nowrap STYLE="color:red;cursor:pointer;cursor:hand" onClick="javascript:fnReturnDay(${result.day});">
${result.day}
</td>
</c:when>
<c:otherwise>
<td class="lt_text3" nowrap STYLE="color:black;cursor:pointer;cursor:hand" onClick="javascript:fnReturnDay(${result.day});">
${result.day}
</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test='${result.week == 7}'>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
</form>
</body>
</html>

@ -0,0 +1,44 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalCalPopup.jsp
* @Description : EgovNormalCalPopup 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>일반달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<script type="text/javaScript" language="javascript">
</script>
<style TYPE="text/css">
form {
margin :0px 0px 0px 0px;
}
iframe {
margin :0px 0px 0px 0px;
}
</style>
</head>
<body topmargin="0" leftmargin="0" style="margin :0px;">
<iframe name="ifcal" src="<c:url value='/sym/cal/EgovselectNormalCalendar.do'/>" style="width:275px; height:192px;" frameborder="0" scrolling="no" title="달력팝업창호출"></iframe>
</body>
</html>

@ -0,0 +1,163 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalCalendar.jsp
* @Description : EgovNormalCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>일반달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/sym/cal/cal.css' />" />
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/showModalDialogCallee.js'/>" ></script>
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 초기화
******************************************************** */
function fnInit(){
getDialogArguments();
var varParam = window.dialogArguments;
//var varForm = document.all["Form"];
var varForm = document.getElementsByName("Form")[0];
var pForm = parent.document.all["pForm"];
if (varParam.sDate) {
var sDate = varParam.sDate;
if(sDate.length == 10) {
if(pForm.init.value != "OK") {
pForm.init.value = "OK";
varForm.action = "<c:url value='/sym/cal/EgovselectNormalCalendar.do'/>";
varForm.year.value = sDate.substr(0,4);
varForm.month.value = sDate.substr(5,2);
varForm.submit();
}
}
}
}
/* ********************************************************
* 연월변경
******************************************************** */
function fnChangeCalendar(year, month){
//var varForm = document.all["Form"];
var varForm = document.getElementsByName("Form")[0];
varForm.action = "<c:url value='/sym/cal/EgovselectNormalCalendar.do'/>";
varForm.year.value = year;
varForm.month.value = month;
varForm.submit();
}
/* ********************************************************
* 결과연월일 반환
******************************************************** */
function fnReturnDay(day){
var retVal = new Object();
var sYear = "0000"+document.Form.year.value;
var sMonth = "00"+document.Form.month.value;
var sDay = "00"+day;
retVal.year = sYear.substr(sYear.length-4,4);
retVal.month = sMonth.substr(sMonth.length-2,2);
retVal.day = sDay.substr(sDay.length-2,2);
retVal.sDate = retVal.year + retVal.month + retVal.day;
retVal.vDate = retVal.year + "-" + retVal.month + "-" + retVal.day;
setReturnValue(retVal);
parent.window.returnValue = retVal;
parent.window.close();
}
-->
</script>
</head>
<body onload="fnInit();" topmargin="0" leftmargin="0">
<form name="Form" action ="<c:url value='/sym/cal/EgovselectNormalCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="year" value="${resultList[0].year}" />
<input type="hidden" name="month" value="${resultList[0].month}" />
<input type="hidden" name="day" />
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year-1},${resultList[0].month});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_pre_year.gif' />" alt="이전년도"></a>
</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year},${resultList[0].month-1});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_pre_month.gif' />" alt="이전달"></a>
</th>
<th class="title" width="108" nowrap colspan=3>${resultList[0].year}년${resultList[0].month}월</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year},${resultList[0].month+1});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_aft_month.gif' />" alt="다음달"></a>
</th>
<th class="title" width="36" nowrap colspan=1>
<a href="javascript:fnChangeCalendar(${resultList[0].year+1},${resultList[0].month});" style="selector-dummy:expression(this.hideFocus=false);cursor:pointer;cursor:hand;"><img src="<c:url value='/images/egovframework/com/sym/cal/icon_aft_year.gif' />" alt="다음년도"></a>
</tr>
<tr>
<th class="title" width="36" nowrap>일</th>
<th class="title" width="36" nowrap>월</th>
<th class="title" width="36" nowrap>화</th>
<th class="title" width="36" nowrap>수</th>
<th class="title" width="36" nowrap>목</th>
<th class="title" width="36" nowrap>금</th>
<th class="title" width="36" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:choose>
<c:when test='${result.day == ""}'>
<c:choose>
<c:when test='${result.weeks != 6}'>
<td></td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result.restAt == "Y" }'>
<td class="lt_text3" nowrap STYLE="color:red;cursor:pointer;cursor:hand" onClick="javascript:fnReturnDay(${result.day});">
${result.day}
</td>
</c:when>
<c:otherwise>
<td class="lt_text3" nowrap STYLE="color:black;cursor:pointer;cursor:hand" onClick="javascript:fnReturnDay(${result.day});">
${result.day}
</td>
</c:otherwise>
</c:choose>
<c:choose>
<c:when test='${result.week == 7}'>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
</form>
</body>
</html>

@ -0,0 +1,171 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalDayCalendar.jsp
* @Description : EgovNormalDayCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList[0].year-3}" />
<c:set var="year_b2" value="${resultList[0].year-2}" />
<c:set var="year_b1" value="${resultList[0].year-1}" />
<c:set var="year" value="${resultList[0].year}" />
<c:set var="year_a1" value="${resultList[0].year+1}" />
<c:set var="year_a2" value="${resultList[0].year+2}" />
<c:set var="year_a3" value="${resultList[0].year+3}" />
<c:set var="month" value="${resultList[0].month}" />
<c:set var="week" value="${resultList[0].week}" />
<c:set var="day" value="${resultList[0].day}" />
<c:set var="lastDayMonth" value="${resultList[0].lastDayMonth}" />
<html lang="ko">
<head>
<title>일반달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>일반달력 일간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="normalDayCalendar" action ="<c:url value='/sym/cal/EgovNormalDayCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="200" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;일반달력 일간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.normalDayCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
&nbsp;&nbsp;
<select name="month" onChange="javascript:fn_egov_change_Calendar(document.normalDayCalendar);" title="월선택">
<option value=1 <c:if test="${month==1 }">selected="selected"</c:if> >01</option>
<option value=2 <c:if test="${month==2 }">selected="selected"</c:if> >02</option>
<option value=3 <c:if test="${month==3 }">selected="selected"</c:if> >03</option>
<option value=4 <c:if test="${month==4 }">selected="selected"</c:if> >04</option>
<option value=5 <c:if test="${month==5 }">selected="selected"</c:if> >05</option>
<option value=6 <c:if test="${month==6 }">selected="selected"</c:if> >06</option>
<option value=7 <c:if test="${month==7 }">selected="selected"</c:if> >07</option>
<option value=8 <c:if test="${month==8 }">selected="selected"</c:if> >08</option>
<option value=9 <c:if test="${month==9 }">selected="selected"</c:if> >09</option>
<option value=10 <c:if test="${month==10}">selected="selected"</c:if> >10</option>
<option value=11 <c:if test="${month==11}">selected="selected"</c:if> >11</option>
<option value=12 <c:if test="${month==12}">selected="selected"</c:if> >12</option>
</select> 월
&nbsp;&nbsp;
<select name="day" onChange="javascript:fn_egov_change_Calendar(document.normalDayCalendar);" title="일선택">
<c:if test="${lastDayMonth >= 28}"><option value=0 <c:if test="${day==0 }">selected="selected"</c:if> >선택</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=1 <c:if test="${day==1 }">selected="selected"</c:if> >01</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=2 <c:if test="${day==2 }">selected="selected"</c:if> >02</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=3 <c:if test="${day==3 }">selected="selected"</c:if> >03</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=4 <c:if test="${day==4 }">selected="selected"</c:if> >04</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=5 <c:if test="${day==5 }">selected="selected"</c:if> >05</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=6 <c:if test="${day==6 }">selected="selected"</c:if> >06</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=7 <c:if test="${day==7 }">selected="selected"</c:if> >07</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=8 <c:if test="${day==8 }">selected="selected"</c:if> >08</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=9 <c:if test="${day==9 }">selected="selected"</c:if> >09</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=10 <c:if test="${day==10}">selected="selected"</c:if> >10</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=11 <c:if test="${day==11}">selected="selected"</c:if> >11</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=12 <c:if test="${day==12}">selected="selected"</c:if> >12</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=13 <c:if test="${day==13}">selected="selected"</c:if> >13</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=14 <c:if test="${day==14}">selected="selected"</c:if> >14</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=15 <c:if test="${day==15}">selected="selected"</c:if> >15</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=16 <c:if test="${day==16}">selected="selected"</c:if> >16</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=17 <c:if test="${day==17}">selected="selected"</c:if> >17</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=18 <c:if test="${day==18}">selected="selected"</c:if> >18</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=19 <c:if test="${day==19}">selected="selected"</c:if> >19</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=20 <c:if test="${day==20}">selected="selected"</c:if> >20</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=21 <c:if test="${day==21}">selected="selected"</c:if> >21</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=22 <c:if test="${day==22}">selected="selected"</c:if> >22</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=23 <c:if test="${day==23}">selected="selected"</c:if> >23</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=24 <c:if test="${day==24}">selected="selected"</c:if> >24</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=25 <c:if test="${day==25}">selected="selected"</c:if> >25</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=26 <c:if test="${day==26}">selected="selected"</c:if> >26</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=27 <c:if test="${day==27}">selected="selected"</c:if> >27</option></c:if>
<c:if test="${lastDayMonth >= 28}"><option value=28 <c:if test="${day==28}">selected="selected"</c:if> >28</option></c:if>
<c:if test="${lastDayMonth >= 29}"><option value=29 <c:if test="${day==29}">selected="selected"</c:if> >29</option></c:if>
<c:if test="${lastDayMonth >= 30}"><option value=30 <c:if test="${day==30}">selected="selected"</c:if> >30</option></c:if>
<c:if test="${lastDayMonth == 31}"><option value=31 <c:if test="${day==31}">selected="selected"</c:if> >31</option></c:if>
</select> 일
</div>
</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;} class="title" width="80" nowrap>요일</th>
<th style={height:50px;} class="title" width="120" nowrap>날짜</th>
<th style={height:50px;} class="title" width="300" nowrap>휴일</th>
</tr>
</thead>
<tbody>
<tr>
<td style={height:150px;text-align:center;vertical-align:middle;<c:if test="${resultList[0].restAt == 'Y'}">color:red;</c:if>} >
<c:if test="${week == 1}">일</c:if>
<c:if test="${week == 2}">월</c:if>
<c:if test="${week == 3}">화</c:if>
<c:if test="${week == 4}">수</c:if>
<c:if test="${week == 5}">목</c:if>
<c:if test="${week == 6}">금</c:if>
<c:if test="${week == 7}">토</c:if>
</td>
<td style={height:150px;text-align:center;vertical-align:middle;<c:if test="${resultList[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList[0].year}년 ${resultList[0].month}월 ${resultList[0].day}일
</td>
<td style={height:150px;text-align:center;vertical-align:middle;} nowrap STYLE="color:red">
<c:forEach var="restde" items="${RestdeList}" varStatus="status">
<c:if test="${resultList[0].year eq restde.year && resultList[0].month eq restde.month && resultList[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
</tbody>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,165 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalMonthCalendar.jsp
* @Description : EgovNormalMonthCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList[0].year-3}"/>
<c:set var="year_b2" value="${resultList[0].year-2}"/>
<c:set var="year_b1" value="${resultList[0].year-1}"/>
<c:set var="year" value="${resultList[0].year}" />
<c:set var="year_a1" value="${resultList[0].year+1}"/>
<c:set var="year_a2" value="${resultList[0].year+2}"/>
<c:set var="year_a3" value="${resultList[0].year+3}"/>
<c:set var="month" value="${resultList[0].month}" />
<html lang="ko">
<head>
<title>일반달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fnChangeCalendar(year, month){
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/EgovNormalMonthCalendar.do'/>";
varForm.year.value = year;
varForm.month.value = month;
varForm.submit();
}
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>일반달력 월간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="normalMonthCalendar" action ="<c:url value='/sym/cal/EgovNormalMonthCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="day" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="400" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;일반달력 월간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.normalMonthCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
&nbsp;&nbsp;
<select name="month" onChange="javascript:fn_egov_change_Calendar(document.normalMonthCalendar);" title="월선택">
<option value=1 <c:if test="${month==1 }">selected="selected"</c:if> >01</option>
<option value=2 <c:if test="${month==2 }">selected="selected"</c:if> >02</option>
<option value=3 <c:if test="${month==3 }">selected="selected"</c:if> >03</option>
<option value=4 <c:if test="${month==4 }">selected="selected"</c:if> >04</option>
<option value=5 <c:if test="${month==5 }">selected="selected"</c:if> >05</option>
<option value=6 <c:if test="${month==6 }">selected="selected"</c:if> >06</option>
<option value=7 <c:if test="${month==7 }">selected="selected"</c:if> >07</option>
<option value=8 <c:if test="${month==8 }">selected="selected"</c:if> >08</option>
<option value=9 <c:if test="${month==9 }">selected="selected"</c:if> >09</option>
<option value=10 <c:if test="${month==10}">selected="selected"</c:if> >10</option>
<option value=11 <c:if test="${month==11}">selected="selected"</c:if> >11</option>
<option value=12 <c:if test="${month==12}">selected="selected"</c:if> >12</option>
</select> 월
</div>
</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:choose>
<c:when test='${result.day == ""}'>
<c:choose>
<c:when test='${result.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result.restAt == "Y" }'>
<c:choose>
<c:when test='${result.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result.day}
<c:forEach var="restde" items="${RestdeList}" varStatus="status">
<c:if test="${result.year eq restde.year && result.month eq restde.month && result.day eq restde.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result.day}
<c:forEach var="restde" items="${RestdeList}" varStatus="status">
<c:if test="${result.year eq restde.year && result.month eq restde.month && result.day eq restde.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,222 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalWeekCalendar.jsp
* @Description : EgovNormalWeekCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList[0].year-3}"/>
<c:set var="year_b2" value="${resultList[0].year-2}"/>
<c:set var="year_b1" value="${resultList[0].year-1}"/>
<c:set var="year" value="${resultList[0].year}" />
<c:set var="year_a1" value="${resultList[0].year+1}"/>
<c:set var="year_a2" value="${resultList[0].year+2}"/>
<c:set var="year_a3" value="${resultList[0].year+3}"/>
<c:set var="month" value="${resultList[0].month}" />
<c:set var="weeks" value="${resultList[0].weeks}" />
<c:set var="maxWeeks" value="${resultList[0].maxWeeks}" />
<html lang="ko">
<head>
<title>일반달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
-->
</script>
<title>일반달력 주간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="normalWeekCalendar" action ="<c:url value='/sym/cal/EgovNormalWeekCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="day" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="200" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;일반달력 주간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.normalWeekCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
&nbsp;&nbsp;
<select name="month" onChange="javascript:fn_egov_change_Calendar(document.normalWeekCalendar);" title="월선택">
<option value=1 <c:if test="${month==1 }">selected="selected"</c:if> >01</option>
<option value=2 <c:if test="${month==2 }">selected="selected"</c:if> >02</option>
<option value=3 <c:if test="${month==3 }">selected="selected"</c:if> >03</option>
<option value=4 <c:if test="${month==4 }">selected="selected"</c:if> >04</option>
<option value=5 <c:if test="${month==5 }">selected="selected"</c:if> >05</option>
<option value=6 <c:if test="${month==6 }">selected="selected"</c:if> >06</option>
<option value=7 <c:if test="${month==7 }">selected="selected"</c:if> >07</option>
<option value=8 <c:if test="${month==8 }">selected="selected"</c:if> >08</option>
<option value=9 <c:if test="${month==9 }">selected="selected"</c:if> >09</option>
<option value=10 <c:if test="${month==10}">selected="selected"</c:if> >10</option>
<option value=11 <c:if test="${month==11}">selected="selected"</c:if> >11</option>
<option value=12 <c:if test="${month==12}">selected="selected"</c:if> >12</option>
</select> 월
&nbsp;&nbsp;
<select name="weeks" onChange="javascript:fn_egov_change_Calendar(document.normalWeekCalendar);" title="일선택">
<c:if test="${maxWeeks >= 1}"><option value=0 <c:if test="${weeks==0 }">selected="selected"</c:if> >선택</option></c:if>
<c:if test="${maxWeeks >= 1}"><option value=1 <c:if test="${weeks==1 }">selected="selected"</c:if> >1</option></c:if>
<c:if test="${maxWeeks >= 2}"><option value=2 <c:if test="${weeks==2 }">selected="selected"</c:if> >2</option></c:if>
<c:if test="${maxWeeks >= 3}"><option value=3 <c:if test="${weeks==3 }">selected="selected"</c:if> >3</option></c:if>
<c:if test="${maxWeeks >= 4}"><option value=4 <c:if test="${weeks==4 }">selected="selected"</c:if> >4</option></c:if>
<c:if test="${maxWeeks >= 5}"><option value=5 <c:if test="${weeks==5 }">selected="selected"</c:if> >5</option></c:if>
<c:if test="${maxWeeks == 6}"><option value=6 <c:if test="${weeks==6 }">selected="selected"</c:if> >6</option></c:if>
</select> 주
</div>
</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;} class="title" width="80" nowrap>요일</th>
<th style={height:50px;} class="title" width="120" nowrap>날짜</th>
<th style={height:50px;} class="title" width="300" nowrap>휴일</th>
</tr>
</thead>
<tbody>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:red;} >일</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_1[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_1[0].year}년 ${resultList_1[0].month}월 ${resultList_1[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_1[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_1}" varStatus="status">
<c:if test="${resultList_1[0].year eq restde.year && resultList_1[0].month eq restde.month && resultList_1[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >월</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_2[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_2[0].year}년 ${resultList_2[0].month}월 ${resultList_2[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_2[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_2}" varStatus="status">
<c:if test="${resultList_2[0].year eq restde.year && resultList_2[0].month eq restde.month && resultList_2[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >화</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_3[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_3[0].year}년 ${resultList_3[0].month}월 ${resultList_3[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_3[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_3}" varStatus="status">
<c:if test="${resultList_3[0].year eq restde.year && resultList_3[0].month eq restde.month && resultList_3[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >수</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_4[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_4[0].year}년 ${resultList_4[0].month}월 ${resultList_4[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_4[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_4}" varStatus="status">
<c:if test="${resultList_4[0].year eq restde.year && resultList_4[0].month eq restde.month && resultList_4[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >목</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_5[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_5[0].year}년 ${resultList_5[0].month}월 ${resultList_5[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_5[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_5}" varStatus="status">
<c:if test="${resultList_5[0].year eq restde.year && resultList_5[0].month eq restde.month && resultList_5[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:black;} >금</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_6[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_6[0].year}년 ${resultList_6[0].month}월 ${resultList_6[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_6[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_6}" varStatus="status">
<c:if test="${resultList_6[0].year eq restde.year && resultList_6[0].month eq restde.month && resultList_6[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
<tr>
<td style={height:50px;text-align:center;vertical-align:middle;color:red;} >토</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_7[0].restAt == 'Y'}">color:red;</c:if>} >
${resultList_7[0].year}년 ${resultList_7[0].month}월 ${resultList_7[0].day}일
</td>
<td style={height:50px;text-align:center;vertical-align:middle;<c:if test="${resultList_7[0].restAt == 'Y'}">color:red;</c:if>} >
<c:forEach var="restde" items="${RestdeList_7}" varStatus="status">
<c:if test="${resultList_7[0].year eq restde.year && resultList_7[0].month eq restde.month && resultList_7[0].day eq restde.day}">
<div style='width:92px;border:solid 0px;'>${restde.restdeNm}</div>
</c:if>
</c:forEach>
</td>
</tr>
</tbody>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,831 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovNormalYearCalendar.jsp
* @Description : EgovNormalYearCalendar 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="year_b3" value="${resultList_1[0].year-3}"/>
<c:set var="year_b2" value="${resultList_1[0].year-2}"/>
<c:set var="year_b1" value="${resultList_1[0].year-1}"/>
<c:set var="year" value="${resultList_1[0].year}" />
<c:set var="year_a1" value="${resultList_1[0].year+1}"/>
<c:set var="year_a2" value="${resultList_1[0].year+2}"/>
<c:set var="year_a3" value="${resultList_1[0].year+3}"/>
<c:set var="month" value="${resultList_1[0].month}" />
<html lang="ko">
<head>
<title>일반달력</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8" />
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" />
<script type="text/javaScript" language="javascript">
/* ********************************************************
* 연월변경
******************************************************** */
function fn_egov_change_Calendar(form){
form.submit();
}
</script>
<title>일반달력 연간</title>
</head>
<body>
<DIV id="content">
<!-- ------------------------------------------------------------------ 상단타이틀 -->
<form name="normalYearCalendar" action ="<c:url value='/sym/cal/EgovNormalYearCalendar.do'/>" method="post">
<input type="hidden" name="init" value="${init}" />
<input type="hidden" name="day" />
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="400" class="title_left"><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;일반달력 연간</td>
<td>
<div style={text-align:right;}>
<select name="year" onChange="javascript:fn_egov_change_Calendar(document.normalYearCalendar);" title="연도선택">
<c:if test="${year_b3 > 0 && year_b3 < 10000}"><option value="${year_b3}" >${year_b3}</option></c:if>
<c:if test="${year_b2 > 0 && year_b2 < 10000}"><option value="${year_b2}" >${year_b2}</option></c:if>
<c:if test="${year_b1 > 0 && year_b1 < 10000}"><option value="${year_b1}" >${year_b1}</option></c:if>
<c:if test="${year > 0 && year < 10000}"><option value="${year }" selected="selected">${year }</option></c:if>
<c:if test="${year_a1 > 0 && year_a1 < 10000}"><option value="${year_a1}" >${year_a1}</option></c:if>
<c:if test="${year_a2 > 0 && year_a2 < 10000}"><option value="${year_a2}" >${year_a2}</option></c:if>
<c:if test="${year_a3 > 0 && year_a3 < 10000}"><option value="${year_a3}" >${year_a3}</option></c:if>
</select> 년
</div>
</td>
</tr>
</table>
<!-- 1월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">1 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_1" items="${resultList_1}" varStatus="status">
<c:choose>
<c:when test='${result_1.day == ""}'>
<c:choose>
<c:when test='${result_1.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_1.restAt == "Y" }'>
<c:choose>
<c:when test='${result_1.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_1.day}
<c:forEach var="restde_1" items="${RestdeList_1}" varStatus="status">
<c:if test="${result_1.year eq restde_1.year && result_1.month eq restde_1.month && result_1.day eq restde_1.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_1.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_1.day}
<c:forEach var="restde_1" items="${RestdeList_1}" varStatus="status">
<c:if test="${result_1.year eq restde_1.year && result_1.month eq restde_1.month && result_1.day eq restde_1.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_1.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_1.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 1월 종료 -->
<!-- 2월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">2 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_2" items="${resultList_2}" varStatus="status">
<c:choose>
<c:when test='${result_2.day == ""}'>
<c:choose>
<c:when test='${result_2.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_2.restAt == "Y" }'>
<c:choose>
<c:when test='${result_2.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_2.day}
<c:forEach var="restde_2" items="${RestdeList_2}" varStatus="status">
<c:if test="${result_2.year eq restde_2.year && result_2.month eq restde_2.month && result_2.day eq restde_2.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_2.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_2.day}
<c:forEach var="restde_2" items="${RestdeList_2}" varStatus="status">
<c:if test="${result_2.year eq restde_2.year && result_2.month eq restde_2.month && result_2.day eq restde_2.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_2.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_2.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 2월 종료 -->
<!-- 3월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">3 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_3" items="${resultList_3}" varStatus="status">
<c:choose>
<c:when test='${result_3.day == ""}'>
<c:choose>
<c:when test='${result_3.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_3.restAt == "Y" }'>
<c:choose>
<c:when test='${result_3.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_3.day}
<c:forEach var="restde_3" items="${RestdeList_3}" varStatus="status">
<c:if test="${result_3.year eq restde_3.year && result_3.month eq restde_3.month && result_3.day eq restde_3.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_3.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_3.day}
<c:forEach var="restde_3" items="${RestdeList_3}" varStatus="status">
<c:if test="${result_3.year eq restde_3.year && result_3.month eq restde_3.month && result_3.day eq restde_3.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_3.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_3.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 3월 종료 -->
<!-- 4월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">4 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_4" items="${resultList_4}" varStatus="status">
<c:choose>
<c:when test='${result_4.day == ""}'>
<c:choose>
<c:when test='${result_4.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_4.restAt == "Y" }'>
<c:choose>
<c:when test='${result_4.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_4.day}
<c:forEach var="restde_4" items="${RestdeList_4}" varStatus="status">
<c:if test="${result_4.year eq restde_4.year && result_4.month eq restde_4.month && result_4.day eq restde_4.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_4.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_4.day}
<c:forEach var="restde_4" items="${RestdeList_4}" varStatus="status">
<c:if test="${result_4.year eq restde_4.year && result_4.month eq restde_4.month && result_4.day eq restde_4.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_4.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_4.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 4월 종료 -->
<!-- 5월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">5 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_5" items="${resultList_5}" varStatus="status">
<c:choose>
<c:when test='${result_5.day == ""}'>
<c:choose>
<c:when test='${result_5.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_5.restAt == "Y" }'>
<c:choose>
<c:when test='${result_5.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_5.day}
<c:forEach var="restde_5" items="${RestdeList_5}" varStatus="status">
<c:if test="${result_5.year eq restde_5.year && result_5.month eq restde_5.month && result_5.day eq restde_5.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_5.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_5.day}
<c:forEach var="restde_5" items="${RestdeList_5}" varStatus="status">
<c:if test="${result_5.year eq restde_5.year && result_5.month eq restde_5.month && result_5.day eq restde_5.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_5.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_5.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 5월 종료 -->
<!-- 6월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">6 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_6" items="${resultList_6}" varStatus="status">
<c:choose>
<c:when test='${result_6.day == ""}'>
<c:choose>
<c:when test='${result_6.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_6.restAt == "Y" }'>
<c:choose>
<c:when test='${result_6.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_6.day}
<c:forEach var="restde_6" items="${RestdeList_6}" varStatus="status">
<c:if test="${result_6.year eq restde_6.year && result_6.month eq restde_6.month && result_6.day eq restde_6.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_6.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_6.day}
<c:forEach var="restde_6" items="${RestdeList_6}" varStatus="status">
<c:if test="${result_6.year eq restde_6.year && result_6.month eq restde_6.month && result_6.day eq restde_6.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_6.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_6.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 6월 종료 -->
<!-- 7월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">7 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_7" items="${resultList_7}" varStatus="status">
<c:choose>
<c:when test='${result_7.day == ""}'>
<c:choose>
<c:when test='${result_7.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_7.restAt == "Y" }'>
<c:choose>
<c:when test='${result_7.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_7.day}
<c:forEach var="restde_7" items="${RestdeList_7}" varStatus="status">
<c:if test="${result_7.year eq restde_7.year && result_7.month eq restde_7.month && result_7.day eq restde_7.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_7.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_7.day}
<c:forEach var="restde_7" items="${RestdeList_7}" varStatus="status">
<c:if test="${result_7.year eq restde_7.year && result_7.month eq restde_7.month && result_7.day eq restde_7.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_7.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_7.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 7월 종료 -->
<!-- 8월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">8 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_8" items="${resultList_8}" varStatus="status">
<c:choose>
<c:when test='${result_8.day == ""}'>
<c:choose>
<c:when test='${result_8.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_8.restAt == "Y" }'>
<c:choose>
<c:when test='${result_8.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_8.day}
<c:forEach var="restde_8" items="${RestdeList_8}" varStatus="status">
<c:if test="${result_8.year eq restde_8.year && result_8.month eq restde_8.month && result_8.day eq restde_8.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_8.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_8.day}
<c:forEach var="restde_8" items="${RestdeList_8}" varStatus="status">
<c:if test="${result_8.year eq restde_8.year && result_8.month eq restde_8.month && result_8.day eq restde_8.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_8.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_8.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 8월 종료 -->
<!-- 9월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">9 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_9" items="${resultList_9}" varStatus="status">
<c:choose>
<c:when test='${result_9.day == ""}'>
<c:choose>
<c:when test='${result_9.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_9.restAt == "Y" }'>
<c:choose>
<c:when test='${result_9.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_9.day}
<c:forEach var="restde_9" items="${RestdeList_9}" varStatus="status">
<c:if test="${result_9.year eq restde_9.year && result_9.month eq restde_9.month && result_9.day eq restde_9.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_9.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_9.day}
<c:forEach var="restde_9" items="${RestdeList_9}" varStatus="status">
<c:if test="${result_9.year eq restde_9.year && result_9.month eq restde_9.month && result_9.day eq restde_9.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_9.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_9.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 9월 종료 -->
<!-- 10월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">10 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_10" items="${resultList_10}" varStatus="status">
<c:choose>
<c:when test='${result_10.day == ""}'>
<c:choose>
<c:when test='${result_10.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_10.restAt == "Y" }'>
<c:choose>
<c:when test='${result_10.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_10.day}
<c:forEach var="restde_10" items="${RestdeList_10}" varStatus="status">
<c:if test="${result_10.year eq restde_10.year && result_10.month eq restde_10.month && result_10.day eq restde_10.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_10.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_10.day}
<c:forEach var="restde_10" items="${RestdeList_10}" varStatus="status">
<c:if test="${result_10.year eq restde_10.year && result_10.month eq restde_10.month && result_10.day eq restde_10.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_10.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_10.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 10월 종료 -->
<!-- 11월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">11 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_11" items="${resultList_11}" varStatus="status">
<c:choose>
<c:when test='${result_11.day == ""}'>
<c:choose>
<c:when test='${result_11.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_11.restAt == "Y" }'>
<c:choose>
<c:when test='${result_11.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_11.day}
<c:forEach var="restde_11" items="${RestdeList_11}" varStatus="status">
<c:if test="${result_11.year eq restde_11.year && result_11.month eq restde_11.month && result_11.day eq restde_11.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_11.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_11.day}
<c:forEach var="restde_11" items="${RestdeList_11}" varStatus="status">
<c:if test="${result_11.year eq restde_11.year && result_11.month eq restde_11.month && result_11.day eq restde_11.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_11.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_11.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 11월 종료 -->
<!-- 12월 시작 -->
<table cellpadding="8" class="table-search" border="0" style={top-margin:30;}>
<tr>
<td class="title_left">12 월</td>
</tr>
</table>
<table cellpadding="1" class="table-line">
<thead>
<tr>
<th style={height:50px;color:red;} class="title" width="100" nowrap >일</th>
<th class="title" width="100" nowrap>월</th>
<th class="title" width="100" nowrap>화</th>
<th class="title" width="100" nowrap>수</th>
<th class="title" width="100" nowrap>목</th>
<th class="title" width="100" nowrap>금</th>
<th style={height:50px;color:red;} class="title" width="100" nowrap>토</th>
</tr>
</thead>
<tbody>
<tr>
<c:forEach var="result_12" items="${resultList_12}" varStatus="status">
<c:choose>
<c:when test='${result_12.day == ""}'>
<c:choose>
<c:when test='${result_12.weeks != 6}'>
<td style={height:50px;}> </td>
</c:when>
</c:choose>
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${result_12.restAt == "Y" }'>
<c:choose>
<c:when test='${result_12.week == 7}'>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_12.day}
<c:forEach var="restde_12" items="${RestdeList_12}" varStatus="status">
<c:if test="${result_12.year eq restde_12.year && result_12.month eq restde_12.month && result_12.day eq restde_12.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_12.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
<c:out value="</tr>" escapeXml="false"/>
<c:out value="<tr>" escapeXml="false"/>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:red;} nowrap >${result_12.day}
<c:forEach var="restde_12" items="${RestdeList_12}" varStatus="status">
<c:if test="${result_12.year eq restde_12.year && result_12.month eq restde_12.month && result_12.day eq restde_12.day}"><table><tr><td style={text-decoration:none;} nowrap><div style='width:70px;border:solid 0px;'>${restde_12.restdeNm}</div></td></tr></table></c:if>
</c:forEach>
</td>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<td style={height:50px;text-align:left;vertical-align:top;color:black;} nowrap >${result_12.day}</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</tbody>
</table>
<!-- 12월 종료 -->
<table cellpadding="8" class="table-search" border="0" style={height:50px;}>
<tr>
<td class="title_left"> </td>
</tr>
</table>
</form>
</DIV>
</body>
</html>

@ -0,0 +1,117 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovRestdeDetail.jsp
* @Description : EgovRestdeDetail 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
* 2011.08.12 서준식 CSS 경로 수정
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>휴일 상세조회</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 목록 으로 가기
******************************************************** */
function fn_egov_list_Restde(){
location.href = "<c:url value='/sym/cal/EgovRestdeList.do' />";
}
/* ********************************************************
* 수정화면으로 바로가기
******************************************************** */
function fn_egov_modify_Restde(){
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/EgovRestdeModify.do'/>";
varForm.restdeNo.value = "${result.restdeNo}";
varForm.submit();
}
/* ********************************************************
* 삭제 처리 함수
******************************************************** */
function fn_egov_delete_Restde(){
if (confirm("<spring:message code='common.delete.msg'/>")) {
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/EgovRestdeRemove.do'/>";
varForm.restdeNo.value = "${result.restdeNo}";
varForm.submit();
}
}
-->
</script>
</head>
<a name="noscript" id="noscript">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
</a>
<body>
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%" class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;휴일 상세조회</h1></td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="table-register" summary="선택한 휴일의 휴일일자, 휴일명, 휴일설명, 휴일구분의 정보를 상세조회한다.">
<CAPTION style="display: none;">휴일 상세조회</CAPTION>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일일자<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td><c:out value='${fn:substring(result.restdeDe, 0,4)}'/>-<c:out value='${fn:substring(result.restdeDe, 4,6)}'/>-<c:out value='${fn:substring(result.restdeDe, 6,8)}'/></td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일명<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td>${result.restdeNm}</td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일설명<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td><textarea class="textarea" cols="75" rows="14" style="width:450px;" disabled title="휴일설명">${result.restdeDc}</textarea></td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일구분<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td>${result.restdeSe}</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><span class="button"><input type="submit" value="수정" onclick="fn_egov_modify_Restde(); return false;"></span></td>
<td width="10"></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" alt="삭제" width="8" height="20"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fn_egov_delete_Restde(); return false;">삭제</a></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" alt="삭제" width="8" height="20"></td>
<td width="10"></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" alt="목록" width="8" height="20"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fn_egov_list_Restde(); return false;">목록</a></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" alt="목록" width="8" height="20"></td>
</tr>
</table>
<form name="Form" method="post" action="">
<input type=hidden name="restdeNo">
<input type="submit" id="invisible" class="invisible">
</form>
</body>
</html>

@ -0,0 +1,171 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovRestdeList.jsp
* @Description : EgovRestdeList 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
* 2011.08.12 서준식 페이징 번호 정렬이 리스트와 일치하도록 수정
CSS 경로 수정
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<html lang="ko">
<head>
<title>휴일 목록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 페이징 처리 함수
******************************************************** */
function fn_egov_pageview(pageNo){
document.listForm.pageIndex.value = pageNo;
document.listForm.action = "<c:url value='/sym/cal/EgovRestdeList.do'/>";
document.listForm.submit();
}
/* ********************************************************
* 조회 처리
******************************************************** */
function fn_egov_search_Restde(){
document.listForm.pageIndex.value = 1;
document.listForm.submit();
}
/* ********************************************************
* 등록 처리 함수
******************************************************** */
function fn_egov_regist_Restde(){
location.href = "<c:url value='/sym/cal/EgovRestdeRegist.do' />";
}
/* ********************************************************
* 상세회면 처리 함수
******************************************************** */
function fn_egov_detail_Restde(restdeNo){
var varForm = document.all["Form"];
varForm.action = "<c:url value='/sym/cal/EgovRestdeDetail.do'/>";
varForm.restdeNo.value = restdeNo;
varForm.submit();
}
-->
</script>
</head>
<a name="noscript" id="noscript">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
</a>
<DIV id="content" style="display">
<form name="listForm" action="<c:url value='/sym/cal/EgovRestdeList.do'/>" method="post">
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="40%"class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;휴일 목록</h1></td>
<th>
</th>
<td width="10%">
<select name="searchCondition" class="select" title="" id = "searchCondition" >
<option selected value=''>--선택하세요--</option>
<option value='1' <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if>>휴일일자</option>
<option value='2' <c:if test="${searchVO.searchCondition == '2'}">selected="selected"</c:if>>휴일명</option>
</select>
</td>
<td width="35%">
<input name="searchKeyword" type="text" size="35" value="${searchVO.searchKeyword}" maxlength="35" title="" id="searchKeyword">
</td>
<th width="10%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" alt="조회" width="8" height="20"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fn_egov_search_Restde(); return false;">조회</a></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" alt="조회" width="8" height="20"></td>
<td width="10"></td>
<td><span class="button"><input type="submit" value="등록" onclick="fn_egov_regist_Restde(); return false;"></span></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<table width="700" cellpadding="0" class="table-line" border="0" summary="휴일일자, 휴일명, 휴일구분이 표시된 휴일 목록을 표시한다.">
<CAPTION style="display: none;">휴일 목록</CAPTION>
<thead>
<tr>
<th scope="col" class="title" width="10%" nowrap>순번</th>
<th scope="col" class="title" width="20%" nowrap>휴일일자</th>
<th scope="col" class="title" width="30%" nowrap>휴일명</th>
<th scope="col" class="title" width="25%" nowrap>휴일구분</th>
</tr>
</thead>
<tbody>
<c:forEach items="${resultList}" var="resultInfo" varStatus="status">
<tr style="cursor:pointer;cursor:hand;" onclick="javascript:fn_egov_detail_Restde('${resultInfo.restdeNo}');">
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex - 1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text3" nowrap><c:out value='${fn:substring(resultInfo.restdeDe, 0,4)}'/>-<c:out value='${fn:substring(resultInfo.restdeDe, 4,6)}'/>-<c:out value='${fn:substring(resultInfo.restdeDe, 6, 8)}'/></td>
<td class="lt_text" nowrap>${resultInfo.restdeNm}</td>
<td class="lt_text3" nowrap>${resultInfo.restdeSe}</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" colspan=4>
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
</tbody>
</table>
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px">
</td>
<td>
<div align="center">
<div>
<ui:pagination paginationInfo = "${paginationInfo}"
type="image"
jsFunction="fn_egov_pageview"
/>
</div>
</div>
</td>
</tr>
</table>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
</form>
<form name="Form" method="post">
<input type="hidden" name="restdeNo">
<input type="submit" id="invisible" class="invisible"/>
</form>
</DIV>
</html>

@ -0,0 +1,139 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovRestdeModify.jsp
* @Description : EgovRestdeModify 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.01 이중호 최초 생성
* 2011.08.12 서준식 CSS 경로 수정
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<html lang="ko">
<head>
<title>휴일 수정</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="restde" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 목록 으로 가기
******************************************************** */
function fn_egov_list_Restde(){
location.href = "<c:url value='/sym/cal/EgovRestdeList.do' />";
}
/* ********************************************************
* 저장처리화면
******************************************************** */
function fn_egov_regist_Restde(form){
if(confirm("<spring:message code='common.save.msg'/>")){
if(!validateRestde(form)){
return;
}else{
form.submit();
}
}
}
-->
</script>
</head>
<a name="noscript" id="noscript">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
</a>
<body>
<DIV id="content" style="width:712px">
<!-- 상단타이틀 -->
<form:form commandName="restde" name="restde" method="post">
<input name="cmd" type="hidden" value="Modify" title="<spring:message code="sym.log.atchFile" />">
<form:hidden path="restdeNo"/>
<form:hidden path="restdeDe"/>
<!-- 상단 타이틀 영역 -->
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;휴일 수정</h1></td>
</tr>
</table>
<!-- 줄간격조정 -->
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<!-- 등록 폼 영역 -->
<table width="700" border="0" cellpadding="0" cellspacing="1" class="table-register" summary="해당 휴일의 휴일명, 휴일설명, 휴일구분을 수정한다.">
<CAPTION style="display: none;">휴일 수정</CAPTION>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일일자<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td width="80%" nowrap colspan="3"><c:out value='${fn:substring(restde.restdeDe, 0,4)}'/>-<c:out value='${fn:substring(restde.restdeDe, 4,6)}'/>-<c:out value='${fn:substring(restde.restdeDe, 6,8)}'/></td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일명<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td width="80%" nowrap>
<form:input path="restdeNm" size="50" maxlength="50" title="휴일명"/>
<form:errors path="restdeNm"/>
</td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일설명<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td>
<form:textarea path="restdeDc" rows="3" cols="60" title="휴일설명"/>
<form:errors path="restdeDc"/>
</td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일구분<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td width="80%" nowrap>
<form:select path="restdeSeCode" title="휴일구분">
<form:options items="${restdeCode}" itemValue="code" itemLabel="codeNm"/>
</form:select>
</td>
</tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<!-- 줄간격조정 -->
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<!-- 목록/저장버튼 -->
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" alt="목록" width="8" height="20"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fn_egov_list_Restde(); return false;">목록</a></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" alt="목록" width="8" height="20"></td>
<td width="10"></td>
<td><span class="button"><input type="submit" value="저장" onclick="fn_egov_regist_Restde(document.restde); return false;"></span></td>
</tr>
</table>
</form:form>
</DIV>
</body>
</html>

@ -0,0 +1,143 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%
/**
* @Class Name : EgovRestdeRegist.jsp
* @Description : EgovRestdeRegist 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* 2011.08.12 서준식 CSS 경로 수정
*
* @author 공통서비스팀
* @since 2009.04.01
* @version 1.0
* @see
*
*/
%>
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<html lang="ko">
<head>
<title>휴일 등록</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<link type="text/css" rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" >
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<c:url value='/js/egovframework/com/sym/cal/EgovCalPopup.js' />" ></script>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="restde" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 목록 으로 가기
******************************************************** */
function fn_egov_list_Restde(){
location.href = "<c:url value='/sym/cal/EgovRestdeList.do' />";
}
/* ********************************************************
* 저장처리화면
******************************************************** */
function fn_egov_regist_Restde(form){
if(confirm("<spring:message code='common.save.msg' />")){
if(!validateRestde(form)){
return;
}else{
form.submit();
}
}
}
-->
</script>
</head>
<a name="noscript" id="noscript">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
</a>
<body>
<DIV id="content" style="width:712px">
<!-- 상단타이틀 -->
<form:form commandName="restde" name="restde" method="post">
<!-- 상단 타이틀 영역 -->
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;휴일 등록</h1></td>
</tr>
</table>
<!-- 줄간격조정 -->
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<!-- 등록 폼 영역 -->
<table width="700" border="0" cellpadding="0" cellspacing="1" class="table-register" summary="휴일 일자, 휴일명, 휴일설명, 휴일구분을 입력하여 휴일을 등록한다.">
<CAPTION style="display: none;">휴일 등록</CAPTION>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일일자<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15" style="vertical-align: middle"></th>
<td width="80%" nowrap>
<input type="hidden" name="cal_url" value="<c:url value='/sym/cal/EgovNormalCalPopup.do'/>" />
<form:hidden path="restdeDe" />
<input name="vrestdeDe" type="text" size="10" value="" maxlength="10" readonly onClick="javascript:fn_egov_NormalCalendar(document.restde, document.restde.restdeDe, document.restde.vrestdeDe);" title="<spring:message code="sym.cal.restDay" />(새창)"/>
<a href="#noscript" onclick="fn_egov_NormalCalendar(document.restde, document.restde.restdeDe, document.restde.vrestdeDe); return false;" style="selector-dummy:expression(this.hideFocus=false);"><img src="<c:url value='/images/egovframework/com/cmm/icon/bu_icon_carlendar.gif' />" alt="달력창팝업버튼이미지"></a>
</td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일명<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td width="80%" nowrap>
<form:input path="restdeNm" size="50" maxlength="50" title="휴일명"/>
<form:errors path="restdeNm"/>
</td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일설명<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td>
<form:textarea path="restdeDc" rows="3" cols="60" title="휴일설명"/>
<form:errors path="restdeDc"/>
</td>
</tr>
<tr>
<th scope="row" width="20%" height="23" class="required_text" nowrap >휴일구분<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" alt="필수입력표시" width="15" height="15"></th>
<td width="80%" nowrap>
<form:select path="restdeSeCode" title="휴일구분">
<form:options items="${restdeCode}" itemValue="code" itemLabel="codeNm" />
</form:select>
</td>
</tr>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<!-- 줄간격조정 -->
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<!-- 목록/저장버튼 -->
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><span class="button"><input type="submit" value="목록" onclick="fn_egov_list_Restde(); return false;"></span></td>
<td width="10"></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" alt="저장" width="8" height="20"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fn_egov_regist_Restde(document.restde); return false;">저장</a></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" alt="저장" width="8" height="20"></td>
</tr>
</table>
<input name="cmd" type="hidden" value="<c:out value='save'/>"/>
</form:form>
</DIV>
</body>
</html>

@ -0,0 +1,151 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<%
/**
* @파일명 : EgovBatchOpertDetail.jsp
* @파일정보 : 배치작업 상세 조회
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 8. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.exedit-3.5.js"></script>
<script type="text/javaScript" language="javascript">
function fn_goList(){
var varForm = document.getElementById("batchOpertForm");
varForm.action = "<c:url value='/_mngr_/bat/getBatchOpertList.do'/>";
varForm.submit()
}
function fn_egov_update_view(){
var varForm = document.getElementById("batchOpertForm");
varForm.action = "<c:url value='/_mngr_/bat/getBatchOpertForUpdate.do'/>";
varForm.submit();
}
function fn_goDel(){
var vForm = document.batchOpertForm;
if(confirm("<spring:message code='common.delete.msg' />")){
vForm.action = "<c:url value='/_mngr_/bat/deleteBatchOpert.do'/>";
vForm.submit();
}
}
</script>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치작업 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치작업 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form name="batchOpertForm" id="batchOpertForm" method="post" onsubmit="fn_egov_save(); return false;" class="form-horizontal">
<input type="hidden" name="batchOpertId" value="<c:out value='${resultInfo.batchOpertId}'/>"/>
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="batchOpertDiv" value="<c:out value='${searchVO.batchOpertDiv}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchOpertId">배치작업ID</label></th>
<td><c:out value="${resultInfo.batchOpertId}"/></td>
</tr>
<tr>
<th class="t"><label for="batchOpertNm">배치작업명</label></th>
<td><c:out value="${resultInfo.batchOpertNm}"/></td>
</tr>
<%-- <tr>
<th class="t"><label for="batchOpertDiv">배치작업 구분</label></th>
<td><c:out value="${resultInfo.batchOpertDivNm}"/></td>
</tr> --%>
<tr>
<c:choose>
<c:when test="${resultInfo.batchOpertDiv eq '1' }">
<th class="t"><label for="batchProgrm">패키지</label></th>
</c:when>
<c:when test="${resultInfo.batchOpertDiv eq '2' }">
<th class="t"><label for="batchProgrm">배치프로그램</label></th>
</c:when>
<c:otherwise>
<th class="t"><label for="batchProgrm">관리자 문의</label></th>
</c:otherwise>
</c:choose>
<td><c:out value="${resultInfo.batchProgrm}"/></td>
</tr>
<tr>
<c:choose>
<c:when test="${resultInfo.batchOpertDiv eq '1' }">
<th class="t"><label for="paramtr">메소드</label></th>
</c:when>
<c:when test="${resultInfo.batchOpertDiv eq '2' }">
<th class="t"><label for="paramtr">파라미터</label></th>
</c:when>
<c:otherwise>
<th class="t"><label for="paramtr">관리자 문의</label></th>
</c:otherwise>
</c:choose>
<td><c:out value="${resultInfo.paramtr}"/></td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<button type="button" onclick="fn_goDel();" class="btn btn-danger btn-sm">삭제</button>
<button type="button" onclick="fn_egov_update_view();" class="btn btn-primary btn-sm">수정</button>
<a href="#none" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batOpert');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,171 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<%
/**
* @파일명 : EgovBatchOpertList.jsp
* @파일정보 : 배치작업 목록 조회
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 5. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_get_list('1');
}
}
function fn_egov_get_list(pageNo) {
if (document.frm.searchKeyword.value != "") {
if (document.frm.searchCondition.value == "") {
alert("검색조건을 선택하세요.");
return;
}
}
document.frm.pageIndex.value = pageNo;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchOpertList.do'/>";
document.frm.submit();
}
function fn_egov_get_detail_view(batchOpertId) {
document.frm.batchOpertId.value = batchOpertId;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchOpert.do'/>";
document.frm.submit();
}
function fn_goRegist(){
document.frm.action = "<c:url value='/_mngr_/bat/getBatchOpertForRegist.do'/>";
document.frm.submit();
}
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치작업 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치작업 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-body">
<form name="frm" id="frm" action="<c:url value='/_mngr_/bat/getBatchOpertList.do'/>" method="post" onsubmit="fn_egov_get_list('1'); return false;">
<input type="hidden" name="batchOpertId" value="">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>">
<div class="row margin-bottom">
<div class="col-sm-8 form-inline">
<label for="searchCondition" class="sr-only">검색조건</label>
<select name="searchCondition" class="form-control input-sm">
<option value="">선택</option>
<option value="0" ${ufn:selected(searchVO.searchCondition, '0') }>배치작업명</option>
<option value="1" ${ufn:selected(searchVO.searchCondition, '1') }>패키지<!-- /배치프로그램 --></option>
<option value="2" ${ufn:selected(searchVO.searchCondition, '2') }>메소드<!-- /파라미터 --></option>
</select>
<label for="searchKeyword" class="sr-only">검색어</label>
<input name="searchKeyword" class="form-control input-sm" value="<c:out value="${searchVO.searchKeyword }" />" title="검색어 입력" style="ime-mode:active"/>
<%-- <select name="batchOpertDiv" class="form-control input-sm">
<option value="">배치작업 구분</option>
<option value="1" ${ufn:selected(searchVO.batchOpertDiv, '1') }>메소드</option>
<option value="2" ${ufn:selected(searchVO.batchOpertDiv, '2') }>배치프로그램</option>
</select> --%>
<button class="btn btn-default btn-sm">검색</button>
</div>
<div class="col-sm-4 text-right">
<button type="button" onclick="fn_goRegist();" class="btn btn-primary btn-sm">등록</button>
</div>
</div>
</form>
<div class="row">
<div class="col-sm-12">
<table id="example1" class="table table-bordered table-striped">
<colgroup>
<col width="15%" />
<col width="30%" />
<%-- <col width="10%" /> --%>
<col width="*" />
<col width="15%" />
</colgroup>
<thead>
<tr>
<th scope="col" class="text-center">배치작업ID</th>
<th scope="col" class="text-center">배치작업명</th>
<!-- <th scope="col" class="text-center">배치작업 구분</th> -->
<th scope="col" class="text-center">패키지<!-- /배치프로그램 --></th>
<th scope="col" class="text-center">메소드<!-- /파라미터 --></th>
</tr>
</thead>
<tbody>
<c:forEach var="resultInfo" items="${resultList}" varStatus="status">
<tr>
<td class="text-center">
<form name="item" method="post" action="<c:url value='/_mngr_/bat/getBatchOpert.do'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>">
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>">
<input type="hidden" name="batchOpertId" value="<c:out value='${resultInfo.batchOpertId}'/>">
<a href="#none" onclick="fn_egov_get_detail_view('<c:out value="${resultInfo.batchOpertId }" />');return false;"><c:out value="${resultInfo.batchOpertId}"/></a>
</form>
</td>
<td class="tb_left bg_user"><c:out value="${resultInfo.batchOpertNm }" /></td>
<%-- <td class="text-center"><c:out value="${resultInfo.batchOpertDivNm }" /></td> --%>
<td class="tb_left bg_user"><c:out value="${resultInfo.batchProgrm }" /></td>
<td class="tb_left bg_user"><c:out value="${resultInfo.paramtr }" /></td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList ) == 0}">
<tr><td colspan="4">데이터가 없습니다.</td></tr>
</c:if>
</tbody>
</table>
</div> <!-- .col-sm-12 -->
</div> <!-- .row -->
<div class ="row">
<div class="col-sm-5 text-left">
<div class="dataTables_info" id="example1_info" role="status" aria-live="polite">게시물 : <fmt:formatNumber value="${paginationInfo.totalRecordCount}" type="number" /> 건, 페이지 : <fmt:formatNumber value="${paginationInfo.currentPageNo}" type="number" /> / <fmt:formatNumber value="${paginationInfo.totalPageCount}" type="number" /></div>
</div>
<div class="col-sm-7">
<div class="text-center dataTables_paginate paging_simple_numbers" id="example1_paginate">
<ul class="pagination">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_get_list" />
</ul>
</div>
</div>
</div>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- /.col -->
</div><!-- /.row -->
</section><!-- /.content -->
</div>
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batOpert');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,232 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<%
/**
* @파일명 : EgovBatchOpertListPopup.jsp
* @파일정보 : 배치작업관리 목록조회팝업
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 10. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex,nofollow">
<link rel="shortcut icon" type="image/x-icon" href="${systemconfigVO.faviUrl}" />
<title>배치작업 Popup</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- jQuery 2.1.4 -->
<script src="${ctx}/resource/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="${ctx}/resource/plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="${ctx}/resource/bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="${ctx}/resource/plugins/morris/raphael-min.2.2.7.js"></script>
<script src="${ctx}/resource/plugins/morris/morrish.min.js"></script>
<%-- <script src="${ctx}/resource/plugins/morris/morris.js"></script> --%>
<!-- DataTables -->
<script src="${ctx}/resource/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="${ctx}/resource/plugins/datatables/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="${ctx}/resource/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="${ctx}/resource/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="${ctx}/resource/dist/js/app.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="${ctx}/resource/dist/js/demo.js"></script>
<!-- iCheck 1.0.1 -->
<script src="${ctx}/resource/plugins/iCheck/icheck.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="${ctx}/resource/bootstrap/css/bootstrap.css">
<!-- Morris chart -->
<link rel="stylesheet" href="${ctx}/resource/plugins/morris/morris.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="${ctx}/resource/font/font-awesome-4.7.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="${ctx}/resource/font/ionicons-2.0.1/css/ionicons.min.css">
<!-- DataTables -->
<link rel="stylesheet" href="${ctx}/resource/plugins/datatables/dataTables.bootstrap.css">
<!-- Theme style -->
<link rel="stylesheet" href="${ctx}/resource/dist/css/AdminLTE.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="${ctx}/resource/dist/css/skins/_all-skins.min.css">
<!-- iCheck for checkboxes and radio inputs -->
<link rel="stylesheet" href="${ctx}/resource/plugins/iCheck/all.css">
<!-- Bootstrap datepicker -->
<script type="text/javascript" src="${ctx}/resource/plugins/datepicker/bootstrap-datepicker.js"></script>
<link type="text/css" href="${ctx}/resource/plugins/datepicker/datepicker3.css" rel="stylesheet" />
<!-- cms style -->
<link rel="stylesheet" href="${ctx}/resource/common/jquery_plugin/zTree/zTreeStyle/zTreeStyle.css" type="text/css" />
<!-- cms scripts -->
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/common_functions.js"></script>
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/popWin.js"></script>
<!-- traffic Icon -->
<link type="text/css" href="${ctx}/resource/common_ais/css/fontello.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="${ctx}/resource/common/jquery_plugin/validation/validator.css" />
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/validation/validator.js"></script>
<link href="${ctx}/resource/jfile/swfupload/css/custom.css" rel="stylesheet" type="text/css" />
<!-- colorpicker spectrum-master -->
<link rel="stylesheet" type="text/css" href="${ctx}/resource/common/jquery_plugin/spectrum/spectrum.css" />
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/spectrum/spectrum.js"></script>
<!-- <script class='daum_roughmap_loader_script' src='https://ssl.daumcdn.net/dmaps/map_js_init/roughmapLoader.js'></script> -->
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/showModalDialogCallee.js'/>" ></script>
</head>
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_get_list('1');
}
}
function fn_egov_get_list(pageNo) {
if (document.frm.searchKeyword.value != "") {
if (document.frm.searchCondition.value == "") {
alert("검색조건을 선택하세요.");
return;
}
}
document.frm.pageIndex.value = pageNo;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchOpertList.do?popupAt=Y'/>";
document.frm.submit();
}
// 팝업검색 결과를 호출자에게 리턴하고 화면을 닫는다.
function fn_egov_return_batch_opert(batchOpertId, batchOpertNm) {
getDialogArguments();
var opener = parent.window.dialogArguments;
opener.document.getElementById("batchOpertId").value = batchOpertId;
opener.document.getElementById("batchOpertNm").value = batchOpertNm;
// setReturnValue(true);
parent.window.returnValue = true;
parent.window.close();
}
</script>
<body >
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-body">
<form name="frm" id="frm" action="<c:url value='/_mngr_/bat/getBatchOpertList.do'/>" method="post" onsubmit="fn_egov_get_list('1'); return false;">
<input type="hidden" name="batchOpertId" value="">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>">
<div class="row margin-bottom">
<div class="col-sm-8 form-inline">
<label for="searchCondition" class="sr-only">검색조건</label>
<select name="searchCondition" class="form-control input-sm">
<option value="">선택</option>
<option value="0" ${ufn:selected(searchVO.searchCondition, '0') }>배치작업명</option>
<option value="1" ${ufn:selected(searchVO.searchCondition, '1') }>패키지<!-- /배치프로그램 --></option>
<option value="2" ${ufn:selected(searchVO.searchCondition, '2') }>메소드<!-- /파라미터 --></option>
</select>
<label for="searchKeyword" class="sr-only">검색어</label>
<input name="searchKeyword" class="form-control input-sm" value="<c:out value="${searchVO.searchKeyword }" />" title="검색어 입력" style="ime-mode:active"/>
<%-- <select name="batchOpertDiv" class="form-control input-sm">
<option value="">배치작업 구분</option>
<option value="1" ${ufn:selected(searchVO.batchOpertDiv, '1') }>메소드</option>
<option value="2" ${ufn:selected(searchVO.batchOpertDiv, '2') }>배치프로그램</option>
</select> --%>
<button class="btn btn-default btn-sm">검색</button>
</div>
</div>
</form>
<div class="row">
<div class="col-sm-12">
<table id="example1" class="table table-bordered table-striped">
<colgroup>
<col width="15%" />
<col width="30%" />
<%-- <col width="15%" /> --%>
<col width="*" />
<col width="15%" />
</colgroup>
<thead>
<tr>
<th scope="col" class="text-center">배치작업ID</th>
<th scope="col" class="text-center">배치작업명</th>
<!-- <th scope="col" class="text-center">배치작업 구분</th> -->
<th scope="col" class="text-center">패키지<!-- /배치프로그램 --></th>
<th scope="col" class="text-center">메소드<!-- /파라미터 --></th>
</tr>
</thead>
<tbody>
<c:forEach var="resultInfo" items="${resultList}" varStatus="status">
<tr>
<td class="text-center">
<a href="#none" onclick="fn_egov_return_batch_opert('<c:out value="${resultInfo.batchOpertId}"/>', '<c:out value="${resultInfo.batchOpertNm}"/>'); return false;">
<c:out value="${resultInfo.batchOpertId}"/>
</a>
</td>
<td class="tb_left bg_user"><c:out value="${resultInfo.batchOpertNm }" /></td>
<%-- <td class="text-center"><c:out value="${resultInfo.batchOpertDivNm }" /></td> --%>
<td class="tb_left bg_user"><c:out value="${resultInfo.batchProgrm }" /></td>
<td class="tb_left bg_user"><c:out value="${resultInfo.paramtr }" /></td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList ) == 0}">
<tr><td colspan="4">데이터가 없습니다.</td></tr>
</c:if>
</tbody>
</table>
</div> <!-- .col-sm-12 -->
</div> <!-- .row -->
<div class ="row">
<div class="col-sm-5 text-left">
<div class="dataTables_info" id="example1_info" role="status" aria-live="polite">게시물 : <fmt:formatNumber value="${paginationInfo.totalRecordCount}" type="number" /> 건, 페이지 : <fmt:formatNumber value="${paginationInfo.currentPageNo}" type="number" /> / <fmt:formatNumber value="${paginationInfo.totalPageCount}" type="number" /></div>
</div>
<div class="col-sm-7">
<div class="text-center dataTables_paginate paging_simple_numbers" id="example1_paginate">
<ul class="pagination">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_get_list" />
</ul>
</div>
</div>
</div>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- /.col -->
</div><!-- /.row -->
</section><!-- /.content -->
</body>
</html>

@ -0,0 +1,111 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<%
/**
* @파일명 : EgovBatchOpertListPopupFrame.jsp
* @파일정보 : 배치작업정보 목록 조회를 위한 Frame화면
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 10. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex,nofollow">
<link rel="shortcut icon" type="image/x-icon" href="${systemconfigVO.faviUrl}" />
<title>배치작업 Popup</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- jQuery 2.1.4 -->
<script src="${ctx}/resource/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="${ctx}/resource/plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="${ctx}/resource/bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="${ctx}/resource/plugins/morris/raphael-min.2.2.7.js"></script>
<script src="${ctx}/resource/plugins/morris/morrish.min.js"></script>
<%-- <script src="${ctx}/resource/plugins/morris/morris.js"></script> --%>
<!-- DataTables -->
<script src="${ctx}/resource/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="${ctx}/resource/plugins/datatables/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="${ctx}/resource/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="${ctx}/resource/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="${ctx}/resource/dist/js/app.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="${ctx}/resource/dist/js/demo.js"></script>
<!-- iCheck 1.0.1 -->
<script src="${ctx}/resource/plugins/iCheck/icheck.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="${ctx}/resource/bootstrap/css/bootstrap.css">
<!-- Morris chart -->
<link rel="stylesheet" href="${ctx}/resource/plugins/morris/morris.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="${ctx}/resource/font/font-awesome-4.7.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="${ctx}/resource/font/ionicons-2.0.1/css/ionicons.min.css">
<!-- DataTables -->
<link rel="stylesheet" href="${ctx}/resource/plugins/datatables/dataTables.bootstrap.css">
<!-- Theme style -->
<link rel="stylesheet" href="${ctx}/resource/dist/css/AdminLTE.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="${ctx}/resource/dist/css/skins/_all-skins.min.css">
<!-- iCheck for checkboxes and radio inputs -->
<link rel="stylesheet" href="${ctx}/resource/plugins/iCheck/all.css">
<!-- Bootstrap datepicker -->
<script type="text/javascript" src="${ctx}/resource/plugins/datepicker/bootstrap-datepicker.js"></script>
<link type="text/css" href="${ctx}/resource/plugins/datepicker/datepicker3.css" rel="stylesheet" />
<!-- cms style -->
<link rel="stylesheet" href="${ctx}/resource/common/jquery_plugin/zTree/zTreeStyle/zTreeStyle.css" type="text/css" />
<!-- cms scripts -->
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/common_functions.js"></script>
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/popWin.js"></script>
<!-- traffic Icon -->
<link type="text/css" href="${ctx}/resource/common_ais/css/fontello.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="${ctx}/resource/common/jquery_plugin/validation/validator.css" />
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/validation/validator.js"></script>
<link href="${ctx}/resource/jfile/swfupload/css/custom.css" rel="stylesheet" type="text/css" />
<!-- colorpicker spectrum-master -->
<link rel="stylesheet" type="text/css" href="${ctx}/resource/common/jquery_plugin/spectrum/spectrum.css" />
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/spectrum/spectrum.js"></script>
<!-- <script class='daum_roughmap_loader_script' src='https://ssl.daumcdn.net/dmaps/map_js_init/roughmapLoader.js'></script> -->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div>
<section class="content-header">
<h1>배치작업 관리</h1>
</section>
<!-- Main content -->
<iframe title="배치작업목록" id="batchOpertPopupFrame" src="<c:url value='/_mngr_/bat/getBatchOpertList.do?popupAt=Y'/>" width="100%" height="520px" frameborder="0" scrolling="yes" resizable="yes" marginwidth="0" marginheight="0" >
</iframe>
</div>
</body>
</html>

@ -0,0 +1,217 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @파일명 : EgovBatchOpertRegist.jsp
* @파일정보 : 배치작업 등록
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 8. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<%-- <link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css"> --%>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/sym/cal/EgovCalPopup.js' />"></script>
<validator:javascript formName="batchOpert" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
//<[[!CDATA[
$(document).ready(function(){
changeBatchOpertDiv("${batchOpert.batchOpertDiv}");
$("input[name=batchOpertDiv]").change(function(){
changeBatchOpertDiv(this.value);
});
});
function changeBatchOpertDiv(value){
if(value == '2'){
$("#batchPackage1").hide();
$("#batchMethod1").hide();
$("#batchProgrm1").show();
$("#paramtr1").show();
$("#batchPackage").val("");
$("#batchMethod").val("");
}else{
$("#batchPackage1").show();
$("#batchMethod1").show();
$("#batchProgrm1").hide();
$("#paramtr1").hide();
$("#batchProgrm").val("");
$("#paramtr").val("");
}
}
function fn_egov_get_list(){
var varForm = document.getElementById("batchOpert");
varForm.action = "<c:url value='/sym/bat/getBatchOpertList.do'/>";
varForm.submit();
}
function fn_egov_save(){
var varForm = document.getElementById("batchOpert");
var batchOpertDiv = "";
for(var i=0; i<varForm.batchOpertDiv.length; i++){
if(varForm.batchOpertDiv[i].checked){
batchOpertDiv = varForm.batchOpertDiv[i].value;
}
}
if ($.trim($("#batchOpertNm").val()) == "") {
alert("배치작업명을 입력해 주세요.");
$("#batchOpertNm").focus();
return false;
}
/* if(batchOpertDiv == "1"){ */
if ($.trim($("#batchPackage").val()) == "") {
alert("패키지를 입력해 주세요.");
$("#batchPackage").focus();
return false;
}
if ($.trim($("#batchMethod").val()) == "") {
alert("메소드를 입력해 주세요.");
$("#batchMethod").focus();
return false;
}
/* } else {
if ($.trim($("#batchProgrm").val()) == "") {
alert("배치프로그램을 입력해 주세요.");
$("#batchProgrm").focus();
return false;
}
} */
varForm.action = "<c:url value='/_mngr_/bat/addBatchOpert.do'/>";
if(confirm("<spring:message code='common.save.msg' />")){
if(!validateBatchOpert(varForm)){
return;
}else{
varForm.submit();
}
}
}
//]]>
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치작업 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치작업 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form:form commandName="batchOpert" action="<c:url value='/_mngr_/bat/addBatchOpert.do'/>" method="post">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<input type="hidden" name="batchOpertDiv" value="1"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchOpertNm">배치작업명*</label></th>
<td>
<form:input path="batchOpertNm" size="60" maxlength="60" class="form-control input-sm f-wd-400 required"/>
<form:errors path="batchOpertNm" cssClass="error" />
</td>
</tr>
<%-- <tr>
<th class="t"><label for="batchOpertDiv">배치작업 구분</label></th>
<td>
<label><input type="radio" name="batchOpertDiv" id="batchOpertDiv1" title="배치작업 구분" value="1" ${ufn:checked(batchOpert.batchOpertDiv, '1') } ${ufn:checked(batchOpert.batchOpertDiv, '') }/> 메소드</label>
<label><input type="radio" name="batchOpertDiv" id="batchOpertDiv2" title="배치작업 구분" value="2" ${ufn:checked(batchOpert.batchOpertDiv, '2') }/> 배치프로그램</label>
</td>
</tr> --%>
<tr id="batchPackage1">
<th class="t"><label for="batchPackage">패키지*</label></th>
<td>
<form:input path="batchPackage" size="250" maxlength="250" class="form-control input-sm f-wd-600 required"/>
<form:errors path="batchPackage" cssClass="error" />
</td>
</tr>
<tr id="batchMethod1">
<th class="t"><label for="batchMethod">메소드*</label></th>
<td>
<form:input path="batchMethod" size="250" maxlength="250" class="form-control input-sm f-wd-400 required"/>
<form:errors path="batchMethod" cssClass="error" />
</td>
</tr>
<tr id="batchProgrm1">
<th class="t"><label for="batchProgrm">배치프로그램*</label></th>
<td>
<form:input path="batchProgrm" size="250" maxlength="250" class="form-control input-sm f-wd-600 required"/>
<form:errors path="batchProgrm" cssClass="error" />
</td>
</tr>
<tr id="paramtr1">
<th class="t"><label for="paramtr">파라미터</label></th>
<td>
<form:input path="paramtr" size="250" maxlength="250" class="form-control input-sm f-wd-600"/>
<form:errors path="paramtr" cssClass="error" />
</td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<input type="submit" value="<spring:message code="button.save" />" onclick="fn_egov_save(); return false;" class="btn btn-primary btn-sm">
<a href="<c:url value='/_mngr_/bat/getBatchOpertList.do'></c:url>" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form:form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batOpert');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,225 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @파일명 : EgovBatchOpertUpdt.jsp
* @파일정보 : 배치작업 수정
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 8. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.exedit-3.5.js"></script>
<%-- <link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css"> --%>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="batchOpert" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
//<[[!CDATA[
$(document).ready(function(){
changeBatchOpertDiv("${batchOpert.batchOpertDiv}");
$("input[name=batchOpertDiv]").change(function(){
changeBatchOpertDiv(this.value);
});
});
function changeBatchOpertDiv(value){
if(value == '2'){
$("#batchPackage1").hide();
$("#batchMethod1").hide();
$("#batchProgrm1").show();
$("#paramtr1").show();
$("#batchPackage").val("");
$("#batchMethod").val("");
}else{
$("#batchPackage1").show();
$("#batchMethod1").show();
$("#batchProgrm1").hide();
$("#paramtr1").hide();
$("#batchProgrm").val("");
$("#paramtr").val("");
}
}
function fn_goList(){
var varForm = document.getElementById("batchOpert");
varForm.action = "<c:url value='/_mngr_/bat/getBatchOpertList.do'/>";
varForm.submit()
}
function fn_egov_save(){
var varForm = document.getElementById("batchOpert");
var batchOpertDiv = "";
for(var i=0; i<varForm.batchOpertDiv.length; i++){
if(varForm.batchOpertDiv[i].checked){
batchOpertDiv = varForm.batchOpertDiv[i].value;
}
}
if ($.trim($("#batchOpertNm").val()) == "") {
alert("배치작업명을 입력해 주세요.");
$("#batchOpertNm").focus();
return false;
}
/* if(batchOpertDiv == "1"){ */
if ($.trim($("#batchPackage").val()) == "") {
alert("패키지를 입력해 주세요.");
$("#batchPackage").focus();
return false;
}
if ($.trim($("#batchMethod").val()) == "") {
alert("메소드를 입력해 주세요.");
$("#batchMethod").focus();
return false;
}
/* } else {
if ($.trim($("#batchProgrm").val()) == "") {
alert("배치프로그램을 입력해 주세요.");
$("#batchProgrm").focus();
return false;
}
} */
if(confirm("<spring:message code='common.save.msg' />")){
varForm.action = "<c:url value='/_mngr_/bat/updateBatchOpert.do'/>";
if(!validateBatchOpert(varForm)){
return;
}else{
varForm.submit();
}
}
}
//]]>
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치작업 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치작업 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form:form commandName="batchOpert" id="batchOpert" action="/_mngr_/bat/updateBatchOpert.do" method="post" class="form-horizontal">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<input type="hidden" name="batchOpertDiv" value="1"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchOpertId">배치작업ID</label></th>
<td>
<form:input path="batchOpertId" size="20" readonly="true" class="form-control input-sm f-wd-200"/>
<form:errors path="batchOpertId" cssClass="error" />
</td>
</tr>
<tr>
<th class="t"><label for="batchOpertNm">배치작업명*</label></th>
<td>
<form:input path="batchOpertNm" size="60" maxlength="60" class="form-control input-sm f-wd-400 required"/>
<form:errors path="batchOpertNm" cssClass="error" />
</td>
</tr>
<%-- <tr>
<th class="t"><label for="batchOpertDiv">배치작업 구분</label></th>
<td>
<label><input type="radio" name="batchOpertDiv" id="batchOpertDiv1" title="배치작업 구분" value="1" ${ufn:checked(batchOpert.batchOpertDiv, '1') } ${ufn:checked(batchOpert.batchOpertDiv, '') }/> 메소드</label>
<label><input type="radio" name="batchOpertDiv" id="batchOpertDiv2" title="배치작업 구분" value="2" ${ufn:checked(batchOpert.batchOpertDiv, '2') }/> 배치프로그램</label>
</td>
</tr> --%>
<tr id="batchPackage1">
<th class="t"><label for="batchPackage">패키지*</label></th>
<td>
<form:input path="batchPackage" size="250" maxlength="250" class="form-control input-sm f-wd-600 required"/>
<form:errors path="batchPackage" cssClass="error" />
</td>
</tr>
<tr id="batchMethod1">
<th class="t"><label for="batchMethod">메소드*</label></th>
<td>
<form:input path="batchMethod" size="250" maxlength="250" class="form-control input-sm f-wd-400 required"/>
<form:errors path="batchMethod" cssClass="error" />
</td>
</tr>
<tr id="batchProgrm1">
<th class="t"><label for="batchProgrm">배치프로그램*</label></th>
<td>
<form:input path="batchProgrm" size="250" maxlength="250" class="form-control input-sm f-wd-600 required"/>
<form:errors path="batchProgrm" cssClass="error" />
</td>
</tr>
<tr id="paramtr1">
<th class="t"><label for="paramtr">파라미터</label></th>
<td>
<form:input path="paramtr" size="250" maxlength="250" class="form-control input-sm f-wd-600"/>
<form:errors path="paramtr" cssClass="error" />
</td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<input type="submit" value="<spring:message code="button.save" />" onclick="fn_egov_save(); return false;" class="btn btn-primary btn-sm">
<a href="<c:url value='/_mngr_/bat/getBatchOpertList.do'></c:url>" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form:form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batOpert');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,173 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<%
/**
* @파일명 : EgovBatchResultDetail.jsp
* @파일정보 : 배치결과 상세 조회
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 11. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.exedit-3.5.js"></script>
<script type="text/javaScript" language="javascript">
function fn_goList(){
var varForm = document.getElementById("batchResultForm");
varForm.action = "<c:url value='/_mngr_/bat/getBatchResultList.do'/>";
varForm.submit()
}
function fn_goDel(){
var vForm = document.batchResultForm;
if(confirm("<spring:message code='common.delete.msg' />")){
vForm.action = "<c:url value='/_mngr_/bat/deleteBatchResult.do' />";
vForm.submit();
}
}
</script>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치결과 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치결과 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form name="batchResultForm" id="batchResultForm" method="post" action="<c:url value='/_mngr_/bat/getBatchResult.do'/>" class="form-horizontal">
<input type="hidden" name="batchResultId" value="<c:out value='${resultInfo.batchResultId}'/>"/>
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="batchOpertDiv" value="<c:out value='${searchVO.batchOpertDiv}'/>"/>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<input type="hidden" name="searchKeywordFrom" value="<c:out value='${searchVO.searchKeywordFrom}'/>"/>
<input type="hidden" name="searchKeywordTo" value="<c:out value='${searchVO.searchKeywordTo}'/>"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchResultId">배치결과ID</label></th>
<td><c:out value="${resultInfo.batchResultId}"/></td>
</tr>
<tr>
<th class="t"><label for="batchSchdulId">배치스케줄ID</label></th>
<td><c:out value="${resultInfo.batchSchdulId}"/></td>
</tr>
<tr>
<th class="t"><label for="batchOpertId">배치작업ID</label></th>
<td><c:out value="${resultInfo.batchOpertId}"/></td>
</tr>
<tr>
<th class="t"><label for="batchOpertId">배치작업명</label></th>
<td><c:out value="${resultInfo.batchOpertNm}"/></td>
</tr>
<tr>
<c:choose>
<c:when test="${resultInfo.batchOpertDiv eq '1' }">
<th class="t"><label for="batchProgrm">패키지</label></th>
</c:when>
<c:when test="${resultInfo.batchOpertDiv eq '2' }">
<th class="t"><label for="batchProgrm">배치프로그램</label></th>
</c:when>
<c:otherwise>
<th class="t"><label for="batchProgrm">관리자 문의</label></th>
</c:otherwise>
</c:choose>
<td><c:out value="${resultInfo.batchProgrm}"/></td>
</tr>
<tr>
<c:choose>
<c:when test="${resultInfo.batchOpertDiv eq '1' }">
<th class="t"><label for="paramtr">메소드</label></th>
</c:when>
<c:when test="${resultInfo.batchOpertDiv eq '2' }">
<th class="t"><label for="paramtr">파라미터</label></th>
</c:when>
<c:otherwise>
<th class="t"><label for="paramtr">관리자 문의</label></th>
</c:otherwise>
</c:choose>
<td><c:out value="${resultInfo.paramtr}"/></td>
</tr>
<tr>
<th class="t"><label for="batchOpertId">상태</label></th>
<td><c:out value="${resultInfo.sttusNm}"/></td>
</tr>
<c:if test="${resultInfo.sttus ne '01'}">
<tr>
<th class="t"><label for="batchOpertId">에러정보</label></th>
<td><c:out value="${resultInfo.errorInfo}"/></td>
</tr>
</c:if>
<tr>
<th class="t"><label for="executBeginTime">실행시작시각</label></th>
<td>
<fmt:parseDate value="${resultInfo.executBeginTime}" pattern="yyyyMMddHHmmss" var="tempDate"/>
<fmt:formatDate value="${tempDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
</tr>
<tr>
<th class="t"><label for="executEndTime">실행종료시각</label></th>
<td>
<fmt:parseDate value="${resultInfo.executEndTime}" pattern="yyyyMMddHHmmss" var="tempDate"/>
<fmt:formatDate value="${tempDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<button type="button" onclick="fn_goDel();" class="btn btn-danger btn-sm">삭제</button>
<a href="#none" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batResult');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,345 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<%
/**
* @파일명 : EgovResultList.jsp
* @파일정보 : 배치결과 목록 조회
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 11. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/sym/cal/EgovCalPopup.js' />"></script>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/utl/EgovCmmUtl.js' />"></script>
<script type="text/javascript">
//<[[!CDATA[
$(document).ready(function() {
fn_egov_init();
});
function fn_egov_init(){
var vForm = document.frm;
if (vForm.searchKeywordFrom.value == "") {
// 조회일자에 현재날짜 세팅
//vForm.searchStartDate.value = fn_egov_getToday();
//vForm.searchEndDate.value = fn_egov_getToday();
//vForm.searchEndHour.options[23].selected = true;
} else {
// 조회조건 지정된 것 설정하기.
// 조회시작일자
vForm.searchStartDate.value = vForm.searchKeywordFrom.value.substring(0,4) + '-' + vForm.searchKeywordFrom.value.substring(4,6) + '-' + vForm.searchKeywordFrom.value.substring(6,8);
// 조회종료일자
vForm.searchEndDate.value = vForm.searchKeywordTo.value.substring(0,4) + '-' + vForm.searchKeywordTo.value.substring(4,6) + '-' + vForm.searchKeywordTo.value.substring(6,8);
}
}
//현재날짜 가져오기
function fn_egov_getToday(){
var today = new Date();
var currentYear = today.getYear();
var currentMonth = (today.getMonth()+1).toString();
var currentDay = today.getDate().toString();
var currentToday = currentYear + "-" + fn_egov_getLpad(2,currentMonth) + "-" + fn_egov_getLpad(2,currentDay);
return currentToday;
}
//LPAD 처리
function fn_egov_getLpad(rtnSize, sourceStr)
{
rtnStr = sourceStr;
for( i= sourceStr.length; i<parseInt(rtnSize); i++)
rtnStr = "0" + rtnStr;
return rtnStr;
}
//입력받은문자열중에서 제거 문자열을 제외 문자열을 리턴한다.
function fn_egov_remove_string(srcStr, cndStr) {
var result = null;
var rtnStr = null;
for (var i = 0; i < srcStr.length; i++) {
if (srcStr.charAt(i) == cndStr) {
result = srcStr.substring(0, i);
// 첫번째 제거 문자열을 제외한 전체 문자열
srcStr = result + srcStr.substring(i+1, srcStr.length);
// 최종변환 문자열
rtnStr = srcStr;
}
}
return rtnStr;
}
function press(event) {
if (event.keyCode==13) {
fn_egov_get_list('1');
}
}
function fn_egov_get_list(pageNo) {
if (document.frm.searchKeyword.value != "") {
if (document.frm.searchCondition.value == "") {
alert("검색조건을 선택하세요.");
document.frm.searchCondition.focus();
return;
}
}
/* 폼전송 데이타 조립. */
var startDate = "";
var endDate = "";
if (document.frm.searchStartDate.value != "") {
startDate = document.frm.searchStartDate.value;
// startDate = fn_egov_remove_string(startDate,"-");
}
if (document.frm.searchEndDate.value != "") {
endDate = document.frm.searchEndDate.value;
// endDate = fn_egov_remove_string(endDate,"-");
}
/** lee.m.j 2010-10-27 추가 **/
var tmpFromDate = startDate.split("-");
var tmpEndDate = endDate.split("-");
var strTmpFromDate = "";
var strTmpEndDate = "";
for(var i=0;i<tmpFromDate.length;i++) {
strTmpFromDate = strTmpFromDate + tmpFromDate[i];
}
for(var j=0;j<tmpEndDate.length;j++) {
strTmpEndDate = strTmpEndDate + tmpEndDate[j];
}
/** lee.m.j 2010-10-27 추가 **/
document.frm.searchKeywordFrom.value = strTmpFromDate ;
document.frm.searchKeywordTo.value = strTmpEndDate ;
// 검색조건 체크
if (document.frm.searchStartDate.value != "" || document.frm.searchEndDate.value != "") {
if (document.frm.searchStartDate.value == "") {
alert("검색시작일자를 입력하세요");
return ;
}
if (document.frm.searchEndDate.value == "") {
alert("검색종료일자를 입력하세요");
return ;
}
if(isDate(document.frm.searchStartDate.value, "조회시작일자") == false) {
return;
}
if(isDate(document.frm.searchEndDate.value, "조회종료일자") == false) {
return;
}
/*
if(document.frm.searchKeywordFrom.value > document.frm.searchKeywordTo.value) {
alert("검색종료시각가 검색시작시각보다 빠를수 없습니다.");
return ;
}*/
/** lee.m.j 2010-10-27 추가 **/
if(strTmpFromDate.length != 8 || strTmpEndDate.length != 8 || !checknum(strTmpFromDate) || !checknum(strTmpEndDate)) {
alert("날짜 형식이 잘못되었습니다");
return;
} else {
if(strTmpFromDate > strTmpEndDate) {
alert("시작일자는 종료일자보다 클 수 없습니다");
return;
}
}
/** lee.m.j 2010-10-27 추가 **/
}
document.frm.pageIndex.value = pageNo;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchResultList.do'/>";
document.frm.submit();
}
function checknum(number) {
var rtnMsg = true;
var pattern = /^[0-9]+$/;
if(!pattern.test(number)) {
rtnMsg = false;
}
return rtnMsg;
}
function fn_egov_get_detail_view(batchResultId) {
document.frm.batchResultId.value = batchResultId;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchResult.do'/>";
document.frm.submit();
}
function fn_calClear(div){
if(div == "s"){
$("#searchStartDate").val("");
} else {
$("#searchEndDate").val("");
}
}
//]]>
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치결과 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치결과 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-body">
<form name="frm" id="frm" action="<c:url value='/_mngr_/bat/getBatchResultList.do'/>" method="post" onsubmit="fn_egov_get_list('1'); return false;">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>">
<input type="hidden" name="searchKeywordFrom" value="<c:out value='${searchVO.searchKeywordFrom}'/>">
<input type="hidden" name="searchKeywordTo" value="<c:out value='${searchVO.searchKeywordTo}'/>">
<input type="hidden" name="batchResultId" value="">
<div class="row margin-bottom">
<div class="col-sm-12 form-inline">
<label for="searchCondition" class="sr-only">검색조건</label>
<select name="searchCondition" class="form-control input-sm">
<option value="">선택</option>
<option value="1" ${ufn:selected(searchVO.searchCondition, '1') }>배치스케줄ID</option>
<option value="0" ${ufn:selected(searchVO.searchCondition, '0') }>배치작업명</option>
</select>
<label for="searchKeyword" class="sr-only">검색어</label>
<input name="searchKeyword" class="form-control input-sm" value="<c:out value="${searchVO.searchKeyword }" />" title="검색어 입력" style="ime-mode:active"/>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<select name=sttus title="검색조건구분" class="form-control input-sm">
<option value='00'>상태</option>
<option value="01" <c:if test="${searchVO.sttus == '01'}">selected="selected"</c:if> >정상</option>
<option value="02" <c:if test="${searchVO.sttus == '02'}">selected="selected"</c:if> >비정상</option>
<option value="03" <c:if test="${searchVO.sttus == '03'}">selected="selected"</c:if> >수행중</option>
</select>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;실행시작일자:
<input type="hidden" name="cal_url" id="cal_url" value="<c:url value='/sym/cal/EgovNormalCalPopup.do'/>" >
<input type="text" name="searchStartDate" id="searchStartDate" size="10" title="검색시작일자" onclick="fn_calClear('s');" readonly="readonly" class="form-control input-sm">
<a href="#LINK" onClick="javascript:fn_egov_NormalCalendar( frm,'', frm.searchStartDate );return false;">
<img src="<c:url value='/images/egovframework/com/sym/cal/bu_icon_carlendar.gif' />" style="vertical-align: middle; border:0px" alt="달력창팝업버튼이미지">
</a>
~
<input type="text" name="searchEndDate" id="searchEndDate" size="10" title="검색종료일자" onclick="fn_calClear('e');" readonly="readonly" class="form-control input-sm">
<a href="#LINK" onClick="javascript:fn_egov_NormalCalendar( frm, '', frm.searchEndDate );">
<img src="<c:url value='/images/egovframework/com/sym/cal/bu_icon_carlendar.gif' />" style="vertical-align: middle; border:0px" alt="달력창팝업버튼이미지">
</a>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;
<button class="btn btn-default btn-sm">검색</button>
</div>
</div>
</form>
<div class="row">
<div class="col-sm-12">
<table id="example1" class="table table-bordered table-striped">
<thead>
<tr>
<th scope="col" class="text-center">배치결과ID</th>
<th scope="col" class="text-center">배치스케줄ID</th>
<th scope="col" class="text-center">배치작업명</th>
<th scope="col" class="text-center">상태</th>
<th scope="col" class="text-center">실행시작시각</th>
<th scope="col" class="text-center">실행종료시각</th>
</tr>
</thead>
<tbody>
<c:forEach var="resultInfo" items="${resultList}" varStatus="status">
<tr>
<td class="text-center">
<form name="item" method="post" action="<c:url value='/_mngr_/bat/getBatchSchdul.do'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>">
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>">
<input type="hidden" name="batchResultId" value="<c:out value='${resultInfo.batchResultId}'/>">
<a href="#none" onclick="fn_egov_get_detail_view('<c:out value="${resultInfo.batchResultId }" />');return false;"><c:out value="${resultInfo.batchResultId}"/></a>
</form>
</td>
<td class="text-center"><c:out value="${resultInfo.batchSchdulId }" /></td>
<td class="tb_left bg_user"><c:out value="${resultInfo.batchOpertNm }" /></td>
<td class="text-center"><c:out value="${resultInfo.sttusNm }" /></td>
<td class="text-center">
<fmt:parseDate value="${resultInfo.executBeginTime}" pattern="yyyyMMddHHmmss" var="tempDate"/>
<fmt:formatDate value="${tempDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
<td class="text-center">
<fmt:parseDate value="${resultInfo.executEndTime}" pattern="yyyyMMddHHmmss" var="tempDate"/>
<fmt:formatDate value="${tempDate}" pattern="yyyy-MM-dd HH:mm:ss"/>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList ) == 0}">
<tr><td colspan="6">데이터가 없습니다.</td></tr>
</c:if>
</tbody>
</table>
</div> <!-- .col-sm-12 -->
</div> <!-- .row -->
<div class ="row">
<div class="col-sm-5 text-left">
<div class="dataTables_info" id="example1_info" role="status" aria-live="polite">게시물 : <fmt:formatNumber value="${paginationInfo.totalRecordCount}" type="number" /> 건, 페이지 : <fmt:formatNumber value="${paginationInfo.currentPageNo}" type="number" /> / <fmt:formatNumber value="${paginationInfo.totalPageCount}" type="number" /></div>
</div>
<div class="col-sm-7">
<div class="text-center dataTables_paginate paging_simple_numbers" id="example1_paginate">
<ul class="pagination">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_get_list" />
</ul>
</div>
</div>
</div>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- /.col -->
</div><!-- /.row -->
</section><!-- /.content -->
</div>
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batResult');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,127 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<%
/**
* @파일명 : EgovBatchSchdulDetail.jsp
* @파일정보 : 배치/스케줄 상세 조회
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 10. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.exedit-3.5.js"></script>
<script type="text/javaScript" language="javascript">
function fn_goList(){
var varForm = document.getElementById("batchSchdulForm");
varForm.action = "<c:url value='/_mngr_/bat/getBatchSchdulList.do'/>";
varForm.submit()
}
function fn_egov_update_view(){
var varForm = document.getElementById("batchSchdulForm");
varForm.action = "<c:url value='/_mngr_/bat/getBatchSchdulForUpdate.do'/>";
varForm.submit();
}
function fn_goDel(){
var vForm = document.batchSchdulForm;
if(confirm("<spring:message code='common.delete.msg' />")){
vForm.action = "<c:url value='/_mngr_/bat/deleteBatchSchdul.do'/>";
vForm.submit();
}
}
</script>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치/스케줄 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치/스케줄 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form name="batchSchdulForm" id="batchSchdulForm" method="post" onsubmit="fn_egov_save(); return false;" class="form-horizontal">
<input type="hidden" name="batchSchdulId" value="<c:out value='${resultInfo.batchSchdulId}'/>"/>
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="batchOpertDiv" value="<c:out value='${searchVO.batchOpertDiv}'/>">
<input type="hidden" name="cycleCode" value="<c:out value='${searchVO.cycleCode}'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchSchdulId">배치/스케줄ID</label></th>
<td><c:out value="${resultInfo.batchSchdulId}"/></td>
</tr>
<tr>
<th class="t"><label for="batchOpertId">배치작업ID</label></th>
<td><c:out value="${resultInfo.batchOpertId}"/></td>
</tr>
<tr>
<th class="t"><label for="batchOpertNm">배치작업명</label></th>
<td><c:out value="${resultInfo.batchOpertNm}"/></td>
</tr>
<tr>
<th class="t"><label for="paramtr">실행주기</label></th>
<td><c:out value="${resultInfo.executCycleNm}" escapeXml="false" />&nbsp;<c:out value="${resultInfo.executSchdul}" escapeXml="false" /></td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<button type="button" onclick="fn_goDel();" class="btn btn-danger btn-sm">삭제</button>
<button type="button" onclick="fn_egov_update_view();" class="btn btn-primary btn-sm">수정</button>
<a href="#none" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batSchdul');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,191 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<%
/**
* @파일명 : EgovSchdulList.jsp
* @파일정보 : 배치/스케줄 목록 조회
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 10. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_get_list('1');
}
}
function fn_egov_get_list(pageNo) {
if (document.frm.searchKeyword.value != "") {
if (document.frm.searchCondition.value == "") {
alert("검색조건을 선택하세요.");
return;
}
}
document.frm.pageIndex.value = pageNo;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchSchdulList.do'/>";
document.frm.submit();
}
function fn_egov_get_detail_view(batchSchdulId) {
document.frm.batchSchdulId.value = batchSchdulId;
document.frm.action = "<c:url value='/_mngr_/bat/getBatchSchdul.do'/>";
document.frm.submit();
}
function fn_goRegist(){
document.frm.action = "<c:url value='/_mngr_/bat/getBatchSchdulForRegist.do'/>";
document.frm.submit();
}
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치/스케줄 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치/스케줄 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-xs-12">
<div class="box">
<div class="box-body">
<form name="frm" id="frm" action="<c:url value='/_mngr_/bat/getBatchSchdulList.do'/>" method="post" onsubmit="fn_egov_get_list('1'); return false;">
<input type="hidden" name="batchSchdulId" value="">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>">
<div class="row margin-bottom">
<div class="col-sm-8 form-inline">
<label for="searchCondition" class="sr-only">검색조건</label>
<select name="searchCondition" class="form-control input-sm">
<option value="">선택</option>
<option value="0" ${ufn:selected(searchVO.searchCondition, '0') }>배치작업명</option>
<option value="1" ${ufn:selected(searchVO.searchCondition, '1') }>메소드<!-- /배치프로그램 --></option>
</select>
<label for="searchKeyword" class="sr-only">검색어</label>
<input name="searchKeyword" class="form-control input-sm" value="<c:out value="${searchVO.searchKeyword }" />" title="검색어 입력" style="ime-mode:active"/>
<%-- <select name="batchOpertDiv" class="form-control input-sm">
<option value="">배치작업 구분</option>
<option value="1" ${ufn:selected(searchVO.batchOpertDiv, '1') }>메소드</option>
<option value="2" ${ufn:selected(searchVO.batchOpertDiv, '2') }>배치프로그램</option>
</select> --%>
<select name="cycleCode" class="form-control input-sm">
<option value="">실행주기</option>
<option value="01" ${ufn:selected(searchVO.cycleCode, '01') }>매일</option>
<option value="02" ${ufn:selected(searchVO.cycleCode, '02') }>매주</option>
<option value="03" ${ufn:selected(searchVO.cycleCode, '03') }>매월</option>
<option value="04" ${ufn:selected(searchVO.cycleCode, '04') }>매분</option>
<option value="05" ${ufn:selected(searchVO.cycleCode, '05') }>매시간</option>
<option value="06" ${ufn:selected(searchVO.cycleCode, '06') }>분간격</option>
<option value="07" ${ufn:selected(searchVO.cycleCode, '07') }>초간격</option>
</select>
<button class="btn btn-default btn-sm">검색</button>
</div>
<div class="col-sm-4 text-right">
<button type="button" onclick="fn_goRegist();" class="btn btn-primary btn-sm">등록</button>
</div>
</div>
</form>
<div class="row">
<div class="col-sm-12">
<table id="example1" class="table table-bordered table-striped">
<colgroup>
<col width="15%" />
<col width="*" />
<%-- <col width="10%" /> --%>
<col width="20%" />
<col width="10%" />
<col width="15%" />
</colgroup>
<thead>
<tr>
<th scope="col" class="text-center">배치/스케줄ID</th>
<th scope="col" class="text-center">배치작업명</th>
<!-- <th scope="col" class="text-center">배치작업 구분</th> -->
<th scope="col" class="text-center">메소드<!-- /배치프로그램 --></th>
<th scope="col" class="text-center">실행주기</th>
<th scope="col" class="text-center">실행스케줄</th>
</tr>
</thead>
<tbody>
<c:forEach var="resultInfo" items="${resultList}" varStatus="status">
<tr>
<td class="text-center">
<form name="item" method="post" action="<c:url value='/_mngr_/bat/getBatchSchdul.do'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>">
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>">
<input type="hidden" name="cycleCode" value="<c:out value='${searchVO.cycleCode}'/>">
<input type="hidden" name="batchSchdulId" value="<c:out value='${resultInfo.batchSchdulId}'/>">
<a href="#none" onclick="fn_egov_get_detail_view('<c:out value="${resultInfo.batchSchdulId }" />');return false;"><c:out value="${resultInfo.batchSchdulId}"/></a>
</form>
</td>
<td class="tb_left bg_user"><c:out value="${resultInfo.batchOpertNm }" /></td>
<%-- <td class="text-center"><c:out value="${resultInfo.batchOpertDivNm }" /></td> --%>
<c:choose>
<c:when test="${resultInfo.batchOpertDiv eq '1' }">
<td class="tb_left bg_user"><c:out value="${resultInfo.paramtr }" /></td>
</c:when>
<c:when test="${resultInfo.batchOpertDiv eq '2' }">
<td class="tb_left bg_user"><c:out value="${resultInfo.batchProgrm }" /></td>
</c:when>
</c:choose>
<td class="text-center"><c:out value="${resultInfo.executCycleNm }" /></td>
<td class="text-center"><c:out value="${resultInfo.executSchdul }" /></td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList ) == 0}">
<tr><td colspan="5">데이터가 없습니다.</td></tr>
</c:if>
</tbody>
</table>
</div> <!-- .col-sm-12 -->
</div> <!-- .row -->
<div class ="row">
<div class="col-sm-5 text-left">
<div class="dataTables_info" id="example1_info" role="status" aria-live="polite">게시물 : <fmt:formatNumber value="${paginationInfo.totalRecordCount}" type="number" /> 건, 페이지 : <fmt:formatNumber value="${paginationInfo.currentPageNo}" type="number" /> / <fmt:formatNumber value="${paginationInfo.totalPageCount}" type="number" /></div>
</div>
<div class="col-sm-7">
<div class="text-center dataTables_paginate paging_simple_numbers" id="example1_paginate">
<ul class="pagination">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_get_list" />
</ul>
</div>
</div>
</div>
</div><!-- /.box-body -->
</div><!-- /.box -->
</div><!-- /.col -->
</div><!-- /.row -->
</section><!-- /.content -->
</div>
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batSchdul');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,431 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @파일명 : EgovBatchSchdulRegist.jsp
* @파일정보 : 배치/스케줄 등록
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 10. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<%-- <link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css"> --%>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/sym/cal/EgovCalPopup.js' />"></script>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/utl/EgovCmmUtl.js' />"></script>
<validator:javascript formName="batchSchdul" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
//<[[!CDATA[
$(document).ready(function() {
fn_egov_executCycleOnChange();
});
//입력받은문자열중에서 제거 문자열을 제외 문자열을 리턴한다.
function fn_egov_remove_string(srcStr, cndStr) {
var result = null;
var rtnStr = null;
for (var i = 0; i < srcStr.length; i++) {
if (srcStr.charAt(i) == cndStr) {
result = srcStr.substring(0, i);
// 첫번째 제거 문자열을 제외한 전체 문자열
srcStr = result + srcStr.substring(i+1, srcStr.length);
// 최종변환 문자열
rtnStr = srcStr;
}
}
return rtnStr;
}
//목록 으로 가기
function fn_egov_get_list(){
var varForm = document.getElementById("batchSchdul");
varForm.action = "<c:url value='/_mngr_/bat/getBatchSchdulList.do'/>";
varForm.submit()
}
//저장처리화면
function fn_egov_save(){
var varForm = document.getElementById("batchSchdul");
varForm.action = "<c:url value='/_mngr_/bat/addBatchSchdul.do'/>";
if(!confirm("<spring:message code='common.save.msg' />") ){
return ;
}
// 실행스케줄일자 validation체크
if (varForm.executCycle.value == "02") {
var i = 0;
for (i = 0 ; i < varForm.executSchdulDfkSes.length; i++) {
if (batchSchdul.executSchdulDfkSes[i].checked == true) {
break;
}
}
if (i == varForm.executSchdulDfkSes.length) {
alert("실행주기를 매주로 선택했을 때 요일은 필수 입력값입니다.");
return ;
}
}
if (varForm.executCycle.value == "03") {
if (varForm.executSchdulDay.value == "") {
alert("실행주기가 매월일때 실행스케줄일은(는) 필수 입력값입니다.");
return ;
}
}
/* if (varForm.executCycle.value == "04") {
if (varForm.executSchdulMonth.value == "") {
alert("실행주기가 매년일때 실행스케줄월은(는) 필수 입력값입니다.");
return ;
}
if (varForm.executSchdulDay.value == "") {
alert("실행주기가 매년일때 실행스케줄일은(는) 필수 입력값입니다.");
return ;
}
// 2월 29일도 입력가능하도록 윤년인 해를 년도값으로 사용
if (!checkDate('0400', varForm.executSchdulMonth.value, varForm.executSchdulDay.value, "실행스케줄월, 일이 유효하지 않습니다.")) {
return ;
}
} */
/* if ( varForm.executCycle.value == "05" ) {
// 스케줄주기가 한번만일때 스케줄일자값이 존재해야 한다.
if (varForm.executSchdulDeNm.value == "") {
alert("실행주기가 한번만일때 실행스케줄일자은(는) 필수 입력값입니다.");
return ;
}
if (!isDate(varForm.executSchdulDeNm.value, "실행스케줄일자가 유효하지 않습니다.")) {
return ;
}
} */
/* 폼전송 데이타 조립. */
var executSchdulDe = "";
if (varForm.executCycle.value == "03") {
executSchdulDe = '0000' + '00' + varForm.executSchdulDay.value;
} /* else if (varForm.executCycle.value == "04") {
executSchdulDe = '0000' + varForm.executSchdulMonth.value + varForm.executSchdulDay.value;
} else if ( varForm.executCycle.value == "05" ) {
executSchdulDe = varForm.executSchdulDeNm.value;
executSchdulDe = fn_egov_remove_string(executSchdulDe,"-");
} */
varForm.executSchdulDe.value = executSchdulDe;
if(!validateBatchSchdul(varForm)){
return;
}else{
varForm.submit();
}
}
//배치작업목록조회 팝업화면
function fn_egov_popup_batch_opert_list(){
var retVal;
var url = "<c:url value='/_mngr_/bat/getBatchOpertListPopup.do'/>";
var openParam = "dialogWidth: 1200px; dialogHeight: 570px; resizable: 0; scroll: 1; center: 1";
retVal = window.showModalDialog(url,window,openParam);
}
//executCycle onChange 이벤트 핸들러
function fn_egov_executCycleOnChange() {
var varForm = document.getElementById("batchSchdul");
var i = 0;
if (varForm.executCycle.value == "01") {
// 실행주기가 매일인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, true, true, true);
fn_egov_clearExecutSchdulValue(true, true, true, true, false, false, false);
} else if (varForm.executCycle.value == "02") {
// 실행주기가 매주인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, true, true, true, true);
fn_egov_clearExecutSchdulValue(true, true, true, false, false, false, false);
} else if (varForm.executCycle.value == "03") {
// 실행주기가 매월인 경우
fn_egov_displayExecutSchdulSpan(false, false, true, false, true, true, true);
fn_egov_clearExecutSchdulValue(true, true, false, true, false, false, false);
/* } else if (varForm.executCycle.value == "04") {
// 실행주기가 매년인 경우
fn_egov_displayExecutSchdulSpan(false, true, true, false, true);
fn_egov_clearExecutSchdulValue(true, false, false, true, false);
} else if (varForm.executCycle.value == "05") {
// 실행주기가 한번만인 경우
fn_egov_displayExecutSchdulSpan(true, false, false, false, true);
fn_egov_clearExecutSchdulValue(false, true, true, true, false); */
} else if (varForm.executCycle.value == "04") {
// 실행주기가 매초인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, false, true);
fn_egov_clearExecutSchdulValue(true, false, false, true, true, true, false);
} else if (varForm.executCycle.value == "05") {
// 실행주기가 매분인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, true, true);
fn_egov_clearExecutSchdulValue(false, true, true, true, true, false, false);
} else if (varForm.executCycle.value == "06") {
// 실행주기가 분간격인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, true, false);
fn_egov_clearExecutSchdulValue(false, true, true, true, true, false, true);
} else if (varForm.executCycle.value == "07") {
// 실행주기가 초간격인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, false, true);
fn_egov_clearExecutSchdulValue(true, false, false, true, true, true, false);
}
}
//실행스케줄관련 SPAN Visibility 조절 함수
function fn_egov_displayExecutSchdulSpan(bYyyyMMdd, bMonth, bDay, bDfk, bHH, bMM, bSS) {
if (bYyyyMMdd) {
spnYyyyMMdd.style.visibility ="visible";
spnYyyyMMdd.style.display ="inline";
} else {
spnYyyyMMdd.style.visibility ="hidden";
spnYyyyMMdd.style.display ="none";
}
if (bMonth) {
spnMonth.style.visibility ="visible";
spnMonth.style.display ="inline";
} else {
spnMonth.style.visibility ="hidden";
spnMonth.style.display ="none";
}
if (bDay) {
spnDay.style.visibility ="visible";
spnDay.style.display ="inline";
} else {
spnDay.style.visibility ="hidden";
spnDay.style.display ="none";
}
if (bDfk) {
spnDfk.style.visibility ="visible";
spnDfk.style.display ="inline";
} else {
spnDfk.style.visibility ="hidden";
spnDfk.style.display ="none";
}
if (bHH) {
spnHH.style.visibility ="visible";
spnHH.style.display ="inline";
} else {
spnHH.style.visibility ="hidden";
spnHH.style.display ="none";
}
if (bMM) {
spnMM.style.visibility ="visible";
spnMM.style.display ="inline";
} else {
spnMM.style.visibility ="hidden";
spnMM.style.display ="none";
}
if (bSS) {
spnSS.style.visibility ="visible";
spnSS.style.display ="inline";
} else {
spnSS.style.visibility ="hidden";
spnSS.style.display ="none";
}
}
//실행스케줄관련 컴포넌트 값 clear 함수
function fn_egov_clearExecutSchdulValue(bYyyyMMdd, bMonth, bDay, bDfk, bHH, bMM, bSS) {
if (bYyyyMMdd) {
executSchdulDeNm = "";
}
if (bMonth) {
batchSchdul.executSchdulMonth[0].selected = true;
}
if (bDay) {
batchSchdul.executSchdulDay[0].selected = true;
}
if (bDfk) {
// 실행스케줄 요일 값 클리어
for (var i = 0 ; i < batchSchdul.executSchdulDfkSes.length; i++) {
batchSchdul.executSchdulDfkSes[i].checked = false;
}
}
if (bHH) {
batchSchdul.executSchdulHour[0].selected = true;
}
if (bMM) {
batchSchdul.executSchdulMnt[0].selected = true;
}
if (bSS) {
batchSchdul.executSchdulSecnd[0].selected = true;
}
}
//]]>
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치/스케줄 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치/스케줄 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form:form commandName="batchSchdul" action="<c:url value='/_mngr_/bat/addBatchSchdul.do'/>" method="post">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="batchOpertDiv" value="<c:out value='${searchVO.batchOpertDiv}'/>">
<input type="hidden" name="cycleCode" value="<c:out value='${searchVO.cycleCode}'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<input type="hidden" name="executSchdulDe" value="<c:out value='${batchSchdul.executSchdulDe}'/>"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchOpertId">배치작업ID*</label></th>
<td>
<div class="form-inline">
<form:input path="batchOpertId" size="20" maxlength="20" readonly="true" class="form-control input-sm f-wd-200 required"/>
<form:errors path="batchOpertId" cssClass="error" />
<a href="#LINK" onClick="javascript:fn_egov_popup_batch_opert_list(); return false;" style="selector-dummy: expression(this.hideFocus=false);">
<img src="<c:url value='/images/egovframework/com/cmm/icon/search2.gif' />" width="15" height="15" style="vertical-align: middle" alt="배치작업조회팝업 제공">
</a>
</div>
</td>
</tr>
<tr>
<th class="t"><label for="batchOpertNm">배치작업명</label></th>
<td>
<form:input path="batchOpertNm" size="60" maxlength="60" readonly="true" class="form-control input-sm f-wd-400"/>
<form:errors path="batchOpertNm" cssClass="error" />
</td>
</tr>
<tr>
<th class="t"><label for="executCycle">실행주기*</label></th>
<td>
<div class="col-sm-12 form-inline">
<form:select path="executCycle" onchange="javascript:fn_egov_executCycleOnChange(); return false;" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executCycleList}" itemValue="code" itemLabel="codeNm"/>
</form:select>
<form:errors path="executCycle" cssClass="error"/>
<span id="spnYyyyMMdd">
<input type="hidden" name="cal_url" id="cal_url" value="<c:url value='/sym/cal/EgovNormalCalPopup.do'/>" >
<input name="executSchdulDeNm" id="executSchdulDeNm" type="text" size="10" maxlength="10" title="실행스케줄일자" readonly="readonly" class="form-control input-sm f-wd-100 required">
<a href="#LINK" onClick="javascript:fn_egov_NormalCalendar( batchSchdul,'', batchSchdul.executSchdulDeNm ); return false;">
<img src="<c:url value='/images/egovframework/com/sym/cal/bu_icon_carlendar.gif'/>" style="vertical-align: middle; border:0px" alt="달력창팝업버튼이미지">
</a>
</span>
<span id="spnMonth">
<select name="executSchdulMonth" id="executSchdulMonth" title="실행스케줄월" class="form-control input-sm f-wd-80">
<option value="" selected="selected" >선택</option>
<c:forEach var="i" begin="1" end="12" step="1">
<c:if test="${i < 10}"><option value="0${i}">0${i}</option></c:if>
<c:if test="${i >= 10}"><option value="${i}">${i}</option></c:if>
</c:forEach>
</select>
</span>
<span id="spnDay">
<select name="executSchdulDay" id="executSchdulDay" title="실행스케줄일" class="form-control input-sm f-wd-80">
<option value="" selected="selected">선택</option>
<c:forEach var="i" begin="1" end="31" step="1">
<c:if test="${i < 10}"><option value="0${i}">0${i}</option></c:if>
<c:if test="${i >= 10}"><option value="${i}">${i}</option></c:if>
</c:forEach>
</select>
</span>
<span id="spnDfk">
<form:checkboxes path="executSchdulDfkSes" items="${executSchdulDfkSeList}" itemValue="code" itemLabel="codeNm" cssClass="check2" cssStyle="padding:0px; vertical-align : middle;"/>
<form:errors path="executSchdulDfkSes" cssClass="error"/>
</span>
<span id="spnHH">
<form:select path="executSchdulHour" title="실행스케줄시" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executSchdulHourList}" />
</form:select>
<form:errors path="executSchdulHour" cssClass="error"/>
</span>
<span id="spnMM">
<form:select path="executSchdulMnt" title="실행스케줄분" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executSchdulMntList}" />
</form:select>
<form:errors path="executSchdulMnt" cssClass="error"/>
</span>
<span id="spnSS">
<form:select path="executSchdulSecnd" title="실행스케줄초" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executSchdulSecndList}" />
</form:select>
<form:errors path="executSchdulSecnd" cssClass="error"/>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<input type="submit" value="<spring:message code="button.save" />" onclick="fn_egov_save(); return false;" class="btn btn-primary btn-sm">
<a href="<c:url value='/_mngr_/bat/getBatchSchdulList.do'></c:url>" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form:form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batSchdul');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,468 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @파일명 : EgovBatchSchdulUpdt.jsp
* @파일정보 : 배치/스케줄 수정
* @수정이력
* @수정자 수정일 수정내용
* @------- ------------ ----------------
* @woonee 2018. 10. 10. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do" ></c:import>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.core-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.excheck-3.5.js"></script>
<script type="text/javascript" src="/resource/common/jquery_plugin/zTree/jquery.ztree.exedit-3.5.js"></script>
<meta http-equiv="content-type" content="text/html; charset=utf-8" >
<%-- <link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css"> --%>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/sym/cal/EgovCalPopup.js' />"></script>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/utl/EgovCmmUtl.js' />"></script>
<validator:javascript formName="batchSchdul" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
//<[[!CDATA[
$(document).ready(function() {
fn_egov_init();
});
function fn_egov_init(){
var varForm = document.getElementById("batchSchdul");
var executSchdulMonth = varForm.executSchdulDe.value.substring(4,6);
var executSchdulDay = varForm.executSchdulDe.value.substring(6,8);
for (var i = 0; i < varForm.executSchdulMonth.length; i++) {
if (varForm.executSchdulMonth[i].value == executSchdulMonth) {
varForm.executSchdulMonth[i].selected = true;
break;
}
}
for (var i = 0; i < varForm.executSchdulDay.length; i++) {
if (varForm.executSchdulDay[i].value == executSchdulDay) {
varForm.executSchdulDay[i].selected = true;
break;
}
}
/* if ( varForm.executCycle.value == "05" ) {
// 실행주기가 한번만일때 실행스케줄일자값 설정.
varForm.executSchdulDeNm.value = varForm.executSchdulDe.value.substring(0,4) + '-' + varForm.executSchdulDe.value.substring(4,6) + '-' + varForm.executSchdulDe.value.substring(6,8);
} */
fn_egov_executCycleOnChange();
}
//* 입력받은문자열중에서 제거 문자열을 제외 문자열을 리턴한다.
function fn_egov_remove_string(srcStr, cndStr) {
var result = null;
var rtnStr = null;
for (var i = 0; i < srcStr.length; i++) {
if (srcStr.charAt(i) == cndStr) {
result = srcStr.substring(0, i);
// 첫번째 제거 문자열을 제외한 전체 문자열
srcStr = result + srcStr.substring(i+1, srcStr.length);
// 최종변환 문자열
rtnStr = srcStr;
}
}
return rtnStr;
}
function fn_goList(){
var varForm = document.getElementById("batchSchdul");
varForm.action = "<c:url value='/_mngr_/bat/getBatchSchdulList.do'/>";
varForm.submit();
}
function fn_egov_save(){
var varForm = document.getElementById("batchSchdul");
varForm.action = "<c:url value='/_mngr_/bat/updateBatchSchdul.do'/>";
if(!confirm("<spring:message code='common.save.msg' />") ){
return ;
}
// 실행스케줄일자 validation체크
if (varForm.executCycle.value == "02") {
var i = 0;
for (i = 0 ; i < varForm.executSchdulDfkSes.length; i++) {
if (batchSchdul.executSchdulDfkSes[i].checked == true) {
break;
}
}
if (i == varForm.executSchdulDfkSes.length) {
alert("실행주기를 매주로 선택했을 때 요일은 필수 입력값입니다.");
return ;
}
}
if (varForm.executCycle.value == "03") {
if (varForm.executSchdulDay.value == "") {
alert("실행주기가 매월일때 실행스케줄일은(는) 필수 입력값입니다.");
return ;
}
}
/* if (varForm.executCycle.value == "04") {
if (varForm.executSchdulMonth.value == "") {
alert("실행주기가 매년일때 실행스케줄월은(는) 필수 입력값입니다.");
return ;
}
if (varForm.executSchdulDay.value == "") {
alert("실행주기가 매년일때 실행스케줄일은(는) 필수 입력값입니다.");
return ;
}
// 2월 29일도 입력가능하도록 윤년인 해를 년도값으로 사용
if (!checkDate('0400', varForm.executSchdulMonth.value, varForm.executSchdulDay.value, "실행스케줄월, 일이 유효하지 않습니다.")) {
return ;
}
} */
/* if ( varForm.executCycle.value == "05" ) {
// 스케줄주기가 한번만일때 스케줄일자값이 존재해야 한다.
if (varForm.executSchdulDeNm.value == "") {
alert("실행주기가 한번만일때 실행스케줄일자은(는) 필수 입력값입니다.");
return ;
}
if (!isDate(varForm.executSchdulDeNm.value, "실행스케줄일자가 유효하지 않습니다.")) {
return ;
}
} */
/* 폼전송 데이타 조립. */
var executSchdulDe = "";
if (varForm.executCycle.value == "03") {
executSchdulDe = '0000' + '00' + varForm.executSchdulDay.value;
/* } else if (varForm.executCycle.value == "04") {
executSchdulDe = '0000' + varForm.executSchdulMonth.value + varForm.executSchdulDay.value;
} else if ( varForm.executCycle.value == "05" ) {
executSchdulDe = varForm.executSchdulDeNm.value;
executSchdulDe = fn_egov_remove_string(executSchdulDe,"-"); */
}
varForm.executSchdulDe.value = executSchdulDe;
if(!validateBatchSchdul(varForm)){
return;
}else{
varForm.submit();
}
}
//배치작업목록조회 팝업화면
function fn_egov_popup_batch_opert_list(){
var retVal;
var url = "<c:url value='/_mngr_/bat/getBatchOpertListPopup.do'/>";
var openParam = "dialogWidth: 1200px; dialogHeight: 570px; resizable: 0; scroll: 1; center: 1";
retVal = window.showModalDialog(url,window,openParam);
}
//executCycle onChange 이벤트 핸들러
function fn_egov_executCycleOnChange() {
var varForm = document.getElementById("batchSchdul");
var i = 0;
if (varForm.executCycle.value == "01") {
// 실행주기가 매일인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, true, true, true);
fn_egov_clearExecutSchdulValue(true, true, true, true, false, false, false);
} else if (varForm.executCycle.value == "02") {
// 실행주기가 매주인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, true, true, true, true);
fn_egov_clearExecutSchdulValue(true, true, true, false, false, false, false);
} else if (varForm.executCycle.value == "03") {
// 실행주기가 매월인 경우
fn_egov_displayExecutSchdulSpan(false, false, true, false, true, true, true);
fn_egov_clearExecutSchdulValue(true, true, false, true, false, false, false);
/* } else if (varForm.executCycle.value == "04") {
// 실행주기가 매년인 경우
fn_egov_displayExecutSchdulSpan(false, true, true, false, true);
fn_egov_clearExecutSchdulValue(true, false, false, true, false);
} else if (varForm.executCycle.value == "05") {
// 실행주기가 한번만인 경우
fn_egov_displayExecutSchdulSpan(true, false, false, false, true);
fn_egov_clearExecutSchdulValue(false, true, true, true, false); */
} else if (varForm.executCycle.value == "04") {
// 실행주기가 매초인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, false, true);
fn_egov_clearExecutSchdulValue(true, false, false, true, true, true, false);
} else if (varForm.executCycle.value == "05") {
// 실행주기가 매분인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, true, true);
fn_egov_clearExecutSchdulValue(false, true, true, true, true, false, false);
} else if (varForm.executCycle.value == "06") {
// 실행주기가 분간격인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, true, false);
fn_egov_clearExecutSchdulValue(false, true, true, true, true, false, true);
} else if (varForm.executCycle.value == "07") {
// 실행주기가 초간격인 경우
fn_egov_displayExecutSchdulSpan(false, false, false, false, false, false, true);
fn_egov_clearExecutSchdulValue(true, false, false, true, true, true, false);
}
}
//실행스케줄관련 SPAN Visibility 조절 함수
function fn_egov_displayExecutSchdulSpan(bYyyyMMdd, bMonth, bDay, bDfk, bHH, bMM, bSS) {
if (bYyyyMMdd) {
spnYyyyMMdd.style.visibility ="visible";
spnYyyyMMdd.style.display ="inline";
} else {
spnYyyyMMdd.style.visibility ="hidden";
spnYyyyMMdd.style.display ="none";
}
if (bMonth) {
spnMonth.style.visibility ="visible";
spnMonth.style.display ="inline";
} else {
spnMonth.style.visibility ="hidden";
spnMonth.style.display ="none";
}
if (bDay) {
spnDay.style.visibility ="visible";
spnDay.style.display ="inline";
} else {
spnDay.style.visibility ="hidden";
spnDay.style.display ="none";
}
if (bDfk) {
spnDfk.style.visibility ="visible";
spnDfk.style.display ="inline";
} else {
spnDfk.style.visibility ="hidden";
spnDfk.style.display ="none";
}
if (bHH) {
spnHH.style.visibility ="visible";
spnHH.style.display ="inline";
} else {
spnHH.style.visibility ="hidden";
spnHH.style.display ="none";
}
if (bMM) {
spnMM.style.visibility ="visible";
spnMM.style.display ="inline";
} else {
spnMM.style.visibility ="hidden";
spnMM.style.display ="none";
}
if (bSS) {
spnSS.style.visibility ="visible";
spnSS.style.display ="inline";
} else {
spnSS.style.visibility ="hidden";
spnSS.style.display ="none";
}
}
//실행스케줄관련 컴포넌트 값 clear 함수
function fn_egov_clearExecutSchdulValue(bYyyyMMdd, bMonth, bDay, bDfk, bHH, bMM, bSS) {
if (bYyyyMMdd) {
executSchdulDeNm = "";
}
if (bMonth) {
batchSchdul.executSchdulMonth[0].selected = true;
}
if (bDay) {
batchSchdul.executSchdulDay[0].selected = true;
}
if (bDfk) {
// 실행스케줄 요일 값 클리어
for (var i = 0 ; i < batchSchdul.executSchdulDfkSes.length; i++) {
batchSchdul.executSchdulDfkSes[i].checked = false;
}
}
if (bHH) {
batchSchdul.executSchdulHour[0].selected = true;
}
if (bMM) {
batchSchdul.executSchdulMnt[0].selected = true;
}
if (bSS) {
batchSchdul.executSchdulSecnd[0].selected = true;
}
}
//]]>
</script>
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치/스케줄 관리</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li>배치/스케줄 관리</li>
<li class="active">배치/스케줄 관리</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<form:form commandName="batchSchdul" id="batchSchdul" action="/_mngr_/bat/updateBatchSchdul.do" method="post" class="form-horizontal">
<input type="hidden" name="searchCondition" value="<c:out value='${searchVO.searchCondition}'/>"/>
<input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>"/>
<input type="hidden" name="batchOpertDiv" value="<c:out value='${searchVO.batchOpertDiv}'/>">
<input type="hidden" name="cycleCode" value="<c:out value='${searchVO.cycleCode}'/>">
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}' default="1"/>"/>
<input type="hidden" name="executSchdulDe" value="<c:out value='${batchSchdul.executSchdulDe}'/>"/>
<div class="row">
<div class="col-md-12">
<div class="box">
<!-- <div class="box-header with-border"><h3 class="box-title">Title</h3></div> -->
<div class="box-body">
<div class="row">
<div class="col-xs-12 table-responsive">
<table class="table table-bordered tp2">
<colgroup>
<col style="width:15%"/>
<col style="width:*"/>
</colgroup>
<tbody>
<tr>
<th class="t"><label for="batchSchdulId">배치스케줄ID</label></th>
<td>
<form:input path="batchSchdulId" size="20" readonly="true" class="form-control input-sm f-wd-200"/>
<form:errors path="batchSchdulId" cssClass="error" />
</td>
</tr>
<tr>
<th class="t"><label for="batchSchdulNm">배치작업ID*</label></th>
<td>
<div class="form-inline">
<form:input path="batchOpertId" size="20" readonly="true" class="form-control input-sm f-wd-200 required"/>
<form:errors path="batchOpertId" cssClass="error" />
<a href="#LINK" onClick="javascript:fn_egov_popup_batch_opert_list(); return false;" style="selector-dummy: expression(this.hideFocus=false);">
<img src="<c:url value='/images/egovframework/com/cmm/icon/search2.gif' />" width="15" height="15" style="vertical-align: middle" alt="배치작업조회팝업 제공">
</a>
</div>
</td>
</tr>
<tr>
<th class="t"><label for="batchOpertNm">배치작업명</label></th>
<td>
<form:input path="batchOpertNm" size="60" readonly="true" class="form-control input-sm f-wd-400"/>
<form:errors path="batchOpertNm" cssClass="error" />
</td>
</tr>
<tr>
<th class="t"><label for="paramtr">실행주기</label></th>
<td>
<div class="col-sm-12 form-inline">
<form:select path="executCycle" onchange="javascript:fn_egov_executCycleOnChange(); return false;" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executCycleList}" itemValue="code" itemLabel="codeNm"/>
</form:select>
<form:errors path="executCycle" cssClass="error"/>
<span id="spnYyyyMMdd">
<input type="hidden" name="cal_url" id="cal_url" value="<c:url value='/sym/cal/EgovNormalCalPopup.do'/>" >
<input name="executSchdulDeNm" id="executSchdulDeNm" type="text" size="10" maxlength="10" title="실행스케줄일자" readonly="readonly" class="form-control input-sm f-wd-100 required">
<a href="#LINK" onClick="javascript:fn_egov_NormalCalendar( batchSchdul,'', batchSchdul.executSchdulDeNm ); return false;">
<img src="/images/egovframework/com/sym/cal/bu_icon_carlendar.gif" style="vertical-align: middle; border:0px" alt="달력창팝업버튼이미지">
</a>
</span>
<span id="spnMonth">
<select name="executSchdulMonth" id="executSchdulMonth" title="실행스케줄월" class="form-control input-sm f-wd-80">
<option value="" selected="selected" >선택</option>
<c:forEach var="i" begin="1" end="12" step="1">
<c:if test="${i < 10}"><option value="0${i}">0${i}</option></c:if>
<c:if test="${i >= 10}"><option value="${i}">${i}</option></c:if>
</c:forEach>
</select>
</span>
<span id="spnDay">
<select name="executSchdulDay" id="executSchdulDay" title="실행스케줄일" class="form-control input-sm f-wd-80">
<option value="" selected="selected">선택</option>
<c:forEach var="i" begin="1" end="31" step="1">
<c:if test="${i < 10}"><option value="0${i}">0${i}</option></c:if>
<c:if test="${i >= 10}"><option value="${i}">${i}</option></c:if>
</c:forEach>
</select>
</span>
<span id="spnDfk">
<form:checkboxes path="executSchdulDfkSes" items="${executSchdulDfkSeList}" itemValue="code" itemLabel="codeNm" cssClass="check2" cssStyle="padding:0px; vertical-align : middle;"/>
<form:errors path="executSchdulDfkSes" cssClass="error"/>
</span>
<span id="spnHH">
<form:select path="executSchdulHour" title="실행스케줄시" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executSchdulHourList}" />
</form:select>
<form:errors path="executSchdulHour" cssClass="error"/>
</span>
<span id="spnMM">
<form:select path="executSchdulMnt" title="실행스케줄분" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executSchdulMntList}" />
</form:select>
<form:errors path="executSchdulMnt" cssClass="error"/>
</span>
<span id="spnSS">
<form:select path="executSchdulSecnd" title="실행스케줄초" cssStyle="padding:0px" class="form-control input-sm f-wd-60">
<form:options items="${executSchdulSecndList}" />
</form:select>
<form:errors path="executSchdulSecnd" cssClass="error"/>
</span>
</div>
</td>
</tr>
</tbody>
</table>
</div><!-- /.col -->
</div>
</div>
<div class="box-footer">
<div class="pull-right">
<input type="submit" value="<spring:message code="button.save" />" onclick="fn_egov_save(); return false;" class="btn btn-primary btn-sm">
<a href="<c:url value='/_mngr_/bat/getBatchSchdulList.do'></c:url>" onclick="fn_goList(); return false;" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</div>
</div>
</div>
</form:form>
</section><!-- /.content -->
</div><!-- /.content-wrapper -->
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_BATCH','LEFT_batSchdul');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,558 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%
/**
* @파일명 : EgovBatchStatsView.jsp
* @파일정보 : 배치 결과 통계 화면
* @수정이력
* @수정자 수정일 수정내용
* @---------------------------------------
* @ldg 2018. 11. 16. 최초생성
* @---------------------------------------
* @author (주)XIT sanguri
* @since 2009. 01.14
* @version 1.0 Copyright (C) ITGOOD All right reserved.
*/
%>
<c:import url="/_mngr_/_include/mngrInclude_HEADER.do"></c:import>
<!-- Content Wrapper. Contains page content -->
<div class="content-wrapper">
<!-- Content Header (Page header) -->
<section class="content-header">
<h1>배치 결과 통계</h1>
<ol class="breadcrumb">
<li><a href="#"><i class="fa fa-home"></i> Home</a></li>
<li><a href="#">통계관리</a></li>
<li class="active">배치 결과 통계</li>
</ol>
</section>
<!-- Main content -->
<section class="content">
<div class="row">
<div class="col-md-12">
<div class="box box-primary">
<div class="box-header with-border">
<h3 class="box-title">
<c:choose>
<c:when test="${searchVO.schOption == 'DAY_M'}">${searchVO.schDate}월 배치 결과 통계</c:when>
<c:when test="${searchVO.schOption == 'MONTH'}">${searchVO.schDate}년 배치 결과 통계</c:when>
<c:when test="${searchVO.schOption == 'YEAR'}">${searchVO.schDate}년간 배치 결과 통계</c:when>
</c:choose>
</h3>
</div>
<!-- /.box-header -->
<div class="box-body">
<form name="listForm" method="post" onsubmit="fn_search(); return false;">
<!-- <input type="hidden" name="schDateFrom" />
<input type="hidden" name="schDateEnd" /> -->
<div class="row margin-bottom">
<div class="col-sm-12 form-inline" id="searchBox">
<label for="schOption" class="sr-only">검색조건</label>
<select name="schOption" id="schOption" class="form-control">
<option value="DAY_M" ${ufn:selected(searchVO.schOption, 'DAY_M') }>일별</option>
<option value="MONTH" ${ufn:selected(searchVO.schOption, 'MONTH') }>월별</option>
<option value="YEAR" ${ufn:selected(searchVO.schOption, 'YEAR') }>년도별</option>
</select>
<%-- <div class="input-daterange input-group" id="datepicker">
<input type="text" class="form-control" name="start" readOnly value="${searchVO.schDateFrom}" />
<span class="input-group-addon">~</span>
<input type="text" class="form-control" name="end" readOnly value="${searchVO.schDateEnd}" />
<span class="input-group-btn"><button class="btn btn-primary" type="button" onclick="fn_search(); return false;">조회</button></span>
</div> --%>
<div class="input-group date">
<input type="text" class="form-control" name="schDate" readOnly value="${searchVO.schDate}"><span class="input-group-addon"><i class="glyphicon glyphicon-th"></i></span>
</div>
<span class="pull-right"><button class="btn btn-block btn-default" onclick="getExcel(); return false;">엑셀다운로드</button></span>
</div>
</div>
</form>
</div>
<!-- /.box-body -->
</form>
</div>
<div class="box">
<div class="box-header with-border">
<span><i class="fa fa-circle-o text-light-blue"></i> 배치 결과 총 <i id="cnt"></i> 건</span>
<span class="pull-right">(단위 : 건)</span>
</div>
<div class="box-body">
<div class="row">
<div class="col-sm-12">
<div class="nav-tabs-custom">
<ul class="nav nav-tabs">
<li class="active"><a href="#dataChart" data-toggle="tab" aria-expanded="false">차트</a></li>
<li><a href="#dataTable" data-toggle="tab" aria-expanded="true">표</a></li>
</ul>
<div class="tab-content">
<div class="tab-pane active" id="dataChart">
<div class="box box-info">
<div class="box-header with-border">
<h5>
<c:choose>
<c:when test="${searchVO.schOption == 'DAY_M'}">${searchVO.schDate}월 배치 결과 통계</c:when>
<c:when test="${searchVO.schOption == 'MONTH'}">${searchVO.schDate}년 배치 결과 통계</c:when>
<c:when test="${searchVO.schOption == 'YEAR'}">${searchVO.schDate}년간 배치 결과 통계</c:when>
</c:choose>
</h5>
</div>
<div class="box-body chart-responsive">
<div class="chart" id="date-chart" style="position: relative; height: 300px; width: 100%;"></div>
</div>
</div>
<div class="box box-primary">
<div class="box-header with-border">
<h5>누적 배치 결과 건 수 차트</h5>
</div>
<div class="box-body chart-responsive">
<div class="chart" id="total-chart" style="position: relative; height: 300px; width: 100%;"></div>
</div>
</div>
</div>
<div class="tab-pane" id="dataTable">
<table id="example1" class="table table-bordered table-striped">
<colgroup>
<col width="20%">
<col width="20%">
<%-- <col width="16%">
<col width="12%">
<col width="12%"> --%>
<col width="15%">
<col width="15%">
<col width="15%">
<col width="15%">
</colgroup>
<thead>
<tr>
<th scope="col" rowspan="2">
<c:choose>
<c:when test="${searchVO.schOption == 'DAY_M'}">일</c:when>
<c:when test="${searchVO.schOption == 'MONTH'}">월</c:when>
<c:when test="${searchVO.schOption == 'YEAR'}">년도</c:when>
</c:choose>
</th>
<!-- <th scope="col" rowspan="2">누적 건수</th> -->
<th scope="col" rowspan="2">계</th>
<th scope="col" colspan="2">메소드</th>
<th scope="col" colspan="2">배치프로그램</th>
</tr>
<tr>
<th scope="col">정상</th>
<th scope="col">비정상</th>
<th scope="col">정상</th>
<th scope="col">비정상</th>
</tr>
</thead>
<tbody>
<c:set var="totcnt" value="0" />
<c:set var="maxValue" value="0" />
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:set var="maxValue" value="${maxValue < result.cntSum ? result.cntSum :maxValue}" />
<c:choose>
<c:when test="${searchVO.schOption ne 'DAY_W'}"><c:set var="date" value="${result.cntDate}" /></c:when>
<c:otherwise><c:set var="date" value="${result.etc}" /></c:otherwise>
</c:choose>
<c:choose>
<c:when test="${searchVO.schOption == 'DAY_M'}"><c:set var="maxEnd" value="31" /></c:when>
<c:when test="${searchVO.schOption == 'MONTH'}"><c:set var="maxEnd" value="12" /></c:when>
<c:when test="${searchVO.schOption == 'YEAR'}"><c:set var="maxEnd" value="${searchVO.schDate}" /></c:when>
</c:choose>
<!-- S : 결과 리스트에 없는 데이터 출력 : 앞부분 31 -->
<c:if test="${searchVO.schOption ne 'YEAR'}">
<c:if test="${status.count eq 1}">
<c:set var="begin" value="1" />
<c:set var="end" value="${date-1}" />
<c:if test="${end>=0}">
<c:forEach var="i" begin="${begin}" end="${end}" step="1">
<tr>
<td>
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
<c:if test="${(i)<10}">0</c:if><c:out value="${i} ~ " />
<c:if test="${(i+1)<10}">0</c:if><c:out value="${i+1}" /></td>
</c:when>
<c:otherwise>
<c:if test="${(i)<10}">0</c:if><c:out value="${i}" /></td>
</c:otherwise>
</c:choose>
</td>
<%-- <td><c:out value="${totcnt}" /></td> --%>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</c:forEach>
</c:if>
</c:if>
<c:if test="${status.count ne 1}">
<c:set var="end" value="${date-1}" />
<c:if test="${end>=0}">
<c:forEach var="i" begin="${begin}" end="${end}" step="1">
<tr>
<td>
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
<c:if test="${(i)<10}">0</c:if><c:out value="${i} ~ " />
<c:if test="${(i+1)<10}">0</c:if><c:out value="${i+1}" /></td>
</c:when>
<c:otherwise>
<c:if test="${(i)<10}">0</c:if><c:out value="${i}" /></td>
</c:otherwise>
</c:choose>
</td>
<%-- <td><c:out value="${totcnt}" /></td> --%>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</c:forEach>
</c:if>
</c:if>
</c:if>
<!-- E : 결과 리스트에 없는 데이터 출력 : 앞부분 -->
<!-- S : 결과 리스트-->
<tr>
<td>
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
<c:out value="${date} ~ " /><c:if test="${date<10}">0</c:if><c:out value="${date+1}" />
</c:when>
<c:otherwise>
<c:out value="${date}" />
</c:otherwise>
</c:choose>
</td>
<c:set var="totcnt" value="${totcnt+result.cntSum}" />
<c:set var="totcnt" value="${totcnt}" />
<%-- <td><c:out value="${totcnt}" /></td> --%>
<td><c:out value="${result.cntSum}" /></td>
<td><c:out value="${result.cntMethodSucc}" /></td>
<td><c:out value="${result.cntMethodFail}" /></td>
<td><c:out value="${result.cntBatchSucc}" /></td>
<td><c:out value="${result.cntBatchFail}" /></td>
</tr>
<!-- E : 결과 리스트-->
<!-- S : 결과 리스트에 없는 데이터 출력 : 뒷부분 -->
<c:if test="${(date ne maxEnd) && (fn:length(resultList) eq status.count)}">
<c:set var="begin" value="${date+1}" />
<c:set var="end" value="${maxEnd}" />
<c:forEach var="i" begin="${begin}" end="${end}" step="1">
<tr>
<td>
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
<c:if test="${(i)<10}">0</c:if><c:out value="${i} ~ " />
<c:if test="${(i+1)<10}">0</c:if><c:out value="${i+1}" /></td>
</c:when>
<c:otherwise>
<c:if test="${(i)<10}">0</c:if><c:out value="${i}" /></td>
</c:otherwise>
</c:choose>
</td>
<%-- <td><c:out value="${totcnt}" /></td> --%>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
<td>0</td>
</tr>
</c:forEach>
</c:if>
<c:set var="begin" value="${date+1}" />
<!-- E : 결과 리스트에 없는 데이터 출력 : 뒷부분 -->
</c:forEach>
<c:if test="${fn:length(resultList ) == 0}">
<tr>
<td colspan="6">데이터가 없습니다.</td>
</tr>
</c:if>
</tbody>
</table>
</div>
</div>
</div>
</div>
<!-- .col-sm-12 -->
</div>
<!-- .row -->
</div>
<!-- /box-body -->
</div>
<!-- /box -->
</div>
<!-- /col -->
</div>
<!-- /row -->
</section>
<!-- /.content -->
</div>
<!-- /.content-wrapper -->
<script type="text/javascript">
//<![CDATA[
var queryString = "${searchVO.query}";
function fn_search() {
var tmpQuery = queryString;
var f = document.listForm;
f.action = "";
f.submit();
}
/* $("#siteCode").change(function() {
var f = document.listForm;
f.start.value = "";
f.end.value = "";
fn_search();
}); */
$("#schOption").change(function() {
var f = document.listForm;
f.schDate.value = "";
fn_search();
});
/* $('#searchBox .input-group.date').change(function() {
fn_search();
}); */
$(function() {
$("#cnt").html('${totcnt}');
$.fn.datepicker.dates['kr'] = {
days : [ "일요일", "월요일", "화요일", "수요일", "목요일", "금요일", "토요일", "일요일" ],
daysShort : [ "일", "월", "화", "수", "목", "금", "토", "일" ],
daysMin : [ "일", "월", "화", "수", "목", "금", "토", "일" ],
months : [ "01", "02", "03", "04", "05", "06", "07", "08", "09", "10", "11", "12" ],
monthsShort : [ "1월", "2월", "3월", "4월", "5월", "6월", "7월", "8월", "9월", "10월", "11월", "12월" ]
};
var schOpt = "${searchVO.schOption}";
if (schOpt == "HOUR") {
$('#searchBox .input-group.date').datepicker({
format : "yyyy-MM-dd",
//startView: 1,
//minViewMode: 1,
endDate : "today",
language : "kr",
autoclose : true,
todayHighlight : true
});
} else if (schOpt == "DAY_M") {
$('#searchBox .input-group.date').datepicker({
format : "yyyy-MM",
endDate : "today",
startView : 1,
minViewMode : 1,
language : "kr",
autoclose : true,
todayHighlight : true
});
}else if(schOpt == "MONTH"){
$('#searchBox .input-group.date').datepicker({
format: "yyyy",
endDate: "today",
startView: 2,
minViewMode: 2,
language: "kr",
autoclose: true,
todayHighlight: true
});
}else{
$('#searchBox .input-group.date').hide();
}
$('.input-group.date').change(function() {
fn_search();
});
});
function getExcel() {
var f = document.listForm;
//f.schDateFrom.value = f.start.value;
//f.schDateEnd.value = f.end.value;
f.action = "mngrBatchStatsExcelDown.do";
f.method = "post";
f.submit();
}
var dateData = [];
var totalData = [];
<c:set var="total" value="0"/>
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:set var="date" value="${result.cntDate}"/>
<c:choose>
<c:when test="${searchVO.schOption == 'HOUR'}"><c:set var="maxEnd" value="23"/></c:when>
<c:when test="${searchVO.schOption == 'DAY_M'}"><c:set var="maxEnd" value="31"/></c:when>
<c:when test="${searchVO.schOption == 'MONTH'}"><c:set var="maxEnd" value="12"/></c:when>
<c:when test="${searchVO.schOption == 'YEAR'}"><c:set var="maxEnd" value="${searchVO.schDateEnd}"/></c:when>
</c:choose>
/* S : 결과 리스트에 없는 데이터 출력 : 앞부분 */
<c:if test="${status.count eq 1}">
<c:if test="${searchVO.schOption eq 'YEAR'}">
<c:set var="begin" value="${searchVO.schDate}"/>
</c:if>
<c:if test="${searchVO.schOption ne 'YEAR'}">
<c:set var ="begin" value="1"/>
</c:if>
<c:set var="end" value="${date-1}"/>
<c:if test="${searchVO.schOption eq 'HOUR'}">
<c:set var="begin" value="0"/>
</c:if>
<c:if test="${end>=0}">
<c:forEach var="i" begin="${begin}" end="${end}" step="1">
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}:00", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}:00", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'MONTH'}">
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}월", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}월", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'YEAR'}">
dateData.push({"y" : "${i}년", "num" : "0"});
totalData.push({"y" : "${i}년", "total" : "${total}"});
</c:when>
<c:otherwise>
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}일", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}일", "total" : "${total}"});
</c:otherwise>
</c:choose>
</c:forEach>
</c:if>
</c:if>
<c:if test="${status.count ne 1}">
<c:set var="end" value="${date-1}"/>
<c:if test="${date>0}">
<c:forEach var="i" begin="${begin}" end="${end}" step="1">
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}:00", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}:00", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'MONTH'}">
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}월", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}월", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'YEAR'}">
dateData.push({"y" : "${i}년", "num" : "0"});
totalData.push({"y" : "${i}년", "total" : "${total}"});
</c:when>
<c:otherwise>
console.log("${i}");
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}일", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}일", "total" : "${total}"});
</c:otherwise>
</c:choose>
</c:forEach>
</c:if>
</c:if>
/* E : 결과 리스트에 없는 데이터 출력 : 앞부분 */
/* S : 결과 리스트 */
<c:set var="total" value="${total+result.cntSum}"/>
<c:set var="date" value="${result.cntDate}"/>
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
dateData.push({"y" : "${date}:00", "num" : "${result.cntSum}"});
totalData.push({"y" : "${date}:00", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'MONTH'}">
dateData.push({"y" : "${result.cntDate}월", "num" : "${result.cntSum}"});
totalData.push({"y" : "${result.cntDate}월", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'YEAR'}">
dateData.push({"y" : "${result.cntDate}년", "num" : "${result.cntSum}"});
totalData.push({"y" : "${result.cntDate}년", "total" : "${total}"});
</c:when>
<c:otherwise>
dateData.push({"y" : "${result.cntDate}일", "num" : "${result.cntSum}"});
totalData.push({"y" : "${result.cntDate}일", "total" : "${total}"});
</c:otherwise>
</c:choose>
/* E : 결과 리스트 */
/* S : 결과 리스트에 없는 데이터 출력 : 뒷부분 */
<c:if test="${(date ne maxEnd) && (fn:length(resultList) eq status.count)}">
<c:set var="begin" value="${date+1}"/>
<c:set var="end" value="${maxEnd}"/>
<c:forEach var="i" begin="${begin}" end="${end}" step="1">
<c:choose>
<c:when test="${searchVO.schOption eq 'HOUR'}">
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}:00", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}:00", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'MONTH'}">
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}월", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}월", "total" : "${total}"});
</c:when>
<c:when test="${searchVO.schOption eq 'YEAR'}">
dateData.push({"y" : "${i}년", "num" : "0"});
totalData.push({"y" : "${i}년", "total" : "${total}"});
</c:when>
<c:otherwise>
dateData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}일", "num" : "0"});
totalData.push({"y" : "<c:if test='${(i)<10}'>0</c:if>${i}일", "total" : "${total}"});
</c:otherwise>
</c:choose>
</c:forEach>
</c:if>
<c:set var="begin" value="${date+1}"/>
/* E : 결과 리스트에 없는 데이터 출력 : 뒷부분 */
</c:forEach>
var maxValue = "${maxValue}";
if (dateData.length > 0) {
var dateBarChart = new Morris.Bar({
element: 'date-chart',
resize: true,
data: dateData,
xkey: 'y',
ykeys: ['num'],
labels: ['배치 결과 수'],
barColors : function (row, series, type) {
if ((maxValue * 0.7) < row.y) {
return "#f56954";
} else if ((maxValue * 0.4) < row.y) {
return "#00a65a";
} else {
return "#a0d0e0";
}
},
hideHover: 'auto'
});
} else {
$('#date-chart').html("<h6 style='text-align:center;'>해당 사이트의 통계 데이터가 존재하지 않습니다.</h6>");
}
if (totalData.length > 0) {
var totalBarChart = new Morris.Bar({
element: 'total-chart',
resize: true,
data: totalData,
xkey: 'y',
ykeys: ['total'],
labels: ['누적'],
barColors: ['#3c8dbc'],
hideHover: 'auto'
});
} else {
$('#total-chart').html("<h6 style='text-align:center;'>해당 사이트의 통계 데이터가 존재하지 않습니다.</h6>");
}
//]]>
</script>
<script type="text/javascript">$(function() {ItgJs.NowPageById('LEFT_STATS','LEFT_STATS_BATCH ');});</script>
<c:import url="/WEB-INF/jsp/egovframework/itgcms/mngr/_include/mngrInclude_FOOTER.jsp" />

@ -0,0 +1,313 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<%@ taglib prefix="cct" uri="/WEB-INF/tlds/CreateCodeTag.tld"%>
<%@ taglib prefix="orderby" uri="/WEB-INF/tlds/orderby.tld" %>
<%@ taglib uri="http://www.egovframe.go.kr/tags/ext/jfile/jsp" prefix="jwork"%>
<div class="calendarWrap">
<div class="month">
<p>
<a href="#"><img
src="${ctx}/resource/common_cms3/img/main/calendar_prev.png"
alt="이전 달력보기"></a>
</p>
<span><strong><c:out value="${currMonth + 1}"/></strong>월</span>
<p>
<a href="#"><img
src="${ctx}/resource/common_cms3/img/main/calendar_next.png"
alt="다음 달력보기"></a>
</p>
</div>
<ul class="iconBox">
<li><img
src="${ctx}/resource/common_cms3/img/main/calendar_ic1.png" alt="보기1"
style="padding-right: 10px;">보기1</li>
<li><img
src="${ctx}/resource/common_cms3/img/main/calendar_ic2.png" alt="보기2"
style="padding-right: 10px;">보기2</li>
<li><img
src="${ctx}/resource/common_cms3/img/main/calendar_ic3.png" alt="보기3"
style="padding-right: 10px;">보기3</li>
</ul>
<table border="0" cellpadding="0" cellspacing="0" style="table-layout: fixed;">
<caption>월간 달력</caption>
<colgroup>
<col width="14.25%">
<col width="14.25%">
<col width="14.25%">
<col width="14.25%">
<col width="14.25%">
<col width="14.25%">
<col width="14.25%">
</colgroup>
<thead>
<tr>
<th scope="col">일</th>
<th scope="col">월</th>
<th scope="col">화</th>
<th scope="col">수</th>
<th scope="col">목</th>
<th scope="col">금</th>
<th scope="col">토</th>
</tr>
</thead>
<tbody>
<%
String[][] holidays = {
{"0101","신정"}, {"0301","삼일절"},
{"0505","어린이날"}, {"0606","현충일"}, {"0815","광복절"},
{"1003","개천절"}, {"1009","한글날"}, {"1225","성탄절"}
};
String tempMonthDay1 = "";
String tempMonthDay2 = "";
String stringMonthDay = "";
%>
<c:set var="count" value="1"/>
<c:set var="dispDay" value="1"/>
<c:set var="todayBg" value=""/>
<c:set var="todayType" value=""/>
<c:forEach var="w" begin="1" end="${weekCount}" step="1" >
<tr>
<c:forEach var="d" begin="1" end="7" step="1">
<c:choose>
<c:when test='${! (count >= firstYoil) }'>
<td>&nbsp;</td>
<c:set var="count" value="${count+1}" />
</c:when>
<c:otherwise>
<c:choose>
<c:when test='${ufn:isDate(currMonth + 1, dispDay, currYear)}'>
<c:choose>
<c:when test='${dispDay == todayCalDay && todayCalMonth == setCalMonth && todayCalYear == setCalYear}'>
<c:set var="todayBg" value="today_bg"/>
<c:choose>
<c:when test='${d == 1 }'>
<c:set var="todayType" value="sun"/>
</c:when>
<c:when test='${d == 7 }'>
<c:set var="todayType" value="sat"/>
</c:when>
<c:otherwise>
<c:set var="todayType" value="weekday"/>
</c:otherwise>
</c:choose>
</c:when>
<c:otherwise>
<c:set var="todayBg" value=""/>
<c:choose>
<c:when test='${d == 1 }'>
<c:set var="todayType" value="sun"/>
</c:when>
<c:when test='${d == 7 }'>
<c:set var="todayType" value="sat"/>
</c:when>
<c:otherwise>
<c:set var="todayType" value="weekday"/>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
<td id="${dispDay}" class="${todayBg} ${todayType} " >
<div>
<span class="${todayBg} ${todayType} ">${dispDay}</span>
<%
tempMonthDay1 = String.format("%02d", Integer.parseInt(request.getAttribute("currMonth").toString())+1);
tempMonthDay2 = String.format("%02d", Integer.parseInt(pageContext.getAttribute("dispDay").toString()) );
stringMonthDay = tempMonthDay1 + tempMonthDay2;
%>
<%
/*********** 국경일 표시 ************************/
for (int m=0; m < holidays.length; m++){
if (stringMonthDay.equals(holidays[m][0]) ) {
%>
<span><strong class='holiday_name'><%=holidays[m][1]%></strong></span><!-- 공휴일 이름 표시 -->
<script>
$(window).load(function() {
$('#${dispDay} strong').removeAttr('style');
$('#${dispDay}').addClass('holiday'); //날짜색상,버튼없음
$('#${dispDay} strong.holiday_name').addClass('holiday_name'); //공휴일의 이름 텍스트사이즈
});
</script>
<%
} //if문 종료
} //for문 종료
%>
<c:set var="resultDate" value="${dispDay }" />
<c:choose>
<c:when test="${resultDate < 10 }">
<c:set var="resultDate" value="0${resultDate }" />
</c:when>
<c:otherwise>
<c:set var="resultDate" value="${resultDate}" />
</c:otherwise>
</c:choose>
<%-- <div id="date_${yearString}${monthString}${resultDate }" style="font-size: 11px;"></div> --%>
</div>
</td>
<c:set var="count" value="${count+1}" />
<c:set var="dispDay" value="${dispDay+1}" />
</c:when>
<c:otherwise>
<td >&nbsp;</td>
</c:otherwise>
</c:choose>
</c:otherwise>
</c:choose>
</c:forEach>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="filterWrap">
<div class="typeBox">
<button value="all" class="on">전체교육</button>
<button value="seoul" class="seoul">서울</button>
<button value="daejeon" class="daejeon">대전</button>
<button value="changwon" class="changwon">창원</button>
</div>
<div class="listBox">
<table>
<caption>전체교육</caption>
<colgroup>
<col width="14%">
<col width="14%">
<col width="57%">
<col width="15%">
</colgroup>
<tbody>
<tr class="daejeon">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수, 김형도 PM글로벌사 대표 ,
이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="changwon">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="changwon">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="seoul">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="seoul">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="daejeon">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="changwon">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="changwon">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="seoul">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
<tr class="seoul">
<td class="date">05.11<br />(목)
</td>
<td class="type"><span>대전</span></td>
<td class="cont">
<p class="tit">
<a href="#">프로젝트관리(PM) 3기</a>
</p>
<p class="lec">김형도 PM글로벌사 대표 , 이건재 국방대학교 교수</p>
</td>
<td class="cont_v"><span><a href="#">자세히보기</a></span></td>
</tr>
</tbody>
</table>
</div>
</div>

@ -0,0 +1,13 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %>
<jsp:useBean id="now" class="java.util.Date" />
<footer class="main-footer">
<div class="pull-right hidden-xs">
<b>Version</b> 1.00
</div>
<strong>Copyright &copy; <fmt:formatDate pattern="yyyy" value="${now}" />&nbsp;<a href="http://www.ts2020.kr/">XIT</a>.</strong> All rights reserved.
</footer>
</div><!-- ./wrapper -->
</body>
</html>

@ -0,0 +1,160 @@
<%@ page contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="ufn" uri="/WEB-INF/tlds/egovfn.tld"%>
<c:set var="ctx" value="${pageContext.request.contextPath}"/>
<!DOCTYPE html>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="robots" content="noindex,nofollow">
<link rel="shortcut icon" type="image/x-icon" href="${systemconfigVO.faviUrl}" />
<title>TOPIS 환경공단 연계 인터페이스</title>
<!-- Tell the browser to be responsive to screen width -->
<meta content="width=device-width, initial-scale=1, maximum-scale=1, user-scalable=no" name="viewport">
<!-- jQuery 2.1.4 -->
<script src="${ctx}/resource/plugins/jQuery/jQuery-2.1.4.min.js"></script>
<script src="${ctx}/resource/plugins/jQueryUI/jquery-ui.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<script src="${ctx}/resource/bootstrap/js/bootstrap.min.js"></script>
<!-- Morris.js charts -->
<script src="${ctx}/resource/plugins/morris/raphael-min.2.2.7.js"></script>
<script src="${ctx}/resource/plugins/morris/morrish.min.js"></script>
<%-- <script src="${ctx}/resource/plugins/morris/morris.js"></script> --%>
<!-- DataTables -->
<script src="${ctx}/resource/plugins/datatables/jquery.dataTables.min.js"></script>
<script src="${ctx}/resource/plugins/datatables/dataTables.bootstrap.min.js"></script>
<!-- SlimScroll -->
<script src="${ctx}/resource/plugins/slimScroll/jquery.slimscroll.min.js"></script>
<!-- FastClick -->
<script src="${ctx}/resource/plugins/fastclick/fastclick.js"></script>
<!-- AdminLTE App -->
<script src="${ctx}/resource/dist/js/app.min.js"></script>
<!-- AdminLTE for demo purposes -->
<script src="${ctx}/resource/dist/js/demo.js"></script>
<!-- iCheck 1.0.1 -->
<script src="${ctx}/resource/plugins/iCheck/icheck.min.js"></script>
<!-- Bootstrap 3.3.5 -->
<link rel="stylesheet" href="${ctx}/resource/bootstrap/css/bootstrap.css">
<!-- Morris chart -->
<link rel="stylesheet" href="${ctx}/resource/plugins/morris/morris.css">
<!-- Font Awesome -->
<link rel="stylesheet" href="${ctx}/resource/font/font-awesome-4.7.0/css/font-awesome.min.css">
<!-- Ionicons -->
<link rel="stylesheet" href="${ctx}/resource/font/ionicons-2.0.1/css/ionicons.min.css">
<!-- DataTables -->
<link rel="stylesheet" href="${ctx}/resource/plugins/datatables/dataTables.bootstrap.css">
<!-- Theme style -->
<link rel="stylesheet" href="${ctx}/resource/dist/css/AdminLTE.css">
<!-- AdminLTE Skins. Choose a skin from the css/skins
folder instead of downloading all of them to reduce the load. -->
<link rel="stylesheet" href="${ctx}/resource/dist/css/skins/_all-skins.min.css">
<!-- iCheck for checkboxes and radio inputs -->
<link rel="stylesheet" href="${ctx}/resource/plugins/iCheck/all.css">
<!-- Bootstrap datepicker -->
<script type="text/javascript" src="${ctx}/resource/plugins/datepicker/bootstrap-datepicker.js"></script>
<link type="text/css" href="${ctx}/resource/plugins/datepicker/datepicker3.css" rel="stylesheet" />
<!-- cms style -->
<link rel="stylesheet" href="${ctx}/resource/common/jquery_plugin/zTree/zTreeStyle/zTreeStyle.css" type="text/css" />
<!-- cms scripts -->
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/common_functions.js"></script>
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/popWin.js"></script>
<!-- traffic Icon -->
<link type="text/css" href="${ctx}/resource/common_ais/css/fontello.css" rel="stylesheet" />
<link rel="stylesheet" type="text/css" href="${ctx}/resource/common/jquery_plugin/validation/validator.css" />
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/validation/validator.js"></script>
<link href="${ctx}/resource/jfile/swfupload/css/custom.css" rel="stylesheet" type="text/css" />
<!-- colorpicker spectrum-master -->
<link rel="stylesheet" type="text/css" href="${ctx}/resource/common/jquery_plugin/spectrum/spectrum.css" />
<script type="text/javascript" src="${ctx}/resource/common/jquery_plugin/spectrum/spectrum.js"></script>
<!-- <script class='daum_roughmap_loader_script' src='https://ssl.daumcdn.net/dmaps/map_js_init/roughmapLoader.js'></script> -->
</head>
<body class="hold-transition skin-blue sidebar-mini">
<div class="wrapper">
<header class="main-header">
<!-- Logo -->
<a href="${ctx}/_mngr_/main/index.do" class="logo">
<!-- mini logo for sidebar mini 50x50 pixels -->
<span class="logo-mini"><b>XIT</b></span>
<!-- logo for regular state and mobile devices -->
<span class="logo-lg">TOPIS_LINK</span>
</a>
<!-- Header Navbar: style can be found in header.less -->
<nav class="navbar navbar-static-top" role="navigation">
<!-- Sidebar toggle button-->
<a href="#" class="sidebar-toggle" data-toggle="offcanvas" role="button">
<span class="sr-only">Toggle navigation</span>
</a>
<div class="navbar-custom-menu">
<ul class="nav navbar-nav">
<li>
<!-- <a href="#none" data-toggle="control-sidebar" onclick="print();return false;"><i class="fa fa-print"> 인쇄</i></a> -->
<!-- <a href="/resource/manual/cubecms_admin_manual3.0.pdf" target="_blank"><i class="fa fa-book">관리자매뉴얼</i></a> -->
</li>
</ul>
</div>
</nav>
</header>
<!-- Left side column. contains the logo and sidebar -->
<aside class="main-sidebar">
<!-- sidebar: style can be found in sidebar.less -->
<section class="sidebar">
<!-- Sidebar user panel -->
<div class="user-panel">
<div class="pull-left image">
<%-- <img src="${ctx}/resource/dist/img/user1-128x128.jpg" class="img-circle" alt="User Image" onClick = ""> --%>
<form name="myInfo">
<input type="image" src="${ctx}/resource/dist/img/logo_${logo }.png" class="img-circle" alt="User Image">
</form>
</div>
<div class="pull-left info">
<p>XIT</p>
</div>
</div>
<!-- /.search form -->
<!-- sidebar menu: : style can be found in sidebar.less -->
<ul class="sidebar-menu">
<%-- ${resultStr} --%>
<li class="treeview active" id="LEFT_BATCH">
<a href="/_mngr_/.do">
<i class="fa fa-calendar"></i>
<span>배치/스케줄 관리</span>
<i class="fa fa-angle-left pull-right"></i>
</a>
<ul class="treeview-menu">
<li class="treeview" id="LEFT_batOpert">
<a href="/_mngr_/bat/getBatchOpertList.do">
<i class="fa fa-circle-o"></i>
<span>배치작업 관리</span>
</a>
</li>
<li class="treeview" id="LEFT_batSchdul">
<a href="/_mngr_/bat/getBatchSchdulList.do">
<i class="fa fa-circle-o"></i>
<span>배치/스케줄 관리</span>
</a>
</li>
<li class="treeview" id="LEFT_batResult">
<a href="/_mngr_/bat/getBatchResultList.do">
<i class="fa fa-circle-o"></i>
<span>배치결과 관리</span>
</a>
</li>
</ul>
</li>
</ul>
</section>
<!-- /.sidebar -->
</aside>

@ -0,0 +1 @@
rO0ABXNyACJlZ292ZnJhbWV3b3JrLml0Z2Ntcy5jb21tb24uSXRnTWFwh/9EWDC1XN8CAAB4cgAtZWdvdmZyYW1ld29yay5ydGUucHNsLmRhdGFhY2Nlc3MudXRpbC5FZ292TWFwXU5v7m7/RmUCAAB4cgAxb3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zLm1hcC5MaXN0T3JkZXJlZE1hcCXcbzX3M+9mAwABTAALaW5zZXJ0T3JkZXJ0ABBMamF2YS91dGlsL0xpc3Q7eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAABXcEAAAABXQACWxpY2Vuc2VJZHQADmxpY2Vuc2VNYW5hZ2VydAALbGljZW5zZVBhc3N0AAtsaWNlbnNlVHlwZXQACWxpY2Vuc2VJUHhzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABXEAfgAKdAABTXEAfgALdABgZTQ1YWU3Yzg0YTkzYjU1MzVlOTdhNjAyNjU4M2YzYmM5ODVhY2YxOTUyZTAxNWMzZmEwNDU1MGIyNGIyNjhlYmUxYjRiMGZhYmI1NGQ1NmIyODc2MzJmMWE3ZmQyOTI4cQB+AAl0AEAzZGQ1N2U0MGJkMDc0ZGNmZWJiYTI3ODRjMGQ5YjI3NGUwNjRhMDU4MWRhZGMwYTU5NzQwZjIyN2MxZmMyODMzcQB+AAd0ACA1MDBjMDg4MmRlOWMyZmI0ZWM5MWI5NzU1YTQ5OGJlY3EAfgAIdAAgNTAwYzA4ODJkZTljMmZiNGVjOTFiOTc1NWE0OThiZWN4eA==

@ -0,0 +1 @@
rO0ABXNyACJlZ292ZnJhbWV3b3JrLml0Z2Ntcy5jb21tb24uSXRnTWFwh/9EWDC1XN8CAAB4cgAtZWdvdmZyYW1ld29yay5ydGUucHNsLmRhdGFhY2Nlc3MudXRpbC5FZ292TWFwXU5v7m7/RmUCAAB4cgAxb3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zLm1hcC5MaXN0T3JkZXJlZE1hcCXcbzX3M+9mAwABTAALaW5zZXJ0T3JkZXJ0ABBMamF2YS91dGlsL0xpc3Q7eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAABXcEAAAABXQACWxpY2Vuc2VJZHQADmxpY2Vuc2VNYW5hZ2VydAALbGljZW5zZVBhc3N0AAtsaWNlbnNlVHlwZXQACWxpY2Vuc2VJUHhzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABXEAfgAKdAABTXEAfgALdABAOTc5ZWEwODMzNjE2NDZhMmYyZTc2N2NkM2FjOWY3ZTEyZDJiYWRkOWYwODJlZjUxOTdlY2YwODQ2YmE4NzI4OXEAfgAJdABAM2RkNTdlNDBiZDA3NGRjZmViYmEyNzg0YzBkOWIyNzRlMDY0YTA1ODFkYWRjMGE1OTc0MGYyMjdjMWZjMjgzM3EAfgAHdAAgNTAwYzA4ODJkZTljMmZiNGVjOTFiOTc1NWE0OThiZWNxAH4ACHQAIDUwMGMwODgyZGU5YzJmYjRlYzkxYjk3NTVhNDk4YmVjeHg=

@ -0,0 +1 @@
rO0ABXNyACJlZ292ZnJhbWV3b3JrLml0Z2Ntcy5jb21tb24uSXRnTWFwh/9EWDC1XN8CAAB4cgAtZWdvdmZyYW1ld29yay5ydGUucHNsLmRhdGFhY2Nlc3MudXRpbC5FZ292TWFwXU5v7m7/RmUCAAB4cgAxb3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zLm1hcC5MaXN0T3JkZXJlZE1hcCXcbzX3M+9mAwABTAALaW5zZXJ0T3JkZXJ0ABBMamF2YS91dGlsL0xpc3Q7eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAABXcEAAAABXQACWxpY2Vuc2VJZHQADmxpY2Vuc2VNYW5hZ2VydAALbGljZW5zZVBhc3N0AAtsaWNlbnNlVHlwZXQACWxpY2Vuc2VJUHhzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABXEAfgAKdAABTXEAfgALdAAgNWMzM2IyM2QyNzlmMDgyMmVhMzhkMDI5MzBkOGJjZmVxAH4ACXQAQDNkZDU3ZTQwYmQwNzRkY2ZlYmJhMjc4NGMwZDliMjc0ZTA2NGEwNTgxZGFkYzBhNTk3NDBmMjI3YzFmYzI4MzNxAH4AB3QAIDUwMGMwODgyZGU5YzJmYjRlYzkxYjk3NTVhNDk4YmVjcQB+AAh0ACA1MDBjMDg4MmRlOWMyZmI0ZWM5MWI5NzU1YTQ5OGJlY3h4

@ -0,0 +1 @@
rO0ABXNyACJlZ292ZnJhbWV3b3JrLml0Z2Ntcy5jb21tb24uSXRnTWFwh/9EWDC1XN8CAAB4cgAtZWdvdmZyYW1ld29yay5ydGUucHNsLmRhdGFhY2Nlc3MudXRpbC5FZ292TWFwXU5v7m7/RmUCAAB4cgAxb3JnLmFwYWNoZS5jb21tb25zLmNvbGxlY3Rpb25zLm1hcC5MaXN0T3JkZXJlZE1hcCXcbzX3M+9mAwABTAALaW5zZXJ0T3JkZXJ0ABBMamF2YS91dGlsL0xpc3Q7eHBzcgATamF2YS51dGlsLkFycmF5TGlzdHiB0h2Zx2GdAwABSQAEc2l6ZXhwAAAABXcEAAAABXQACWxpY2Vuc2VJZHQADmxpY2Vuc2VNYW5hZ2VydAALbGljZW5zZVBhc3N0AAtsaWNlbnNlVHlwZXQACWxpY2Vuc2VJUHhzcgARamF2YS51dGlsLkhhc2hNYXAFB9rBwxZg0QMAAkYACmxvYWRGYWN0b3JJAAl0aHJlc2hvbGR4cD9AAAAAAAAMdwgAAAAQAAAABXEAfgAKdAABTXEAfgALdAAgMmEyOTM4NWRkMmQ4NjM0ODI4NmVmODRiZTdhZGFjOWVxAH4ACXQAQDNkZDU3ZTQwYmQwNzRkY2ZlYmJhMjc4NGMwZDliMjc0ZTA2NGEwNTgxZGFkYzBhNTk3NDBmMjI3YzFmYzI4MzNxAH4AB3QAIDUwMGMwODgyZGU5YzJmYjRlYzkxYjk3NTVhNDk4YmVjcQB+AAh0ACA1MDBjMDg4MmRlOWMyZmI0ZWM5MWI5NzU1YTQ5OGJlY3h4

@ -0,0 +1,76 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
/**
* @Class Name : custom.tld
* @Description : 커스텀 태그
* 수정일 수정자 수정내용
* ================================================
* 2014.02.14. pi 최초 생성
*
* @USE : <cct:codeTag pcode="schBdcode" tagType="select" tagName="tname" selectedValue="" tagTitle="구분" className="form-control input-sm" useNullOpt="N"/>
*
* useNullOpt : 전체선택 등 옵션, 기본값 : N, N이 아닌 다른 문자열이 들어갈 경우 해당 문자열이 첫번째 옵션으로 출력됨.
*/
-->
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.2</tlib-version>
<uri>cct</uri>
<tag>
<description>코드관리 코드 리스트 태그(select, checkbox, radio) 만들기</description>
<name>codeTag</name>
<tag-class>egovframework.itgcms.util.CreateCodeTag</tag-class>
<body-content>empty</body-content>
<attribute>
<name>pcode</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>tagType</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>tagName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectedValue</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>tagTitle</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>className</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>useNullOpt</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>코드관리 코드 이름 가져오기</description>
<name>getCodeName</name>
<tag-class>egovframework.itgcms.util.GetCode</tag-class>
<body-content>empty</body-content>
<attribute>
<name>code</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

@ -0,0 +1,50 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
/**
* @Class Name : custom.tld
* @Description : 커스텀 태그
* 수정일 수정자 수정내용
* ================================================
* 2014.02.14. pi 최초 생성
*
*/
-->
<taglib xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee/web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.2</tlib-version>
<uri>ora</uri>
<tag>
<description>코드관리 코드 리스트 SELECT 태그 만들기</description>
<name>selectCodeList</name>
<tag-class>egovframework.itgcms.util.CustomTagSelectCodeList</tag-class>
<body-content>empty</body-content>
<attribute>
<name>codeList</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectName</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectedValue</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>selectTitle</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>className</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

@ -0,0 +1,552 @@
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>Egov CrossSite Tag Replace Special Html Code Convert(JSTL 1.1 core library 기반)</description>
<display-name>Egov JSTL core</display-name>
<tlib-version>1.1</tlib-version>
<short-name>egovc</short-name>
<tag>
<description>
Catches any Throwable that occurs in its body and optionally
exposes it.
</description>
<name>catch</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.CatchTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable for the
exception thrown from a nested action. The type of the
scoped variable is the type of the exception thrown.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Simple conditional tag that establishes a context for
mutually exclusive conditional operations, marked by
&lt;when&gt; and &lt;otherwise&gt;
</description>
<name>choose</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.ChooseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<description>
Simple conditional tag, which evalutes its body if the
supplied condition is true and optionally exposes a Boolean
scripting variable representing the evaluation of this condition
</description>
<name>if</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.IfTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The test condition that determines whether or
not the body content should be processed.
</description>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resulting value of the test condition. The type
of the scoped variable is Boolean.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Retrieves an absolute or relative URL and exposes its contents
to either the page, a String in 'var', or a Reader in 'varReader'.
</description>
<name>import</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ImportTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ImportTEI</tei-class>
<body-content>JSP</body-content>
<attribute>
<description>
The URL of the resource to import.
</description>
<name>url</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resource's content. The type of the scoped
variable is String.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
resource's content. The type of the scoped
variable is Reader.
</description>
<name>varReader</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when accessing a relative
URL resource that belongs to a foreign
context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Character encoding of the content at the input
resource.
</description>
<name>charEncoding</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
The basic iteration tag, accepting many different
collection types and supporting subsetting and other
functionality
</description>
<name>forEach</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForEachTag</tag-class>
<tei-class>org.apache.taglibs.standard.tei.ForEachTEI</tei-class>
<body-content>JSP</body-content>
<attribute>
<description>
Collection of items to iterate over.
</description>
<name>items</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.Object</type>
</attribute>
<attribute>
<description>
If items specified:
Iteration begins at the item located at the
specified index. First item of the collection has
index 0.
If items not specified:
Iteration begins with index set at the value
specified.
</description>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
If items specified:
Iteration ends at the item located at the
specified index (inclusive).
If items not specified:
Iteration ends when index reaches the value
specified.
</description>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration will only process every step items of
the collection, starting with the first one.
</description>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
current item of the iteration. This scoped
variable has nested visibility. Its type depends
on the object of the underlying collection.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
status of the iteration. Object exported is of type
javax.servlet.jsp.jstl.core.LoopTagStatus. This scoped variable has nested
visibility.
</description>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Iterates over tokens, separated by the supplied delimeters
</description>
<name>forTokens</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ForTokensTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
String of tokens to iterate over.
</description>
<name>items</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
The set of delimiters (the characters that
separate the tokens in the string).
</description>
<name>delims</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>java.lang.String</type>
</attribute>
<attribute>
<description>
Iteration begins at the token located at the
specified index. First token has index 0.
</description>
<name>begin</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration ends at the token located at the
specified index (inclusive).
</description>
<name>end</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Iteration will only process every step tokens
of the string, starting with the first one.
</description>
<name>step</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
<type>int</type>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
current item of the iteration. This scoped
variable has nested visibility.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the exported scoped variable for the
status of the iteration. Object exported is of
type
javax.servlet.jsp.jstl.core.LoopTag
Status. This scoped variable has nested
visibility.
</description>
<name>varStatus</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Like &lt;%= ... &gt;, but for expressions.
</description>
<name>out</name>
<tag-class>egovframework.com.cmm.EgovComCrossSiteHndlr</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Expression to be evaluated.
</description>
<name>value</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Default value if the resulting value is null.
</description>
<name>default</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Determines whether characters &lt;,&gt;,&amp;,'," in the
resulting string should be converted to their
corresponding character entity codes. Default value is
true.
</description>
<name>escapeXml</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Subtag of &lt;choose&gt; that follows &lt;when&gt; tags
and runs only if all of the prior conditions evaluated to
'false'
</description>
<name>otherwise</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.OtherwiseTag</tag-class>
<body-content>JSP</body-content>
</tag>
<tag>
<description>
Adds a parameter to a containing 'import' tag's URL.
</description>
<name>param</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.ParamTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the query string parameter.
</description>
<name>name</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Value of the parameter.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Redirects to a new URL.
</description>
<name>redirect</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.RedirectTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The URL of the resource to redirect to.
</description>
<name>url</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when redirecting to a relative URL
resource that belongs to a foreign context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Removes a scoped variable (from a particular scope, if specified).
</description>
<name>remove</name>
<tag-class>org.apache.taglibs.standard.tag.common.core.RemoveTag</tag-class>
<body-content>empty</body-content>
<attribute>
<description>
Name of the scoped variable to be removed.
</description>
<name>var</name>
<required>true</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Sets the result of an expression evaluation in a 'scope'
</description>
<name>set</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.SetTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable to hold the value
specified in the action. The type of the scoped variable is
whatever type the value expression evaluates to.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Expression to be evaluated.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Target object whose property will be set. Must evaluate to
a JavaBeans object with setter property property, or to a
java.util.Map object.
</description>
<name>target</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the property to be set in the target object.
</description>
<name>property</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Creates a URL with optional query parameters.
</description>
<name>url</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.UrlTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
Name of the exported scoped variable for the
processed url. The type of the scoped variable is
String.
</description>
<name>var</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
Scope for var.
</description>
<name>scope</name>
<required>false</required>
<rtexprvalue>false</rtexprvalue>
</attribute>
<attribute>
<description>
URL to be processed.
</description>
<name>value</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<description>
Name of the context when specifying a relative URL
resource that belongs to a foreign context.
</description>
<name>context</name>
<required>false</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
<tag>
<description>
Subtag of &lt;choose&gt; that includes its body if its
condition evalutes to 'true'
</description>
<name>when</name>
<tag-class>org.apache.taglibs.standard.tag.rt.core.WhenTag</tag-class>
<body-content>JSP</body-content>
<attribute>
<description>
The test condition that determines whether or not the
body content should be processed.
</description>
<name>test</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
<type>boolean</type>
</attribute>
</tag>
</taglib>

@ -0,0 +1,464 @@
<?xml version="1.0" encoding="UTF-8" ?>
<taglib xmlns="http://java.sun.com/xml/ns/j2ee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/j2ee http://java.sun.com/xml/ns/j2ee/web-jsptaglibrary_2_0.xsd"
version="2.0">
<description>Egov CrossSite Tag Replace Special Html Code Convert(JSTL 1.1 core library 기반)</description>
<display-name>Egov JSTL core</display-name>
<tlib-version>1.1</tlib-version>
<short-name>fn</short-name>
<function>
<description>Form Select Tag selected="selected"</description>
<name>selected</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String selected(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:selected(val1, val2)}
</example>
</function>
<function>
<description>Form radio,checkbox Tag checked="checked"</description>
<name>checked</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String checked(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:checked(val1, val2)}
</example>
</function>
<function>
<description>Form radio,readonly Tag readonly="readonly"</description>
<name>readOnly</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String readOnly(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:readOnly(val1, val2)}
</example>
</function>
<function>
<description>Korean urlEncoding</description>
<name>getUrlEndcoding</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String getUrlEndcoding(java.lang.String)</function-signature>
<example>
${ufn:getUrlEndcoding(str)}
</example>
</function>
<function>
<description>get Age from ssn</description>
<name>getAgeFromSSN</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String getAgeFromSSN(java.lang.String)</function-signature>
<example>
${ufn:getAgeFromSSN(str)}
</example>
</function>
<function>
<description>get Gender from ssn</description>
<name>getGenderFromSSN</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String getGenderFromSSN(java.lang.String)</function-signature>
<example>
${ufn:getGenderFromSSN(str)}
</example>
</function>
<function>
<description>isNull</description>
<name>isNull</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String isNull(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:isNull(str, '')}
</example>
</function>
<function>
<description>replaceAll</description>
<name>replaceAll</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String replaceAll(java.lang.String, java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:replaceAll(str, '', '')}
</example>
</function>
<function>
<description>cutString</description>
<name>cutString</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String cutString(java.lang.String, int, java.lang.String)</function-signature>
<example>
${ufn:cutString(str, 40, '...')}
</example>
</function>
<function>
<description>deCode</description>
<name>deCode</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String deCode(java.lang.String, java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:deCode(str, '비교1,값1,비교2,값2,비교3,값3', 'default')}
</example>
</function>
<function>
<description>authorityCheck</description>
<name>authorityCheck</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>boolean authorityCheck(int)</function-signature>
<example>
${ufn:authorityCheck(1)}
</example>
</function>
<function>
<description>getSessionFromField</description>
<name>getSessionFromField</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String getSessionFromField(java.lang.String)</function-signature>
<example>
${ufn:getSessionFromField('web_id')}
</example>
</function>
<function>
<description>getDatePattern</description>
<name>getDatePattern</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String getDatePattern(java.lang.String)</function-signature>
<example>
${ufn:getDatePattern('yyyy-MM-dd')}
</example>
</function>
<function>
<description>입력된 날짜를 패턴에 맞게 변환 함.(date, pattern)yyyy-MM-dd : 2019-02-28 , yyyy-MM-dd hh:mm:ss.SSS</description>
<name>printDatePattern</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>java.lang.String printDatePattern(java.lang.String,java.lang.String)</function-signature>
<example>
${ufn:printDatePattern('2016-03-03', 'yyyy-MM-dd')}
</example>
</function>
<function>
<description>dateDiff</description>
<name>dateDiff</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>int dateDiff(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:dateDiff('2012-08-01', '2012-09-01', 'yyyy-MM-dd', 'd')}
</example>
</function>
<function>
<description>dateDiff</description>
<name>dateCompare</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>int dateDiff(java.lang.String)</function-signature>
<example>
${ufn:dateCompare('2012-08-01')}
</example>
</function>
<function>
<description>quot</description>
<name>quot</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String quot(java.lang.String)</function-signature>
<example>
${ufn:quot($param.idx)}
</example>
</function>
<function>
<description>getDownloadLink</description>
<name>getDownloadLink</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getDownloadLink(java.lang.String, java.lang.String, java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:getDownloadLink('', 'POPUP', 'abcd.jpg', '원본파일명.jpg')}
</example>
</function>
<function>
<description>getThumbFileName</description>
<name>getThumbFileName</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getThumbFileName(java.lang.String , java.lang.String )</function-signature>
<example>
${ufn:getThumbFileName('asdf1234.jpg', '_S')}
</example>
</function>
<function>
<description>getFormatDateKorean</description>
<name>getFormatDateKorean</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getFormatDateKorean(java.lang.String)</function-signature>
<example>
${ufn:getFormatDateKorean(2013-11-28)}
</example>
</function>
<function>
<description>getFormatRound</description>
<name>getFormatRound</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getFormatRound(double)</function-signature>
<example>
${ufn:getFormatRound(1.2)}
</example>
</function>
<function>
<description>IIF(조건식, 참일때결과, 거짓일때결과)</description>
<name>IIF</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String IIF(boolean , java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:IIF(2>3,'12,'13'')}
</example>
</function>
<function>
<description>getZeroPlus</description>
<name>getZeroPlus</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getZeroPlus(int )</function-signature>
<example>
${ufn:getZeroPlus(9)}
</example>
</function>
<function>
<description>getMngrSessionVO</description>
<name>getMngrSessionVO</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>Session getMngrSessionVO()</function-signature>
<example>
${ufn:getMngrSessionVO()}
</example>
</function>
<function>
<description>getUserSessionVO</description>
<name>getUserSessionVO</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>Session getUserSessionVO()</function-signature>
<example>
${ufn:getUserSessionVO()}
</example>
</function>
<function>
<description>getConfigFromXml</description>
<name>getConfigFromXml</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>Session getConfigFromXml(java.lang.String )</function-signature>
<example>
${ufn:getConfigFromXml('popup')}
</example>
</function>
<function>
<description>getUserNavigation</description>
<name>getUserNavigation</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getUserNavigation(java.lang.String,java.lang.String)</function-signature>
<example>
${ufn:getUserNavigation('>경기테크노파크>경기TP소개>비전 및 목표>세부 실행과제홈','0')}
</example>
</function>
<function>
<description>getUserFullNavigation</description>
<name>getUserFullNavigation</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getUserFullNavigation(java.lang.String,java.lang.String,java.lang.String)</function-signature>
<example>
${ufn:getUserFullNavigation('>경기테크노파크>경기TP소개>비전 및 목표>세부 실행과제홈','0')}
</example>
</function>
<function>
<description>getAntiHtml type : 1=태그전체삭제, 2=스크립트</description>
<name>getAntiHtml</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getAntiHtml(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:getAntiHtml('html~~~/html', type)}
</example>
</function>
<function>
<description>stripXss</description>
<name>stripXss</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String stripXss(java.lang.String)</function-signature>
<example>
${ufn:stripXss('html~~~/html')}
</example>
</function>
<function>
<description>stripXssScript</description>
<name>stripXssScript</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String stripXssScript(java.lang.String)</function-signature>
<example>
${ufn:stripXssScript('html~~~/html')}
</example>
</function>
<function>
<description>decodeXss</description>
<name>decodeXss</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String decodeXss(java.lang.String)</function-signature>
<example>
${ufn:decodeXss('html~~~/html')}
</example>
</function>
<function>
<description>String 사칙연산</description>
<name>strCalculator</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String strCalculator(java.lang.String, java.lang.Character, java.lang.String)</function-signature>
<example>
${ufn:strCalculator(numStr1, '+', numStr2)}
</example>
</function>
<function>
<description>getMenuLink</description>
<name>getMenuLink</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getMenuLink(java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:getMenuLink(menuCode, menuName, menuType, menuUrl, showType, siteCode)}
</example>
</function>
<function>
<description>getMenuLink2</description>
<name>getMenuLink2</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getMenuLink2(egovframework.itgcms.core.menu.service.MngrMenuVO, java.lang.String)</function-signature>
<example>
${ufn:getMenuLink2(menuVO,'web')}
</example>
</function>
<function>
<description>mngrLevelTrueFalse 관리자가 가진권한이 true false</description>
<name>mngrLevelTrueFalse</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>boolean mngrLevelTrueFalse(java.lang.String)</function-signature>
<example>
${ufn:mngrLevelTrueFalse('menu01')}
</example>
</function>
<function>
<description>페이지 템플릿, 게시판 타입에 따라 HTML을 생성하는 메소드</description>
<name>mainPageBoard</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getMainPageBoard(java.util.List, java.lang.String, int)</function-signature>
<example>
${ufn:mainPageBoard(list, 'templ', 30)}
</example>
</function>
<function>
<description>strInArrChk</description>
<name>strInArrChk</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>boolean strInArrChk(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:strInArrChk('menu1,menu2','menu01')}
</example>
</function>
<function>
<description>strConceal 문자열을 지정된 지점에서부터 *로 치환(끝나는 지점이 지정되지 않으면 끝까지 치환) </description>
<name>strConceal</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String strConceal(java.lang.String, int, int)</function-signature>
<example>
${ufn:strConceal('menu01', 1, 9)}
</example>
</function>
<function>
<description>프로그램 모듈을 호출하여 HTML을 생성하는 메소드</description>
<name>getModule</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getModule(java.lang.String, java.lang.Object, java.lang.String)</function-signature>
<example>
${ufn:getModule('slideSet',obj,'web')}
</example>
</function>
<function>
<description>금지어 정규식을 출력하는 메소드</description>
<name>getProhibitRegEx</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getProhibitRegEx()</function-signature>
<example>
${ufn:getProhibitRegEx()}
</example>
</function>
<function>
<description>0 일때 인라인 방식 CSS display : none 추가</description>
<name>styleDisplayNone</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String styleDisplayNone(int)</function-signature>
<example>
${ufn:styleDisplayNone(0)}
</example>
</function>
<function>
<description>첫번째 파라미터(arg[0])가 오늘 날짜일 때, 두번재 파라미터를 출력함</description>
<name>newTag</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String newTag(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:newTag('date', 'printDate')}
</example>
</function>
<function>
<description>첫번째 스트링을 두번째 캐릭터로 분리하여 배열 리턴</description>
<name>strSplit</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String strSplit(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:strSplit('111-111-111','-')}
</example>
</function>
<function>
<description>암호화된 문자열을 복호화</description>
<name>seedDec256</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String seedDec256(java.lang.String)</function-signature>
<example>
${ufn:seedDec256('597f5fb'}
</example>
</function>
<function>
<description>문자열 시작 여부</description>
<name>startWith</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>boolean startWith(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:startWith('597f5fb', '597'}
</example>
</function>
<function>
<description>문자열 시작 여부</description>
<name>getDateDay</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String getDateDay(java.lang.String, java.lang.String)</function-signature>
<example>
${ufn:getDateDay('2017-01-01', 'yyyy-MM-dd'}
</example>
</function>
<function>
<description>isDate</description>
<name>isDate</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>boolean isDate(int, int, int)</function-signature>
<example>
${ufn:isDate(m, d, y)}
</example>
</function>
<function>
<description>isLunar</description>
<name>isLunar</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>boolean isLunar(java.lang.String)</function-signature>
<example>
${ufn:isLunar('2017-01-01')}
</example>
</function>
<function>
<description>접속 디바이스 확인</description>
<name>connectDevice</name>
<function-class>egovframework.itgcms.util.CommUtil</function-class>
<function-signature>String connectDevice()</function-signature>
<example>
${ufn:connectDevice()}
</example>
</function>
</taglib>

@ -0,0 +1,46 @@
<?xml version="1.0" encoding="UTF-8" ?>
<!--
/**
* @Class Name : orderby.tld
* @Description : 목록테이블 필드 정렬
* 수정일 수정자 수정내용
* ================================================
* 2014.02.14. pi 최초 생성
*
*/
-->
<taglib xmlns="http://java.sun.com/xml/ns/javaee" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee web-jsptaglibrary_2_1.xsd"
version="2.1">
<tlib-version>1.2</tlib-version>
<uri>ora</uri>
<tag>
<description>게시판 목록 제목 클릭 정렬 설정</description>
<name>setOrderBy</name>
<tag-class>egovframework.itgcms.util.CustomTagOrderBy</tag-class>
<body-content>empty</body-content>
<attribute>
<name>fieldValue</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>fieldText</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>schOrderFld</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
<attribute>
<name>schOrderBy</name>
<required>true</required>
<rtexprvalue>true</rtexprvalue>
</attribute>
</tag>
</taglib>

@ -0,0 +1,143 @@
<?xml version="1.0" encoding="UTF-8"?>
<web-app xmlns="http://java.sun.com/xml/ns/javaee"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xsi:schemaLocation="http://java.sun.com/xml/ns/javaee
http://java.sun.com/xml/ns/javaee/web-app_3_0.xsd"
version="3.0">
<display-name>CMS</display-name>
<context-param>
<param-name>webAppRootKey</param-name>
<param-value>cms.root</param-value>
</context-param>
<listener>
<listener-class>org.springframework.web.context.ContextLoaderListener</listener-class>
</listener>
<context-param>
<param-name>contextConfigLocation</param-name>
<param-value>classpath*:egovframework/spring/com/**/context-*.xml</param-value>
</context-param>
<servlet>
<servlet-name>action</servlet-name>
<servlet-class>org.springframework.web.servlet.DispatcherServlet</servlet-class>
<init-param>
<param-name>contextConfigLocation</param-name>
<param-value>/WEB-INF/config/egovframework/springmvc/egov-com-*.xml</param-value>
</init-param>
<load-on-startup>1</load-on-startup>
</servlet>
<listener>
<listener-class>org.springframework.web.context.request.RequestContextListener</listener-class>
</listener>
<servlet>
<servlet-name>ajaxServlet</servlet-name>
<servlet-class>net.sourceforge.ajaxtags.servlets.SourceLoader</servlet-class>
<init-param>
<param-name>prefix</param-name>
<param-value>/ajaxtags</param-value>
</init-param>
</servlet>
<servlet-mapping>
<servlet-name>action</servlet-name>
<url-pattern>*.do</url-pattern>
<url-pattern>*.ajax</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ajaxServlet</servlet-name>
<url-pattern>/ajaxtags/js/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ajaxServlet</servlet-name>
<url-pattern>/ajaxtags/img/*</url-pattern>
</servlet-mapping>
<servlet-mapping>
<servlet-name>ajaxServlet</servlet-name>
<url-pattern>/ajaxtags/css/*</url-pattern>
</servlet-mapping>
<filter>
<filter-name>encodingFilter</filter-name>
<filter-class>org.springframework.web.filter.CharacterEncodingFilter</filter-class>
<init-param>
<param-name>encoding</param-name>
<param-value>UTF-8</param-value>
</init-param>
</filter>
<filter-mapping>
<filter-name>encodingFilter</filter-name>
<url-pattern>/*</url-pattern>
</filter-mapping>
<welcome-file-list>
<welcome-file>index.jsp</welcome-file>
</welcome-file-list>
<login-config>
<auth-method>BASIC</auth-method>
</login-config>
<jsp-config>
<jsp-property-group>
<url-pattern>/WEB-INF/jsp/*</url-pattern>
<!-- <include-prelude>/WEB-INF/jsp/web/_include/include_taglib.jspf</include-prelude> -->
<trim-directive-whitespaces>true</trim-directive-whitespaces>
</jsp-property-group>
</jsp-config>
<!-- Error Page -->
<error-page>
<error-code>404</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<error-code>500</error-code>
<location>/error.jsp</location>
</error-page>
<error-page>
<exception-type>java.lang.Throwable</exception-type>
<location>/error.jsp</location>
</error-page>
<!-- FAVICON -->
<mime-mapping>
<extension>ico</extension>
<mime-type>image/vnd.microsoft.icon</mime-type>
</mime-mapping>
<!-- Captcha -->
<servlet>
<servlet-name>TextCaptcha</servlet-name>
<servlet-class>egovframework.com.cmm.servlet.CaptchaGenServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>TextCaptcha</servlet-name>
<url-pattern>/captchaImg</url-pattern>
</servlet-mapping>
<servlet>
<servlet-name>AudioCaptcha</servlet-name>
<servlet-class>egovframework.com.cmm.servlet.CaptchaGenAudioServlet</servlet-class>
</servlet>
<servlet-mapping>
<servlet-name>AudioCaptcha</servlet-name>
<url-pattern>/captchaAudio</url-pattern>
</servlet-mapping>
<security-constraint>
<web-resource-collection>
<web-resource-name>ProtectedContext</web-resource-name>
<url-pattern>/*</url-pattern>
<http-method>PUT</http-method>
<http-method>DELETE</http-method>
<http-method>TRACE</http-method>
<http-method>OPTIONS</http-method>
</web-resource-collection>
</security-constraint>
</web-app>

Some files were not shown because too many files have changed in this diff Show More

Loading…
Cancel
Save