이지우 - 저작권체험교실 운영신청 안내(신청기간) 기간에 시간 추가
This commit is contained in:
parent
632c773601
commit
30fa8b70af
@ -206,21 +206,24 @@ public class ExprnClsrmAplctController {
|
||||
|
||||
SimpleDateFormat simpleStrFormat = new SimpleDateFormat("yyyy년 MM월 dd일");
|
||||
SimpleDateFormat simpleStrFormatEnd = new SimpleDateFormat("MM월 dd일");
|
||||
SimpleDateFormat simpleStrFormatTm = new SimpleDateFormat("HH:mm");
|
||||
|
||||
//시작일자 날짜 형식 변환
|
||||
Date stDate = simpleDateFormat.parse(detailVO.getStrtPnttm());
|
||||
String stDay = simpleStrFormat.format(stDate);
|
||||
String stTm = simpleStrFormatTm.format(stDate);
|
||||
|
||||
//종료일자 날짜 형식 변환
|
||||
Date edDate = simpleDateFormat.parse(detailVO.getEndPnttm());
|
||||
String edDay = simpleStrFormatEnd.format(edDate);
|
||||
String edTm = simpleStrFormatTm.format(edDate);
|
||||
|
||||
//요일 텍스트 받아오기
|
||||
String strWeekStart = DateUtil.getWeekText(stDate);
|
||||
String strWeekEnd = DateUtil.getWeekText(edDate);
|
||||
|
||||
detailVO.setStrtPnttm(stDay + "(" + strWeekStart + ")");
|
||||
detailVO.setEndPnttm(edDay + "(" + strWeekEnd + ")");
|
||||
detailVO.setStrtPnttm(stDay + "(" + strWeekStart + ") "+stTm);
|
||||
detailVO.setEndPnttm(edDay + "(" + strWeekEnd + ") "+edTm);
|
||||
|
||||
model.addAttribute("detailVO", detailVO);
|
||||
|
||||
|
||||
@ -403,10 +403,10 @@ public class OprtnAplctAnncmMngController {
|
||||
System.out.println(vEPrcsDetailVO.getStrtPnttm());
|
||||
System.out.println(vEPrcsDetailVO.getEndPnttm());
|
||||
|
||||
String strtPnttm = vEPrcsDetailVO.getStrtPnttm().replaceAll("[.]", "").trim();
|
||||
strtPnttm = strtPnttm+ "0000";
|
||||
String endPnttm = vEPrcsDetailVO.getEndPnttm().replaceAll("[.]", "").trim();
|
||||
endPnttm = endPnttm+ "0000";
|
||||
String strtPnttm = vEPrcsDetailVO.getStrtPnttm().replaceAll("[.]", "").replaceAll(":", "").trim();
|
||||
// strtPnttm = strtPnttm+ "0000";
|
||||
String endPnttm = vEPrcsDetailVO.getEndPnttm().replaceAll("[.]", "").replaceAll(":", "").trim();
|
||||
// endPnttm = endPnttm+ "0000";
|
||||
|
||||
vEPrcsDetailVO.setStrtPnttm(strtPnttm);
|
||||
vEPrcsDetailVO.setEndPnttm(endPnttm);
|
||||
@ -482,11 +482,11 @@ public class OprtnAplctAnncmMngController {
|
||||
System.out.println(vEPrcsDetailVO.getStrtPnttm());
|
||||
System.out.println(vEPrcsDetailVO.getEndPnttm());
|
||||
|
||||
String strtPnttm = vEPrcsDetailVO.getStrtPnttm().replaceAll("[.]", "").trim()+"0000";
|
||||
String strtPnttm = vEPrcsDetailVO.getStrtPnttm().replaceAll("[.]", "").replaceAll(":", "").trim();
|
||||
// String strtPnttm = vEPrcsDetailVO.getStrtPnttm().replace(".", "").trim();
|
||||
|
||||
// strtPnttm = strtPnttm.substring(2, strtPnttm.length()) + "000000";
|
||||
String endPnttm = vEPrcsDetailVO.getEndPnttm().replaceAll("[.]", "").trim()+"0000";
|
||||
String endPnttm = vEPrcsDetailVO.getEndPnttm().replaceAll("[.]", "").replaceAll(":", "").trim();
|
||||
// String endPnttm = vEPrcsDetailVO.getEndPnttm().replace(".", "").trim();
|
||||
// endPnttm = endPnttm.substring(2, endPnttm.length()) + "000000";
|
||||
|
||||
|
||||
@ -208,7 +208,12 @@
|
||||
1=1
|
||||
<isEqual property="searchAplctChk" compareValue="Y">
|
||||
AND a.USE_YN = 'Y'
|
||||
AND TO_CHAR(SYSDATE, 'YYYYMMDD') BETWEEN SUBSTR(a.strt_pnttm,1,8) AND SUBSTR(a.end_pnttm,1,8)
|
||||
<isEqual property="lctrDivCd" compareValue="30">
|
||||
AND TO_CHAR(SYSDATE, 'YYYYMMDDHH24MI') BETWEEN a.strt_pnttm AND a.end_pnttm
|
||||
</isEqual>
|
||||
<isNotEqual property="lctrDivCd" compareValue="30">
|
||||
AND TO_CHAR(SYSDATE, 'YYYYMMDD') BETWEEN SUBSTR(a.strt_pnttm,1,8) AND SUBSTR(a.end_pnttm,1,8)
|
||||
</isNotEqual>
|
||||
</isEqual>
|
||||
<isNotEmpty property="lctrDivCd">
|
||||
AND a.lctr_div_cd=#lctrDivCd#
|
||||
|
||||
@ -323,8 +323,8 @@
|
||||
<td>
|
||||
<fmt:parseDate value='${info.strtPnttm}' var='strtPnttmDe' pattern="yyyyMMddHHmm" scope="page" />
|
||||
<fmt:parseDate value='${info.endPnttm}' var='endPnttmDe' pattern="yyyyMMddHHmm" scope="page" />
|
||||
<fmt:formatDate value="${strtPnttmDe}" pattern="yyyy.MM.dd"/> ~
|
||||
<fmt:formatDate value="${endPnttmDe}" pattern="yyyy.MM.dd"/>
|
||||
<fmt:formatDate value="${strtPnttmDe}" pattern="yyyy.MM.dd HH:mm"/> ~
|
||||
<fmt:formatDate value="${endPnttmDe}" pattern="yyyy.MM.dd HH:mm"/>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
|
||||
@ -7,6 +7,7 @@
|
||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
|
||||
<%@ taglib prefix="kc" uri="/WEB-INF/tlds/kcc_tld.tld"%>
|
||||
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
|
||||
<%
|
||||
/**
|
||||
@ -145,14 +146,22 @@
|
||||
alert("제목을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#strtPnttm").val() == ""){
|
||||
if($("#strtPnttmDay").val() == ""){
|
||||
alert("시작일을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#endPnttm").val() == ""){
|
||||
if($("#strtPnttmTime").val() == ""){
|
||||
alert("시작시간 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#endPnttmDay").val() == ""){
|
||||
alert("종료일을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#endPnttmTime").val() == ""){
|
||||
alert("종료일시간을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
/* if($("#anncmCn").val() == ""){
|
||||
alert("안내내용을 입력해주세요.");
|
||||
return false;
|
||||
@ -165,6 +174,8 @@
|
||||
//첨부파일 등록 처리
|
||||
$('#file_temp').val(""); //첨부파일 중복 등록 방지를 위해 추가
|
||||
//var data = new FormData(form);
|
||||
$("input[name=strtPnttm]").val($("input[name=strtPnttmDay]").val() + $("input[name=strtPnttmTime]").val())
|
||||
$("input[name=endPnttm]").val($("input[name=endPnttmDay]").val() + $("input[name=endPnttmTime]").val())
|
||||
var data = new FormData(document.getElementById("createForm"));
|
||||
|
||||
//첨부파일 등록 처리-step1
|
||||
@ -265,8 +276,11 @@
|
||||
</form>
|
||||
<form:form id="createForm" name="createForm" commandName="vEPrcsDetailVO" method="post">
|
||||
<input type="hidden" name="lctrDivCd" value="30"/>
|
||||
<input type="hidden" name="strtPnttm"/>
|
||||
<input type="hidden" name="endPnttm"/>
|
||||
|
||||
<!-- cont -->
|
||||
<div class="mask2" onclick="timeLayerUtil()"></div>
|
||||
<div class="cont_wrap">
|
||||
<div class="box">
|
||||
|
||||
@ -299,22 +313,6 @@
|
||||
</colgroup>
|
||||
|
||||
<tbody>
|
||||
<%--
|
||||
<tr>
|
||||
<th>구분</th>
|
||||
<td>
|
||||
<kc:select codeId="VE0015" name="prcsDiv" id="prcsDiv" css="class='select'" selectedValue="<c:out value='${info.prcsDiv}'/>" defaultValue='10'/>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th>과정명</th>
|
||||
<td>
|
||||
<input type="text" placeholder="과정명을 입력해주세요." onkeyup="fncInitCheck();" name="prcsNm" id="prcsNm" value="<c:out value='${info.prcsNm}'/>">
|
||||
<button class="btnType01" onclick="fncDupleCheck(this); return false;">중복검사</button>
|
||||
</td>
|
||||
</tr>
|
||||
--%>
|
||||
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<p class="req_text"><span>필수입력 항목</span>*</p>
|
||||
@ -336,13 +334,132 @@
|
||||
</th>
|
||||
<td>
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="strtPnttm" name="strtPnttm" value="${vEPrcsDetailVO.strtPnttm}">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="strtPnttmDay" name="strtPnttmDay" value="${vEPrcsDetailVO.strtPnttm}">
|
||||
</div>
|
||||
<div class="table_time_wrap">
|
||||
<div class="time_wrap time_select_wrap">
|
||||
<input type="text" class="time" name="strtPnttmTime" id="strtPnttmTime" title="시작 시간" autocomplete="off" readonly>
|
||||
<div class="time_layer">
|
||||
<div class="time_top">
|
||||
<p>시간 선택</p>
|
||||
</div>
|
||||
<div class="time_cont">
|
||||
<div class="hours">
|
||||
<select name="st_hours" class="hours_select" title="시 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
<option value="24">24</option>
|
||||
</select>
|
||||
</div>
|
||||
:
|
||||
<div class="min">
|
||||
<select name="st_minute" class="min_select" title="분 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="05">05</option>
|
||||
<option value="10">10</option>
|
||||
<option value="15">15</option>
|
||||
<option value="20">20</option>
|
||||
<option value="25">25</option>
|
||||
<option value="30">30</option>
|
||||
<option value="35">35</option>
|
||||
<option value="40">40</option>
|
||||
<option value="45">45</option>
|
||||
<option value="50">50</option>
|
||||
<option value="55">55</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="time_close" onclick="timeLayerUtil()" title="팝업 닫기"><i></i>닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endPnttm" name="endPnttm" value="${vEPrcsDetailVO.endPnttm}">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endPnttmDay" name="endPnttmDay" value="${vEPrcsDetailVO.endPnttm}">
|
||||
</div>
|
||||
<div class="table_time_wrap">
|
||||
<div class="time_wrap time_select_wrap">
|
||||
<input type="text" class="time" name="endPnttmTime" id="endPnttmTime" title="시작 시간" autocomplete="off" readonly>
|
||||
<div class="time_layer">
|
||||
<div class="time_top">
|
||||
<p>시간 선택</p>
|
||||
</div>
|
||||
<div class="time_cont">
|
||||
<div class="hours">
|
||||
<select name="st_hours" class="hours_select" title="시 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="01">01</option>
|
||||
<option value="02">02</option>
|
||||
<option value="03">03</option>
|
||||
<option value="04">04</option>
|
||||
<option value="05">05</option>
|
||||
<option value="06">06</option>
|
||||
<option value="07">07</option>
|
||||
<option value="08">08</option>
|
||||
<option value="09">09</option>
|
||||
<option value="10">10</option>
|
||||
<option value="11">11</option>
|
||||
<option value="12">12</option>
|
||||
<option value="13">13</option>
|
||||
<option value="14">14</option>
|
||||
<option value="15">15</option>
|
||||
<option value="16">16</option>
|
||||
<option value="17">17</option>
|
||||
<option value="18">18</option>
|
||||
<option value="19">19</option>
|
||||
<option value="20">20</option>
|
||||
<option value="21">21</option>
|
||||
<option value="22">22</option>
|
||||
<option value="23">23</option>
|
||||
<option value="24">24</option>
|
||||
</select>
|
||||
</div>
|
||||
:
|
||||
<div class="min">
|
||||
<select name="st_minute" class="min_select" title="분 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="00">00</option>
|
||||
<option value="05">05</option>
|
||||
<option value="10">10</option>
|
||||
<option value="15">15</option>
|
||||
<option value="20">20</option>
|
||||
<option value="25">25</option>
|
||||
<option value="30">30</option>
|
||||
<option value="35">35</option>
|
||||
<option value="40">40</option>
|
||||
<option value="45">45</option>
|
||||
<option value="50">50</option>
|
||||
<option value="55">55</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="time_close" onclick="timeLayerUtil()" title="팝업 닫기"><i></i>닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%-- <div id="sel_date" class="sel_date">
|
||||
<input type="text" class="startDate inp" title="검색시작일" id="startDate01" name="strtPnttm" onclick="return calendarOpen('startDate01-lry','',this)" value="${vEPrcsDetailVO.endPnttm}" data-datecontrol="true" readonly>
|
||||
<div class="calendar_in" id="calendarName_startDate" style="z-index: 9;">
|
||||
|
||||
@ -118,14 +118,22 @@
|
||||
alert("제목을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#startDate01").val() == ""){
|
||||
if($("#strtPnttmDay").val() == ""){
|
||||
alert("시작일을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#endDate").val() == ""){
|
||||
if($("#strtPnttmTime").val() == ""){
|
||||
alert("시작시간 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#endPnttmDay").val() == ""){
|
||||
alert("종료일을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
if($("#endPnttmTime").val() == ""){
|
||||
alert("종료일시간을 입력해주세요.");
|
||||
return false;
|
||||
}
|
||||
/* if($("#anncmCn").val() == ""){
|
||||
alert("안내내용을 입력해주세요.");
|
||||
return false;
|
||||
@ -138,6 +146,8 @@
|
||||
//첨부파일 등록 처리
|
||||
$('#file_temp').val(""); //첨부파일 중복 등록 방지를 위해 추가
|
||||
//var data = new FormData(form);
|
||||
$("input[name=strtPnttm]").val($("input[name=strtPnttmDay]").val() + $("input[name=strtPnttmTime]").val())
|
||||
$("input[name=endPnttm]").val($("input[name=endPnttmDay]").val() + $("input[name=endPnttmTime]").val())
|
||||
var data = new FormData(document.getElementById("createForm"));
|
||||
|
||||
//첨부파일 등록 처리-step1
|
||||
@ -240,6 +250,8 @@
|
||||
<input type="hidden" name="lctrDivCd" value="30"/>
|
||||
<input type="hidden" name="prcsAplctPrdOrd" value="<c:out value='${info.prcsAplctPrdOrd}' />" />
|
||||
<input type="hidden" name="atchFileId" value="<c:out value='${info.atchFileId}' />" />
|
||||
<input type="hidden" name="strtPnttm"/>
|
||||
<input type="hidden" name="endPnttm"/>
|
||||
|
||||
<!-- cont -->
|
||||
<div class="cont_wrap">
|
||||
@ -319,13 +331,132 @@
|
||||
<fmt:parseDate value='${info.strtPnttm}' var='strtPnttmDe' pattern="yyyyMMddHHmm" scope="page" />
|
||||
<fmt:parseDate value='${info.endPnttm}' var='endPnttmDe' pattern="yyyyMMddHHmm" scope="page" />
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="startDate01" name="strtPnttm" value="<fmt:formatDate value="${strtPnttmDe}" pattern="yyyy.MM.dd"/>"">
|
||||
<input type="text" class="calendar" title="시작일 선택" id="strtPnttmDay" name="strtPnttmDay" value="<fmt:formatDate value="${strtPnttmDe}" pattern="yyyy.MM.dd"/>">
|
||||
</div>
|
||||
<div class="table_time_wrap">
|
||||
<div class="time_wrap time_select_wrap">
|
||||
<input type="text" class="time" name="strtPnttmTime" id="strtPnttmTime" title="시작 시간" autocomplete="off" readonly value="<fmt:formatDate value="${strtPnttmDe}" pattern="HH:mm"/>">
|
||||
<div class="time_layer">
|
||||
<div class="time_top">
|
||||
<p>시간 선택<c:out value='${fn:substring(info.strtPnttm,8,10)}'/></p>
|
||||
</div>
|
||||
<div class="time_cont">
|
||||
<div class="hours">
|
||||
<select name="st_hours" class="hours_select" title="시 선택 ">
|
||||
<option value="선택">선택</option>
|
||||
<option value="01" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '01'}">selected</c:if>>01</option>
|
||||
<option value="02" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '02'}">selected</c:if>>02</option>
|
||||
<option value="03" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '03'}">selected</c:if>>03</option>
|
||||
<option value="04" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '04'}">selected</c:if>>04</option>
|
||||
<option value="05" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '05'}">selected</c:if>>05</option>
|
||||
<option value="06" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '06'}">selected</c:if>>06</option>
|
||||
<option value="07" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '07'}">selected</c:if>>07</option>
|
||||
<option value="08" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '08'}">selected</c:if>>08</option>
|
||||
<option value="09" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '09'}">selected</c:if>>09</option>
|
||||
<option value="10" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '10'}">selected</c:if>>10</option>
|
||||
<option value="11" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '11'}">selected</c:if>>11</option>
|
||||
<option value="12" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '12'}">selected</c:if>>12</option>
|
||||
<option value="13" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '13'}">selected</c:if>>13</option>
|
||||
<option value="14" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '14'}">selected</c:if>>14</option>
|
||||
<option value="15" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '15'}">selected</c:if>>15</option>
|
||||
<option value="16" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '16'}">selected</c:if>>16</option>
|
||||
<option value="17" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '17'}">selected</c:if>>17</option>
|
||||
<option value="18" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '18'}">selected</c:if>>18</option>
|
||||
<option value="19" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '19'}">selected</c:if>>19</option>
|
||||
<option value="20" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '20'}">selected</c:if>>20</option>
|
||||
<option value="21" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '21'}">selected</c:if>>21</option>
|
||||
<option value="22" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '22'}">selected</c:if>>22</option>
|
||||
<option value="23" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '23'}">selected</c:if>>23</option>
|
||||
<option value="24" <c:if test="${fn:substring(info.strtPnttm,8,10) eq '24'}">selected</c:if>>24</option>
|
||||
</select>
|
||||
</div>
|
||||
:
|
||||
<div class="min">
|
||||
<select name="st_minute" class="min_select" title="분 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="00" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '00'}">selected</c:if>>00</option>
|
||||
<option value="05" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '05'}">selected</c:if>>05</option>
|
||||
<option value="10" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '10'}">selected</c:if>>10</option>
|
||||
<option value="15" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '15'}">selected</c:if>>15</option>
|
||||
<option value="20" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '20'}">selected</c:if>>20</option>
|
||||
<option value="25" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '25'}">selected</c:if>>25</option>
|
||||
<option value="30" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '30'}">selected</c:if>>30</option>
|
||||
<option value="35" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '35'}">selected</c:if>>35</option>
|
||||
<option value="40" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '40'}">selected</c:if>>40</option>
|
||||
<option value="45" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '45'}">selected</c:if>>45</option>
|
||||
<option value="50" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '50'}">selected</c:if>>50</option>
|
||||
<option value="55" <c:if test="${fn:substring(info.strtPnttm,10,12) eq '55'}">selected</c:if>>55</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="time_close" onclick="timeLayerUtil()" title="팝업 닫기"><i></i>닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
~
|
||||
<div class="calendar_wrap">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endDate" name="endPnttm" value="<fmt:formatDate value="${endPnttmDe}" pattern="yyyy.MM.dd"/>">
|
||||
<input type="text" class="calendar" title="종료일 선택" id="endPnttmDay" name="endPnttmDay" value="<fmt:formatDate value="${endPnttmDe}" pattern="yyyy.MM.dd"/>">
|
||||
</div>
|
||||
<div class="table_time_wrap">
|
||||
<div class="time_wrap time_select_wrap">
|
||||
<input type="text" class="time" name="endPnttmTime" id="endPnttmTime" title="시작 시간" autocomplete="off" readonly value="<fmt:formatDate value="${endPnttmDe}" pattern="HH:mm"/>">
|
||||
<div class="time_layer">
|
||||
<div class="time_top">
|
||||
<p>시간 선택</p>
|
||||
</div>
|
||||
<div class="time_cont">
|
||||
<div class="hours">
|
||||
<select name="st_hours" class="hours_select" title="시 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="01" <c:if test="${fn:substring(info.endPnttm,8,10) eq '01'}">selected</c:if>>01</option>
|
||||
<option value="02" <c:if test="${fn:substring(info.endPnttm,8,10) eq '02'}">selected</c:if>>02</option>
|
||||
<option value="03" <c:if test="${fn:substring(info.endPnttm,8,10) eq '03'}">selected</c:if>>03</option>
|
||||
<option value="04" <c:if test="${fn:substring(info.endPnttm,8,10) eq '04'}">selected</c:if>>04</option>
|
||||
<option value="05" <c:if test="${fn:substring(info.endPnttm,8,10) eq '05'}">selected</c:if>>05</option>
|
||||
<option value="06" <c:if test="${fn:substring(info.endPnttm,8,10) eq '06'}">selected</c:if>>06</option>
|
||||
<option value="07" <c:if test="${fn:substring(info.endPnttm,8,10) eq '07'}">selected</c:if>>07</option>
|
||||
<option value="08" <c:if test="${fn:substring(info.endPnttm,8,10) eq '08'}">selected</c:if>>08</option>
|
||||
<option value="09" <c:if test="${fn:substring(info.endPnttm,8,10) eq '09'}">selected</c:if>>09</option>
|
||||
<option value="10" <c:if test="${fn:substring(info.endPnttm,8,10) eq '10'}">selected</c:if>>10</option>
|
||||
<option value="11" <c:if test="${fn:substring(info.endPnttm,8,10) eq '11'}">selected</c:if>>11</option>
|
||||
<option value="12" <c:if test="${fn:substring(info.endPnttm,8,10) eq '12'}">selected</c:if>>12</option>
|
||||
<option value="13" <c:if test="${fn:substring(info.endPnttm,8,10) eq '13'}">selected</c:if>>13</option>
|
||||
<option value="14" <c:if test="${fn:substring(info.endPnttm,8,10) eq '14'}">selected</c:if>>14</option>
|
||||
<option value="15" <c:if test="${fn:substring(info.endPnttm,8,10) eq '15'}">selected</c:if>>15</option>
|
||||
<option value="16" <c:if test="${fn:substring(info.endPnttm,8,10) eq '16'}">selected</c:if>>16</option>
|
||||
<option value="17" <c:if test="${fn:substring(info.endPnttm,8,10) eq '17'}">selected</c:if>>17</option>
|
||||
<option value="18" <c:if test="${fn:substring(info.endPnttm,8,10) eq '18'}">selected</c:if>>18</option>
|
||||
<option value="19" <c:if test="${fn:substring(info.endPnttm,8,10) eq '19'}">selected</c:if>>19</option>
|
||||
<option value="20" <c:if test="${fn:substring(info.endPnttm,8,10) eq '20'}">selected</c:if>>20</option>
|
||||
<option value="21" <c:if test="${fn:substring(info.endPnttm,8,10) eq '21'}">selected</c:if>>21</option>
|
||||
<option value="22" <c:if test="${fn:substring(info.endPnttm,8,10) eq '22'}">selected</c:if>>22</option>
|
||||
<option value="23" <c:if test="${fn:substring(info.endPnttm,8,10) eq '23'}">selected</c:if>>23</option>
|
||||
<option value="24" <c:if test="${fn:substring(info.endPnttm,8,10) eq '24'}">selected</c:if>>24</option>
|
||||
</select>
|
||||
</div>
|
||||
:
|
||||
<div class="min">
|
||||
<select name="st_minute" class="min_select" title="분 선택">
|
||||
<option value="선택">선택</option>
|
||||
<option value="00" <c:if test="${fn:substring(info.endPnttm,10,12) eq '00'}">selected</c:if>>00</option>
|
||||
<option value="05" <c:if test="${fn:substring(info.endPnttm,10,12) eq '05'}">selected</c:if>>05</option>
|
||||
<option value="10" <c:if test="${fn:substring(info.endPnttm,10,12) eq '10'}">selected</c:if>>10</option>
|
||||
<option value="15" <c:if test="${fn:substring(info.endPnttm,10,12) eq '15'}">selected</c:if>>15</option>
|
||||
<option value="20" <c:if test="${fn:substring(info.endPnttm,10,12) eq '20'}">selected</c:if>>20</option>
|
||||
<option value="25" <c:if test="${fn:substring(info.endPnttm,10,12) eq '25'}">selected</c:if>>25</option>
|
||||
<option value="30" <c:if test="${fn:substring(info.endPnttm,10,12) eq '30'}">selected</c:if>>30</option>
|
||||
<option value="35" <c:if test="${fn:substring(info.endPnttm,10,12) eq '35'}">selected</c:if>>35</option>
|
||||
<option value="40" <c:if test="${fn:substring(info.endPnttm,10,12) eq '40'}">selected</c:if>>40</option>
|
||||
<option value="45" <c:if test="${fn:substring(info.endPnttm,10,12) eq '45'}">selected</c:if>>45</option>
|
||||
<option value="50" <c:if test="${fn:substring(info.endPnttm,10,12) eq '50'}">selected</c:if>>50</option>
|
||||
<option value="55" <c:if test="${fn:substring(info.endPnttm,10,12) eq '55'}">selected</c:if>>55</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<button type="button" class="time_close" onclick="timeLayerUtil()" title="팝업 닫기"><i></i>닫기</button>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<%-- <div id="sel_date" class="sel_date">
|
||||
<fmt:parseDate value='${info.strtPnttm}' var='strtPnttmDe' pattern="yyMMddHHmmss" scope="page" />
|
||||
<fmt:parseDate value='${info.endPnttm}' var='endPnttmDe' pattern="yyMMddHHmmss" scope="page" />
|
||||
|
||||
@ -18,7 +18,7 @@
|
||||
}
|
||||
|
||||
function openPop(){
|
||||
//if(!checkAplctPsbl()) return;
|
||||
/* if(!checkAplctPsbl()) return; */
|
||||
if(${detailVO == null}){
|
||||
alert("신청기간이 아닙니다.");
|
||||
return false;
|
||||
|
||||
@ -37,9 +37,7 @@
|
||||
}
|
||||
|
||||
function goMain(){
|
||||
var frm = document.getElementById("prcsOrdForm");
|
||||
frm.action = "<c:url value='/web/main/mainPage.do'/>";
|
||||
frm.submit();
|
||||
location.href="<c:url value='/web/main/mainPage.do'/>";
|
||||
}
|
||||
|
||||
|
||||
@ -58,10 +56,10 @@
|
||||
<dl>
|
||||
<dt>알려드립니다</dt>
|
||||
<c:if test="${detailVO.checkYn eq 'Y' }">
|
||||
<dd><c:out value='${nowYear}'/>년도 저작권 체험교실 운영 신청은 <c:out value='${detailVO.strtPnttm }'/> ~ <c:out value='${detailVO.endPnttm}'/>,<br>9:00 ~ 18:00에 진행되오니 많은 관심 부탁드립니다. 감사합니다.</dd>
|
||||
<dd><c:out value='${nowYear}'/>년도 저작권 체험교실 운영 신청은 <c:out value='${detailVO.strtPnttm }'/> ~<br> <c:out value='${detailVO.endPnttm}'/>에 진행되오니 많은 관심 부탁드립니다. 감사합니다.</dd>
|
||||
</c:if>
|
||||
<c:if test="${detailVO.checkYn ne 'Y' }">
|
||||
<dd><c:out value='${nowYear}'/>년도 저작권 체험교실 운영 신청은 <c:out value='${detailVO.strtPnttm }'/> ~ <c:out value='${detailVO.endPnttm}'/>,<br>9:00 ~ 18:00에 진행되었습니다.<br> 현재는 신청기간이 아니므로 찾아가는 저작권 교육을 이용하여 주시기 바랍니다. 감사합니다.</dd>
|
||||
<dd><c:out value='${nowYear}'/>년도 저작권 체험교실 운영 신청은 <c:out value='${detailVO.strtPnttm }'/> ~<br> <c:out value='${detailVO.endPnttm}'/>에 진행되었습니다.<br> 현재는 신청기간이 아니므로 찾아가는 저작권 교육을 이용하여 주시기 바랍니다. 감사합니다.</dd>
|
||||
</c:if>
|
||||
</dl>
|
||||
</div>
|
||||
|
||||
Loading…
Reference in New Issue
Block a user