--- base/src/main/java/egovframework/com/cmm/web/FileMngController.java
+++ base/src/main/java/egovframework/com/cmm/web/FileMngController.java
... | ... | @@ -118,9 +118,6 @@ |
| 118 | 118 |
String atchFileId = param_atchFileId; |
| 119 | 119 |
String returnUrl = "cmm/fms/EgovFileList"; |
| 120 | 120 |
String viewDivision = request.getParameter("viewDivision") == null ? "" : request.getParameter("viewDivision").toString();
|
| 121 |
- if("staff".equals(viewDivision)){
|
|
| 122 |
- returnUrl = "cmm/fms/EgovStaffFileList"; |
|
| 123 |
- } |
|
| 124 | 121 |
|
| 125 | 122 |
if(!EgovStringUtil.isEmpty(atchFileId)) {
|
| 126 | 123 |
fileVO.setAtchFileId(atchFileId); |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSAttributeManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSAttributeManageController.java
... | ... | @@ -89,7 +89,7 @@ |
| 89 | 89 |
|
| 90 | 90 |
request.getSession().setAttribute("sessionVO", boardMasterVO);
|
| 91 | 91 |
|
| 92 |
- return "mng/cop/bbs/EgovBoardMstrRegist"; |
|
| 92 |
+ return "mng/cop/bbs/BoardMstrRegist"; |
|
| 93 | 93 |
} |
| 94 | 94 |
|
| 95 | 95 |
//신규 게시판 마스터 정보를 등록한다. |
... | ... | @@ -123,7 +123,7 @@ |
| 123 | 123 |
model.addAttribute("fileStoreTemplateWebPathByPreFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByPreFile"));
|
| 124 | 124 |
model.addAttribute("fileStoreSourcWebPathByPreFile", propertyService.getString("publish.sourc.bbs.fileStoreWebPathByPreFile"));
|
| 125 | 125 |
|
| 126 |
- return "mng/cop/bbs/EgovBoardMstrRegist"; |
|
| 126 |
+ return "mng/cop/bbs/BoardMstrRegist"; |
|
| 127 | 127 |
} |
| 128 | 128 |
|
| 129 | 129 |
boardMaster.setFrstRegisterId(loginVO.getId()); |
... | ... | @@ -169,7 +169,7 @@ |
| 169 | 169 |
} |
| 170 | 170 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 171 | 171 |
|
| 172 |
- return "mng/cop/bbs/EgovBoardMstrList"; |
|
| 172 |
+ return "mng/cop/bbs/BoardMstrList"; |
|
| 173 | 173 |
} |
| 174 | 174 |
|
| 175 | 175 |
//게시판 마스터 상세내용을 조회한다. |
... | ... | @@ -213,7 +213,7 @@ |
| 213 | 213 |
|
| 214 | 214 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 215 | 215 |
|
| 216 |
- return "mng/cop/bbs/EgovBoardMstrRegist"; |
|
| 216 |
+ return "mng/cop/bbs/BoardMstrRegist"; |
|
| 217 | 217 |
} |
| 218 | 218 |
|
| 219 | 219 |
//게시판 마스터 정보를 수정한다. |
... | ... | @@ -264,7 +264,7 @@ |
| 264 | 264 |
model.addAttribute("fileStoreTemplateWebPathByPreFile", propertyService.getString("publish.tmplat.bbs.fileStoreWebPathByPreFile"));
|
| 265 | 265 |
model.addAttribute("fileStoreSourcWebPathByPreFile", propertyService.getString("publish.sourc.bbs.fileStoreWebPathByPreFile"));
|
| 266 | 266 |
|
| 267 |
- return "mng/cop/bbs/EgovBoardMstrRegist"; |
|
| 267 |
+ return "mng/cop/bbs/BoardMstrRegist"; |
|
| 268 | 268 |
} |
| 269 | 269 |
|
| 270 | 270 |
boardMaster.setLastUpdusrId(user.getId()); |
--- base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSManageController.java
+++ base/src/main/java/egovframework/com/mng/cop/bbs/web/BBSManageController.java
... | ... | @@ -185,7 +185,7 @@ |
| 185 | 185 |
|
| 186 | 186 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 187 | 187 |
|
| 188 |
- return "mng/cop/bbs/default/EgovNoticeList"; |
|
| 188 |
+ return "mng/cop/bbs/default/NoticeList"; |
|
| 189 | 189 |
} |
| 190 | 190 |
|
| 191 | 191 |
//게시물에 대한 상세 정보를 조회한다. |
... | ... | @@ -225,7 +225,7 @@ |
| 225 | 225 |
} |
| 226 | 226 |
|
| 227 | 227 |
|
| 228 |
- return "mng/cop/bbs/default/EgovNoticeInqire"; |
|
| 228 |
+ return "mng/cop/bbs/default/NoticeInqire"; |
|
| 229 | 229 |
} |
| 230 | 230 |
|
| 231 | 231 |
//게시물 등록을 위한 등록페이지로 이동한다. |
... | ... | @@ -256,7 +256,7 @@ |
| 256 | 256 |
request.getSession().setAttribute("sessionVO", boardVO);
|
| 257 | 257 |
} |
| 258 | 258 |
|
| 259 |
- return "mng/cop/bbs/default/EgovNoticeRegist"; |
|
| 259 |
+ return "mng/cop/bbs/default/NoticeRegist"; |
|
| 260 | 260 |
} |
| 261 | 261 |
|
| 262 | 262 |
//게시물을 등록한다. |
... | ... | @@ -293,7 +293,7 @@ |
| 293 | 293 |
model.addAttribute("brdMstrVO", master);
|
| 294 | 294 |
} |
| 295 | 295 |
|
| 296 |
- return "mng/cop/bbs/default/EgovNoticeRegist"; |
|
| 296 |
+ return "mng/cop/bbs/default/NoticeRegist"; |
|
| 297 | 297 |
} |
| 298 | 298 |
|
| 299 | 299 |
if(master != null) {
|
... | ... | @@ -374,7 +374,7 @@ |
| 374 | 374 |
request.getSession().setAttribute("sessionVO", boardVO);
|
| 375 | 375 |
} |
| 376 | 376 |
|
| 377 |
- return "mng/cop/bbs/default/EgovNoticeRegist"; |
|
| 377 |
+ return "mng/cop/bbs/default/NoticeRegist"; |
|
| 378 | 378 |
} |
| 379 | 379 |
|
| 380 | 380 |
//게시물에 대한 답변을 등록한다. |
... | ... | @@ -413,7 +413,7 @@ |
| 413 | 413 |
} |
| 414 | 414 |
} |
| 415 | 415 |
|
| 416 |
- return "mng/cop/bbs/default/EgovNoticeRegist"; |
|
| 416 |
+ return "mng/cop/bbs/default/NoticeRegist"; |
|
| 417 | 417 |
} |
| 418 | 418 |
|
| 419 | 419 |
if(master != null) {
|
... | ... | @@ -499,7 +499,7 @@ |
| 499 | 499 |
request.getSession().setAttribute("sessionVO", boardVO);
|
| 500 | 500 |
} |
| 501 | 501 |
|
| 502 |
- return "mng/cop/bbs/default/EgovNoticeRegist"; |
|
| 502 |
+ return "mng/cop/bbs/default/NoticeRegist"; |
|
| 503 | 503 |
} |
| 504 | 504 |
|
| 505 | 505 |
//게시물에 대한 내용을 수정한다. |
... | ... | @@ -543,7 +543,7 @@ |
| 543 | 543 |
model.addAttribute("board", dataVO);
|
| 544 | 544 |
} |
| 545 | 545 |
|
| 546 |
- return "mng/cop/bbs/default/EgovNoticeRegist"; |
|
| 546 |
+ return "mng/cop/bbs/default/NoticeRegist"; |
|
| 547 | 547 |
} |
| 548 | 548 |
|
| 549 | 549 |
if(master != null) {
|
--- base/src/main/java/egovframework/com/mng/uss/ion/sit/web/LinkSiteManageController.java
+++ base/src/main/java/egovframework/com/mng/uss/ion/sit/web/LinkSiteManageController.java
... | ... | @@ -106,7 +106,7 @@ |
| 106 | 106 |
} |
| 107 | 107 |
model.addAttribute("paginationInfo", paginationInfo);
|
| 108 | 108 |
|
| 109 |
- return "/mng/uss/ion/sit/EgovSiteListInqire"; |
|
| 109 |
+ return "/mng/uss/ion/sit/SiteListInqire"; |
|
| 110 | 110 |
} |
| 111 | 111 |
|
| 112 | 112 |
//사이트정보 등록전 단계 |
... | ... | @@ -123,7 +123,7 @@ |
| 123 | 123 |
|
| 124 | 124 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 125 | 125 |
|
| 126 |
- return "/mng/uss/ion/sit/EgovSiteInfoRegist"; |
|
| 126 |
+ return "/mng/uss/ion/sit/SiteInfoRegist"; |
|
| 127 | 127 |
|
| 128 | 128 |
} |
| 129 | 129 |
|
... | ... | @@ -138,15 +138,11 @@ |
| 138 | 138 |
beanValidator.validate(siteManageVO, bindingResult); |
| 139 | 139 |
|
| 140 | 140 |
if(bindingResult.hasErrors()) {
|
| 141 |
- |
|
| 142 | 141 |
// 공통코드를 가져오기 위한 Vo |
| 143 | 142 |
CmmnDetailCodeVO vo = new CmmnDetailCodeVO(); |
| 144 | 143 |
vo.setCodeId("COM023");
|
| 145 |
- |
|
| 146 | 144 |
model.addAttribute("resultList", cmmUseService.selectCmmCodeDetail(vo));
|
| 147 |
- |
|
| 148 |
- return "/uss/olh/wor/EgovSiteInfoRegist"; |
|
| 149 |
- |
|
| 145 |
+ return "/mng/uss/ion/sit/SiteInfoRegist"; |
|
| 150 | 146 |
} |
| 151 | 147 |
|
| 152 | 148 |
// 로그인VO에서 사용자 정보 가져오기 |
... | ... | @@ -179,7 +175,7 @@ |
| 179 | 175 |
|
| 180 | 176 |
request.getSession().setAttribute("sessionVO", searchVO);
|
| 181 | 177 |
|
| 182 |
- return "/mng/uss/ion/sit/EgovSiteInfoRegist"; |
|
| 178 |
+ return "/mng/uss/ion/sit/SiteInfoRegist"; |
|
| 183 | 179 |
} |
| 184 | 180 |
|
| 185 | 181 |
//사이트정보를 수정한다. |
... | ... | @@ -199,7 +195,7 @@ |
| 199 | 195 |
vo.setCodeId("COM023");
|
| 200 | 196 |
|
| 201 | 197 |
model.addAttribute("resultList", cmmUseService.selectCmmCodeDetail(vo));
|
| 202 |
- return "/uss/olh/wor/EgovSiteInfoRegist"; |
|
| 198 |
+ return "/mng/uss/ion/sit/SiteInfoRegist"; |
|
| 203 | 199 |
|
| 204 | 200 |
} |
| 205 | 201 |
|
--- base/src/main/java/egovframework/module/uss/ion/pwm/service/impl/PopupManageServiceImpl.java
+++ base/src/main/java/egovframework/module/uss/ion/pwm/service/impl/PopupManageServiceImpl.java
... | ... | @@ -45,7 +45,7 @@ |
| 45 | 45 |
public void deletePopup(PopupManageVO popupManageVO) throws Exception {
|
| 46 | 46 |
popupMapper.deletePopup(popupManageVO); |
| 47 | 47 |
|
| 48 |
- publishPopupChangeLog(popupManageVO.getSiteId(), "popupDelete"); |
|
| 48 |
+ //publishPopupChangeLog(popupManageVO.getSiteId(), "popupDelete"); |
|
| 49 | 49 |
} |
| 50 | 50 |
|
| 51 | 51 |
//임시첨부파일을 정식으로 등록 한다. |
... | ... | @@ -65,7 +65,7 @@ |
| 65 | 65 |
|
| 66 | 66 |
popupMapper.insertPopup(popupManageVO); |
| 67 | 67 |
|
| 68 |
- publishPopupChangeLog(popupManageVO.getSiteId(), "popupCreate"); |
|
| 68 |
+ //publishPopupChangeLog(popupManageVO.getSiteId(), "popupCreate"); |
|
| 69 | 69 |
} |
| 70 | 70 |
|
| 71 | 71 |
//기 등록된 팝업창정보를 수정한다. |
... | ... | @@ -75,7 +75,7 @@ |
| 75 | 75 |
|
| 76 | 76 |
popupMapper.updatePopup(popupManageVO); |
| 77 | 77 |
|
| 78 |
- publishPopupChangeLog(popupManageVO.getSiteId(), "popupUpdate"); |
|
| 78 |
+ //publishPopupChangeLog(popupManageVO.getSiteId(), "popupUpdate"); |
|
| 79 | 79 |
} |
| 80 | 80 |
|
| 81 | 81 |
//팝업창을 사용자 화면에서 볼수 있는 정보들을 조회한다. |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp
... | ... | @@ -19,7 +19,7 @@ |
| 19 | 19 |
<c:set var="_IMG" value="${LytFileStoreWebPathByWebFile}sit/${siteInfo.lytTmplatId}/images"/>
|
| 20 | 20 |
<c:set var="_CSS" value="${LytFileStoreWebPathByWebFile}sit/${siteInfo.lytTmplatId}"/>
|
| 21 | 21 |
<c:set var="_JS" value="${LytFileStoreWebPathByWebFile}sit/${siteInfo.lytTmplatId}"/>
|
| 22 |
-<c:set var="C_JS" value="/resources/template/common/js"/> |
|
| 22 |
+<c:set var="C_JS" value="/resources/common/js"/> |
|
| 23 | 23 |
<c:set var="C_LIB" value="/resources/lib"/> |
| 24 | 24 |
|
| 25 | 25 |
<%-- 관리자 --%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/BoardMstrList.jsp
... | ... | @@ -68,6 +68,31 @@ |
| 68 | 68 |
</form> |
| 69 | 69 |
</c:if> |
| 70 | 70 |
|
| 71 |
+<div class="fnc-area"> |
|
| 72 |
+ <div class="r-area"> |
|
| 73 |
+ <form name="frm" method="post" action="<c:url value="/mng/cop/bbs/SelectBBSMasterInfs.do"/>"> |
|
| 74 |
+ <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 75 |
+ <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 76 |
+ <input type="hidden" name="selectMode" value="${searchVO.selectMode}"/>
|
|
| 77 |
+ <input type="hidden" name="trgetId" value="${searchVO.trgetId}"/>
|
|
| 78 |
+ <input type="hidden" name="registSeCode" value="${searchVO.registSeCode}"/>
|
|
| 79 |
+ |
|
| 80 |
+ <div class="sch-area"> |
|
| 81 |
+ <div class="sch-option"> |
|
| 82 |
+ <select name="searchCondition" id="searchCondition"> |
|
| 83 |
+ <option value="0" <c:if test="${searchVO.searchCondition == '0'}">selected="selected"</c:if> >게시판명</option>
|
|
| 84 |
+ <%-- <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if> >게시판유형</option>--%>
|
|
| 85 |
+ </select> |
|
| 86 |
+ </div> |
|
| 87 |
+ <div class="sch"> |
|
| 88 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 89 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 90 |
+ </div> |
|
| 91 |
+ </div> |
|
| 92 |
+ </form> |
|
| 93 |
+ </div> |
|
| 94 |
+</div> |
|
| 95 |
+ |
|
| 71 | 96 |
<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
| 72 | 97 |
|
| 73 | 98 |
<div class="list-type sm"> |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/BoardMstrRegist.jsp
... | ... | @@ -0,0 +1,391 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | +<c:set var="_MODE" value=""/> | |
| 4 | + | |
| 5 | +<c:choose> | |
| 6 | + <c:when test="${empty searchVO.bbsId}"> | |
| 7 | + <c:set var="_MODE" value="REG"/> | |
| 8 | + </c:when> | |
| 9 | + <c:otherwise> | |
| 10 | + <c:set var="_MODE" value="UPT"/> | |
| 11 | + </c:otherwise> | |
| 12 | +</c:choose> | |
| 13 | + | |
| 14 | +<c:choose> | |
| 15 | + <c:when test="${searchVO.selectMode eq 'Y'}"> | |
| 16 | + <c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 17 | + <c:param name="title" value="게시판선택"/> | |
| 18 | + </c:import> | |
| 19 | + </c:when> | |
| 20 | + <c:otherwise> | |
| 21 | + <c:set var="menu" value="BOARD_MANAGE"/> | |
| 22 | + <c:if test="${searchVO.trgetId eq 'MMAMVP_SERVICE_BOARD'}"> | |
| 23 | + <c:set var="menu" value="MLTMD_MANAGE"/> | |
| 24 | + </c:if> | |
| 25 | + <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 26 | + <c:param name="menu" value="${menu}"/> | |
| 27 | + <c:param name="depth1" value="BOARD_ADMIN"/> | |
| 28 | + <c:param name="depth2" value=""/> | |
| 29 | + <c:param name="title" value="게시판관리"/> | |
| 30 | + </c:import> | |
| 31 | + </c:otherwise> | |
| 32 | +</c:choose> | |
| 33 | + | |
| 34 | + | |
| 35 | +<script src="<c:url value="/validator.do"/>"></script> | |
| 36 | +<validator:javascript formName="boardMaster" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 37 | + | |
| 38 | +<script> | |
| 39 | + function fn_egov_validateForm(obj){ | |
| 40 | + return true; | |
| 41 | + } | |
| 42 | + | |
| 43 | + function fn_egov_regist_brdMstr(){ | |
| 44 | + | |
| 45 | + if($('#siteId').val() == '') { | |
| 46 | + alert('<spring:message code="common.site" />를 선택하세요'); | |
| 47 | + return false; | |
| 48 | + } | |
| 49 | + /* | |
| 50 | + if (!validateBoardMaster(document.boardMaster)){ | |
| 51 | + return false; | |
| 52 | + } | |
| 53 | + */ | |
| 54 | + if($('#sourcId').val() == '') { | |
| 55 | + alert('<spring:message code="cop.sourc" />를 선택하세요'); | |
| 56 | + return false; | |
| 57 | + } | |
| 58 | + | |
| 59 | + if(!$.isNumeric($('#posblAtchFileSize').val())) { | |
| 60 | + alert("<spring:message code="cop.posblAtchFileSize" />은(는) 숫자만 입력하세요"); | |
| 61 | + $('#posblAtchFileSize').focus(); | |
| 62 | + return false; | |
| 63 | + } | |
| 64 | + | |
| 65 | + if(!$.isNumeric($('#posblAtchFileNumber').val())) { | |
| 66 | + alert("<spring:message code="cop.posblAtchFileNumber" />은(는) 숫자만 입력하세요"); | |
| 67 | + $('#posblAtchFileNumber').focus(); | |
| 68 | + return false; | |
| 69 | + } | |
| 70 | + | |
| 71 | + if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 72 | + return false; | |
| 73 | + } | |
| 74 | + } | |
| 75 | + | |
| 76 | + function isNumber(obj) | |
| 77 | + { | |
| 78 | + var str = obj.value; | |
| 79 | + if(str.length == 0) | |
| 80 | + return false; | |
| 81 | + for(var i=0; i < str.length; i++) | |
| 82 | + { | |
| 83 | + if(!('0' <= str.charAt(i) && str.charAt(i) <= '9')) | |
| 84 | + return false; | |
| 85 | + } | |
| 86 | + | |
| 87 | + return true; | |
| 88 | + } | |
| 89 | + | |
| 90 | + /* ******************************************************** | |
| 91 | + * RADIO BOX VALUE FUNCTION | |
| 92 | + ******************************************************** */ | |
| 93 | + function fn_egov_RadioBoxValue(sbName) | |
| 94 | + { | |
| 95 | + var FLength = document.getElementsByName(sbName).length; | |
| 96 | + var FValue = ""; | |
| 97 | + for(var i=0; i < FLength; i++) | |
| 98 | + { | |
| 99 | + if(document.getElementsByName(sbName)[i].checked == true){ | |
| 100 | + FValue = document.getElementsByName(sbName)[i].value; | |
| 101 | + } | |
| 102 | + } | |
| 103 | + return FValue; | |
| 104 | + } | |
| 105 | + | |
| 106 | + function fn_egov_selectSourc() { | |
| 107 | + var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsSourcList.do?"; | |
| 108 | + url = url + "&selectMode=Y"; | |
| 109 | + | |
| 110 | + var win = window.open(url ,'bbsSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); | |
| 111 | + if(win != null) { | |
| 112 | + win.focus(); | |
| 113 | + } | |
| 114 | + } | |
| 115 | + | |
| 116 | + function fn_egov_updateSourc(id, nm, fileNm) { | |
| 117 | + | |
| 118 | + $('#sourcId').val(id); | |
| 119 | + $('#sourcNm').text(nm); | |
| 120 | + if(fileNm) { | |
| 121 | + $('#sourcImage').attr('src', '${fileStoreSourcWebPathByPreFile}/' + fileNm); | |
| 122 | + } else { | |
| 123 | + $('#sourcImage').attr('src', '${_IMG}/board/no_img.gif'); | |
| 124 | + } | |
| 125 | + } | |
| 126 | + | |
| 127 | + function fn_egov_selectTemplate() { | |
| 128 | + var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsTemplateList.do?"; | |
| 129 | + url = url + "&selectMode=Y"; | |
| 130 | + | |
| 131 | + var win = window.open(url ,'bbsTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=1290,height=650'); | |
| 132 | + if(win != null) { | |
| 133 | + win.focus(); | |
| 134 | + } | |
| 135 | + } | |
| 136 | + | |
| 137 | + function fn_egov_updateTemplate(id, nm, fileNm) { | |
| 138 | + $('#tmplatId').val(id); | |
| 139 | + $('#tmplatNm').text(nm); | |
| 140 | + if(fileNm) { | |
| 141 | + $('#tmplatImage').attr('src', '${fileStoreTemplateWebPathByPreFile}/' + fileNm); | |
| 142 | + } else { | |
| 143 | + $('#tmplatImage').attr('src', '${_IMG}/board/no_img.gif'); | |
| 144 | + } | |
| 145 | + } | |
| 146 | + | |
| 147 | + function fnImagePreviewBefore(id) { | |
| 148 | + if($('#' + tmplatImage).attr('src') != '${_IMG}/board/no_img.gif') { | |
| 149 | + fnImagePreview($('#tmplatImage').attr('src')); | |
| 150 | + } else { | |
| 151 | + alert('이미지가 없습니다.'); | |
| 152 | + } | |
| 153 | + } | |
| 154 | +</script> | |
| 155 | + | |
| 156 | +<c:choose> | |
| 157 | + <c:when test="${_MODE eq 'REG' }"> | |
| 158 | + <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/cop/bbs/insertBBSMasterInf.do"/> | |
| 159 | + </c:when> | |
| 160 | + <c:otherwise> | |
| 161 | + <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/cop/bbs/UpdateBBSMasterInf.do"/> | |
| 162 | + </c:otherwise> | |
| 163 | +</c:choose> | |
| 164 | + | |
| 165 | +<form:form commandName="boardMaster" name="boardMaster" action="${actionUrl}" method="post" onsubmit="return fn_egov_regist_brdMstr();"> | |
| 166 | + | |
| 167 | + <form:hidden path="siteId"/> | |
| 168 | + <form:hidden path="sysTyCode"/> | |
| 169 | + | |
| 170 | + <form:hidden path="bbsId"/> | |
| 171 | + <form:hidden path="tmplatId"/> | |
| 172 | + <form:hidden path="sourcId"/> | |
| 173 | + <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 174 | + <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/> | |
| 175 | + <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/> | |
| 176 | + <input name="selectMode" type="hidden" value="<c:out value="${searchVO.selectMode}"/>"/> | |
| 177 | + | |
| 178 | + <input type="hidden" name="trgetId" value="${searchVO.trgetId}"/> | |
| 179 | + <input type="hidden" name="registSeCode" value="${searchVO.registSeCode}"/> | |
| 180 | + | |
| 181 | + <fieldset> | |
| 182 | + <legend class="hdn">게시판마스터 입력 폼</legend> | |
| 183 | + | |
| 184 | + <div class="write-type"> | |
| 185 | + <table> | |
| 186 | + <colgroup> | |
| 187 | + <col style="width:250px" /> | |
| 188 | + <col /> | |
| 189 | + </colgroup> | |
| 190 | + <tbody> | |
| 191 | + <tr> | |
| 192 | + <th><label for="bbsNm"><spring:message code="cop.sourcNm" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 193 | + <td> | |
| 194 | + <form:input path="bbsNm" size="70" maxlength="70" cssClass="q4" /> | |
| 195 | + <div><form:errors path="bbsNm"/></div> | |
| 196 | + </td> | |
| 197 | + </tr> | |
| 198 | + <tr> | |
| 199 | + <th><label for="bbsAttrbCode"><spring:message code="cop.bbsAttrbCode" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 200 | + <td> | |
| 201 | + <div class="selectbox"> | |
| 202 | + <form:select path="bbsAttrbCode"> | |
| 203 | + <form:option value='' label="--선택하세요--" /> | |
| 204 | + <form:options items="${attrbList}" itemValue="code" itemLabel="codeNm"/> | |
| 205 | + </form:select> | |
| 206 | + </div> | |
| 207 | + <div><form:errors path="bbsAttrbCode"/></div> | |
| 208 | + </td> | |
| 209 | + </tr> | |
| 210 | + <tr> | |
| 211 | + <th>소스 <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 212 | + <td> | |
| 213 | + <ul class="preview-list"> | |
| 214 | + <li> | |
| 215 | + <div class="preview-area"> | |
| 216 | + <c:choose> | |
| 217 | + <c:when test="${not empty bbsSourcVO.prevewFileNm}"> | |
| 218 | + <a href="#" onclick="fnImagePreviewBefore('sourcImage');return false;"><img id="sourcImage" src="${sourcFileStoreWebPathByPreFile}/${bbsSourcVO.prevewFileNm}"/></a> | |
| 219 | + </c:when> | |
| 220 | + <c:otherwise> | |
| 221 | + <img id="sourcImage" src="${M_IMG}/common/no_img.gif" alt="이미지없음"/> | |
| 222 | + </c:otherwise> | |
| 223 | + </c:choose> | |
| 224 | + </div> | |
| 225 | + <div class="txt-area"> | |
| 226 | + <p id="sourcNm"><c:out value="${bbsSourcVO.sourcNm}"/></p> | |
| 227 | + <button class="btn-sm spot" onclick="fn_egov_selectSourc(); return false;">선택</button> | |
| 228 | + </div> | |
| 229 | + </li> | |
| 230 | + <li> | |
| 231 | + <div class="preview-area"> | |
| 232 | + <c:choose> | |
| 233 | + <c:when test="${not empty bbsTmplatVO.prevewFileNm}"> | |
| 234 | + <img src="${tmplatFileStoreWebPathByPreFile}/${bbsTmplatVO.prevewFileNm}"/> | |
| 235 | + </c:when> | |
| 236 | + <c:otherwise> | |
| 237 | + <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120"/> | |
| 238 | + </c:otherwise> | |
| 239 | + </c:choose> | |
| 240 | + </div> | |
| 241 | + <div class="txt-area"> | |
| 242 | + <p id="tmplatNm"><c:out value="${bbsTmplatVO.tmplatNm}"/></p> | |
| 243 | + <button class="btn-sm spot" onclick="fn_egov_selectTemplate(); return false;">선택</button> | |
| 244 | + </div> | |
| 245 | + </li> | |
| 246 | + </ul> | |
| 247 | + </td> | |
| 248 | + </tr> | |
| 249 | + <tr> | |
| 250 | + <th><label for="bbsAttrbCode"><spring:message code="cop.category.code" /></label></th> | |
| 251 | + <td> | |
| 252 | + <div class="selectbox"> | |
| 253 | + <form:select path="ctgrymasterId"> | |
| 254 | + <form:option value='' label="--없음--" /> | |
| 255 | + <form:options items="${ctgrymasterList}" itemValue="ctgrymasterId" itemLabel="ctgrymasterNm"/> | |
| 256 | + </form:select> | |
| 257 | + </div> | |
| 258 | + <div><form:errors path="ctgrymasterId"/></div> | |
| 259 | + </td> | |
| 260 | + </tr> | |
| 261 | + <tr> | |
| 262 | + <th><spring:message code="cop.replyPosblAt" /> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 263 | + <td> | |
| 264 | + <div class="checkradio"> | |
| 265 | + <form:radiobutton path="replyPosblAt" value="Y" /> | |
| 266 | + <label for="replyPosblAt1"><spring:message code="button.possible" /></label> | |
| 267 | + </div> | |
| 268 | + <div class="checkradio"> | |
| 269 | + <form:radiobutton path="replyPosblAt" value="N" /> | |
| 270 | + <label for="replyPosblAt2"><spring:message code="button.impossible" /></label> | |
| 271 | + </div> | |
| 272 | + </td> | |
| 273 | + </tr> | |
| 274 | + <tr> | |
| 275 | + <th><spring:message code="cop.author" /> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 276 | + <td> | |
| 277 | + <div class="selectbox"> | |
| 278 | + <spring:message code="cop.inqireAuthor" /> : | |
| 279 | + <form:select path="inqireAuthor"> | |
| 280 | + <form:options items="${authList}" itemValue="authorCode" itemLabel="authorNm"/> | |
| 281 | + </form:select> | |
| 282 | + </div> | |
| 283 | + <div class="selectbox"> | |
| 284 | + <spring:message code="cop.registAuthor" /> : | |
| 285 | + <form:select path="registAuthor"> | |
| 286 | + <form:options items="${authList}" itemValue="authorCode" itemLabel="authorNm"/> | |
| 287 | + </form:select> | |
| 288 | + </div> | |
| 289 | + <div class="selectbox"> | |
| 290 | + <spring:message code="cop.answerAuthor" /> : | |
| 291 | + <form:select path="answerAuthor"> | |
| 292 | + <form:options items="${authList}" itemValue="authorCode" itemLabel="authorNm"/> | |
| 293 | + </form:select> | |
| 294 | + </div> | |
| 295 | + </td> | |
| 296 | + </tr> | |
| 297 | + <tr> | |
| 298 | + <th><spring:message code="cop.fileAtchPosblAt" /> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 299 | + <td> | |
| 300 | + <div class="checkradio"> | |
| 301 | + <form:radiobutton path="fileAtchPosblAt" value="Y" /> | |
| 302 | + <label for="fileAtchPosblAt1"><spring:message code="button.possible" /></label> | |
| 303 | + </div> | |
| 304 | + <div class="checkradio"> | |
| 305 | + <form:radiobutton path="fileAtchPosblAt" value="N" /> | |
| 306 | + <label for="fileAtchPosblAt2"><spring:message code="button.impossible" /></label> | |
| 307 | + </div> | |
| 308 | + </td> | |
| 309 | + </tr> | |
| 310 | + <tr> | |
| 311 | + <th><label for="posblAtchFileSize"><spring:message code="cop.posblAtchFileSize" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 312 | + <td> | |
| 313 | + <form:input path="posblAtchFileSize" type="number" size="10" cssClass="q0" />(MByte) | |
| 314 | + <div><form:errors path="posblAtchFileSize"/></div> | |
| 315 | + </td> | |
| 316 | + </tr> | |
| 317 | + <tr> | |
| 318 | + <th><label for="posblAtchFileNumber"><spring:message code="cop.posblAtchFileNumber" /></label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 319 | + <td> | |
| 320 | + <form:input path="posblAtchFileNumber" type="number" size="10" cssClass="q0" /> | |
| 321 | + <div><form:errors path="posblAtchFileNumber"/></div> | |
| 322 | + </td> | |
| 323 | + </tr> | |
| 324 | + <tr> | |
| 325 | + <th><spring:message code="cop.commentUseAt" /> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 326 | + <td> | |
| 327 | + <div class="checkradio"> | |
| 328 | + <form:radiobutton path="commentUseAt" value="Y" /> | |
| 329 | + <label for="commentUseAt1"><spring:message code="button.yes" /></label> | |
| 330 | + </div> | |
| 331 | + <div class="checkradio"> | |
| 332 | + <form:radiobutton path="commentUseAt" value="N" /> | |
| 333 | + <label for="commentUseAt2"><spring:message code="button.no" /></label> | |
| 334 | + </div> | |
| 335 | + </td> | |
| 336 | + </tr> | |
| 337 | + <tr> | |
| 338 | + <th><spring:message code="cop.othbcUseAt" /> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 339 | + <td> | |
| 340 | + <div class="checkradio"> | |
| 341 | + <form:radiobutton path="othbcUseAt" value="Y" /> | |
| 342 | + <label for="othbcUseAt1"><spring:message code="button.yes" /></label> | |
| 343 | + </div> | |
| 344 | + <div class="checkradio"> | |
| 345 | + <form:radiobutton path="othbcUseAt" value="N" /> | |
| 346 | + <label for="othbcUseAt2"><spring:message code="button.no" /></label> | |
| 347 | + </div> | |
| 348 | + </td> | |
| 349 | + </tr> | |
| 350 | + <tr> | |
| 351 | + <th><spring:message code="cop.useAt" /> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 352 | + <td> | |
| 353 | + <div class="checkradio"> | |
| 354 | + <form:radiobutton path="svcAt" value="Y" /> | |
| 355 | + <label for="svcAt1"><spring:message code="button.use" /></label> | |
| 356 | + </div> | |
| 357 | + <div class="checkradio"> | |
| 358 | + <form:radiobutton path="svcAt" value="N" /> | |
| 359 | + <label for="svcAt2"><spring:message code="button.notUsed" /></label> | |
| 360 | + </div> | |
| 361 | + </td> | |
| 362 | + </tr> | |
| 363 | + </tbody> | |
| 364 | + </table> | |
| 365 | + </div> | |
| 366 | + | |
| 367 | + <div class="btn-cont"> | |
| 368 | + <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button> | |
| 369 | + <c:url var="listUrl" value='/mng/cop/bbs/SelectBBSMasterInfs.do'> | |
| 370 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 371 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 372 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 373 | + <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 374 | + <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 375 | + <c:param name="selectMode" value="${searchVO.selectMode}" /> | |
| 376 | + <c:param name="trgetId" value="${searchVO.trgetId}" /> | |
| 377 | + <c:param name="registSeCode" value="${searchVO.registSeCode}" /> | |
| 378 | + </c:url> | |
| 379 | + <a href="${listUrl}" class="btn btn-lg">목록</a> | |
| 380 | + </div> | |
| 381 | + </fieldset> | |
| 382 | +</form:form> | |
| 383 | + | |
| 384 | +<c:choose> | |
| 385 | + <c:when test="${searchVO.selectMode eq 'Y'}"> | |
| 386 | + <c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> | |
| 387 | + </c:when> | |
| 388 | + <c:otherwise> | |
| 389 | + <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> | |
| 390 | + </c:otherwise> | |
| 391 | +</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/EgovBoardMstrRegist.jsp
... | ... | @@ -1,407 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> | |
| 3 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 4 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %> | |
| 5 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 6 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> | |
| 7 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 8 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 9 | -<c:set var="_MODE" value=""/> | |
| 10 | - | |
| 11 | -<c:choose> | |
| 12 | - <c:when test="${empty searchVO.bbsId}"> | |
| 13 | - <c:set var="_MODE" value="REG"/> | |
| 14 | - </c:when> | |
| 15 | - <c:otherwise> | |
| 16 | - <c:set var="_MODE" value="UPT"/> | |
| 17 | - </c:otherwise> | |
| 18 | -</c:choose> | |
| 19 | - | |
| 20 | -<c:choose> | |
| 21 | - <c:when test="${searchVO.selectMode eq 'Y'}"> | |
| 22 | - <c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 23 | - <c:param name="title" value="게시판선택"/> | |
| 24 | - </c:import> | |
| 25 | - </c:when> | |
| 26 | - <c:otherwise> | |
| 27 | - <c:set var="menu" value="BOARD_MANAGE"/> | |
| 28 | - <c:if test="${searchVO.trgetId eq 'MMAMVP_SERVICE_BOARD'}"> | |
| 29 | - <c:set var="menu" value="MLTMD_MANAGE"/> | |
| 30 | - </c:if> | |
| 31 | - <c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 32 | - <c:param name="menu" value="${menu}"/> | |
| 33 | - <c:param name="depth1" value="BOARD_ADMIN"/> | |
| 34 | - <c:param name="depth2" value=""/> | |
| 35 | - <c:param name="title" value="게시판관리"/> | |
| 36 | - </c:import> | |
| 37 | - </c:otherwise> | |
| 38 | -</c:choose> | |
| 39 | - | |
| 40 | - | |
| 41 | -<script type="text/javascript" src="<c:url value='/js/egovframework/cop/bbs/EgovBBSMng.js' />" ></script> | |
| 42 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 43 | -<validator:javascript formName="boardMaster" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 44 | -<script type="text/javascript"> | |
| 45 | - function fn_egov_validateForm(obj){ | |
| 46 | - return true; | |
| 47 | - } | |
| 48 | - | |
| 49 | - function fn_egov_regist_brdMstr(){ | |
| 50 | - | |
| 51 | - if($('#siteId').val() == '') { | |
| 52 | - alert('<spring:message code="common.site" />를 선택하세요'); | |
| 53 | - return false; | |
| 54 | - } | |
| 55 | - | |
| 56 | - if (!validateBoardMaster(document.boardMaster)){ | |
| 57 | - return false; | |
| 58 | - } | |
| 59 | - | |
| 60 | - if($('#sourcId').val() == '') { | |
| 61 | - alert('<spring:message code="cop.sourc" />를 선택하세요'); | |
| 62 | - return false; | |
| 63 | - } | |
| 64 | - | |
| 65 | - if(!$.isNumeric($('#posblAtchFileSize').val())) { | |
| 66 | - alert("<spring:message code="cop.posblAtchFileSize" />은(는) 숫자만 입력하세요"); | |
| 67 | - $('#posblAtchFileSize').focus(); | |
| 68 | - return false; | |
| 69 | - } | |
| 70 | - | |
| 71 | - if(!$.isNumeric($('#posblAtchFileNumber').val())) { | |
| 72 | - alert("<spring:message code="cop.posblAtchFileNumber" />은(는) 숫자만 입력하세요"); | |
| 73 | - $('#posblAtchFileNumber').focus(); | |
| 74 | - return false; | |
| 75 | - } | |
| 76 | - | |
| 77 | - if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 78 | - return false; | |
| 79 | - } | |
| 80 | - } | |
| 81 | - | |
| 82 | - function isNumber(obj) | |
| 83 | - { | |
| 84 | - var str = obj.value; | |
| 85 | - if(str.length == 0) | |
| 86 | - return false; | |
| 87 | - for(var i=0; i < str.length; i++) | |
| 88 | - { | |
| 89 | - if(!('0' <= str.charAt(i) && str.charAt(i) <= '9')) | |
| 90 | - return false; | |
| 91 | - } | |
| 92 | - | |
| 93 | - return true; | |
| 94 | - } | |
| 95 | - | |
| 96 | - /* ******************************************************** | |
| 97 | - * RADIO BOX VALUE FUNCTION | |
| 98 | - ******************************************************** */ | |
| 99 | - function fn_egov_RadioBoxValue(sbName) | |
| 100 | - { | |
| 101 | - var FLength = document.getElementsByName(sbName).length; | |
| 102 | - var FValue = ""; | |
| 103 | - for(var i=0; i < FLength; i++) | |
| 104 | - { | |
| 105 | - if(document.getElementsByName(sbName)[i].checked == true){ | |
| 106 | - FValue = document.getElementsByName(sbName)[i].value; | |
| 107 | - } | |
| 108 | - } | |
| 109 | - return FValue; | |
| 110 | - } | |
| 111 | - | |
| 112 | - function fn_egov_selectSourc() { | |
| 113 | - var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsSourcList.do?"; | |
| 114 | - url = url + "&selectMode=Y"; | |
| 115 | - | |
| 116 | - var win = window.open(url ,'bbsSourc',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); | |
| 117 | - if(win != null) { | |
| 118 | - win.focus(); | |
| 119 | - } | |
| 120 | - } | |
| 121 | - | |
| 122 | - function fn_egov_updateSourc(id, nm, fileNm) { | |
| 123 | - | |
| 124 | - $('#sourcId').val(id); | |
| 125 | - $('#sourcNm').text(nm); | |
| 126 | - if(fileNm) { | |
| 127 | - $('#sourcImage').attr('src', '${fileStoreSourcWebPathByPreFile}/' + fileNm); | |
| 128 | - } else { | |
| 129 | - $('#sourcImage').attr('src', '${_IMG}/board/no_img.gif'); | |
| 130 | - } | |
| 131 | - } | |
| 132 | - | |
| 133 | - function fn_egov_selectTemplate() { | |
| 134 | - var url = "${pageContext.request.contextPath}/mng/cop/com/selectBbsTemplateList.do?"; | |
| 135 | - url = url + "&selectMode=Y"; | |
| 136 | - | |
| 137 | - var win = window.open(url ,'bbsTemplate',' scrollbars=yes, resizable=yes, left=0, top=0, width=880,height=650'); | |
| 138 | - if(win != null) { | |
| 139 | - win.focus(); | |
| 140 | - } | |
| 141 | - } | |
| 142 | - | |
| 143 | - function fn_egov_updateTemplate(id, nm, fileNm) { | |
| 144 | - $('#tmplatId').val(id); | |
| 145 | - $('#tmplatNm').text(nm); | |
| 146 | - if(fileNm) { | |
| 147 | - $('#tmplatImage').attr('src', '${fileStoreTemplateWebPathByPreFile}/' + fileNm); | |
| 148 | - } else { | |
| 149 | - $('#tmplatImage').attr('src', '${_IMG}/board/no_img.gif'); | |
| 150 | - } | |
| 151 | - } | |
| 152 | - | |
| 153 | - function fnImagePreviewBefore(id) { | |
| 154 | - if($('#' + tmplatImage).attr('src') != '${_IMG}/board/no_img.gif') { | |
| 155 | - fnImagePreview($('#tmplatImage').attr('src')); | |
| 156 | - } else { | |
| 157 | - alert('이미지가 없습니다.'); | |
| 158 | - } | |
| 159 | - } | |
| 160 | -</script> | |
| 161 | -<div id="cntnts"> | |
| 162 | - <c:choose> | |
| 163 | - <c:when test="${_MODE eq 'REG' }"> | |
| 164 | - <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/cop/bbs/insertBBSMasterInf.do"/> | |
| 165 | - </c:when> | |
| 166 | - <c:otherwise> | |
| 167 | - <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/cop/bbs/UpdateBBSMasterInf.do"/> | |
| 168 | - </c:otherwise> | |
| 169 | - </c:choose> | |
| 170 | - <form:form commandName="boardMaster" name="boardMaster" action="${actionUrl}" method="post" onsubmit="return fn_egov_regist_brdMstr();"> | |
| 171 | - | |
| 172 | - <form:hidden path="siteId"/> | |
| 173 | - <form:hidden path="sysTyCode"/> | |
| 174 | - | |
| 175 | - <form:hidden path="bbsId"/> | |
| 176 | - <form:hidden path="tmplatId"/> | |
| 177 | - <form:hidden path="sourcId"/> | |
| 178 | - <input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/> | |
| 179 | - <input name="searchCondition" type="hidden" value="<c:out value="${searchVO.searchCondition}"/>"/> | |
| 180 | - <input name="searchKeyword" type="hidden" value="<c:out value="${searchVO.searchKeyword}"/>"/> | |
| 181 | - <input name="selectMode" type="hidden" value="<c:out value="${searchVO.selectMode}"/>"/> | |
| 182 | - | |
| 183 | - <input type="hidden" name="trgetId" value="${searchVO.trgetId}"/> | |
| 184 | - <input type="hidden" name="registSeCode" value="${searchVO.registSeCode}"/> | |
| 185 | - | |
| 186 | - <table class="chart2"> | |
| 187 | - <caption>메뉴 등록폼</caption> | |
| 188 | - <colgroup> | |
| 189 | - <col class="co1"/> | |
| 190 | - <col class="co2"/> | |
| 191 | - </colgroup> | |
| 192 | - <tbody> | |
| 193 | - <tr> | |
| 194 | - <th> | |
| 195 | - <em>*</em> <spring:message code="cop.bbsNm" /> | |
| 196 | - </th> | |
| 197 | - <td> | |
| 198 | - <form:input path="bbsNm" size="60" cssClass="inp_long"/> | |
| 199 | - <br/><form:errors path="bbsNm" /> | |
| 200 | - </td> | |
| 201 | - </tr> | |
| 202 | - <tr> | |
| 203 | - <th> | |
| 204 | - <em>*</em> <spring:message code="cop.bbsAttrbCode" /> | |
| 205 | - </th> | |
| 206 | - <td> | |
| 207 | - <form:select path="bbsAttrbCode"> | |
| 208 | - <form:option value='' label="--선택하세요--" /> | |
| 209 | - <form:options items="${attrbList}" itemValue="code" itemLabel="codeNm"/> | |
| 210 | - </form:select> | |
| 211 | - <br/><form:errors path="bbsAttrbCode" /> | |
| 212 | - </td> | |
| 213 | - </tr> | |
| 214 | - <tr> | |
| 215 | - <th> | |
| 216 | - <em>*</em> <spring:message code="cop.sourc" /> | |
| 217 | - </th> | |
| 218 | - <td> | |
| 219 | - <table> | |
| 220 | - <tr> | |
| 221 | - <td align="center"> | |
| 222 | - <c:choose> | |
| 223 | - <c:when test="${not empty bbsSourcVO.prevewFileNm}"> | |
| 224 | - <a href="#" onclick="fnImagePreviewBefore('sourcImage');return false;"><img id="sourcImage" src="${fileStoreSourcWebPathByPreFile}/${bbsSourcVO.prevewFileNm}" width="120" height="107"/></a> | |
| 225 | - </c:when> | |
| 226 | - <c:otherwise> | |
| 227 | - <a href="#" onclick="fnImagePreviewBefore('sourcImage');return false;"><img id="sourcImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a> | |
| 228 | - </c:otherwise> | |
| 229 | - </c:choose> | |
| 230 | - </td> | |
| 231 | - </tr> | |
| 232 | - <tr> | |
| 233 | - <td align="center"><div id="sourcNm"><c:out value="${bbsSourcVO.sourcNm}"/></div></td> | |
| 234 | - </tr> | |
| 235 | - <tr> | |
| 236 | - <td align="center"><a href="#" onclick="fn_egov_selectSourc(); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td> | |
| 237 | - </tr> | |
| 238 | - </table> | |
| 239 | - </td> | |
| 240 | - </tr> | |
| 241 | - <tr> | |
| 242 | - <th> | |
| 243 | - <spring:message code="cop.tmplat" /> | |
| 244 | - </th> | |
| 245 | - <td> | |
| 246 | - <table> | |
| 247 | - <tr> | |
| 248 | - <td align="center"> | |
| 249 | - <c:choose> | |
| 250 | - <c:when test="${not empty bbsTmplatVO.prevewFileNm}"> | |
| 251 | - <a href="#" onclick="fnImagePreviewBefore('tmplatImage');return false;"><img id="tmplatImage" src="${fileStoreTemplateWebPathByPreFile}/${bbsTmplatVO.prevewFileNm}" width="120" height="107"/></a> | |
| 252 | - </c:when> | |
| 253 | - <c:otherwise> | |
| 254 | - <a href="#" onclick="fnImagePreviewBefore('tmplatImage');return false;"><img id="tmplatImage" src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a> | |
| 255 | - </c:otherwise> | |
| 256 | - </c:choose> | |
| 257 | - </td> | |
| 258 | - </tr> | |
| 259 | - <tr> | |
| 260 | - <td align="center"><div id="tmplatNm"><c:out value="${bbsTmplatVO.tmplatNm}"/></div></td> | |
| 261 | - </tr> | |
| 262 | - <tr> | |
| 263 | - <td align="center"><a href="#" onclick="fn_egov_selectTemplate(); return false;"><img src="${_IMG}/btn/btn_select.gif" alt="선택"/></a></td> | |
| 264 | - </tr> | |
| 265 | - </table> | |
| 266 | - </td> | |
| 267 | - </tr> | |
| 268 | - <tr> | |
| 269 | - <th> | |
| 270 | - <em>*</em> <spring:message code="cop.category.code" /> | |
| 271 | - </th> | |
| 272 | - <td> | |
| 273 | - <form:select path="ctgrymasterId"> | |
| 274 | - <form:option value='' label="--없음--" /> | |
| 275 | - <form:options items="${ctgrymasterList}" itemValue="ctgrymasterId" itemLabel="ctgrymasterNm"/> | |
| 276 | - </form:select> | |
| 277 | - <br/><form:errors path="ctgrymasterId" /> | |
| 278 | - </td> | |
| 279 | - </tr> | |
| 280 | - | |
| 281 | - | |
| 282 | - <tr> | |
| 283 | - <th> | |
| 284 | - <em>*</em> <spring:message code="cop.replyPosblAt" /> | |
| 285 | - </th> | |
| 286 | - <td> | |
| 287 | - <spring:message code="button.possible" /> : <form:radiobutton path="replyPosblAt" value="Y" /> | |
| 288 | - <spring:message code="button.impossible" /> : <form:radiobutton path="replyPosblAt" value="N" /> | |
| 289 | - <br/><form:errors path="replyPosblAt" /> | |
| 290 | - </td> | |
| 291 | - </tr> | |
| 292 | - <tr> | |
| 293 | - <th> | |
| 294 | - <em>*</em> <spring:message code="cop.author" /> | |
| 295 | - </th> | |
| 296 | - <td> | |
| 297 | - <spring:message code="cop.inqireAuthor" /> : | |
| 298 | - <form:select path="inqireAuthor"> | |
| 299 | - <form:options items="${authList}" itemValue="authorCode" itemLabel="authorNm"/> | |
| 300 | - </form:select> | |
| 301 | - <br/><form:errors path="inqireAuthor" /> | |
| 302 | - | |
| 303 | - <spring:message code="cop.registAuthor" /> : | |
| 304 | - <form:select path="registAuthor"> | |
| 305 | - <form:options items="${authList}" itemValue="authorCode" itemLabel="authorNm"/> | |
| 306 | - </form:select> | |
| 307 | - <br/><form:errors path="registAuthor" /> | |
| 308 | - | |
| 309 | - <spring:message code="cop.answerAuthor" /> : | |
| 310 | - <form:select path="answerAuthor"> | |
| 311 | - <form:options items="${authList}" itemValue="authorCode" itemLabel="authorNm"/> | |
| 312 | - </form:select> | |
| 313 | - <br/><form:errors path="answerAuthor" /> | |
| 314 | - </td> | |
| 315 | - </tr> | |
| 316 | - <tr> | |
| 317 | - <th> | |
| 318 | - <em>*</em> <spring:message code="cop.fileAtchPosblAt" /> | |
| 319 | - </th> | |
| 320 | - <td> | |
| 321 | - <spring:message code="button.possible" /> : <form:radiobutton path="fileAtchPosblAt" value="Y" /> | |
| 322 | - <spring:message code="button.impossible" /> : <form:radiobutton path="fileAtchPosblAt" value="N" /> | |
| 323 | - <br/><form:errors path="fileAtchPosblAt" /> | |
| 324 | - </td> | |
| 325 | - </tr> | |
| 326 | - <tr> | |
| 327 | - <th> | |
| 328 | - <em>*</em> <spring:message code="cop.posblAtchFileSize" /> | |
| 329 | - </th> | |
| 330 | - <td> | |
| 331 | - <form:input path="posblAtchFileSize" size="10" cssClass="inp"/>(MByte) | |
| 332 | - <div><form:errors path="posblAtchFileSize"/></div> | |
| 333 | - </td> | |
| 334 | - </tr> | |
| 335 | - <tr> | |
| 336 | - <th> | |
| 337 | - <em>*</em> <spring:message code="cop.posblAtchFileNumber" /> | |
| 338 | - </th> | |
| 339 | - <td> | |
| 340 | - <form:input path="posblAtchFileNumber" size="10" cssClass="inp"/> | |
| 341 | - <div><form:errors path="posblAtchFileNumber"/></div> | |
| 342 | - </td> | |
| 343 | - </tr> | |
| 344 | - <tr> | |
| 345 | - <th> | |
| 346 | - <em>*</em> <spring:message code="cop.commentUseAt" /> | |
| 347 | - </th> | |
| 348 | - <td> | |
| 349 | - <spring:message code="button.yes" /> : <form:radiobutton path="commentUseAt" value="Y" /> | |
| 350 | - <spring:message code="button.no" /> : <form:radiobutton path="commentUseAt" value="N" /> | |
| 351 | - <br/><form:errors path="commentUseAt" /> | |
| 352 | - </td> | |
| 353 | - </tr> | |
| 354 | - <tr> | |
| 355 | - <th> | |
| 356 | - <em>*</em> <spring:message code="cop.othbcUseAt" /> | |
| 357 | - </th> | |
| 358 | - <td> | |
| 359 | - <spring:message code="button.yes" /> : <form:radiobutton path="othbcUseAt" value="Y" /> | |
| 360 | - <spring:message code="button.no" /> : <form:radiobutton path="othbcUseAt" value="N" /> | |
| 361 | - <br/><form:errors path="othbcUseAt" /> | |
| 362 | - </td> | |
| 363 | - </tr> | |
| 364 | - <tr> | |
| 365 | - <th> | |
| 366 | - <em>*</em> <spring:message code="cop.useAt" /> | |
| 367 | - </th> | |
| 368 | - <td> | |
| 369 | - <spring:message code="button.use" /> : <form:radiobutton path="svcAt" value="Y" /> | |
| 370 | - <spring:message code="button.notUsed" /> : <form:radiobutton path="svcAt" value="N" /> | |
| 371 | - <br/><form:errors path="svcAt" /> | |
| 372 | - </td> | |
| 373 | - </tr> | |
| 374 | - | |
| 375 | - </tbody> | |
| 376 | - </table> | |
| 377 | - | |
| 378 | - <c:if test="${not empty searchVO.siteId }"> | |
| 379 | - <div class="btn_r"> | |
| 380 | - <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }"/> | |
| 381 | - <c:url var="listUrl" value='/mng/cop/bbs/SelectBBSMasterInfs.do'> | |
| 382 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 383 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 384 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 385 | - <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 386 | - <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 387 | - <c:param name="selectMode" value="${searchVO.selectMode}" /> | |
| 388 | - <c:param name="trgetId" value="${searchVO.trgetId}" /> | |
| 389 | - <c:param name="registSeCode" value="${searchVO.registSeCode}" /> | |
| 390 | - </c:url> | |
| 391 | - <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a> | |
| 392 | - </div> | |
| 393 | - </c:if> | |
| 394 | - | |
| 395 | - </form:form> | |
| 396 | - | |
| 397 | - | |
| 398 | -</div> | |
| 399 | - | |
| 400 | -<c:choose> | |
| 401 | - <c:when test="${searchVO.selectMode eq 'Y'}"> | |
| 402 | - <c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> | |
| 403 | - </c:when> | |
| 404 | - <c:otherwise> | |
| 405 | - <c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> | |
| 406 | - </c:otherwise> | |
| 407 | -</c:choose>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovCommentList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/CommentList.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeList.jsp
... | ... | @@ -1,442 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<c:set var="_C_IMG" value="${pageContext.request.contextPath}/template/common/images"/> | |
| 10 | -<c:set var="_C_JS" value="${pageContext.request.contextPath}/template/common/js"/> | |
| 11 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 12 | -<c:set var="_PREFIX" value="/mng/cop/bbs"/> | |
| 13 | - | |
| 14 | -<% /*URL 정의*/ %> | |
| 15 | - <c:url var="_BASE_PARAM" value=""> | |
| 16 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 17 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 18 | - <c:param name="bbsId" value="${searchVO.bbsId}" /> | |
| 19 | - <c:param name="trgetId" value="${searchVO.trgetId}" /> | |
| 20 | - <c:if test="${fn:length(searchVO.searchCateList) ne 0}"> | |
| 21 | - <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate"> | |
| 22 | - <c:if test="${not empty searchCate}"> | |
| 23 | - <c:param name="searchCateList" value="${searchCate}" /> | |
| 24 | - </c:if> | |
| 25 | - </c:forEach> | |
| 26 | - </c:if> | |
| 27 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if> | |
| 28 | - <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if> | |
| 29 | - <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if> | |
| 30 | - </c:url> | |
| 31 | -<% /*URL 정의*/ %> | |
| 32 | - | |
| 33 | -<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 34 | - <c:param name="title" value="${brdMstrVO.bbsNm}"/> | |
| 35 | -</c:import> | |
| 36 | - | |
| 37 | -<script type="text/javascript" src="${_C_JS}/jquery/jquery-1.9.1.min.js" ></script> | |
| 38 | -<script type="text/javascript" src="${_C_JS}/jquery/jquery.form.js" ></script> | |
| 39 | -<script type="text/javascript" src="${_C_JS}/board.js" ></script> | |
| 40 | -<script type="text/javascript"> | |
| 41 | - | |
| 42 | -<c:if test="${!empty brdMstrVO.ctgrymasterId}"> | |
| 43 | - | |
| 44 | - var boardCateLevel = ${boardCateLevel}; | |
| 45 | - var boardCateList = new Array(${fn:length(boardCateList)}); | |
| 46 | - <c:forEach var="cate" items="${boardCateList}" varStatus="status"> | |
| 47 | - boardCateList[${status.index}] = new ctgryObj('${cate.upperCtgryId}', '${cate.ctgryId}', '${cate.ctgryNm}', ${cate.ctgryLevel}); | |
| 48 | - </c:forEach> | |
| 49 | - | |
| 50 | -</c:if> | |
| 51 | - | |
| 52 | -//관리자 함수 시작 | |
| 53 | -$(document).ready(function(){ | |
| 54 | - $("#checkAll").click(function() { | |
| 55 | - $("input:checkbox[name=nttNoArr]").attr("checked", $(this).is(":checked")); | |
| 56 | - }); | |
| 57 | - | |
| 58 | - $('#btnManageMove').click(function() {if(checkArticle()) {$('#registAction').val('Move');bbsSelectPop();}return false;}); | |
| 59 | - $('#btnManageCopy').click(function() {if(checkArticle()) {$('#registAction').val('Copy');bbsSelectPop();}return false;}); | |
| 60 | - $('#btnManageHide').click(function() {if(checkArticle()) {if(confirm('삭제 하시겠습니까?')) {$('#registAction').val('Hide');} else {return false;}} else {return false;}}); | |
| 61 | - $('#btnManageRemove').click(function() {if(checkArticle()) {if(confirm('완전삭제 후에는 복구 할 수 없습니다. 완전삭제 하시겠습니까?')) {$('#registAction').val('Remove');} else {return false;}} else {return false;}}); | |
| 62 | - $('#btnManageRepair').click(function() {if(checkArticle()) {if(confirm('복구 하시겠습니까?')) {$('#registAction').val('Repair');} else {return false;}} else {return false;}}); | |
| 63 | - | |
| 64 | - $("#listForm").ajaxForm({ | |
| 65 | - url : '${pageContext.request.contextPath}/cop/bbs/manageArticle.do' | |
| 66 | - , dataType : 'json' | |
| 67 | - , beforeSubmit : function($form, options) { | |
| 68 | - if(checkArticle()) { | |
| 69 | - cfgCommonPopShow(); | |
| 70 | - } else { | |
| 71 | - return false; | |
| 72 | - } | |
| 73 | - } | |
| 74 | - , success : function(data) { | |
| 75 | - cfgCommonPopHide(); | |
| 76 | - alert(data.message); | |
| 77 | - document.location.href = $('#returnUrl').val(); | |
| 78 | - } | |
| 79 | - , error : function() { | |
| 80 | - alert('문제가 발생하여 요청처리를 완료하지 못하였습니다.'); | |
| 81 | - cfgCommonPopHide(); | |
| 82 | - } | |
| 83 | - , resetForm : true | |
| 84 | - }); | |
| 85 | -}); | |
| 86 | - | |
| 87 | -function checkArticle() { | |
| 88 | - if($("input:checkbox[name=nttNoArr]:checked").length == 0) { | |
| 89 | - alert('게시글을 선택해주세요'); | |
| 90 | - return false; | |
| 91 | - } | |
| 92 | - return true; | |
| 93 | -} | |
| 94 | - | |
| 95 | -function bbsSelectPop() { | |
| 96 | - var url = "${pageContext.request.contextPath}/cop/com/selectAllBBSMasterManageInfs.do?siteId=${brdMstrVO.siteId}&bbsId=${brdMstrVO.bbsId}&trgetId=${brdMstrVO.trgetId}"; | |
| 97 | - var win = window.open(url ,'bbsSelectPop',' scrollbars=yes, resizable=yes, left=0, top=0, width=700,height=650'); | |
| 98 | - if(win != null) { | |
| 99 | - win.focus(); | |
| 100 | - } | |
| 101 | -} | |
| 102 | - | |
| 103 | -function selectBbsMaster(bbsId, ctgryId) { | |
| 104 | - $('#trgetId').val(bbsId); | |
| 105 | - $('#ctgryId').val(ctgryId); | |
| 106 | - | |
| 107 | - $('#listForm').submit(); | |
| 108 | -} | |
| 109 | - | |
| 110 | -function cancleBbsMaster() { | |
| 111 | - cfgCommonPopHide(); | |
| 112 | -} | |
| 113 | - | |
| 114 | -function cfgCommonPopShow() { | |
| 115 | - $('#wrap').append("<div id='layer_blind_box' style='position:absolute; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; z-index:50;'></div>"); | |
| 116 | - $('#layer_blind_box').css('opacity', 0.3); | |
| 117 | -} | |
| 118 | - | |
| 119 | -function cfgCommonPopHide() { | |
| 120 | - $('#layer_blind_box').remove(); | |
| 121 | -}; | |
| 122 | -//관리자 함수끝 | |
| 123 | - | |
| 124 | -</script> | |
| 125 | - | |
| 126 | -<div id="cntnts"> | |
| 127 | - <form id="listForm" name="listForm" method="post"> | |
| 128 | - <input type="hidden" id="registAction" name="registAction"/> | |
| 129 | - <input type="hidden" id="bbsId" name="bbsId" value="<c:out value="${brdMstrVO.bbsId}"/>"/> | |
| 130 | - <input type="hidden" id="trgetId" name="trgetId"/> | |
| 131 | - <input type="hidden" id="ctgryId" name="ctgryId"/> | |
| 132 | - <c:url var="_LIST_HIDDEN_URL" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"> | |
| 133 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 134 | - </c:url> | |
| 135 | - <input type="hidden" id="returnUrl" name="returnUrl" value="<c:out value="${_LIST_HIDDEN_URL}"/>"/> | |
| 136 | - | |
| 137 | - <p class="total">총 게시물 ${paginationInfo.totalRecordCount}건 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p> | |
| 138 | - <c:choose> | |
| 139 | - <c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA02'}"> | |
| 140 | - <c:if test="${fn:length(resultList) == 0}"> | |
| 141 | - <p class="btn_c"><spring:message code="common.nodata.msg" /></p> | |
| 142 | - </c:if> | |
| 143 | - <c:if test="${fn:length(resultList) > 0}"> | |
| 144 | - <div class="photo_list"> | |
| 145 | - <ul> | |
| 146 | - <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 147 | - <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}"> | |
| 148 | - <c:param name="nttNo" value="${result.nttNo}" /> | |
| 149 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 150 | - </c:url> | |
| 151 | - <li <c:if test="${result.useAt eq 'N'}">class="deleted"</c:if>> | |
| 152 | - <input type="checkbox" class="phoCheck" name="nttNoArr" value="${result.nttNo}" title="선택"/> | |
| 153 | - <span class="photo"> | |
| 154 | - <c:choose> | |
| 155 | - <c:when test="${empty result.atchFileNm}"> | |
| 156 | - <a href="${viewUrl}"><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a> | |
| 157 | - </c:when> | |
| 158 | - <c:otherwise> | |
| 159 | - <c:choose> | |
| 160 | - <%-- 포토갤러리 --%> | |
| 161 | - <c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000002' or brdMstrVO.bbsId eq 'BBSMSTR_000000000069'}"> | |
| 162 | - <c:set var="width" value="393"/> | |
| 163 | - <c:set var="height" value="235"/> | |
| 164 | - </c:when> | |
| 165 | - <%-- 교재/사전 --%> | |
| 166 | - <c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000005'}"> | |
| 167 | - <c:set var="width" value="393"/> | |
| 168 | - <c:set var="height" value="235"/> | |
| 169 | - </c:when> | |
| 170 | - <%-- K-MOOC --%> | |
| 171 | - <c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000007'}"> | |
| 172 | - <c:set var="width" value="393"/> | |
| 173 | - <c:set var="height" value="240"/> | |
| 174 | - </c:when> | |
| 175 | - <c:otherwise> | |
| 176 | - <c:set var="width" value="120"/> | |
| 177 | - <c:set var="height" value="107"/> | |
| 178 | - </c:otherwise> | |
| 179 | - </c:choose> | |
| 180 | - <a href="${viewUrl}"><img src='<c:url value='/cmm/fms/getImage.do'/>?thumbYn=Y&siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>&width=${width}&height=${height}' alt="${result.nttSj}" width="120" height="107"/></a> | |
| 181 | - </c:otherwise> | |
| 182 | - </c:choose> | |
| 183 | - </span> | |
| 184 | - <c:if test="${result.othbcAt eq 'N'}"> | |
| 185 | - <c:out value="${result.nttSj}" /> | |
| 186 | - <img src="${_IMG}/page/board/icon_lock.gif" alt="비밀글" /> | |
| 187 | - </c:if> | |
| 188 | - <c:if test="${result.othbcAt eq 'Y'}"> | |
| 189 | - <a href="${viewUrl}" class="tit"><c:out value="${result.nttSj}" /></a> | |
| 190 | - </c:if> | |
| 191 | - <c:if test="${brdMstrVO.commentUseAt eq 'Y'}"> | |
| 192 | - <strong class="org">[<c:out value="${result.commentCount}" />]</strong> | |
| 193 | - </c:if> | |
| 194 | - </li> | |
| 195 | - </c:forEach> | |
| 196 | - </ul> | |
| 197 | - </div> | |
| 198 | - </c:if> | |
| 199 | - </c:when> | |
| 200 | - <c:otherwise> | |
| 201 | - <table class="chart_board" summary="${brdMstrVO.bbsNm}에대한 번호, 제목, 작성자, 첨부, 적성일, 조회순으로 나타낸 목록표" > | |
| 202 | - <caption class="hdn">${brdMstrVO.bbsNm} 목록</caption> | |
| 203 | - <colgroup> | |
| 204 | - <col width="65px" /> | |
| 205 | - <col width="65px" /> | |
| 206 | - <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 207 | - <col width="70px" /> | |
| 208 | - </c:if> | |
| 209 | - <col width="*" /> | |
| 210 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 211 | - <col width="70px" /> | |
| 212 | - <col width="70px" />> | |
| 213 | - </c:if> | |
| 214 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y'}"> | |
| 215 | - <col width="60px" /> | |
| 216 | - </c:if> | |
| 217 | - <col width="70px" /> | |
| 218 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 219 | - <col width="60px" /> | |
| 220 | - </c:if> | |
| 221 | - <col width="85px" /> | |
| 222 | - <col width="70px" /> | |
| 223 | - </colgroup> | |
| 224 | - <thead> | |
| 225 | - <tr> | |
| 226 | - <th class="first"><input type="checkbox" id="checkAll" value="all"/><label for="checkAll">선택</label></th> | |
| 227 | - <th><spring:message code="cop.nttNo"/></th> | |
| 228 | - <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 229 | - <th><spring:message code="cop.category.view" /></th> | |
| 230 | - </c:if> | |
| 231 | - <th><spring:message code="cop.nttSj" /></th> | |
| 232 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 233 | - <th><spring:message code="cop.ntceBgnde" /></th> | |
| 234 | - <th><spring:message code="cop.ntceEndde" /></th> | |
| 235 | - </c:if> | |
| 236 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y'}"> | |
| 237 | - <th><spring:message code="cop.listAtchFile" /></th> | |
| 238 | - </c:if> | |
| 239 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 240 | - <th scope="col"><spring:message code="cop.processSttus" /></th> | |
| 241 | - </c:if> | |
| 242 | - <th><spring:message code="cop.ntcrNm" /></th> | |
| 243 | - <th><spring:message code="cop.frstRegisterPnttm" /></th> | |
| 244 | - <th class="last"><spring:message code="cop.inqireCo" /></th> | |
| 245 | - </tr> | |
| 246 | - </thead> | |
| 247 | - <tbody> | |
| 248 | - <c:forEach var="result" items="${noticeList}" varStatus="status"> | |
| 249 | - <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}"> | |
| 250 | - <c:param name="nttNo" value="${result.nttNo}" /> | |
| 251 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 252 | - </c:url> | |
| 253 | - <tr> | |
| 254 | - <td class="check"></td> | |
| 255 | - <td>공지</td> | |
| 256 | - <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 257 | - <td><c:out value="${result.ctgryNm}" /></td> | |
| 258 | - </c:if> | |
| 259 | - <td class="tit"> | |
| 260 | - <c:if test="${result.ordrCodeDp ne 0}"> | |
| 261 | - <img src="${_C_IMG}/sub/board/blank_bg.gif" width="${result.ordrCodeDp * 19}" height="0" alt="${result.ordrCodeDp} Depth" /> | |
| 262 | - <img src="${_C_IMG}/sub/board/icon_re.gif" alt="reply arrow" /> | |
| 263 | - </c:if> | |
| 264 | - <a href="${viewUrl}" class="notice_ti"><c:out value="${result.nttSj}" /></a> | |
| 265 | - <c:if test="${result.othbcAt eq 'N'}"> | |
| 266 | - <img src="${_C_IMG}/sub/board/icon_lock.gif" alt="비밀글" /> | |
| 267 | - </c:if> | |
| 268 | - <c:if test="${brdMstrVO.commentUseAt eq 'Y'}"> | |
| 269 | - <strong class="org">[<c:out value="${result.commentCount}" />]</strong> | |
| 270 | - </c:if> | |
| 271 | - </td> | |
| 272 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 273 | - <td><c:out value="${result.ntceBgnde}"/></td> | |
| 274 | - <td><c:out value="${result.ntceEndde}"/></td> | |
| 275 | - </c:if> | |
| 276 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y'}"> | |
| 277 | - <c:choose> | |
| 278 | - <c:when test="${not empty result.atchFileId}"> | |
| 279 | - <td><img src="${_C_IMG}/sub/board/icon_file.gif" alt="첨부파일" /></td> | |
| 280 | - </c:when> | |
| 281 | - <c:otherwise> | |
| 282 | - <td>-</td> | |
| 283 | - </c:otherwise> | |
| 284 | - </c:choose> | |
| 285 | - </c:if> | |
| 286 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 287 | - <td> | |
| 288 | - <c:choose> | |
| 289 | - <c:when test="${result.processSttusCode eq 'QA01'}"><img src="${_C_IMG}/page/board/btn_receipt.gif" alt="${result.processSttusNm}"/> | |
| 290 | - </c:when> | |
| 291 | - <c:when test="${result.processSttusCode eq 'QA03'}"><img src="${_C_IMG}/page/board/btn_comp.gif" alt="${result.processSttusNm}"/> | |
| 292 | - </c:when> | |
| 293 | - <c:when test="${result.processSttusCode eq 'QA02'}"><img src="${_C_IMG}/page/board/btn_disp.gif" alt="${result.processSttusNm}"/> | |
| 294 | - </c:when> | |
| 295 | - </c:choose> | |
| 296 | - </td> | |
| 297 | - </c:if> | |
| 298 | - <td><c:out value="${result.ntcrNm}"/></td> | |
| 299 | - <td><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td> | |
| 300 | - <td><c:out value="${result.inqireCo}"/></td> | |
| 301 | - </tr> | |
| 302 | - </c:forEach> | |
| 303 | - <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 304 | - <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}"> | |
| 305 | - <c:param name="nttNo" value="${result.nttNo}" /> | |
| 306 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 307 | - </c:url> | |
| 308 | - <tr <c:if test="${result.useAt eq 'N'}">class="deleted"</c:if>> | |
| 309 | - <td class="check"><input type="checkbox" name="nttNoArr" value="${result.nttNo}" title="선택"/></td> | |
| 310 | - <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td> | |
| 311 | - <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 312 | - <td><c:out value="${result.ctgryNm}" /></td> | |
| 313 | - </c:if> | |
| 314 | - <td class="tit"> | |
| 315 | - <c:if test="${result.ordrCodeDp ne 0}"> | |
| 316 | - <img src="${_C_IMG}/sub/board/blank_bg.gif" width="${result.ordrCodeDp * 19}" height="0" alt="${result.ordrCodeDp} Depth" /> | |
| 317 | - <img src="${_C_IMG}/sub/board/icon_re.gif" alt="reply arrow" /> | |
| 318 | - </c:if> | |
| 319 | - <a href="${viewUrl}" class="notice_ti"><c:out value="${result.nttSj}" /></a> | |
| 320 | - <c:if test="${result.othbcAt eq 'N'}"> | |
| 321 | - <img src="${_C_IMG}/sub/board/icon_lock.gif" alt="비밀글" /> | |
| 322 | - </c:if> | |
| 323 | - <c:if test="${brdMstrVO.commentUseAt eq 'Y'}"> | |
| 324 | - <strong class="org">[<c:out value="${result.commentCount}" />]</strong> | |
| 325 | - </c:if> | |
| 326 | - </td> | |
| 327 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 328 | - <td><c:out value="${result.ntceBgnde}"/></td> | |
| 329 | - <td><c:out value="${result.ntceEndde}"/></td> | |
| 330 | - </c:if> | |
| 331 | - <c:if test="${brdMstrVO.fileAtchPosblAt eq 'Y'}"> | |
| 332 | - <c:choose> | |
| 333 | - <c:when test="${not empty result.atchFileId}"> | |
| 334 | - <td><img src="${_C_IMG}/sub/board/icon_file.gif" alt="첨부파일" /></td> | |
| 335 | - </c:when> | |
| 336 | - <c:otherwise> | |
| 337 | - <td>-</td> | |
| 338 | - </c:otherwise> | |
| 339 | - </c:choose> | |
| 340 | - </c:if> | |
| 341 | - <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 342 | - <td> | |
| 343 | - <c:choose> | |
| 344 | - <c:when test="${result.processSttusCode eq 'QA01'}"><img src="${_C_IMG}/page/board/btn_receipt.gif" alt="${result.processSttusNm}"/> | |
| 345 | - </c:when> | |
| 346 | - <c:when test="${result.processSttusCode eq 'QA03'}"><img src="${_C_IMG}/page/board/btn_comp.gif" alt="${result.processSttusNm}"/> | |
| 347 | - </c:when> | |
| 348 | - <c:when test="${result.processSttusCode eq 'QA02'}"><img src="${_C_IMG}/page/board/btn_disp.gif" alt="${result.processSttusNm}"/> | |
| 349 | - </c:when> | |
| 350 | - </c:choose> | |
| 351 | - </td> | |
| 352 | - </c:if> | |
| 353 | - <td><c:out value="${result.ntcrNm}"/></td> | |
| 354 | - <td><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td> | |
| 355 | - <td><c:out value="${result.inqireCo}"/></td> | |
| 356 | - | |
| 357 | - </c:forEach> | |
| 358 | - <c:if test="${fn:length(resultList) == 0}"> | |
| 359 | - <tr> | |
| 360 | - <td colspan="10"><spring:message code="common.nodata.msg" /></td> | |
| 361 | - </tr> | |
| 362 | - </c:if> | |
| 363 | - </tbody> | |
| 364 | - </table> | |
| 365 | - </c:otherwise> | |
| 366 | - </c:choose> | |
| 367 | - <div class="btn_all"> | |
| 368 | - <div class="fL"> | |
| 369 | - <%-- | |
| 370 | - <input type="image" id="btnManageMove" src="${_IMG}/btn_move.gif" alt="이동" /> | |
| 371 | - <input type="image" id="btnManageCopy" src="${_IMG}/btn_copy.gif" alt="복사" /> | |
| 372 | - --%> | |
| 373 | - <input type="image" id="btnManageHide" src="${_IMG}/btn_close.gif" alt="삭제" /> | |
| 374 | - <input type="image" id="btnManageRemove" src="${_IMG}/btn_del_all.gif" alt="완전삭제" /> | |
| 375 | - <input type="image" id="btnManageRepair" src="${_IMG}/btn_repair.gif" alt="복구" /> | |
| 376 | - </div> | |
| 377 | - <div class="fR"> | |
| 378 | - <c:url var="addBoardArticleUrl" value="${_PREFIX}/addBoardArticle.do${_BASE_PARAM}"> | |
| 379 | - <c:param name="registAction" value="regist" /> | |
| 380 | - </c:url> | |
| 381 | - <a href="${addBoardArticleUrl}"><img src="${_IMG}/btn/btn_write.gif" alt="글쓰기" /></a> | |
| 382 | - </div> | |
| 383 | - </div> | |
| 384 | - </form> | |
| 385 | - <div id="paging"> | |
| 386 | - <c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"> | |
| 387 | - </c:url> | |
| 388 | - <ul> | |
| 389 | - <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" /> | |
| 390 | - </ul> | |
| 391 | - </div> | |
| 392 | - | |
| 393 | - <div id="bbs_search"> | |
| 394 | - <form name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>"> | |
| 395 | - <input type="hidden" name="siteId" value="${searchVO.siteId}"/> | |
| 396 | - <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 397 | - <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" /> | |
| 398 | - <input type="hidden" name="trgetId" value="${searchVO.trgetId}"/> | |
| 399 | - <input name="searchCate" type="hidden" value="${searchVO.searchCate}" /> | |
| 400 | - <fieldset> | |
| 401 | - <legend>검색조건입력폼</legend> | |
| 402 | - <c:if test="${!empty brdMstrVO.ctgrymasterId}"> | |
| 403 | - <label for="cate" class="hdn"><spring:message code="cop.category.view" /></label> | |
| 404 | - <c:forEach var="ctgryLevel" begin="1" end="${boardCateLevel}" step="1" varStatus="status"> | |
| 405 | - <c:choose> | |
| 406 | - <c:when test="${status.first}"> | |
| 407 | - <select name="searchCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})"> | |
| 408 | - <option value="">선택</option> | |
| 409 | - <c:forEach var="cate" items="${boardCateList}"> | |
| 410 | - <c:if test="${cate.ctgryLevel eq 1 }"> | |
| 411 | - <option value="${cate.ctgryId}">${cate.ctgryNm}</option> | |
| 412 | - </c:if> | |
| 413 | - </c:forEach> | |
| 414 | - </select> | |
| 415 | - </c:when> | |
| 416 | - <c:otherwise><select name="searchCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})"><option value="">선택</option></select></c:otherwise> | |
| 417 | - </c:choose> | |
| 418 | - </c:forEach> | |
| 419 | - | |
| 420 | - <script type="text/javascript"> | |
| 421 | - fnCtgryInit('${searchVO.searchCateList}'); | |
| 422 | - </script> | |
| 423 | - </c:if> | |
| 424 | - <label for="ftext" class="hdn">분류검색</label> | |
| 425 | - <select name="searchCondition" id="ftext"> | |
| 426 | - <!-- option selected value=''>--선택하세요--</option--> | |
| 427 | - <option value="0" <c:if test="${searchVO.searchCondition eq '0'}">selected="selected"</c:if>>제목</option> | |
| 428 | - <option value="1" <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if>>내용</option> | |
| 429 | - <option value="2" <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>작성자</option> | |
| 430 | - </select> | |
| 431 | - <label for="inp_text" class="hdn">검색어입력</label> | |
| 432 | - <input name="searchKeyword" value="<c:out value="${searchVO.searchKeyword}"/>" type="text" class="inp_s" id="inp_text" /> | |
| 433 | - <input type=image src="${_IMG}/btn/btn_search.gif" alt="검색" /> | |
| 434 | - </fieldset> | |
| 435 | - </form> | |
| 436 | - </div> | |
| 437 | - | |
| 438 | - | |
| 439 | - | |
| 440 | -</div> | |
| 441 | - | |
| 442 | -<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeInqire.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/NoticeInqire.jsp
| No changes |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/NoticeList.jsp
... | ... | @@ -0,0 +1,431 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:set var="_PREFIX" value="/mng/cop/bbs"/> | |
| 5 | + | |
| 6 | +<% /*URL 정의*/ %> | |
| 7 | + <c:url var="_BASE_PARAM" value=""> | |
| 8 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 9 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 10 | + <c:param name="bbsId" value="${searchVO.bbsId}" /> | |
| 11 | + <c:param name="trgetId" value="${searchVO.trgetId}" /> | |
| 12 | + <c:if test="${fn:length(searchVO.searchCateList) ne 0}"> | |
| 13 | + <c:forEach var="searchCate" items="${searchVO.searchCateList}" varStatus="statusCate"> | |
| 14 | + <c:if test="${not empty searchCate}"> | |
| 15 | + <c:param name="searchCateList" value="${searchCate}" /> | |
| 16 | + </c:if> | |
| 17 | + </c:forEach> | |
| 18 | + </c:if> | |
| 19 | + <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if> | |
| 20 | + <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if> | |
| 21 | + <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if> | |
| 22 | + </c:url> | |
| 23 | +<% /*URL 정의*/ %> | |
| 24 | + | |
| 25 | +<c:import url="/EgovPageLink.do?link=/mng/template/popTop" charEncoding="utf-8"> | |
| 26 | + <c:param name="title" value="${brdMstrVO.bbsNm}"/> | |
| 27 | +</c:import> | |
| 28 | + | |
| 29 | +<script src="${C_LIB}/jquery/jquery.form.js" ></script> | |
| 30 | +<script src="${C_JS}/board.js" ></script> | |
| 31 | +<script> | |
| 32 | + | |
| 33 | +<c:if test="${!empty brdMstrVO.ctgrymasterId}"> | |
| 34 | + | |
| 35 | + var boardCateLevel = ${boardCateLevel}; | |
| 36 | + var boardCateList = new Array(${fn:length(boardCateList)}); | |
| 37 | + <c:forEach var="cate" items="${boardCateList}" varStatus="status"> | |
| 38 | + boardCateList[${status.index}] = new ctgryObj('${cate.upperCtgryId}', '${cate.ctgryId}', '${cate.ctgryNm}', ${cate.ctgryLevel}); | |
| 39 | + </c:forEach> | |
| 40 | + | |
| 41 | +</c:if> | |
| 42 | + | |
| 43 | +//관리자 함수 시작 | |
| 44 | +$(document).ready(function(){ | |
| 45 | + $("#checkAll").click(function() { | |
| 46 | + $("input:checkbox[name=nttNoArr]").attr("checked", $(this).is(":checked")); | |
| 47 | + }); | |
| 48 | + | |
| 49 | + $('#btnManageMove').click(function() {if(checkArticle()) {$('#registAction').val('Move');bbsSelectPop();}return false;}); | |
| 50 | + $('#btnManageCopy').click(function() {if(checkArticle()) {$('#registAction').val('Copy');bbsSelectPop();}return false;}); | |
| 51 | + $('#btnManageHide').click(function() {if(checkArticle()) {if(confirm('삭제 하시겠습니까?')) {$('#registAction').val('Hide');} else {return false;}} else {return false;}}); | |
| 52 | + $('#btnManageRemove').click(function() {if(checkArticle()) {if(confirm('완전삭제 후에는 복구 할 수 없습니다. 완전삭제 하시겠습니까?')) {$('#registAction').val('Remove');} else {return false;}} else {return false;}}); | |
| 53 | + $('#btnManageRepair').click(function() {if(checkArticle()) {if(confirm('복구 하시겠습니까?')) {$('#registAction').val('Repair');} else {return false;}} else {return false;}}); | |
| 54 | + | |
| 55 | + $("#listForm").ajaxForm({ | |
| 56 | + url : '${pageContext.request.contextPath}/cop/bbs/manageArticle.do' | |
| 57 | + , dataType : 'json' | |
| 58 | + , beforeSubmit : function($form, options) { | |
| 59 | + if(checkArticle()) { | |
| 60 | + cfgCommonPopShow(); | |
| 61 | + } else { | |
| 62 | + return false; | |
| 63 | + } | |
| 64 | + } | |
| 65 | + , success : function(data) { | |
| 66 | + cfgCommonPopHide(); | |
| 67 | + alert(data.message); | |
| 68 | + document.location.href = $('#returnUrl').val(); | |
| 69 | + } | |
| 70 | + , error : function() { | |
| 71 | + alert('문제가 발생하여 요청처리를 완료하지 못하였습니다.'); | |
| 72 | + cfgCommonPopHide(); | |
| 73 | + } | |
| 74 | + , resetForm : true | |
| 75 | + }); | |
| 76 | +}); | |
| 77 | + | |
| 78 | +function checkArticle() { | |
| 79 | + if($("input:checkbox[name=nttNoArr]:checked").length == 0) { | |
| 80 | + alert('게시글을 선택해주세요'); | |
| 81 | + return false; | |
| 82 | + } | |
| 83 | + return true; | |
| 84 | +} | |
| 85 | + | |
| 86 | +function bbsSelectPop() { | |
| 87 | + var url = "${pageContext.request.contextPath}/cop/com/selectAllBBSMasterManageInfs.do?siteId=${brdMstrVO.siteId}&bbsId=${brdMstrVO.bbsId}&trgetId=${brdMstrVO.trgetId}"; | |
| 88 | + var win = window.open(url ,'bbsSelectPop',' scrollbars=yes, resizable=yes, left=0, top=0, width=700,height=650'); | |
| 89 | + if(win != null) { | |
| 90 | + win.focus(); | |
| 91 | + } | |
| 92 | +} | |
| 93 | + | |
| 94 | +function selectBbsMaster(bbsId, ctgryId) { | |
| 95 | + $('#trgetId').val(bbsId); | |
| 96 | + $('#ctgryId').val(ctgryId); | |
| 97 | + | |
| 98 | + $('#listForm').submit(); | |
| 99 | +} | |
| 100 | + | |
| 101 | +function cancleBbsMaster() { | |
| 102 | + cfgCommonPopHide(); | |
| 103 | +} | |
| 104 | + | |
| 105 | +function cfgCommonPopShow() { | |
| 106 | + $('#wrap').append("<div id='layer_blind_box' style='position:absolute; position:fixed; top:0; left:0; width:100%; height:100%; background:#000; z-index:50;'></div>"); | |
| 107 | + $('#layer_blind_box').css('opacity', 0.3); | |
| 108 | +} | |
| 109 | + | |
| 110 | +function cfgCommonPopHide() { | |
| 111 | + $('#layer_blind_box').remove(); | |
| 112 | +}; | |
| 113 | +//관리자 함수끝 | |
| 114 | + | |
| 115 | +</script> | |
| 116 | + | |
| 117 | +<div class="fnc-area"> | |
| 118 | + <div class="r-area"> | |
| 119 | + <form name="frm" method="post" action="<c:url value='${_PREFIX}/selectBoardList.do'/>"> | |
| 120 | + <input type="hidden" name="siteId" value="${searchVO.siteId}"/> | |
| 121 | + <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 122 | + <input type="hidden" name="bbsId" value="<c:out value='${searchVO.bbsId}'/>" /> | |
| 123 | + <input type="hidden" name="trgetId" value="${searchVO.trgetId}"/> | |
| 124 | + <input name="searchCate" type="hidden" value="${searchVO.searchCate}" /> | |
| 125 | + | |
| 126 | + <div class="sch-area"> | |
| 127 | + <div class="sch-option"> | |
| 128 | + <c:if test="${!empty brdMstrVO.ctgrymasterId}"> | |
| 129 | + <c:forEach var="ctgryLevel" begin="1" end="${boardCateLevel}" step="1" varStatus="status"> | |
| 130 | + <c:choose> | |
| 131 | + <c:when test="${status.first}"> | |
| 132 | + <select name="searchCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})"> | |
| 133 | + <option value="">선택</option> | |
| 134 | + <c:forEach var="cate" items="${boardCateList}"> | |
| 135 | + <c:if test="${cate.ctgryLevel eq 1 }"> | |
| 136 | + <option value="${cate.ctgryId}">${cate.ctgryNm}</option> | |
| 137 | + </c:if> | |
| 138 | + </c:forEach> | |
| 139 | + </select> | |
| 140 | + </c:when> | |
| 141 | + <c:otherwise><select name="searchCateList" id="ctgry${ctgryLevel}" onchange="fnCtgryChange(${ctgryLevel})"><option value="">선택</option></select></c:otherwise> | |
| 142 | + </c:choose> | |
| 143 | + </c:forEach> | |
| 144 | + <script> | |
| 145 | + fnCtgryInit('${searchVO.searchCateList}'); | |
| 146 | + </script> | |
| 147 | + </c:if> | |
| 148 | + <select name="searchCondition" id="searchCondition"> | |
| 149 | + <option value="0" <c:if test="${searchVO.searchCondition eq '0'}">selected="selected"</c:if>>제목</option> | |
| 150 | + <option value="1" <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if>>내용</option> | |
| 151 | + <option value="2" <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if>>작성자</option> | |
| 152 | + </select> | |
| 153 | + </div> | |
| 154 | + <div class="sch"> | |
| 155 | + <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'> | |
| 156 | + <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> | |
| 157 | + </div> | |
| 158 | + </div> | |
| 159 | + </form> | |
| 160 | + </div> | |
| 161 | +</div> | |
| 162 | + | |
| 163 | +<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p> | |
| 164 | + | |
| 165 | +<div class="list-type sm"> | |
| 166 | + <form id="listForm" name="listForm" method="post"> | |
| 167 | + <input type="hidden" id="registAction" name="registAction"/> | |
| 168 | + <input type="hidden" id="bbsId" name="bbsId" value="<c:out value="${brdMstrVO.bbsId}"/>"/> | |
| 169 | + <input type="hidden" id="trgetId" name="trgetId"/> | |
| 170 | + <input type="hidden" id="ctgryId" name="ctgryId"/> | |
| 171 | + <c:url var="_LIST_HIDDEN_URL" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"> | |
| 172 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 173 | + </c:url> | |
| 174 | + <input type="hidden" id="returnUrl" name="returnUrl" value="<c:out value="${_LIST_HIDDEN_URL}"/>"/> | |
| 175 | + | |
| 176 | + <table> | |
| 177 | + <colgroup> | |
| 178 | + <col style="width:110px"> | |
| 179 | + <col style="width:110px"> | |
| 180 | + <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 181 | + <col style="width:70px"> | |
| 182 | + </c:if> | |
| 183 | + <col> | |
| 184 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 185 | + <col style="width:70px"> | |
| 186 | + <col style="width:70px"> | |
| 187 | + </c:if> | |
| 188 | + <col style="width:70px"> | |
| 189 | + <col style="width:70px"> | |
| 190 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 191 | + <col style="width:70px"> | |
| 192 | + </c:if> | |
| 193 | + <col style="width:160px"> | |
| 194 | + <col style="width:70px"> | |
| 195 | + </colgroup> | |
| 196 | + <thead> | |
| 197 | + <tr> | |
| 198 | + <th><input type="checkbox" id="checkAll" value="all"/><label for="checkAll">선택</label></th> | |
| 199 | + <th><spring:message code="cop.nttNo"/></th> | |
| 200 | + <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 201 | + <th><spring:message code="cop.category.view" /></th> | |
| 202 | + </c:if> | |
| 203 | + <th><spring:message code="cop.nttSj" /></th> | |
| 204 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 205 | + <th><spring:message code="cop.ntceBgnde" /></th> | |
| 206 | + <th><spring:message code="cop.ntceEndde" /></th> | |
| 207 | + </c:if> | |
| 208 | + <th><spring:message code="cop.listAtchFile" /></th> | |
| 209 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 210 | + <th scope="col"><spring:message code="cop.processSttus" /></th> | |
| 211 | + </c:if> | |
| 212 | + <th><spring:message code="cop.ntcrNm" /></th> | |
| 213 | + <th><spring:message code="cop.frstRegisterPnttm" /></th> | |
| 214 | + <th class="last"><spring:message code="cop.inqireCo" /></th> | |
| 215 | + </tr> | |
| 216 | + </thead> | |
| 217 | + <tbody> | |
| 218 | + <%-- 공지 글 --%> | |
| 219 | + <c:forEach var="result" items="${noticeList}" varStatus="status"> | |
| 220 | + <tr> | |
| 221 | + <td data-tit="선택"></td> | |
| 222 | + <td data-tit="번호">공지</td> | |
| 223 | + <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 224 | + <td data-tit="<spring:message code="cop.category.view" />"><c:out value="${result.ctgryNm}" /></td> | |
| 225 | + </c:if> | |
| 226 | + <td class="al" data-tit="<spring:message code="cop.nttSj" />"> | |
| 227 | + <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}"> | |
| 228 | + <c:param name="nttNo" value="${result.nttNo}" /> | |
| 229 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 230 | + </c:url> | |
| 231 | + | |
| 232 | + <c:if test="${result.ordrCodeDp ne 0}"> | |
| 233 | + <img src="${_C_IMG}/sub/board/blank_bg.gif" width="${result.ordrCodeDp * 19}" height="0" alt="${result.ordrCodeDp} Depth" /> | |
| 234 | + <img src="${_C_IMG}/sub/board/icon_re.gif" alt="reply arrow" /> | |
| 235 | + </c:if> | |
| 236 | + <a href="${viewUrl}" class="notice_ti"><c:out value="${result.nttSj}" /></a> | |
| 237 | + | |
| 238 | + <%-- 비밀 글 --%> | |
| 239 | + <c:if test="${result.othbcAt eq 'N'}"> | |
| 240 | + <i class="ico-sm-lock"></i> | |
| 241 | + </c:if> | |
| 242 | + <c:if test="${brdMstrVO.commentUseAt eq 'Y'}"> | |
| 243 | + <strong class="org">[<c:out value="${result.commentCount}" />]</strong> | |
| 244 | + </c:if> | |
| 245 | + </td> | |
| 246 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 247 | + <td data-tit="<spring:message code="cop.ntceBgnde" />"><c:out value="${result.ntceBgnde}"/></td> | |
| 248 | + <td data-tit="<spring:message code="cop.ntceEndde" />"><c:out value="${result.ntceEndde}"/></td> | |
| 249 | + </c:if> | |
| 250 | + <td data-tit="<spring:message code="cop.listAtchFile" />"> | |
| 251 | + <c:if test="${not empty result.atchFileId}"> | |
| 252 | + <i class="ico-file"><span class="txt-hide">첨부파일</span></i> | |
| 253 | + </c:if> | |
| 254 | + </td> | |
| 255 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 256 | + <td data-tit="<spring:message code="cop.processSttus" />"> | |
| 257 | + <c:choose> | |
| 258 | + <c:when test="${result.processSttusCode eq 'QA01'}"><img src="${_C_IMG}/page/board/btn_receipt.gif" alt="${result.processSttusNm}"/> | |
| 259 | + </c:when> | |
| 260 | + <c:when test="${result.processSttusCode eq 'QA03'}"><img src="${_C_IMG}/page/board/btn_comp.gif" alt="${result.processSttusNm}"/> | |
| 261 | + </c:when> | |
| 262 | + <c:when test="${result.processSttusCode eq 'QA02'}"><img src="${_C_IMG}/page/board/btn_disp.gif" alt="${result.processSttusNm}"/> | |
| 263 | + </c:when> | |
| 264 | + </c:choose> | |
| 265 | + </td> | |
| 266 | + </c:if> | |
| 267 | + <td data-tit="<spring:message code="cop.ntcrNm" />"><c:out value="${result.ntcrNm}"/></td> | |
| 268 | + <td data-tit="<spring:message code="cop.frstRegisterPnttm" />"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td> | |
| 269 | + <td data-tit="<spring:message code="cop.inqireCo" />"><c:out value="${result.inqireCo}"/></td> | |
| 270 | + | |
| 271 | + | |
| 272 | + </tr> | |
| 273 | + </c:forEach> | |
| 274 | + | |
| 275 | + <%-- 일반 글 --%> | |
| 276 | + <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 277 | + <tr <c:if test="${result.useAt eq 'N'}">class="deleted"</c:if>> | |
| 278 | + <td data-tit="선택"> | |
| 279 | + <div class="checkradio"> | |
| 280 | + <input type="checkbox" id="checkbox${result.nttNo}" name="nttNoArr"/> | |
| 281 | + <label for="checkbox${result.nttNo}" class="txt-hide">선택</label> | |
| 282 | + </div> | |
| 283 | + </td> | |
| 284 | + <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td> | |
| 285 | + <c:if test="${not empty brdMstrVO.ctgrymasterId}"> | |
| 286 | + <td data-tit="<spring:message code="cop.category.view" />"><c:out value="${result.ctgryNm}"/></td> | |
| 287 | + </c:if> | |
| 288 | + <td class="al" data-tit="<spring:message code="cop.nttSj"/>"> | |
| 289 | + <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}"> | |
| 290 | + <c:param name="nttNo" value="${result.nttNo}" /> | |
| 291 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 292 | + </c:url> | |
| 293 | + | |
| 294 | + <c:if test="${result.ordrCodeDp ne 0}"> | |
| 295 | + <img src="${_C_IMG}/sub/board/blank_bg.gif" width="${result.ordrCodeDp * 19}" height="0" alt="${result.ordrCodeDp} Depth" /> | |
| 296 | + <img src="${_C_IMG}/sub/board/icon_re.gif" alt="reply arrow" /> | |
| 297 | + </c:if> | |
| 298 | + <a href="${viewUrl}" class="notice_ti"><c:out value="${result.nttSj}" /></a> | |
| 299 | + | |
| 300 | + <%-- 비밀 글 --%> | |
| 301 | + <c:if test="${result.othbcAt eq 'N'}"> | |
| 302 | + <i class="ico-sm-lock"></i> | |
| 303 | + </c:if> | |
| 304 | + <c:if test="${brdMstrVO.commentUseAt eq 'Y'}"> | |
| 305 | + <strong class="org">[<c:out value="${result.commentCount}" />]</strong> | |
| 306 | + </c:if> | |
| 307 | + </td> | |
| 308 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA01'}"> | |
| 309 | + <td data-tit="<spring:message code="cop.ntceBgnde" />"><c:out value="${result.ntceBgnde}"/></td> | |
| 310 | + <td data-tit="<spring:message code="cop.ntceEndde" />"><c:out value="${result.ntceEndde}"/></td> | |
| 311 | + </c:if> | |
| 312 | + <td data-tit="<spring:message code="cop.listAtchFile" />"> | |
| 313 | + <c:if test="${not empty result.atchFileId}"> | |
| 314 | + <i class="ico-file"><span class="txt-hide">첨부파일</span></i> | |
| 315 | + </c:if> | |
| 316 | + </td> | |
| 317 | + <c:if test="${brdMstrVO.bbsAttrbCode eq 'BBSA11'}"> | |
| 318 | + <td data-tit="<spring:message code="cop.processSttus" />"> | |
| 319 | + <c:choose> | |
| 320 | + <c:when test="${result.processSttusCode eq 'QA01'}"><img src="${_C_IMG}/page/board/btn_receipt.gif" alt="${result.processSttusNm}"/> | |
| 321 | + </c:when> | |
| 322 | + <c:when test="${result.processSttusCode eq 'QA03'}"><img src="${_C_IMG}/page/board/btn_comp.gif" alt="${result.processSttusNm}"/> | |
| 323 | + </c:when> | |
| 324 | + <c:when test="${result.processSttusCode eq 'QA02'}"><img src="${_C_IMG}/page/board/btn_disp.gif" alt="${result.processSttusNm}"/> | |
| 325 | + </c:when> | |
| 326 | + </c:choose> | |
| 327 | + </td> | |
| 328 | + </c:if> | |
| 329 | + <td data-tit="<spring:message code="cop.ntcrNm" />"><c:out value="${result.ntcrNm}"/></td> | |
| 330 | + <td data-tit="<spring:message code="cop.frstRegisterPnttm" />"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td> | |
| 331 | + <td data-tit="<spring:message code="cop.inqireCo" />"><c:out value="${result.inqireCo}"/></td> | |
| 332 | + </tr> | |
| 333 | + </c:forEach> | |
| 334 | + | |
| 335 | + <c:if test="${fn:length(resultList) == 0}"> | |
| 336 | + <tr> | |
| 337 | + <td class="" colspan="7"><spring:message code="common.nodata.msg" /></td> | |
| 338 | + </tr> | |
| 339 | + </c:if> | |
| 340 | + </tbody> | |
| 341 | + </table> | |
| 342 | + </form> | |
| 343 | +</div> | |
| 344 | + | |
| 345 | +<c:url var="pageUrl" value="${_PREFIX}/selectBoardList.do${_BASE_PARAM}"> | |
| 346 | +</c:url> | |
| 347 | +<ul class="paging"> | |
| 348 | + <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" /> | |
| 349 | +</ul> | |
| 350 | + | |
| 351 | +<c:if test="${not empty searchVO.siteId }"> | |
| 352 | + <div class="fnc-area"> | |
| 353 | + <div class="l-area"> | |
| 354 | + <button type="button" id="btnManageHide" class="btn-sm spot2"><i class="ico-sm-trash"></i> 삭제</button> | |
| 355 | + <button type="button" id="btnManageRemove" class="btn-sm spot2"><i class="ico-sm-trash"></i> 완전삭제</button> | |
| 356 | + <button type="button" id="btnManageRepair" class="btn-sm spot"><i class="ico-sm-refresh"></i> 복구</button> | |
| 357 | + </div> | |
| 358 | + <div class="r-area"> | |
| 359 | + <c:url var="addBoardArticleUrl" value="${_PREFIX}/addBoardArticle.do${_BASE_PARAM}"> | |
| 360 | + <c:param name="registAction" value="regist" /> | |
| 361 | + </c:url> | |
| 362 | + <a href="${addBoardArticleUrl}" class="btn spot2">글쓰기</a> | |
| 363 | + </div> | |
| 364 | + </div> | |
| 365 | +</c:if> | |
| 366 | + | |
| 367 | +<%-- | |
| 368 | +<c:when test="${brdMstrVO.bbsAttrbCode eq 'BBSA02'}"> | |
| 369 | + <c:if test="${fn:length(resultList) == 0}"> | |
| 370 | + <p class="btn_c"><spring:message code="common.nodata.msg" /></p> | |
| 371 | + </c:if> | |
| 372 | + <c:if test="${fn:length(resultList) > 0}"> | |
| 373 | + <div class="photo_list"> | |
| 374 | + <ul> | |
| 375 | + <c:forEach var="result" items="${resultList}" varStatus="status"> | |
| 376 | + <c:url var="viewUrl" value="${_PREFIX}/selectBoardArticle.do${_BASE_PARAM}"> | |
| 377 | + <c:param name="nttNo" value="${result.nttNo}" /> | |
| 378 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 379 | + </c:url> | |
| 380 | + <li <c:if test="${result.useAt eq 'N'}">class="deleted"</c:if>> | |
| 381 | + <input type="checkbox" class="phoCheck" name="nttNoArr" value="${result.nttNo}" title="선택"/> | |
| 382 | + <span class="photo"> | |
| 383 | + <c:choose> | |
| 384 | + <c:when test="${empty result.atchFileNm}"> | |
| 385 | + <a href="${viewUrl}"><img src="${_IMG}/board/no_img.gif" alt="이미지없음" width="120" height="107"/></a> | |
| 386 | + </c:when> | |
| 387 | + <c:otherwise> | |
| 388 | + <c:choose> | |
| 389 | + <%– 포토갤러리 –%> | |
| 390 | + <c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000002' or brdMstrVO.bbsId eq 'BBSMSTR_000000000069'}"> | |
| 391 | + <c:set var="width" value="393"/> | |
| 392 | + <c:set var="height" value="235"/> | |
| 393 | + </c:when> | |
| 394 | + <%– 교재/사전 –%> | |
| 395 | + <c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000005'}"> | |
| 396 | + <c:set var="width" value="393"/> | |
| 397 | + <c:set var="height" value="235"/> | |
| 398 | + </c:when> | |
| 399 | + <%– K-MOOC –%> | |
| 400 | + <c:when test="${brdMstrVO.bbsId eq 'BBSMSTR_000000000007'}"> | |
| 401 | + <c:set var="width" value="393"/> | |
| 402 | + <c:set var="height" value="240"/> | |
| 403 | + </c:when> | |
| 404 | + <c:otherwise> | |
| 405 | + <c:set var="width" value="120"/> | |
| 406 | + <c:set var="height" value="107"/> | |
| 407 | + </c:otherwise> | |
| 408 | + </c:choose> | |
| 409 | + <a href="${viewUrl}"><img src='<c:url value='/cmm/fms/getImage.do'/>?thumbYn=Y&siteId=<c:out value="${brdMstrVO.siteId}"/>&appendPath=<c:out value="${searchVO.bbsId}"/>&atchFileNm=<c:out value="${result.atchFileNm}"/>&width=${width}&height=${height}' alt="${result.nttSj}" width="120" height="107"/></a> | |
| 410 | + </c:otherwise> | |
| 411 | + </c:choose> | |
| 412 | + </span> | |
| 413 | + <c:if test="${result.othbcAt eq 'N'}"> | |
| 414 | + <c:out value="${result.nttSj}" /> | |
| 415 | + <img src="${_IMG}/page/board/icon_lock.gif" alt="비밀글" /> | |
| 416 | + </c:if> | |
| 417 | + <c:if test="${result.othbcAt eq 'Y'}"> | |
| 418 | + <a href="${viewUrl}" class="tit"><c:out value="${result.nttSj}" /></a> | |
| 419 | + </c:if> | |
| 420 | + <c:if test="${brdMstrVO.commentUseAt eq 'Y'}"> | |
| 421 | + <strong class="org">[<c:out value="${result.commentCount}" />]</strong> | |
| 422 | + </c:if> | |
| 423 | + </li> | |
| 424 | + </c:forEach> | |
| 425 | + </ul> | |
| 426 | + </div> | |
| 427 | + </c:if> | |
| 428 | +</c:when> | |
| 429 | +--%> | |
| 430 | + | |
| 431 | +<c:import url="/EgovPageLink.do?link=/mng/template/popBottom" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/EgovNoticeRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/bbs/default/NoticeRegist.jsp
| No changes |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcList.jsp
... | ... | @@ -70,8 +70,6 @@ |
| 70 | 70 |
</div> |
| 71 | 71 |
</div> |
| 72 | 72 |
|
| 73 |
- |
|
| 74 |
- |
|
| 75 | 73 |
<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
| 76 | 74 |
<div class="list-type sm"> |
| 77 | 75 |
<table> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/cop/com/LytSourcRegister.jsp
... | ... | @@ -208,13 +208,13 @@ |
| 208 | 208 |
<c:choose> |
| 209 | 209 |
<c:when test="${not empty lytSourcVO.prevewFileNm}">
|
| 210 | 210 |
<li> |
| 211 |
- <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}" width="120" height="107"/></a>
|
|
| 211 |
+ <a href="#" onclick="fnImagePreview('${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}');return false;"><img src="${fileStoreWebPathByPreFile}${lytSourcVO.prevewFileNm}"/></a>
|
|
| 212 | 212 |
<button class="btn-close sm"><span class="txt-hide">삭제</span></button> |
| 213 | 213 |
</li> |
| 214 | 214 |
</c:when> |
| 215 | 215 |
<c:otherwise> |
| 216 | 216 |
<li> |
| 217 |
- <img src="${M_IMG}/common/no_img.gif" alt="이미지없음" width="120" height="107"/>
|
|
| 217 |
+ <img src="${M_IMG}/common/no_img.gif" alt="이미지없음"/>
|
|
| 218 | 218 |
</li> |
| 219 | 219 |
</c:otherwise> |
| 220 | 220 |
</c:choose> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteInfoRegist.jsp
... | ... | @@ -28,11 +28,12 @@ |
| 28 | 28 |
******************************************************** */ |
| 29 | 29 |
function fn_egov_regist_siteinfo(){
|
| 30 | 30 |
var form = document.siteManageVO; |
| 31 |
- |
|
| 31 |
+ /* |
|
| 32 | 32 |
if (!validateSiteManageVO(form)) {
|
| 33 | 33 |
return false; |
| 34 | 34 |
} |
| 35 |
- |
|
| 35 |
+ */ |
|
| 36 |
+ /* |
|
| 36 | 37 |
if(!$.isNumeric($('#passwordMummLt').val())) {
|
| 37 | 38 |
alert("비밀번호 최소길이는 숫자만 입력하세요");
|
| 38 | 39 |
$('#passwordMummLt').focus();
|
... | ... | @@ -50,7 +51,7 @@ |
| 50 | 51 |
$('#passwordChangeCycle').focus();
|
| 51 | 52 |
return false; |
| 52 | 53 |
} |
| 53 |
- |
|
| 54 |
+ */ |
|
| 54 | 55 |
$("#bbsIdList option").attr("selected", "selected");
|
| 55 | 56 |
|
| 56 | 57 |
if($.trim($('#siteId').val()) == "") {
|
... | ... | @@ -225,21 +226,21 @@ |
| 225 | 226 |
</form:select> |
| 226 | 227 |
</div> |
| 227 | 228 |
|
| 228 |
- <form:input path="siteNm" size="88" maxlength="100" cssClass="q2" /> |
|
| 229 |
+ <form:input path="siteNm" size="88" maxlength="100" cssClass="q4" /> |
|
| 229 | 230 |
<div><form:errors path="siteNm"/></div> |
| 230 | 231 |
</td> |
| 231 | 232 |
</tr> |
| 232 | 233 |
<tr> |
| 233 | 234 |
<th><label for="siteUrl">도메인</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
| 234 | 235 |
<td> |
| 235 |
- <form:input path="siteUrl" size="100" maxlength="255" cssClass="q1" /> |
|
| 236 |
+ <form:input path="siteUrl" size="100" maxlength="255" cssClass="q4" /> |
|
| 236 | 237 |
<div><form:errors path="siteUrl"/></div> |
| 237 | 238 |
</td> |
| 238 | 239 |
</tr> |
| 239 | 240 |
<tr> |
| 240 | 241 |
<th><label for="brwsrSj">브라우저타이틀</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
| 241 | 242 |
<td> |
| 242 |
- <form:input path="brwsrSj" size="100" maxlength="100" cssClass="q1" /> |
|
| 243 |
+ <form:input path="brwsrSj" size="100" maxlength="100" cssClass="q4" /> |
|
| 243 | 244 |
<div><form:errors path="brwsrSj"/></div> |
| 244 | 245 |
</td> |
| 245 | 246 |
</tr> |
... | ... | @@ -389,7 +390,7 @@ |
| 389 | 390 |
</c:choose> |
| 390 | 391 |
</div> |
| 391 | 392 |
<div class="txt-area"> |
| 392 |
- <p><c:out value="${lytSourcVO.sourcNm}"/></p>
|
|
| 393 |
+ <p id="lytSourcNm"><c:out value="${lytSourcVO.sourcNm}"/></p>
|
|
| 393 | 394 |
<button class="btn-sm spot" onclick="fn_egov_selectSourc('sit'); return false;">선택</button>
|
| 394 | 395 |
</div> |
| 395 | 396 |
</li> |
... | ... | @@ -405,7 +406,7 @@ |
| 405 | 406 |
</c:choose> |
| 406 | 407 |
</div> |
| 407 | 408 |
<div class="txt-area"> |
| 408 |
- <p><c:out value="${lytTmplatVO.tmplatNm}"/></p>
|
|
| 409 |
+ <p id="lytTmplatNm"><c:out value="${lytTmplatVO.tmplatNm}"/></p>
|
|
| 409 | 410 |
<button class="btn-sm spot" onclick="fn_egov_selectTemplate('sit'); return false;">선택</button>
|
| 410 | 411 |
</div> |
| 411 | 412 |
</li> |
... | ... | @@ -428,7 +429,7 @@ |
| 428 | 429 |
</c:choose> |
| 429 | 430 |
</div> |
| 430 | 431 |
<div class="txt-area"> |
| 431 |
- <p><c:out value="${cmySourcVO.sourcNm}"/></p>
|
|
| 432 |
+ <p id="cmySourcNm"><c:out value="${cmySourcVO.sourcNm}"/></p>
|
|
| 432 | 433 |
<button class="btn-sm spot" onclick="fn_egov_selectSourc('cmy'); return false;">선택</button>
|
| 433 | 434 |
</div> |
| 434 | 435 |
</li> |
... | ... | @@ -444,7 +445,7 @@ |
| 444 | 445 |
</c:choose> |
| 445 | 446 |
</div> |
| 446 | 447 |
<div class="txt-area"> |
| 447 |
- <p><c:out value="${cmyTmplatVO.tmplatNm}"/></p>
|
|
| 448 |
+ <p id="cmyTmplatNm"><c:out value="${cmyTmplatVO.tmplatNm}"/></p>
|
|
| 448 | 449 |
<button class="btn-sm spot" onclick="fn_egov_selectTemplate('cmy'); return false;">선택</button>
|
| 449 | 450 |
</div> |
| 450 | 451 |
</li> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/sym/sit/SiteListCommon.jsp
... | ... | @@ -33,10 +33,7 @@ |
| 33 | 33 |
$.each(data, function(idx, site){
|
| 34 | 34 |
$("#siteId").append("<option value='" + site.siteId + "' " + ((site.siteId == '${orgCodeVO.siteId}') ? 'selected=selected': '') + ">"+ site.siteNm + "</option>");
|
| 35 | 35 |
}); |
| 36 |
- }) |
|
| 37 |
- .success(function() {})
|
|
| 38 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 39 |
- .complete(function() {});
|
|
| 36 |
+ }); |
|
| 40 | 37 |
}); |
| 41 | 38 |
|
| 42 | 39 |
$('#chkSave').change( function() {
|
... | ... | @@ -64,10 +61,7 @@ |
| 64 | 61 |
} |
| 65 | 62 |
$('#siteId').attr('disabled', false);
|
| 66 | 63 |
} |
| 67 |
- }) |
|
| 68 |
- .success(function() {})
|
|
| 69 |
- .error(function() {alert('문제가 발생하여 작업을 완료하지 못하였습니다.');})
|
|
| 70 |
- .complete(function() {});
|
|
| 64 |
+ }); |
|
| 71 | 65 |
}); |
| 72 | 66 |
|
| 73 | 67 |
$('#btnSiteSearch').click( function() {
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/bottom.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/bottom.jsp
... | ... | @@ -16,15 +16,16 @@ |
| 16 | 16 |
<!--popup--> |
| 17 | 17 |
<div class="dim"></div> |
| 18 | 18 |
|
| 19 |
-<script src="/resources/manage/js/jquery-3.6.0.min.js"></script> |
|
| 20 |
- |
|
| 21 | 19 |
<!--퍼블 layout--> |
| 22 |
-<script src="/resources/manage/js/_layout.js"></script> |
|
| 20 |
+<%--<script src="/resources/manage/js/_layout.js"></script>--%> |
|
| 23 | 21 |
|
| 24 | 22 |
<script src="/resources/manage/js/jquery-ui.min.js"></script> |
| 25 | 23 |
<script src="/resources/manage/js/jquery.easing.1.3.js"></script> |
| 26 | 24 |
<script src="/resources/manage/js/ssm.min.js"></script> |
| 27 | 25 |
<script src="/resources/manage/js/swiper-bundle.js"></script> |
| 28 | 26 |
<script src="/resources/manage/js/common.js"></script> |
| 27 |
+ |
|
| 28 |
+<script src="/resources/lib/jquery/ui/i18n/jquery.ui.datepicker-ko.js"></script> |
|
| 29 |
+<script src="/resources/lib/jquery/jquery.timepicker.min.js"></script> |
|
| 29 | 30 |
</body> |
| 30 | 31 |
</html>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popTop.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/popTop.jsp
... | ... | @@ -14,7 +14,7 @@ |
| 14 | 14 |
<link href="/resources/manage/css/style.css" rel="stylesheet" /> |
| 15 | 15 |
|
| 16 | 16 |
<script src="/resources/manage/js/jquery-3.6.0.min.js"></script> |
| 17 |
- <script src="<c:url value='/resources/template/common/js/common.js'/>"></script> |
|
| 17 |
+ <script src="<c:url value='/resources/common/js/common.js'/>"></script> |
|
| 18 | 18 |
<c:if test="${not empty param.validator }">
|
| 19 | 19 |
<script src="<c:url value="/validator.do"/>"></script> |
| 20 | 20 |
<validator:javascript formName="${param.validator }" staticJavascript="false" xhtml="true" cdata="false"/>
|
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/template/top.jsp
... | ... | @@ -13,9 +13,12 @@ |
| 13 | 13 |
<title>관리자페이지 : <c:out value='${param.title}'/></title>
|
| 14 | 14 |
|
| 15 | 15 |
<link href="/resources/manage/css/style.css" rel="stylesheet" /> |
| 16 |
+ <link href="/resources/template/common/js/jquery/css/jquery.timepicker.css" rel="stylesheet" /> |
|
| 16 | 17 |
|
| 18 |
+ <%--<script src="<c:url value='/resources/template/common/js/jquery/jquery-1.9.1.min.js'/>"></script>--%> |
|
| 17 | 19 |
<script src="/resources/manage/js/jquery-3.6.0.min.js"></script> |
| 18 |
- <script src="<c:url value='/resources/template/common/js/common.js'/>"></script> |
|
| 20 |
+ <script src="<c:url value='/resources/common/js/common.js'/>"></script> |
|
| 21 |
+ |
|
| 19 | 22 |
<c:if test="${not empty param.validator }">
|
| 20 | 23 |
<script src="<c:url value="/validator.do"/>"></script> |
| 21 | 24 |
<validator:javascript formName="${param.validator }" staticJavascript="false" xhtml="true" cdata="false"/>
|
... | ... | @@ -72,15 +75,6 @@ |
| 72 | 75 |
<div class="lnb-area"> |
| 73 | 76 |
<nav class="lnb"> |
| 74 | 77 |
<ul class="depth1"> |
| 75 |
- <%-- |
|
| 76 |
- <li> |
|
| 77 |
- <a href="#none" class="is-current">내 문항</a> |
|
| 78 |
- <ul class="depth2"> |
|
| 79 |
- <li><a href="#none" class="is-current">임시보관함</a></li> |
|
| 80 |
- <li><a href="#none">문항 보관함</a></li> |
|
| 81 |
- </ul> |
|
| 82 |
- </li> |
|
| 83 |
- --%> |
|
| 84 | 78 |
<c:choose> |
| 85 | 79 |
<%-- 시스템관리 --%> |
| 86 | 80 |
<c:when test="${param.menu eq 'SYSTEM_MANAGE' }">
|
... | ... | @@ -153,28 +147,24 @@ |
| 153 | 147 |
</c:when> |
| 154 | 148 |
<%-- 기타관리 --%> |
| 155 | 149 |
<c:when test="${param.menu eq 'ETC_MANAGE' }">
|
| 156 |
- <ul class="list"> |
|
| 157 |
- <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN001"/>" <c:if test="${param.bannerTyCode eq 'BAN001' }">class="is-current"</c:if>>배너존관리</a></li>
|
|
| 158 |
- <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN002"/>" <c:if test="${param.bannerTyCode eq 'BAN002' }">class="is-current"</c:if>>팝업존관리</a></li>
|
|
| 159 |
- <%-- |
|
| 160 |
- <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN003"/>" <c:if test="${param.bannerTyCode eq 'BAN003' }">class="is-current"</c:if>>퀵메뉴관리</a></li>
|
|
| 161 |
- <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN004"/>" <c:if test="${param.bannerTyCode eq 'BAN004' }">class="is-current"</c:if>>메인배너관리(Type1)</a></li>
|
|
| 162 |
- <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN005"/>" <c:if test="${param.bannerTyCode eq 'BAN005' }">class="is-current"</c:if>>메인배너관리(Type2)</a></li>
|
|
| 163 |
- <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN006"/>" <c:if test="${param.bannerTyCode eq 'BAN006' }">class="is-current"</c:if>>서브배너관리</a></li>
|
|
| 164 |
- --%> |
|
| 165 |
- <li><a href="<c:url value="/mng/uss/ion/pwm/listPopup.do"/>" <c:if test="${param.depth1 eq 'ETC_POPUPWINDOW' }">class="is-current"</c:if>>팝업관리</a></li>
|
|
| 166 |
- <li><a href="<c:url value="/mng/uss/ion/sit/SiteListInqire.do"/>" <c:if test="${param.depth1 eq 'ETC_SITE' }">class="is-current"</c:if>>링크사이트관리</a></li>
|
|
| 167 |
- </ul> |
|
| 150 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN001"/>" <c:if test="${param.bannerTyCode eq 'BAN001' }">class="is-current"</c:if>>팝업존관리</a></li>
|
|
| 151 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN002"/>" <c:if test="${param.bannerTyCode eq 'BAN002' }">class="is-current"</c:if>>배너존관리</a></li>
|
|
| 152 |
+ <%-- |
|
| 153 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN003"/>" <c:if test="${param.bannerTyCode eq 'BAN003' }">class="is-current"</c:if>>퀵메뉴관리</a></li>
|
|
| 154 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN004"/>" <c:if test="${param.bannerTyCode eq 'BAN004' }">class="is-current"</c:if>>메인배너관리(Type1)</a></li>
|
|
| 155 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN005"/>" <c:if test="${param.bannerTyCode eq 'BAN005' }">class="is-current"</c:if>>메인배너관리(Type2)</a></li>
|
|
| 156 |
+ <li><a href="<c:url value="/mng/uss/ion/bnr/selectBannerList.do?bannerTyCode=BAN006"/>" <c:if test="${param.bannerTyCode eq 'BAN006' }">class="is-current"</c:if>>서브배너관리</a></li>
|
|
| 157 |
+ --%> |
|
| 158 |
+ <li><a href="<c:url value="/mng/uss/ion/pwm/listPopup.do"/>" <c:if test="${param.depth1 eq 'ETC_POPUPWINDOW' }">class="is-current"</c:if>>팝업관리</a></li>
|
|
| 159 |
+ <li><a href="<c:url value="/mng/uss/ion/sit/SiteListInqire.do"/>" <c:if test="${param.depth1 eq 'ETC_SITE' }">class="is-current"</c:if>>링크사이트관리</a></li>
|
|
| 168 | 160 |
</c:when> |
| 169 | 161 |
<%--등록되지 않은 메뉴들 --%> |
| 170 | 162 |
<c:otherwise> |
| 171 |
- <ul class="list"> |
|
| 172 |
- <li><a href="#" class="is-current">메뉴1</a></li> |
|
| 173 |
- <li><a href="#">메뉴2</a></li> |
|
| 174 |
- <li><a href="#">메뉴3</a></li> |
|
| 175 |
- <li><a href="#">메뉴4</a></li> |
|
| 176 |
- <li><a href="#">메뉴5</a></li> |
|
| 177 |
- </ul> |
|
| 163 |
+ <li><a href="#" class="is-current">메뉴1</a></li> |
|
| 164 |
+ <li><a href="#">메뉴2</a></li> |
|
| 165 |
+ <li><a href="#">메뉴3</a></li> |
|
| 166 |
+ <li><a href="#">메뉴4</a></li> |
|
| 167 |
+ <li><a href="#">메뉴5</a></li> |
|
| 178 | 168 |
</c:otherwise> |
| 179 | 169 |
</c:choose> |
| 180 | 170 |
</ul> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/BannerList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/BannerList.jsp
... | ... | @@ -1,13 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
|
| 5 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 8 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 9 |
-<c:set var="CMMN_IMG" value="${pageContext.request.contextPath}/template/common/images"/>
|
|
| 10 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 11 | 3 |
|
| 12 | 4 |
<c:set var="title" value="배너관리"/> |
| 13 | 5 |
<c:choose> |
... | ... | @@ -24,8 +16,7 @@ |
| 24 | 16 |
<c:param name="title" value="${title}"/>
|
| 25 | 17 |
</c:import> |
| 26 | 18 |
|
| 27 |
-<script type="text/javascript"> |
|
| 28 |
-<!-- |
|
| 19 |
+<script> |
|
| 29 | 20 |
function fncBannerDelete(url) {
|
| 30 | 21 |
if(confirm('<spring:message code="common.delete.msg" />')){
|
| 31 | 22 |
document.location.href = url; |
... | ... | @@ -40,7 +31,7 @@ |
| 40 | 31 |
|
| 41 | 32 |
imgwin.focus(); |
| 42 | 33 |
imgwin.document.open(); |
| 43 |
- imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n");
|
|
| 34 |
+ imgwin.document.write("<!DOCTYPE HTML>\n");
|
|
| 44 | 35 |
imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n");
|
| 45 | 36 |
imgwin.document.write("<title>크게보기</title>\n"); // 새창으로 페이지 제목
|
| 46 | 37 |
imgwin.document.write("<sc"+"ript>\n");
|
... | ... | @@ -63,182 +54,164 @@ |
| 63 | 54 |
imgwin.document.write("</body></html>\n");
|
| 64 | 55 |
imgwin.document.close(); |
| 65 | 56 |
} |
| 66 |
-//--> |
|
| 67 | 57 |
</script> |
| 68 | 58 |
|
| 69 |
-<div id="cntnts"> |
|
| 59 |
+<c:if test="${USER_INFO.userSe > 10}">
|
|
| 60 |
+ <form id="siteForm" name="siteForm" action="<c:url value="/mng/uss/ion/bnr/selectBannerList.do"/>" method="post"> |
|
| 61 |
+ <input type="hidden" name="bannerTyCode" value="<c:out value='${searchVO.bannerTyCode}'/>"/>
|
|
| 62 |
+ <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 63 |
+ </form> |
|
| 64 |
+</c:if> |
|
| 70 | 65 |
|
| 71 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 72 |
- <form id="siteForm" name="siteForm" action="<c:url value="/mng/uss/ion/bnr/selectBannerList.do"/>" method="post"> |
|
| 73 |
- <input type="hidden" name="bannerTyCode" value="<c:out value='${searchVO.bannerTyCode}'/>"/>
|
|
| 74 |
- <div id="bbs_search"> |
|
| 75 |
- <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 76 |
- </div> |
|
| 77 |
- </form> |
|
| 78 |
- </c:if> |
|
| 79 |
- |
|
| 80 |
- |
|
| 81 |
- <div id="board"> |
|
| 82 |
- |
|
| 83 |
- |
|
| 84 |
- |
|
| 85 |
- |
|
| 86 |
- <p class="total">총 ${paginationInfo.totalRecordCount}건 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 87 |
- |
|
| 88 |
- <div id="board_list"> |
|
| 89 |
- <table width="100%" summary="메인화면에서 배너에 대한 목록으로 배너명, 링크url,배너설명,반영여부를 제공한다." class="chart_board"> |
|
| 90 |
- <caption class="hdn">배너 목록</caption> |
|
| 91 |
- <colgroup> |
|
| 92 |
- <col class="co1"/> |
|
| 93 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN002' }">
|
|
| 94 |
- <col class="co6"/> |
|
| 95 |
- </c:if> |
|
| 96 |
- <col class="co3"/> |
|
| 97 |
- <col class="co3"/> |
|
| 98 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN001' }">
|
|
| 99 |
- <col class="co3"/> |
|
| 100 |
- </c:if> |
|
| 101 |
- <col class="co6"/> |
|
| 102 |
- <col class="co6"/> |
|
| 103 |
- </colgroup> |
|
| 104 |
- <thead> |
|
| 105 |
- <tr> |
|
| 106 |
- <th class="first">번호</th> |
|
| 107 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN002' }">
|
|
| 108 |
- <th>주제분류</th> |
|
| 109 |
- </c:if> |
|
| 110 |
- <th>배너명</th> |
|
| 111 |
- <th>링크 URL</th> |
|
| 112 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN001' }">
|
|
| 113 |
- <th>게시기간</th> |
|
| 114 |
- </c:if> |
|
| 115 |
- <th>반영여부</th> |
|
| 116 |
- <th>관리</th> |
|
| 117 |
- </tr> |
|
| 118 |
- </thead> |
|
| 119 |
- <tbody> |
|
| 120 |
- |
|
| 121 |
- <c:forEach var="banner" items="${bannerList}" varStatus="status">
|
|
| 122 |
- <tr> |
|
| 123 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 124 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN002' }">
|
|
| 125 |
- <td><c:out value="${banner.bannerThemaClCodeNm}"/></td>
|
|
| 126 |
- </c:if> |
|
| 127 |
- <td><a href="${banner.linkUrl}" target="_blank"><c:out value="${banner.bannerNm}"/></a></td>
|
|
| 128 |
- <td><a href="${banner.linkUrl}" target="_blank"><c:out value="${banner.linkUrl}"/></a></td>
|
|
| 129 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN001' }">
|
|
| 130 |
- <td> |
|
| 131 |
- <c:out value="${fn:substring(banner.ntceBgnde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 6, 8)}"/> <c:out value="${fn:substring(banner.ntceBgnde, 8, 10)}"/>:<c:out value="${fn:substring(banner.ntceBgnde, 10, 12)}"/>
|
|
| 132 |
- ~ |
|
| 133 |
- <c:out value="${fn:substring(banner.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 6, 8)}"/> <c:out value="${fn:substring(banner.ntceEndde, 8, 10)}"/>:<c:out value="${fn:substring(banner.ntceEndde, 10, 12)}"/>
|
|
| 134 |
- </td> |
|
| 135 |
- </c:if> |
|
| 136 |
- <td> |
|
| 137 |
- <c:if test="${banner.reflctAt eq 'Y'}">
|
|
| 138 |
- <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 139 |
- </c:if> |
|
| 140 |
- <c:if test="${banner.reflctAt eq 'N'}">
|
|
| 141 |
- <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 142 |
- </c:if> |
|
| 143 |
- </td> |
|
| 144 |
- <td> |
|
| 145 |
- <c:url var="viewUrl" value="/mng/uss/ion/bnr/getBanner.do"> |
|
| 146 |
- <c:param name="bannerId" value="${banner.bannerId}" />
|
|
| 147 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 148 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 149 |
- <c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
|
| 150 |
- <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 151 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 152 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 153 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 154 |
- </c:url> |
|
| 155 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 156 |
- <c:url var="delUrl" value="/mng/uss/ion/bnr/removeBanner.do"> |
|
| 157 |
- <c:param name="bannerId" value="${banner.bannerId}" />
|
|
| 158 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 159 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 160 |
- <c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
|
| 161 |
- <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 162 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 163 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 164 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 165 |
- </c:url> |
|
| 166 |
- <a href="${delUrl}" onclick="fncBannerDelete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 167 |
- </td> |
|
| 168 |
- </tr> |
|
| 169 |
- </c:forEach> |
|
| 170 |
- |
|
| 171 |
- <c:if test="${fn:length(bannerList) == 0}">
|
|
| 172 |
- <tr> |
|
| 173 |
- <td class="listCenter" colspan="7"><spring:message code="common.nodata.msg" /></td> |
|
| 174 |
- </tr> |
|
| 175 |
- </c:if> |
|
| 176 |
- |
|
| 177 |
- </tbody> |
|
| 178 |
- </table> |
|
| 179 |
- </div> |
|
| 180 |
- |
|
| 181 |
- <div id="paging"> |
|
| 182 |
- <c:url var="pageUrl" value="/mng/uss/ion/bnr/selectBannerList.do"> |
|
| 183 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 184 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 185 |
- <c:param name="bannerTyCode" value="${param.bannerTyCode}" />
|
|
| 186 |
- <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if>
|
|
| 187 |
- <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 188 |
- <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 189 |
- </c:url> |
|
| 190 |
- <ul> |
|
| 191 |
- <c:if test="${not empty paginationInfo}">
|
|
| 192 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 193 |
- </c:if> |
|
| 194 |
- </ul> |
|
| 195 |
- </div> |
|
| 196 |
- |
|
| 197 |
- |
|
| 198 |
- </div> |
|
| 199 |
- |
|
| 200 |
- |
|
| 201 |
- <div id="bbs_search"> |
|
| 202 |
- <form name="listForm" action="<c:url value='/mng/uss/ion/bnr/selectBannerList.do'/>" method="post"> |
|
| 66 |
+<div class="fnc-area"> |
|
| 67 |
+ <div class="r-area"> |
|
| 68 |
+ <form name="listForm" action="<c:url value='/mng/uss/ion/bnr/selectBannerList.do'/>" method="post"> |
|
| 203 | 69 |
<input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
| 204 |
- <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 205 |
- <input type="hidden" name="bannerTyCode" value="<c:out value='${searchVO.bannerTyCode}'/>"/>
|
|
| 206 |
- <fieldset> |
|
| 207 |
- <legend class="hdn">찾기 폼</legend> |
|
| 208 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN002'}">
|
|
| 209 |
- <label for="cate" class="hdn">분류</label> |
|
| 210 |
- <select id="cate" name="searchCate" title="분류" class="cate_sel inp"> |
|
| 211 |
- <option value="">주제분류</option> |
|
| 212 |
- <c:forEach var="code" items="${codeList}">
|
|
| 213 |
- <option value="${code.code}" <c:if test="${param.searchCate == code.code}">selected</c:if>>${code.codeNm}</option>
|
|
| 214 |
- </c:forEach> |
|
| 215 |
- </select> |
|
| 216 |
- </c:if> |
|
| 217 |
- <label for="searchCondition" class="hdn">검색항목</label> |
|
| 218 |
- <select name="searchCondition" id="ftext"> |
|
| 219 |
- <!--<option selected value=''>--선택하세요--</option>--> |
|
| 220 |
- <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if> >배너명</option>
|
|
| 221 |
- </select> |
|
| 222 |
- <input name="searchKeyword" id="searchKeyword" type="text" size="35" class="inp" value="<c:out value="${searchVO.searchKeyword}"/>" maxlength="35" />
|
|
| 223 |
- <input type="image" class="searchBtn vMid" src="${_IMG}/btn/btn_search.gif" alt="검색"/>
|
|
| 224 |
- </fieldset> |
|
| 225 |
- </form> |
|
| 226 |
- </div> |
|
| 227 |
- |
|
| 228 |
- <c:if test="${not empty searchVO.siteId }">
|
|
| 229 |
- <div class="btn_r"> |
|
| 230 |
- <c:url var="addUrl" value="/mng/uss/ion/bnr/addViewBanner.do"> |
|
| 231 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 232 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 233 |
- <c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
|
| 234 |
- </c:url> |
|
| 235 |
- |
|
| 236 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_regist.gif" alt="등록"/></a>
|
|
| 237 |
- </div> |
|
| 238 |
- </c:if> |
|
| 239 |
- <!-- contents end --> |
|
| 240 |
- |
|
| 241 |
- |
|
| 70 |
+ <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 71 |
+ <input type="hidden" name="bannerTyCode" value="<c:out value='${searchVO.bannerTyCode}'/>"/>
|
|
| 72 |
+ |
|
| 73 |
+ <div class="sch-area"> |
|
| 74 |
+ <div class="sch-option"> |
|
| 75 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN002'}">
|
|
| 76 |
+ <select id="cate" name="searchCate" title="분류" class="cate_sel inp"> |
|
| 77 |
+ <option value="">주제분류</option> |
|
| 78 |
+ <c:forEach var="code" items="${codeList}">
|
|
| 79 |
+ <option value="${code.code}" <c:if test="${param.searchCate == code.code}">selected</c:if>>${code.codeNm}</option>
|
|
| 80 |
+ </c:forEach> |
|
| 81 |
+ </select> |
|
| 82 |
+ </c:if> |
|
| 83 |
+ |
|
| 84 |
+ <select name="searchCondition" id="ftext"> |
|
| 85 |
+ <%--<option selected value=''>--선택하세요--</option>--%> |
|
| 86 |
+ <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if> >배너명</option>
|
|
| 87 |
+ </select> |
|
| 88 |
+ </div> |
|
| 89 |
+ <div class="sch"> |
|
| 90 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 91 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 92 |
+ </div> |
|
| 93 |
+ </div> |
|
| 94 |
+ </form> |
|
| 95 |
+ </div> |
|
| 242 | 96 |
</div> |
| 243 | 97 |
|
| 98 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 99 |
+<div class="list-type sm"> |
|
| 100 |
+ <table> |
|
| 101 |
+ <colgroup> |
|
| 102 |
+ <col style="width:110px"> |
|
| 103 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN002' }">
|
|
| 104 |
+ <col style="width:150px"> |
|
| 105 |
+ </c:if> |
|
| 106 |
+ <col> |
|
| 107 |
+ <col> |
|
| 108 |
+ <col> |
|
| 109 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN001' }">
|
|
| 110 |
+ <col> |
|
| 111 |
+ </c:if> |
|
| 112 |
+ <col style="width:130px"> |
|
| 113 |
+ </colgroup> |
|
| 114 |
+ <thead> |
|
| 115 |
+ <tr> |
|
| 116 |
+ <th scope="col">번호</th> |
|
| 117 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN002' }">
|
|
| 118 |
+ <th>주제분류</th> |
|
| 119 |
+ </c:if> |
|
| 120 |
+ <th scope="col">배너명</th> |
|
| 121 |
+ <th>링크 URL</th> |
|
| 122 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN001' }">
|
|
| 123 |
+ <th>게시기간</th> |
|
| 124 |
+ </c:if> |
|
| 125 |
+ <th>반영여부</th> |
|
| 126 |
+ <th>관리</th> |
|
| 127 |
+ </tr> |
|
| 128 |
+ </thead> |
|
| 129 |
+ <tbody> |
|
| 130 |
+ <c:forEach var="banner" items="${bannerList}" varStatus="status">
|
|
| 131 |
+ <tr> |
|
| 132 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 133 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN002' }">
|
|
| 134 |
+ <td data-tit="주제분류"><c:out value="${result.sourcSeCodeNm}"/></td>
|
|
| 135 |
+ </c:if> |
|
| 136 |
+ <td data-tit="배너명"><a href="${banner.linkUrl}" target="_blank"><c:out value="${banner.bannerNm}"/></a></td>
|
|
| 137 |
+ <td data-tit="링크 URL"><a href="${banner.linkUrl}" target="_blank"><c:out value="${banner.linkUrl}"/></a></td>
|
|
| 138 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN001' }">
|
|
| 139 |
+ <td data-tit="게시기간"> |
|
| 140 |
+ <c:out value="${fn:substring(banner.ntceBgnde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 6, 8)}"/> <c:out value="${fn:substring(banner.ntceBgnde, 8, 10)}"/>:<c:out value="${fn:substring(banner.ntceBgnde, 10, 12)}"/>
|
|
| 141 |
+ ~ |
|
| 142 |
+ <c:out value="${fn:substring(banner.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 6, 8)}"/> <c:out value="${fn:substring(banner.ntceEndde, 8, 10)}"/>:<c:out value="${fn:substring(banner.ntceEndde, 10, 12)}"/>
|
|
| 143 |
+ </td> |
|
| 144 |
+ </c:if> |
|
| 145 |
+ <td data-tit="반영여부"> |
|
| 146 |
+ <c:if test="${banner.reflctAt eq 'Y'}">
|
|
| 147 |
+ <span class="label-state spot">Y</span> |
|
| 148 |
+ </c:if> |
|
| 149 |
+ <c:if test="${banner.reflctAt eq 'N'}">
|
|
| 150 |
+ <span class="label-state">N</span> |
|
| 151 |
+ </c:if> |
|
| 152 |
+ </td> |
|
| 153 |
+ <td data-tit="관리"> |
|
| 154 |
+ <div class="btn-cont"> |
|
| 155 |
+ <c:url var="viewUrl" value="/mng/uss/ion/bnr/getBanner.do"> |
|
| 156 |
+ <c:param name="bannerId" value="${banner.bannerId}" />
|
|
| 157 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 158 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 159 |
+ <c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
|
| 160 |
+ <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 161 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 162 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 163 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 164 |
+ </c:url> |
|
| 165 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 166 |
+ |
|
| 167 |
+ <c:url var="delUrl" value="/mng/uss/ion/bnr/removeBanner.do"> |
|
| 168 |
+ <c:param name="bannerId" value="${banner.bannerId}" />
|
|
| 169 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 170 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 171 |
+ <c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
|
| 172 |
+ <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
|
| 173 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 174 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 175 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 176 |
+ </c:url> |
|
| 177 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제" onclick="fn_egov_delete(this.href);return false;"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 178 |
+ </div> |
|
| 179 |
+ </td> |
|
| 180 |
+ </tr> |
|
| 181 |
+ </c:forEach> |
|
| 182 |
+ |
|
| 183 |
+ <c:if test="${fn:length(bannerList) == 0}">
|
|
| 184 |
+ <tr> |
|
| 185 |
+ <td class="" colspan="${searchVO.bannerTyCode eq 'BAN001' or searchVO.bannerTyCode eq 'BAN002' ? '6' : '5'}"><spring:message code="common.nodata.msg" /></td>
|
|
| 186 |
+ </tr> |
|
| 187 |
+ </c:if> |
|
| 188 |
+ </tbody> |
|
| 189 |
+ </table> |
|
| 190 |
+</div> |
|
| 191 |
+ |
|
| 192 |
+<c:url var="pageUrl" value="/mng/uss/ion/bnr/selectBannerList.do"> |
|
| 193 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 194 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 195 |
+ <c:param name="bannerTyCode" value="${param.bannerTyCode}" />
|
|
| 196 |
+ <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if>
|
|
| 197 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 198 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 199 |
+</c:url> |
|
| 200 |
+<ul class="paging"> |
|
| 201 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 202 |
+</ul> |
|
| 203 |
+ |
|
| 204 |
+<c:if test="${not empty searchVO.siteId }">
|
|
| 205 |
+ <div class="fnc-area"> |
|
| 206 |
+ <div class="r-area"> |
|
| 207 |
+ <c:url var="addUrl" value="/mng/uss/ion/bnr/addViewBanner.do"> |
|
| 208 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 209 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 210 |
+ <c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
|
| 211 |
+ </c:url> |
|
| 212 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 213 |
+ </div> |
|
| 214 |
+ </div> |
|
| 215 |
+</c:if> |
|
| 216 |
+ |
|
| 244 | 217 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/BannerRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/bnr/BannerRegist.jsp
... | ... | @@ -1,13 +1,5 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
|
| 5 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<c:set var="CMMN_IMG" value="${pageContext.request.contextPath}/template/common/images"/>
|
|
| 9 |
-<c:set var="CMMN_JS" value="${pageContext.request.contextPath}/template/common/js"/>
|
|
| 10 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 11 | 3 |
<c:set var="title" value="배너관리"/> |
| 12 | 4 |
<c:set var="_MODE" value=""/> |
| 13 | 5 |
|
... | ... | @@ -33,15 +25,17 @@ |
| 33 | 25 |
<c:param name="title" value="${title}"/>
|
| 34 | 26 |
</c:import> |
| 35 | 27 |
|
| 36 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 28 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 37 | 29 |
<validator:javascript formName="banner" staticJavascript="false" xhtml="true" cdata="false"/> |
| 38 |
-<script type="text/javascript"> |
|
| 39 | 30 |
|
| 31 |
+<script> |
|
| 40 | 32 |
function fn_egov_regist() {
|
| 41 |
- |
|
| 42 |
- if(!validateBanner(document.banner)){
|
|
| 43 |
- return false; |
|
| 44 |
- } |
|
| 33 |
+ <%-- |
|
| 34 |
+ if(!validateBanner(document.banner)){
|
|
| 35 |
+ return false; |
|
| 36 |
+ } |
|
| 37 |
+ --%> |
|
| 38 |
+ |
|
| 45 | 39 |
<%-- |
| 46 | 40 |
<c:if test="${_MODE eq 'REG'}">
|
| 47 | 41 |
if($.trim($('#imageFile').val()) == ""){
|
... | ... | @@ -50,7 +44,7 @@ |
| 50 | 44 |
} |
| 51 | 45 |
</c:if> |
| 52 | 46 |
--%> |
| 53 |
- <c:if test="${banner.bannerTyCode eq 'BAN001'}">
|
|
| 47 |
+ <c:if test="${banner.bannerTyCode eq 'BAN001'}">
|
|
| 54 | 48 |
var ntceBgndeYYYMMDD = $.trim($('#ntceBgndeYYYMMDD').val().replace(/-/g, ''));
|
| 55 | 49 |
var ntceEnddeYYYMMDD = $.trim($('#ntceEnddeYYYMMDD').val().replace(/-/g, ''));
|
| 56 | 50 |
|
... | ... | @@ -75,8 +69,8 @@ |
| 75 | 69 |
$('#ntceBgnde').val(ntceBgndeYYYMMDD + $('#ntceBgndeHH').val() + $('#ntceBgndeMM').val());
|
| 76 | 70 |
$('#ntceEndde').val(ntceEnddeYYYMMDD + $('#ntceEnddeHH').val() + $('#ntceEnddeMM').val());
|
| 77 | 71 |
|
| 78 |
- </c:if> |
|
| 79 |
- |
|
| 72 |
+ </c:if> |
|
| 73 |
+ |
|
| 80 | 74 |
if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){
|
| 81 | 75 |
return false; |
| 82 | 76 |
} |
... | ... | @@ -108,163 +102,172 @@ |
| 108 | 102 |
}); |
| 109 | 103 |
</script> |
| 110 | 104 |
|
| 105 |
+<c:choose> |
|
| 106 |
+ <c:when test="${_MODE eq 'REG' }">
|
|
| 107 |
+ <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/bnr/addBanner.do"/>
|
|
| 108 |
+ </c:when> |
|
| 109 |
+ <c:otherwise> |
|
| 110 |
+ <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/bnr/updtBanner.do"/>
|
|
| 111 |
+ </c:otherwise> |
|
| 112 |
+</c:choose> |
|
| 111 | 113 |
|
| 114 |
+<form:form commandName="banner" name="banner" method="post" action="${actionUrl}" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 112 | 115 |
|
| 113 |
-<div id="cntnts"> |
|
| 116 |
+ <form:hidden path="siteId"/> |
|
| 117 |
+ <form:hidden path="sysTyCode"/> |
|
| 114 | 118 |
|
| 115 |
- <c:choose> |
|
| 116 |
- <c:when test="${_MODE eq 'REG' }">
|
|
| 117 |
- <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/bnr/addBanner.do"/>
|
|
| 118 |
- </c:when> |
|
| 119 |
- <c:otherwise> |
|
| 120 |
- <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/bnr/updtBanner.do"/>
|
|
| 121 |
- </c:otherwise> |
|
| 122 |
- </c:choose> |
|
| 123 |
- <form:form commandName="banner" name="banner" method="post" action="${actionUrl}" enctype="multipart/form-data" onsubmit="return fn_egov_regist();">
|
|
| 124 |
- |
|
| 125 |
- <form:hidden path="siteId"/> |
|
| 126 |
- <form:hidden path="sysTyCode"/> |
|
| 127 |
- |
|
| 128 |
- <form:hidden path="bannerId"/> |
|
| 129 |
- <form:hidden path="ntceBgnde"/> |
|
| 130 |
- <form:hidden path="ntceEndde"/> |
|
| 131 |
- <form:hidden path="bannerTyCode"/> |
|
| 132 |
- |
|
| 133 |
- <input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 134 |
- <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" />
|
|
| 135 |
- <input type="hidden" name="searchCate" value="<c:out value='${searchVO.searchCate}'/>" />
|
|
| 136 |
- <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
|
| 137 |
- |
|
| 138 |
- <fieldset> |
|
| 139 |
- <legend class="hdn">배너 입력 폼</legend> |
|
| 140 |
- |
|
| 141 |
- <table class="chart2"> |
|
| 142 |
- <caption> </caption> |
|
| 143 |
- <colgroup> |
|
| 144 |
- <col width="150px" /> |
|
| 145 |
- <col width="*" /> |
|
| 146 |
- </colgroup> |
|
| 147 |
- <tbody> |
|
| 148 |
- <tr> |
|
| 149 |
- <th><em>*</em> <label for="bannerTitle">배너 타이틀</label></th> |
|
| 150 |
- <td> |
|
| 151 |
- <form:input path="bannerTitle" size="15" maxlength="15" cssClass="inp_long" required="required"/> |
|
| 152 |
- <br/><form:errors path="bannerTitle" /> |
|
| 153 |
- </td> |
|
| 154 |
- </tr> |
|
| 155 |
- <tr> |
|
| 156 |
- <th><em>*</em> <label for="bannerNm">배너 제목</label></th> |
|
| 157 |
- <td> |
|
| 158 |
- <form:input path="bannerNm" size="15" maxlength="15" cssClass="inp_long" required="required"/> |
|
| 159 |
- <br/><form:errors path="bannerNm" /> |
|
| 160 |
- </td> |
|
| 161 |
- </tr> |
|
| 162 |
- <tr> |
|
| 163 |
- <th><em>*</em> <label for="bannerDc">배너 상세 설명</label></th> |
|
| 164 |
- <td> |
|
| 165 |
- <form:textarea path="bannerDc" rows="3" cols="100" required="required"/> |
|
| 166 |
- <br/><form:errors path="bannerDc" /> |
|
| 167 |
- </td> |
|
| 168 |
- </tr> |
|
| 169 |
- <tr> |
|
| 170 |
- <th><label for="imageFile">배너 사진</label></th> |
|
| 171 |
- <td> |
|
| 172 |
- <input type="file" name="imageFile" id="imageFile" class="input300 inp" title="배너이미지"/> |
|
| 173 |
- <c:if test="${not empty banner.bannerImageFile}">
|
|
| 174 |
- <input type="hidden" id="fileDeleteAt" name="fileDeleteAt" value="N"/> |
|
| 175 |
- <br/><img src="${pageContext.request.contextPath}${BannerFileStoreWebPath}${searchVO.siteId}/${banner.bannerImageFile}" class="banner-img"/>
|
|
| 176 |
- <a href="#" id="btn-del"><img src="/resources/template/manage/images/btn/del.gif"></a> |
|
| 177 |
- </c:if> |
|
| 178 |
- </td> |
|
| 179 |
- </tr> |
|
| 180 |
- <tr> |
|
| 181 |
- <th><em>*</em> <label for="linkUrl">링크URL</label></th> |
|
| 182 |
- <td> |
|
| 183 |
- <form:input path="linkUrl" size="60" maxlength="255" cssClass="inp_long"/> |
|
| 184 |
- <br/><form:errors path="linkUrl" /> |
|
| 185 |
- </td> |
|
| 186 |
- </tr> |
|
| 187 |
- <tr> |
|
| 188 |
- <th><em>*</em> <label for="popupTrgetAt">새창여부</label></th> |
|
| 189 |
- <td> |
|
| 190 |
- <spring:message code="button.yes" /> : <form:radiobutton path="popupTrgetAt" value="Y" /> |
|
| 191 |
- <spring:message code="button.no" /> : <form:radiobutton path="popupTrgetAt" value="N" /> |
|
| 192 |
- </td> |
|
| 193 |
- </tr> |
|
| 194 |
- <c:if test="${searchVO.bannerTyCode eq 'BAN002'}">
|
|
| 195 |
- <tr> |
|
| 196 |
- <th><em>*</em> <label id="idBannerThemaClCode" for="bannerThemaClCode">배너주제분류</label> |
|
| 197 |
- </th> |
|
| 198 |
- <td> |
|
| 199 |
- <form:select path="bannerThemaClCode"> |
|
| 200 |
- <form:option value="" label="-- 선택 --"/> |
|
| 201 |
- <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 202 |
- </form:select> |
|
| 203 |
- <div><form:errors path="bannerThemaClCode"/></div> |
|
| 204 |
- </td> |
|
| 205 |
- </tr> |
|
| 206 |
- </c:if> |
|
| 207 |
- <tr> |
|
| 208 |
- <th><em>*</em> <label for="reflctAt">반영여부</label></th> |
|
| 209 |
- <td> |
|
| 210 |
- <spring:message code="button.yes" /> : <form:radiobutton path="reflctAt" value="Y" /> |
|
| 211 |
- <spring:message code="button.no" /> : <form:radiobutton path="reflctAt" value="N" /> |
|
| 212 |
- </td> |
|
| 213 |
- </tr> |
|
| 214 |
- <tr> |
|
| 215 |
- <c:if test="${banner.bannerTyCode eq 'BAN001'}">
|
|
| 216 |
- <th> |
|
| 217 |
- <em>*</em> <label id="IdNtceEnddeHH">게시 기간</label> |
|
| 218 |
- </th> |
|
| 219 |
- <td width="80%"> |
|
| 220 |
- <input type="text" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(banner.ntceBgnde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 6, 8)}"/>" readonly="readonly" />
|
|
| 221 |
- <form:select path="ntceBgndeHH"> |
|
| 222 |
- <form:options items="${ntceBgndeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 223 |
- </form:select>H |
|
| 224 |
- <form:select path="ntceBgndeMM"> |
|
| 225 |
- <form:options items="${ntceBgndeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 226 |
- </form:select>M |
|
| 227 |
- <span> ~ </span> |
|
| 228 |
- <input type="text" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(banner.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 6, 8)}"/>" readonly="readonly" />
|
|
| 229 |
- <form:select path="ntceEnddeHH"> |
|
| 230 |
- <form:options items="${ntceEnddeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 231 |
- </form:select>H |
|
| 232 |
- <form:select path="ntceEnddeMM"> |
|
| 233 |
- <form:options items="${ntceEnddeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 234 |
- </form:select>M |
|
| 235 |
- </td> |
|
| 236 |
- </c:if> |
|
| 237 |
- </tr> |
|
| 238 |
- <tr> |
|
| 239 |
- <th><em>*</em> <label for="sortOrdr">정렬순서</label></th> |
|
| 240 |
- <td> |
|
| 241 |
- <form:input path="sortOrdr" size="2" cssClass="inp"/> |
|
| 242 |
- <br/><form:errors path="sortOrdr" /> |
|
| 243 |
- </td> |
|
| 244 |
- </tr> |
|
| 245 |
- </tbody> |
|
| 246 |
- <tfoot> |
|
| 247 |
- </tfoot> |
|
| 248 |
- </table> |
|
| 249 |
- |
|
| 250 |
- <div class="btn_r"> |
|
| 251 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }" class="vMid" alt="등록" />
|
|
| 252 |
- <c:url var="listUrl" value="/mng/uss/ion/bnr/selectBannerList.do"> |
|
| 253 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 119 |
+ <form:hidden path="bannerId"/> |
|
| 120 |
+ <form:hidden path="ntceBgnde"/> |
|
| 121 |
+ <form:hidden path="ntceEndde"/> |
|
| 122 |
+ <form:hidden path="bannerTyCode"/> |
|
| 123 |
+ |
|
| 124 |
+ <input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 125 |
+ <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" />
|
|
| 126 |
+ <input type="hidden" name="searchCate" value="<c:out value='${searchVO.searchCate}'/>" />
|
|
| 127 |
+ <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
|
| 128 |
+ |
|
| 129 |
+ <fieldset> |
|
| 130 |
+ <legend class="hdn"><c:out value="${title}"/> 입력 폼</legend>
|
|
| 131 |
+ |
|
| 132 |
+ <div class="write-type"> |
|
| 133 |
+ <table> |
|
| 134 |
+ <colgroup> |
|
| 135 |
+ <col style="width:250px" /> |
|
| 136 |
+ <col /> |
|
| 137 |
+ </colgroup> |
|
| 138 |
+ <tbody> |
|
| 139 |
+ <tr> |
|
| 140 |
+ <th><label for="bannerTitle">배너 타이틀</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 141 |
+ <td> |
|
| 142 |
+ <form:input path="bannerTitle" size="15" maxlength="15" cssClass="q4" required="required"/> |
|
| 143 |
+ <div><form:errors path="bannerTitle"/></div> |
|
| 144 |
+ </td> |
|
| 145 |
+ </tr> |
|
| 146 |
+ <tr> |
|
| 147 |
+ <th><label for="bannerNm">배너 제목</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 148 |
+ <td> |
|
| 149 |
+ <form:input path="bannerNm" size="15" maxlength="15" cssClass="q4" required="required"/> |
|
| 150 |
+ <div><form:errors path="bannerNm"/></div> |
|
| 151 |
+ </td> |
|
| 152 |
+ </tr> |
|
| 153 |
+ <tr> |
|
| 154 |
+ <th><label for="bannerDc">배너 상세 설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 155 |
+ <td> |
|
| 156 |
+ <form:textarea path="bannerDc" rows="3" cols="100" required="required"/> |
|
| 157 |
+ <div><form:errors path="bannerDc"/></div> |
|
| 158 |
+ </td> |
|
| 159 |
+ </tr> |
|
| 160 |
+ <tr> |
|
| 161 |
+ <th><label for="imageFile">배너 사진</label></th> |
|
| 162 |
+ <td> |
|
| 163 |
+ <div class="file-add-area"> |
|
| 164 |
+ <div class="file-custom"> |
|
| 165 |
+ <input type="hidden" id="fileDeleteAt" name="fileDeleteAt" value="N"/> |
|
| 166 |
+ <input type="file" name="imageFile" id="imageFile" class="input-file" title="배너이미지"/> |
|
| 167 |
+ <div class="preview-area"> |
|
| 168 |
+ <c:if test="${not empty banner.bannerImageFile}">
|
|
| 169 |
+ <img src="${pageContext.request.contextPath}${BannerFileStoreWebPath}${searchVO.siteId}/${banner.bannerImageFile}" class="banner-img"/>
|
|
| 170 |
+ </c:if> |
|
| 171 |
+ </div> |
|
| 172 |
+ </div> |
|
| 173 |
+ |
|
| 174 |
+ <c:if test="${not empty banner.bannerImageFile}">
|
|
| 175 |
+ <div class="item-area"> |
|
| 176 |
+ <div class="item"> |
|
| 177 |
+ <p class="txt"><c:out value="${banner.bannerImageFile}"/></p>
|
|
| 178 |
+ <button type="button" id="btn-del" class="ico-sm-close"><span class="txt-hide">삭제</span></button> |
|
| 179 |
+ </div> |
|
| 180 |
+ <%--<small>* 권장 사이즈 : 480x270px</small>--%> |
|
| 181 |
+ </div> |
|
| 182 |
+ </c:if> |
|
| 183 |
+ </div> |
|
| 184 |
+ </td> |
|
| 185 |
+ </tr> |
|
| 186 |
+ <tr> |
|
| 187 |
+ <th><label for="linkUrl">링크URL</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 188 |
+ <td> |
|
| 189 |
+ <form:input path="linkUrl" size="60" maxlength="255" cssClass="q4" required="required"/> |
|
| 190 |
+ <div><form:errors path="linkUrl"/></div> |
|
| 191 |
+ </td> |
|
| 192 |
+ </tr> |
|
| 193 |
+ <tr> |
|
| 194 |
+ <th>새창여부</th> |
|
| 195 |
+ <td> |
|
| 196 |
+ <div class="checkradio"> |
|
| 197 |
+ <form:radiobutton path="popupTrgetAt" value="Y" /> |
|
| 198 |
+ <label for="popupTrgetAt1"><spring:message code="button.yes" /></label> |
|
| 199 |
+ </div> |
|
| 200 |
+ <div class="checkradio"> |
|
| 201 |
+ <form:radiobutton path="popupTrgetAt" value="N" /> |
|
| 202 |
+ <label for="popupTrgetAt2"><spring:message code="button.no" /></label> |
|
| 203 |
+ </div> |
|
| 204 |
+ </td> |
|
| 205 |
+ </tr> |
|
| 206 |
+ <c:if test="${searchVO.bannerTyCode eq 'BAN002'}">
|
|
| 207 |
+ <tr> |
|
| 208 |
+ <th><label id="idBannerThemaClCode" for="bannerThemaClCode">배너주제분류</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 209 |
+ <td> |
|
| 210 |
+ <div class="selectbox"> |
|
| 211 |
+ <form:select path="bannerThemaClCode"> |
|
| 212 |
+ <form:option value="" label="-- 선택 --"/> |
|
| 213 |
+ <form:options items="${codeList}" itemValue="code" itemLabel="codeNm"/>
|
|
| 214 |
+ </form:select> |
|
| 215 |
+ </div> |
|
| 216 |
+ <div><form:errors path="bannerThemaClCode"/></div> |
|
| 217 |
+ </td> |
|
| 218 |
+ </tr> |
|
| 219 |
+ </c:if> |
|
| 220 |
+ <tr> |
|
| 221 |
+ <th>반영여부</th> |
|
| 222 |
+ <td> |
|
| 223 |
+ <div class="checkradio"> |
|
| 224 |
+ <form:radiobutton path="reflctAt" value="Y" /> |
|
| 225 |
+ <label for="reflctAt1"><spring:message code="button.yes" /></label> |
|
| 226 |
+ </div> |
|
| 227 |
+ <div class="checkradio"> |
|
| 228 |
+ <form:radiobutton path="reflctAt" value="N" /> |
|
| 229 |
+ <label for="reflctAt2"><spring:message code="button.no" /></label> |
|
| 230 |
+ </div> |
|
| 231 |
+ </td> |
|
| 232 |
+ </tr> |
|
| 233 |
+ <tr> |
|
| 234 |
+ <th><label for="ntceBgndeYYYMMDD">게시 기간</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 235 |
+ <td> |
|
| 236 |
+ <input type="text" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(banner.ntceBgnde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceBgnde, 6, 8)}"/>" readonly="readonly" />
|
|
| 237 |
+ <form:select path="ntceBgndeHH"> |
|
| 238 |
+ <form:options items="${ntceBgndeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 239 |
+ </form:select>H |
|
| 240 |
+ <form:select path="ntceBgndeMM"> |
|
| 241 |
+ <form:options items="${ntceBgndeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 242 |
+ </form:select>M |
|
| 243 |
+ <span> ~ </span> |
|
| 244 |
+ <input type="text" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(banner.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(banner.ntceEndde, 6, 8)}"/>" readonly="readonly" />
|
|
| 245 |
+ <form:select path="ntceEnddeHH"> |
|
| 246 |
+ <form:options items="${ntceEnddeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 247 |
+ </form:select>H |
|
| 248 |
+ <form:select path="ntceEnddeMM"> |
|
| 249 |
+ <form:options items="${ntceEnddeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 250 |
+ </form:select>M |
|
| 251 |
+ </td> |
|
| 252 |
+ </tr> |
|
| 253 |
+ </tbody> |
|
| 254 |
+ </table> |
|
| 255 |
+ </div> |
|
| 256 |
+ |
|
| 257 |
+ <div class="btn-cont"> |
|
| 258 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 259 |
+ <c:url var="listUrl" value="/mng/uss/ion/bnr/selectBannerList.do"> |
|
| 260 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 254 | 261 |
<c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
| 255 | 262 |
<c:param name="bannerTyCode" value="${searchVO.bannerTyCode}"/>
|
| 256 | 263 |
<c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if>
|
| 257 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 264 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 258 | 265 |
<c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
| 259 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 260 |
- </c:url> |
|
| 261 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a>
|
|
| 262 |
- </div> |
|
| 263 |
- |
|
| 264 |
- </fieldset> |
|
| 265 |
- </form:form> |
|
| 266 |
- |
|
| 267 |
-</div> |
|
| 268 |
- |
|
| 266 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 267 |
+ </c:url> |
|
| 268 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 269 |
+ </div> |
|
| 270 |
+ </fieldset> |
|
| 271 |
+</form:form> |
|
| 269 | 272 |
|
| 270 | 273 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/PopupList.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/PopupList.jsp
... | ... | @@ -1,185 +1,168 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
|
| 5 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> |
|
| 8 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 9 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> |
|
| 10 |
-<c:set var="CMMN_IMG" value="${pageContext.request.contextPath}/template/common/images"/>
|
|
| 11 |
-<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/>
|
|
| 12 |
-<c:set var="CMMN_JS" value="/template/common/js"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 13 | 4 |
<c:import url="/mng/template/top.do" charEncoding="utf-8"> |
| 14 | 5 |
<c:param name="menu" value="ETC_MANAGE"/> |
| 15 | 6 |
<c:param name="depth1" value="ETC_POPUPWINDOW"/> |
| 16 | 7 |
<c:param name="title" value="팝업관리"/> |
| 17 | 8 |
</c:import> |
| 18 | 9 |
|
| 19 |
-<script type="text/javaScript" language="javascript"> |
|
| 20 |
- |
|
| 10 |
+<script> |
|
| 21 | 11 |
function fn_egov_delete_PopupManage(url) {
|
| 22 | 12 |
if(confirm('<spring:message code="common.delete.msg" />')){
|
| 23 | 13 |
document.location.href = url; |
| 24 | 14 |
} |
| 25 | 15 |
} |
| 26 |
- |
|
| 27 | 16 |
</script> |
| 28 | 17 |
|
| 18 |
+<c:if test="${USER_INFO.userSe > 10}">
|
|
| 19 |
+ <form id="siteForm" name="siteForm" action="<c:url value="/mng/uss/ion/pwm/listPopup.do"/>" method="post"> |
|
| 20 |
+ <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 21 |
+ </form> |
|
| 22 |
+</c:if> |
|
| 29 | 23 |
|
| 30 |
-<div id="cntnts"> |
|
| 24 |
+<div class="fnc-area"> |
|
| 25 |
+ <div class="r-area"> |
|
| 26 |
+ <form name="listForm" action="<c:url value='/mng/uss/ion/pwm/listPopup.do'/>" method="post"> |
|
| 27 |
+ <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 28 |
+ <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 31 | 29 |
|
| 32 |
- <c:if test="${USER_INFO.userSe > 10}">
|
|
| 33 |
- <form id="siteForm" name="siteForm" action="<c:url value="/mng/uss/ion/pwm/listPopup.do"/>" method="post"> |
|
| 34 |
- <div id="bbs_search"> |
|
| 35 |
- <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> |
|
| 30 |
+ <div class="sch-area"> |
|
| 31 |
+ <div class="sch-option"> |
|
| 32 |
+ <select name="searchCondition" id="ftext"> |
|
| 33 |
+ <%--<option selected value=''>--선택하세요--</option>--%> |
|
| 34 |
+ <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if> >팝업명</option>
|
|
| 35 |
+ </select> |
|
| 36 |
+ </div> |
|
| 37 |
+ <div class="sch"> |
|
| 38 |
+ <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'>
|
|
| 39 |
+ <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> |
|
| 40 |
+ </div> |
|
| 36 | 41 |
</div> |
| 37 | 42 |
</form> |
| 38 |
- </c:if> |
|
| 39 |
- |
|
| 40 |
-<div id="board"> |
|
| 41 |
- |
|
| 42 |
- <p class="total">총 ${paginationInfo.totalRecordCount}건 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 43 |
- |
|
| 44 |
- <div id="board_list"> |
|
| 45 |
- <table width="100%" summary="게시판리스트입니다." class="chart_board"> |
|
| 46 |
- <caption class="hdn">팝업목록</caption> |
|
| 47 |
- <colgroup> |
|
| 48 |
- <col class="co1"/> |
|
| 49 |
- <col class="co3"/> |
|
| 50 |
- <col class="co6"/> |
|
| 51 |
- <col class="co6"/> |
|
| 52 |
- <col class="co6"/> |
|
| 53 |
- <col class="co6"/> |
|
| 54 |
- <col class="co6"/> |
|
| 55 |
- <col class="co6"/> |
|
| 56 |
- <col class="co6"/> |
|
| 57 |
- </colgroup> |
|
| 58 |
- <thead> |
|
| 59 |
- <tr> |
|
| 60 |
- <th class="first">번호</th> |
|
| 61 |
- <th>팝업명</th> |
|
| 62 |
- <th>게시기간</th> |
|
| 63 |
- <th>팝업목록게시</th> |
|
| 64 |
- <th>그만보기설정</th> |
|
| 65 |
- <th>게시상태</th> |
|
| 66 |
- <th>생성일</th> |
|
| 67 |
- <th>미리보기</th> |
|
| 68 |
- <th>관리</th> |
|
| 69 |
- </tr> |
|
| 70 |
- </thead> |
|
| 71 |
- <tbody> |
|
| 72 |
- |
|
| 73 |
- <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 74 |
- <tr> |
|
| 75 |
- <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 76 |
- <td><c:out value="${result.popupTitleNm}"/></td>
|
|
| 77 |
- <td> |
|
| 78 |
- <c:out value="${fn:substring(result.ntceBgnde, 0, 4)}"/>-<c:out value="${fn:substring(result.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(result.ntceBgnde, 6, 8)}"/> <c:out value="${fn:substring(result.ntceBgnde, 8, 10)}"/>:<c:out value="${fn:substring(result.ntceBgnde, 10, 12)}"/>~
|
|
| 79 |
- <br/><c:out value="${fn:substring(result.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(result.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(result.ntceEndde, 6, 8)}"/> <c:out value="${fn:substring(result.ntceEndde, 8, 10)}"/>:<c:out value="${fn:substring(result.ntceEndde, 10, 12)}"/>
|
|
| 80 |
- </td> |
|
| 81 |
- <td> |
|
| 82 |
- <c:if test="${result.popupListAt eq 'Y'}">
|
|
| 83 |
- <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 84 |
- </c:if> |
|
| 85 |
- <c:if test="${result.popupListAt ne 'Y'}">
|
|
| 86 |
- <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 87 |
- </c:if> |
|
| 88 |
- </td> |
|
| 89 |
- <td> |
|
| 90 |
- <c:if test="${result.stopVewAt eq 'Y'}">
|
|
| 91 |
- <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 92 |
- </c:if> |
|
| 93 |
- <c:if test="${result.stopVewAt eq 'N'}">
|
|
| 94 |
- <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 95 |
- </c:if> |
|
| 96 |
- </td> |
|
| 97 |
- <td> |
|
| 98 |
- <c:if test="${result.ntceAt eq 'Y'}">
|
|
| 99 |
- <img src="${_IMG}/btn/use_yes.gif" alt="Y"/>
|
|
| 100 |
- </c:if> |
|
| 101 |
- <c:if test="${result.ntceAt eq 'N'}">
|
|
| 102 |
- <img src="${_IMG}/btn/use_no.gif" alt="N"/>
|
|
| 103 |
- </c:if> |
|
| 104 |
- </td> |
|
| 105 |
- <td><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 106 |
- <td><a href="#" onclick="fn_egov_popupOpen_PopupManage('${result.popupId}','${result.fileUrl}','${result.popupWSize}','${result.popupHSize}','${result.popupHlc}','${result.popupWlc}','${result.stopVewAt}');return false;"><img src="${_IMG}/btn/btn_viewer.gif"/></a></td>
|
|
| 107 |
- <td> |
|
| 108 |
- <c:url var="viewUrl" value="/mng/uss/ion/pwm/updtPopup.do"> |
|
| 109 |
- <c:param name="popupId" value="${result.popupId}" />
|
|
| 110 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 111 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 112 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 113 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 114 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 115 |
- </c:url> |
|
| 116 |
- <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a>
|
|
| 117 |
- <c:url var="delUrl" value="/mng/uss/ion/pwm/deletePopup.do"> |
|
| 118 |
- <c:param name="popupId" value="${result.popupId}" />
|
|
| 119 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 120 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 121 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 122 |
- <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 123 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 124 |
- </c:url> |
|
| 125 |
- <a href="${delUrl}" onclick="fn_egov_delete_PopupManage(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a>
|
|
| 126 |
- </td> |
|
| 127 |
- </tr> |
|
| 128 |
- </c:forEach> |
|
| 129 |
- |
|
| 130 |
- <c:if test="${fn:length(resultList) == 0}">
|
|
| 131 |
- <tr> |
|
| 132 |
- <td class="listCenter" colspan="9"><spring:message code="common.nodata.msg" /></td> |
|
| 133 |
- </tr> |
|
| 134 |
- </c:if> |
|
| 135 |
- |
|
| 136 |
- </tbody> |
|
| 137 |
- </table> |
|
| 138 |
- </div> |
|
| 139 |
- |
|
| 140 |
- <div id="paging"> |
|
| 141 |
- <c:url var="pageUrl" value="/mng/uss/ion/pwm/listPopup.do"> |
|
| 142 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 143 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 144 |
- <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 145 |
- <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 146 |
- </c:url> |
|
| 147 |
- |
|
| 148 |
- <ul> |
|
| 149 |
- <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 150 |
- </ul> |
|
| 151 |
- </div> |
|
| 152 |
- |
|
| 153 |
-</div> |
|
| 154 |
- |
|
| 155 |
-<div id="bbs_search"> |
|
| 156 |
- <form name="listForm" action="<c:url value='/mng/uss/ion/pwm/listPopup.do'/>" method="post"> |
|
| 157 |
- <input type="hidden" name="siteId" value="${searchVO.siteId}"/>
|
|
| 158 |
- <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 159 |
- <fieldset> |
|
| 160 |
- <legend class="hdn">찾기 폼</legend> |
|
| 161 |
- <label for="searchCondition" class="hdn">검색항목</label> |
|
| 162 |
- <select name="searchCondition" id="ftext"> |
|
| 163 |
- <!--<option selected value=''>--선택하세요--</option>--> |
|
| 164 |
- <option value="1" <c:if test="${searchVO.searchCondition == '1'}">selected="selected"</c:if> >팝업명</option>
|
|
| 165 |
- </select> |
|
| 166 |
- <label for="bbsSearchTxt" class="hdn">팝업명</label> |
|
| 167 |
- <input name="searchKeyword" id="searchKeyword" type="text" size="35" class="inp" value="<c:out value="${searchVO.searchKeyword}"/>" maxlength="35" />
|
|
| 168 |
- <input type="image" class="searchBtn vMid" src="${_IMG}/btn/btn_search.gif" alt="검색" />
|
|
| 169 |
- </fieldset> |
|
| 170 |
- </form> |
|
| 43 |
+ </div> |
|
| 171 | 44 |
</div> |
| 45 |
+ |
|
| 46 |
+<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p>
|
|
| 47 |
+ |
|
| 48 |
+<div class="list-type sm"> |
|
| 49 |
+ <table> |
|
| 50 |
+ <colgroup> |
|
| 51 |
+ <col style="width:110px"> |
|
| 52 |
+ <col> |
|
| 53 |
+ <col> |
|
| 54 |
+ <col style="width:100px"> |
|
| 55 |
+ <col style="width:100px"> |
|
| 56 |
+ <col style="width:100px"> |
|
| 57 |
+ <col style="width:180px"> |
|
| 58 |
+ <col style="width:180px"> |
|
| 59 |
+ <col style="width:130px"> |
|
| 60 |
+ </colgroup> |
|
| 61 |
+ <thead> |
|
| 62 |
+ <tr> |
|
| 63 |
+ <th>번호</th> |
|
| 64 |
+ <th>팝업명</th> |
|
| 65 |
+ <th>게시기간</th> |
|
| 66 |
+ <th>팝업목록게시</th> |
|
| 67 |
+ <th>그만보기설정</th> |
|
| 68 |
+ <th>게시상태</th> |
|
| 69 |
+ <th>생성일</th> |
|
| 70 |
+ <th>미리보기</th> |
|
| 71 |
+ <th>관리</th> |
|
| 72 |
+ </tr> |
|
| 73 |
+ </thead> |
|
| 74 |
+ <tbody> |
|
| 75 |
+ <c:forEach var="result" items="${resultList}" varStatus="status">
|
|
| 76 |
+ <tr> |
|
| 77 |
+ <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td>
|
|
| 78 |
+ <td data-tit="팝업명"><c:out value="${result.popupTitleNm}"/></td>
|
|
| 79 |
+ <td data-tit="게시기간"> |
|
| 80 |
+ <c:out value="${fn:substring(result.ntceBgnde, 0, 4)}"/>-<c:out value="${fn:substring(result.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(result.ntceBgnde, 6, 8)}"/> <c:out value="${fn:substring(result.ntceBgnde, 8, 10)}"/>:<c:out value="${fn:substring(result.ntceBgnde, 10, 12)}"/>~
|
|
| 81 |
+ <br/><c:out value="${fn:substring(result.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(result.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(result.ntceEndde, 6, 8)}"/> <c:out value="${fn:substring(result.ntceEndde, 8, 10)}"/>:<c:out value="${fn:substring(result.ntceEndde, 10, 12)}"/>
|
|
| 82 |
+ </td> |
|
| 83 |
+ <td data-tit="팝업목록게시"> |
|
| 84 |
+ <c:if test="${result.popupListAt eq 'Y'}">
|
|
| 85 |
+ <span class="label-state spot">Y</span> |
|
| 86 |
+ </c:if> |
|
| 87 |
+ <c:if test="${result.popupListAt eq 'N'}">
|
|
| 88 |
+ <span class="label-state">N</span> |
|
| 89 |
+ </c:if> |
|
| 90 |
+ </td> |
|
| 91 |
+ <td data-tit="그만보기설정"> |
|
| 92 |
+ <c:if test="${result.stopVewAt eq 'Y'}">
|
|
| 93 |
+ <span class="label-state spot">Y</span> |
|
| 94 |
+ </c:if> |
|
| 95 |
+ <c:if test="${result.stopVewAt eq 'N'}">
|
|
| 96 |
+ <span class="label-state">N</span> |
|
| 97 |
+ </c:if> |
|
| 98 |
+ </td> |
|
| 99 |
+ <td data-tit="게시상태"> |
|
| 100 |
+ <c:if test="${result.ntceAt eq 'Y'}">
|
|
| 101 |
+ <span class="label-state spot">Y</span> |
|
| 102 |
+ </c:if> |
|
| 103 |
+ <c:if test="${result.ntceAt eq 'N'}">
|
|
| 104 |
+ <span class="label-state">N</span> |
|
| 105 |
+ </c:if> |
|
| 106 |
+ </td> |
|
| 107 |
+ <td data-tit="생성일"><fmt:formatDate value="${result.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td>
|
|
| 108 |
+ <td data-tit="미리보기"> |
|
| 109 |
+ <a href="#" onclick="fn_egov_popupOpen_PopupManage('${result.popupId}','${result.fileUrl}','${result.popupWSize}','${result.popupHSize}','${result.popupHlc}','${result.popupWlc}','${result.stopVewAt}');return false;" class="btn btn-sm spot">미리보기</a>
|
|
| 110 |
+ </td> |
|
| 111 |
+ <td data-tit="관리"> |
|
| 112 |
+ <div class="btn-cont"> |
|
| 113 |
+ <c:url var="viewUrl" value="/mng/uss/ion/pwm/updtPopup.do"> |
|
| 114 |
+ <c:param name="popupId" value="${result.popupId}" />
|
|
| 115 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 116 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 117 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 118 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 119 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 120 |
+ </c:url> |
|
| 121 |
+ <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a>
|
|
| 122 |
+ |
|
| 123 |
+ <c:url var="delUrl" value="/mng/uss/ion/pwm/deletePopup.do"> |
|
| 124 |
+ <c:param name="popupId" value="${result.popupId}" />
|
|
| 125 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 126 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 127 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 128 |
+ <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
|
| 129 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 130 |
+ </c:url> |
|
| 131 |
+ <a href="${delUrl}" class="btn btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a>
|
|
| 132 |
+ </div> |
|
| 133 |
+ </td> |
|
| 134 |
+ </tr> |
|
| 135 |
+ </c:forEach> |
|
| 136 |
+ |
|
| 137 |
+ <c:if test="${fn:length(resultList) == 0}">
|
|
| 138 |
+ <tr> |
|
| 139 |
+ <td class="" colspan="9"><spring:message code="common.nodata.msg" /></td> |
|
| 140 |
+ </tr> |
|
| 141 |
+ </c:if> |
|
| 142 |
+ </tbody> |
|
| 143 |
+ </table> |
|
| 144 |
+</div> |
|
| 145 |
+ |
|
| 146 |
+<c:url var="pageUrl" value="/mng/uss/ion/pwm/listPopup.do"> |
|
| 147 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 148 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 149 |
+ <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if>
|
|
| 150 |
+ <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if>
|
|
| 151 |
+</c:url> |
|
| 152 |
+<ul class="paging"> |
|
| 153 |
+ <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" />
|
|
| 154 |
+</ul> |
|
| 172 | 155 |
|
| 173 | 156 |
<c:if test="${not empty searchVO.siteId }">
|
| 174 |
- <div class="btn_r"> |
|
| 175 |
- <c:url var="addUrl" value="/mng/uss/ion/pwm/registPopup.do"> |
|
| 176 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 177 |
- <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 178 |
- </c:url> |
|
| 179 |
- <a href="${addUrl}"><img src="${_IMG}/btn/btn_regist.gif" alt="등록"/></a>
|
|
| 180 |
- </div> |
|
| 181 |
- </c:if> |
|
| 182 |
- |
|
| 183 |
-</div> |
|
| 157 |
+ <div class="fnc-area"> |
|
| 158 |
+ <div class="r-area"> |
|
| 159 |
+ <c:url var="addUrl" value="/mng/uss/ion/pwm/registPopup.do"> |
|
| 160 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 161 |
+ <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
|
| 162 |
+ </c:url> |
|
| 163 |
+ <a href="${addUrl}" class="btn spot2">생성</a>
|
|
| 164 |
+ </div> |
|
| 165 |
+ </div> |
|
| 166 |
+</c:if> |
|
| 184 | 167 |
|
| 185 | 168 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/PopupRegist.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/pwm/PopupRegist.jsp
... | ... | @@ -1,18 +1,6 @@ |
| 1 |
-<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> |
|
| 2 |
-<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %> |
|
| 3 |
-<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %> |
|
| 4 |
-<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %> |
|
| 5 |
-<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> |
|
| 6 |
-<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> |
|
| 7 |
-<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> |
|
| 8 |
-<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> |
|
| 9 |
-<% org.springframework.web.util.UrlPathHelper helper = new org.springframework.web.util.UrlPathHelper();%> |
|
| 10 |
-<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response)%>"/> |
|
| 11 |
-<c:set var="_C_HTML" value="/resources/template/common/html"/> |
|
| 12 |
-<c:set var="CMMN_IMG" value="/resources/template/common/images"/> |
|
| 13 |
-<c:set var="CMMN_JS" value="/resources/template/common/js"/> |
|
| 14 |
-<c:set var="_IMG" value="/resources/template/manage/images"/> |
|
| 15 |
-<c:set var="_C_LIB" value="/resources/lib"/> |
|
| 1 |
+<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
|
| 2 |
+<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> |
|
| 3 |
+ |
|
| 16 | 4 |
<c:set var="_MODE" value=""/> |
| 17 | 5 |
<c:set var="_EDITOR_ID" value="popupCn"/> |
| 18 | 6 |
|
... | ... | @@ -31,34 +19,33 @@ |
| 31 | 19 |
<c:param name="title" value="팝업관리"/> |
| 32 | 20 |
</c:import> |
| 33 | 21 |
|
| 34 |
-<script type="text/javascript" src="${_C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
|
|
| 35 |
-<script type="text/javascript" src="${_C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
|
|
| 22 |
+<script src="${C_LIB}/tinymce/js/tinymce/jquery.tinymce.min.js"></script>
|
|
| 23 |
+<script src="${C_LIB}/tinymce/js/tinymce/tinymce.min.js"></script>
|
|
| 24 |
+<script src="${C_LIB}/upload/upload.js" ></script>
|
|
| 36 | 25 |
|
| 37 |
-<script type="text/javascript" src="${_C_LIB}/upload/upload.js" ></script>
|
|
| 26 |
+<link rel="stylesheet" href="${C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
|
|
| 27 |
+<script src="${C_LIB}/jquery/jquery.ui.widget.js"></script>
|
|
| 28 |
+<script src="${C_LIB}/upload/jquery.iframe-transport.js"></script>
|
|
| 29 |
+<script src="${C_LIB}/upload/jquery.fileupload.js"></script>
|
|
| 30 |
+<script src="${C_LIB}/upload/jquery.fileupload-process.js"></script>
|
|
| 31 |
+<script src="${C_LIB}/upload/jquery.fileupload-image.js"></script>
|
|
| 32 |
+<script src="${C_LIB}/upload/jquery.fileupload-audio.js"></script>
|
|
| 33 |
+<script src="${C_LIB}/upload/jquery.fileupload-video.js"></script>
|
|
| 34 |
+<script src="${C_LIB}/upload/jquery.fileupload-validate.js"></script>
|
|
| 35 |
+<script src="${C_LIB}/upload/jquery.fileupload-ui.js"></script>
|
|
| 38 | 36 |
|
| 39 |
-<link rel="stylesheet" href="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.css">
|
|
| 40 |
-<%-- <script src="${_C_LIB}/jquery-ui-1.12.1.custom/jquery-ui.js"></script> --%>
|
|
| 41 |
-<script src="${_C_LIB}/jquery/jquery.ui.widget.js"></script>
|
|
| 42 |
-<script src="${_C_LIB}/upload/jquery.iframe-transport.js"></script>
|
|
| 43 |
-<script src="${_C_LIB}/upload/jquery.fileupload.js"></script>
|
|
| 44 |
-<script src="${_C_LIB}/upload/jquery.fileupload-process.js"></script>
|
|
| 45 |
-<script src="${_C_LIB}/upload/jquery.fileupload-image.js"></script>
|
|
| 46 |
-<script src="${_C_LIB}/upload/jquery.fileupload-audio.js"></script>
|
|
| 47 |
-<script src="${_C_LIB}/upload/jquery.fileupload-video.js"></script>
|
|
| 48 |
-<script src="${_C_LIB}/upload/jquery.fileupload-validate.js"></script>
|
|
| 49 |
-<script src="${_C_LIB}/upload/jquery.fileupload-ui.js"></script>
|
|
| 50 |
- |
|
| 51 |
-<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> |
|
| 37 |
+<script src="<c:url value="/validator.do"/>"></script> |
|
| 52 | 38 |
<validator:javascript formName="popupManageVO" staticJavascript="false" xhtml="true" cdata="false" /> |
| 53 |
-<script type="text/javaScript" language="javascript"> |
|
| 39 |
+ |
|
| 40 |
+<script> |
|
| 54 | 41 |
function fn_egov_regist(){
|
| 55 | 42 |
|
| 56 | 43 |
tinyMCE.triggerSave(); |
| 57 |
- |
|
| 44 |
+ <%-- |
|
| 58 | 45 |
if(!validatePopupManageVO(document.popupManageVO)){
|
| 59 | 46 |
return false; |
| 60 | 47 |
} |
| 61 |
- |
|
| 48 |
+ --%> |
|
| 62 | 49 |
var ntceBgndeYYYMMDD = $.trim($('#ntceBgndeYYYMMDD').val().replace(/-/g, ''));
|
| 63 | 50 |
var ntceEnddeYYYMMDD = $.trim($('#ntceEnddeYYYMMDD').val().replace(/-/g, ''));
|
| 64 | 51 |
|
... | ... | @@ -91,7 +78,7 @@ |
| 91 | 78 |
$('#fileGroupId').val($('#fileGroupId_${_EDITOR_ID}').val());
|
| 92 | 79 |
|
| 93 | 80 |
if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){
|
| 94 |
- return false; |
|
| 81 |
+ return false; |
|
| 95 | 82 |
} |
| 96 | 83 |
} |
| 97 | 84 |
|
... | ... | @@ -109,7 +96,7 @@ |
| 109 | 96 |
|
| 110 | 97 |
imgwin.focus(); |
| 111 | 98 |
imgwin.document.open(); |
| 112 |
- imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n");
|
|
| 99 |
+ imgwin.document.write("<!DOCTYPE HTML");
|
|
| 113 | 100 |
imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n");
|
| 114 | 101 |
imgwin.document.write("<title>크게보기</title>\n"); // 새창으로 페이지 제목
|
| 115 | 102 |
imgwin.document.write("<sc"+"ript>\n");
|
... | ... | @@ -218,178 +205,187 @@ |
| 218 | 205 |
}); |
| 219 | 206 |
</script> |
| 220 | 207 |
|
| 208 |
+<form:form commandName="popupManageVO" name="popupManageVO" action="${_MODE eq 'REG' ? '/mng/uss/ion/pwm/registPopup.do' : '/mng/uss/ion/pwm/updtPopup.do'}" method="post" onsubmit="return fn_egov_regist();">
|
|
| 221 | 209 |
|
| 222 |
-<div id="cntnts"> |
|
| 210 |
+ <form:hidden path="siteId"/> |
|
| 211 |
+ <form:hidden path="sysTyCode"/> |
|
| 223 | 212 |
|
| 213 |
+ <form:hidden path="popupId"/> |
|
| 214 |
+ <form:hidden path="ntceBgnde"/> |
|
| 215 |
+ <form:hidden path="ntceEndde"/> |
|
| 216 |
+ <form:hidden path="atchFileId"/> |
|
| 217 |
+ <input name="cmd" type="hidden" value="save"/> |
|
| 218 |
+ <input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 219 |
+ <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" />
|
|
| 220 |
+ <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
|
| 221 |
+ <input type="hidden" id="posblAtchFileNumber_${_EDITOR_ID}" name="posblAtchFileNumber_${_EDITOR_ID}" value="100" />
|
|
| 222 |
+ <input type="hidden" id="posblAtchFileSize_${_EDITOR_ID}" name="posblAtchFileSize_${_EDITOR_ID}" value="${2048 * 1024 * 1024}" />
|
|
| 223 |
+ <input type="hidden" id="fileGroupId" name="fileGroupId" value="${popupManageVO.atchFileId}"/>
|
|
| 224 | 224 |
|
| 225 |
- <form:form commandName="popupManageVO" name="popupManageVO" action="${_MODE eq 'REG' ? '/mng/uss/ion/pwm/registPopup.do' : '/mng/uss/ion/pwm/updtPopup.do'}" method="post" onsubmit="return fn_egov_regist();">
|
|
| 226 |
- |
|
| 227 |
- <form:hidden path="siteId"/> |
|
| 228 |
- <form:hidden path="sysTyCode"/> |
|
| 229 |
- |
|
| 230 |
- <form:hidden path="popupId"/> |
|
| 231 |
- <form:hidden path="ntceBgnde"/> |
|
| 232 |
- <form:hidden path="ntceEndde"/> |
|
| 233 |
- <form:hidden path="atchFileId"/> |
|
| 234 |
- <input name="cmd" type="hidden" value="save"/> |
|
| 235 |
- <input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}"/>"/>
|
|
| 236 |
- <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" />
|
|
| 237 |
- <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
|
|
| 238 |
- <input type="hidden" id="posblAtchFileNumber_${_EDITOR_ID}" name="posblAtchFileNumber_${_EDITOR_ID}" value="100" />
|
|
| 239 |
- <input type="hidden" id="posblAtchFileSize_${_EDITOR_ID}" name="posblAtchFileSize_${_EDITOR_ID}" value="${2048 * 1024 * 1024}" />
|
|
| 240 |
- <input type="hidden" id="fileGroupId" name="fileGroupId" value="${popupManageVO.atchFileId}"/>
|
|
| 241 |
- <fieldset> |
|
| 242 |
- <legend class="hdn">팝업창 입력 폼</legend> |
|
| 243 |
- <table class="chart2" summary="작성인, 제목, 내용, 파일첨부를 입력하는 표입니다." > |
|
| 244 |
- <caption> </caption> |
|
| 245 |
- <colgroup> |
|
| 246 |
- <col width="150px" /> |
|
| 247 |
- <col width="*" /> |
|
| 248 |
- </colgroup> |
|
| 249 |
- <tbody> |
|
| 250 |
- <tr> |
|
| 251 |
- <th><em>*</em> <label for="popupTitleNm">팝업창명</label></th> |
|
| 252 |
- <td> |
|
| 253 |
- <form:input path="popupTitleNm" size="30" cssClass="inp_long" maxlength="225"/> |
|
| 254 |
- <br/><form:errors path="popupTitleNm" /> |
|
| 255 |
- </td> |
|
| 256 |
- </tr> |
|
| 257 |
- <tr> |
|
| 258 |
- <th><em>*</em> 템플릿</th> |
|
| 259 |
- <td> |
|
| 260 |
- <table border="0"> |
|
| 261 |
- <tr> |
|
| 262 |
- <td valign="top" colspan="5"><input type="radio" name="fileUrl" value="/uss/ion/pwn/000" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/000' }">checked="checked"</c:if>/> 빈 템플릿</td>
|
|
| 263 |
- </tr> |
|
| 264 |
- <tr> |
|
| 265 |
- <td valign="top"><input type="radio" name="fileUrl" value="/uss/ion/pwn/999" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/999' }">checked="checked"</c:if>/> 기본<br><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/999.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/999.jpg" width="120" height="120"/></a></td>
|
|
| 266 |
- <%-- |
|
| 267 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/010" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/010' }">checked="checked"</c:if> onclick="fnPopupWidth(400, 420)"/> 템플릿1<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/010.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/010.jpg" width="120" height="120"/></a></td>
|
|
| 268 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/020" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/020' }">checked="checked"</c:if> onclick="fnPopupWidth(445, 280)"/> 템플릿2<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/020.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/020.jpg" width="120" height="120"/></a></td>
|
|
| 269 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/030" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/030' }">checked="checked"</c:if> onclick="fnPopupWidth(450, 250)"/> 템플릿3<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/030.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/030.jpg" width="120" height="120"/></a></td>
|
|
| 270 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/040" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/040' }">checked="checked"</c:if> onclick="fnPopupWidth(530, 420)"/> 템플릿4<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/040.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/040.jpg" width="120" height="120"/></a></td>
|
|
| 271 |
- --%> |
|
| 272 |
- <%-- |
|
| 273 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/051" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/051' }">checked="checked"</c:if> onclick="fnPopupWidth(447, 420)"/> 템플릿1<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/051.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/051.jpg" width="120" height="120"/></a></td>
|
|
| 274 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/052" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/052' }">checked="checked"</c:if> onclick="fnPopupWidth(442, 420)"/> 템플릿2<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/052.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/052.jpg" width="120" height="120"/></a></td>
|
|
| 275 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/053" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/053' }">checked="checked"</c:if> onclick="fnPopupWidth(442, 420)"/> 템플릿3<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/053.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/053.jpg" width="120" height="120"/></a></td>
|
|
| 276 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/054" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/054' }">checked="checked"</c:if> onclick="fnPopupWidth(437, 420)"/> 템플릿4<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/054.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/054.jpg" width="120" height="120"/></a></td>
|
|
| 277 |
- --%> |
|
| 278 |
- </tr> |
|
| 279 |
- <%-- |
|
| 280 |
- <tr> |
|
| 281 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/055" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/055' }">checked="checked"</c:if> onclick="fnPopupWidth(382, 420)"/> 템플릿5<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/055.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/055.jpg" width="120" height="120"/></a></td>
|
|
| 282 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/057" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/057' }">checked="checked"</c:if> onclick="fnPopupWidth(517, 420)"/> 템플릿6<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/057.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/057.jpg" width="120" height="120"/></a></td>
|
|
| 283 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/058" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/058' }">checked="checked"</c:if> onclick="fnPopupWidth(517, 420)"/> 템플릿7<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/058.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/058.jpg" width="120" height="120"/></a></td>
|
|
| 284 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/059" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/059' }">checked="checked"</c:if> onclick="fnPopupWidth(382, 420)"/> 템플릿8<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/059.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/059.jpg" width="120" height="120"/></a></td>
|
|
| 285 |
- <td valign="top" style="padding-left:10px"><input type="radio" name="fileUrl" value="/uss/ion/pwn/060" <c:if test="${popupManageVO.fileUrl eq '/uss/ion/pwn/060' }">checked="checked"</c:if> onclick="fnPopupWidth(437, 420)"/> 템플릿9<br/><a href="#preview" onclick="onPreview('${CMMN_IMG}/popup/thumnail/060.jpg'); return false;"><img src="${CMMN_IMG}/popup/thumnail/060.jpg" width="120" height="120"/></a></td>
|
|
| 286 |
- </tr> |
|
| 287 |
- --%> |
|
| 288 |
- </table> |
|
| 289 |
- </td> |
|
| 290 |
- </tr> |
|
| 291 |
- <tr> |
|
| 292 |
- <th><em>*</em> <label for="popupWlc">팝업창위치</label></th> |
|
| 293 |
- <td> |
|
| 294 |
- 좌측 : <form:input path="popupWlc" cssClass="inp" size="5" maxlength="10"/> px 상단 : <form:input path="popupHlc" cssClass="inp" size="5" maxlength="10"/> px |
|
| 295 |
- <form:errors path="popupWlc" cssClass="error"/> |
|
| 296 |
- <form:errors path="popupHlc" cssClass="error"/> |
|
| 297 |
- </td> |
|
| 298 |
- </tr> |
|
| 299 |
- <tr> |
|
| 300 |
- <th><em>*</em> <label for="popupWSize">팝업창사이즈</label></th> |
|
| 301 |
- <td> |
|
| 302 |
- 가로 : <form:input path="popupWSize" cssClass="inp" size="5" maxlength="10"/> px 세로 : <form:input path="popupHSize" cssClass="inp" size="5" maxlength="10"/> px |
|
| 303 |
- <form:errors path="popupWSize" cssClass="error"/> |
|
| 304 |
- <form:errors path="popupHSize" cssClass="error"/> |
|
| 305 |
- <br/><strong>( 팝업그만보기를 설정 하시는 경우 이미지크기보다 30px 높게입력)</strong> |
|
| 306 |
- </td> |
|
| 307 |
- </tr> |
|
| 308 |
- |
|
| 309 |
- <tr> |
|
| 310 |
- <th><em>*</em> <label id="IdNtceEnddeHH">게시 기간</label></th> |
|
| 311 |
- <td width="80%"> |
|
| 312 |
- <input type="text" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(popupManageVO.ntceBgnde, 0, 4)}" />-<c:out value="${fn:substring(popupManageVO.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(popupManageVO.ntceBgnde, 6, 8)}"/>" readonly="readonly"/>
|
|
| 313 |
- |
|
| 314 |
- <form:select path="ntceBgndeHH"> |
|
| 315 |
- <form:options items="${ntceBgndeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 316 |
- </form:select>H |
|
| 317 |
- <form:select path="ntceBgndeMM"> |
|
| 318 |
- <form:options items="${ntceBgndeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 319 |
- </form:select>M |
|
| 320 |
- <span> ~ </span> |
|
| 321 |
- <input type="text" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(popupManageVO.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(popupManageVO.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(popupManageVO.ntceEndde, 6, 8)}"/>" readonly="readonly"/>
|
|
| 322 |
- |
|
| 323 |
- <form:select path="ntceEnddeHH"> |
|
| 324 |
- <form:options items="${ntceEnddeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 325 |
- </form:select>H |
|
| 326 |
- <form:select path="ntceEnddeMM"> |
|
| 327 |
- <form:options items="${ntceEnddeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 328 |
- </form:select>M |
|
| 329 |
- </td> |
|
| 330 |
- </tr> |
|
| 331 |
- |
|
| 332 |
- |
|
| 333 |
- <tr> |
|
| 334 |
- <th><em>*</em> <label for="stopVewAt">그만보기 설정 여부</label></th> |
|
| 335 |
- <td> |
|
| 336 |
- 설정함 : <form:radiobutton path="stopVewAt" value="Y" /> |
|
| 337 |
- 설정안함 : <form:radiobutton path="stopVewAt" value="N" /><form:errors path="stopVewAt" cssClass="error"/> |
|
| 338 |
- </td> |
|
| 339 |
- </tr> |
|
| 340 |
- <tr> |
|
| 341 |
- <th><em>*</em> <label for="ntceAt">게시여부</label></th> |
|
| 342 |
- <td> |
|
| 343 |
- 게시함 : <form:radiobutton path="ntceAt" value="Y" /> |
|
| 344 |
- 게시안함 : <form:radiobutton path="ntceAt" value="N" /><form:errors path="ntceAt" cssClass="error"/> |
|
| 345 |
- </td> |
|
| 346 |
- </tr> |
|
| 347 |
- |
|
| 348 |
- <%-- |
|
| 349 |
- <tr> |
|
| 350 |
- <th><em>*</em> <label for="stopVewAt">팝업목록 게시여부</label></th> |
|
| 351 |
- <td> |
|
| 352 |
- 게시함 : <form:radiobutton path="popupListAt" value="Y" /> |
|
| 353 |
- 게시안함 : <form:radiobutton path="popupListAt" value="N" /> |
|
| 354 |
- </td> |
|
| 355 |
- </tr> |
|
| 356 |
- --%> |
|
| 357 |
- <tr> |
|
| 358 |
- <th><em>*</em> <label for="popupCn">내용</label></th> |
|
| 359 |
- <td> |
|
| 360 |
- <form:textarea path="popupCn" rows="30" cssStyle="width:100%"/> |
|
| 361 |
- <form:errors path="popupCn" /> |
|
| 362 |
- |
|
| 363 |
- <c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"> |
|
| 364 |
- <c:param name="editorId" value="${_EDITOR_ID}"/>
|
|
| 365 |
- <c:param name="estnAt" value="N" /> |
|
| 366 |
- <c:param name="param_atchFileId" value="${popupManageVO.atchFileId}" />
|
|
| 367 |
- <c:param name="imagePath" value="${_IMG }"/>
|
|
| 368 |
- </c:import> |
|
| 369 |
- </td> |
|
| 370 |
- </tr> |
|
| 371 |
- </tbody> |
|
| 372 |
- <tfoot> |
|
| 373 |
- </tfoot> |
|
| 374 |
- </table> |
|
| 375 |
- |
|
| 376 |
- <div class="btn_r"> |
|
| 377 |
- <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }" alt="등록"/>
|
|
| 378 |
- <c:url var="listUrl" value="/mng/uss/ion/pwm/listPopup.do"> |
|
| 379 |
- <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 225 |
+ <fieldset> |
|
| 226 |
+ <legend class="hdn">팝업 입력 폼</legend> |
|
| 227 |
+ |
|
| 228 |
+ <div class="write-type"> |
|
| 229 |
+ <table> |
|
| 230 |
+ <colgroup> |
|
| 231 |
+ <col style="width:250px" /> |
|
| 232 |
+ <col /> |
|
| 233 |
+ </colgroup> |
|
| 234 |
+ <tbody> |
|
| 235 |
+ <tr> |
|
| 236 |
+ <th><label for="popupTitleNm">팝업창명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 237 |
+ <td> |
|
| 238 |
+ <form:input path="popupTitleNm" maxlength="225" cssClass="q4" required="required"/> |
|
| 239 |
+ <div><form:errors path="popupTitleNm"/></div> |
|
| 240 |
+ </td> |
|
| 241 |
+ </tr> |
|
| 242 |
+ <tr> |
|
| 243 |
+ <th><label for="fileUrl1">템플릿</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 244 |
+ <td> |
|
| 245 |
+ <div class="checkradio"> |
|
| 246 |
+ <input type="radio" name="fileUrl" id="fileUrl1" value="/uss/ion/pwn/000" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/000' }">checked</c:if>>
|
|
| 247 |
+ <label for="fileUrl1">빈 템플릿</label> |
|
| 248 |
+ </div> |
|
| 249 |
+ <div class="checkradio"> |
|
| 250 |
+ <input type="radio" name="fileUrl" id="fileUrl2" value="/uss/ion/pwn/999" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/999' }">checked</c:if>>
|
|
| 251 |
+ <label for="fileUrl2">기본</label> |
|
| 252 |
+ <br> |
|
| 253 |
+ <a href="#preview" onclick="onPreview('${M_IMG}/common/popup/thumnail/999.jpg'); return false;"><img src="${M_IMG}/common/popup/thumnail/999.jpg" width="120" height="120"/></a>
|
|
| 254 |
+ </div> |
|
| 255 |
+ <br/> |
|
| 256 |
+ <div class="checkradio"> |
|
| 257 |
+ <input type="radio" name="fileUrl" id="fileUrl3" value="/uss/ion/pwn/010" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/010' }">checked</c:if>>
|
|
| 258 |
+ <label for="fileUrl3">템플릿1</label> |
|
| 259 |
+ <br> |
|
| 260 |
+ <a href="#preview" onclick="onPreview('${M_IMG}/common/popup/thumnail/010.jpg'); return false;"><img src="${M_IMG}/common/popup/thumnail/010.jpg" width="120" height="120"/></a>
|
|
| 261 |
+ </div> |
|
| 262 |
+ |
|
| 263 |
+ <div class="checkradio"> |
|
| 264 |
+ <input type="radio" name="fileUrl" id="fileUrl4" value="/uss/ion/pwn/020" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/020' }">checked</c:if>>
|
|
| 265 |
+ <label for="fileUrl4">템플릿2</label> |
|
| 266 |
+ <br> |
|
| 267 |
+ <a href="#preview" onclick="onPreview('${M_IMG}/common/popup/thumnail/020.jpg'); return false;"><img src="${M_IMG}/common/popup/thumnail/020.jpg" width="120" height="120"/></a>
|
|
| 268 |
+ </div> |
|
| 269 |
+ <div class="checkradio"> |
|
| 270 |
+ <input type="radio" name="fileUrl" id="fileUrl5" value="/uss/ion/pwn/030" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/030' }">checked</c:if>>
|
|
| 271 |
+ <label for="fileUrl5">템플릿3</label> |
|
| 272 |
+ <br> |
|
| 273 |
+ <a href="#preview" onclick="onPreview('${M_IMG}/common/popup/thumnail/030.jpg'); return false;"><img src="${M_IMG}/common/popup/thumnail/030.jpg" width="120" height="120"/></a>
|
|
| 274 |
+ </div> |
|
| 275 |
+ <div class="checkradio"> |
|
| 276 |
+ <input type="radio" name="fileUrl" id="fileUrl6" value="/uss/ion/pwn/040" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/040' }">checked</c:if>>
|
|
| 277 |
+ <label for="fileUrl6">템플릿4</label> |
|
| 278 |
+ <br> |
|
| 279 |
+ <a href="#preview" onclick="onPreview('${M_IMG}/common/popup/thumnail/040.jpg'); return false;"><img src="${M_IMG}/common/popup/thumnail/040.jpg" width="120" height="120"/></a>
|
|
| 280 |
+ </div> |
|
| 281 |
+ <div class="checkradio"> |
|
| 282 |
+ <input type="radio" name="fileUrl" id="fileUrl7" value="/uss/ion/pwn/051" <c:if test="${empty popupManageVO.fileUrl or popupManageVO.fileUrl eq '/uss/ion/pwn/051' }">checked</c:if>>
|
|
| 283 |
+ <label for="fileUrl7">템플릿5</label> |
|
| 284 |
+ <br> |
|
| 285 |
+ <a href="#preview" onclick="onPreview('${M_IMG}/common/popup/thumnail/051.jpg'); return false;"><img src="${M_IMG}/common/popup/thumnail/051.jpg" width="120" height="120"/></a>
|
|
| 286 |
+ </div> |
|
| 287 |
+ </td> |
|
| 288 |
+ </tr> |
|
| 289 |
+ <%-- |
|
| 290 |
+ <tr> |
|
| 291 |
+ <th><label for="popupWlc">팝업창위치</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 292 |
+ <td> |
|
| 293 |
+ 좌측 : <form:input path="popupWlc" type="number" cssClass="q0" maxlength="10"/> px 상단 : <form:input path="popupHlc" type="number" cssClass="q0" maxlength="10"/> px |
|
| 294 |
+ <div> |
|
| 295 |
+ <form:errors path="popupWlc" cssClass="error"/> |
|
| 296 |
+ <form:errors path="popupHlc" cssClass="error"/> |
|
| 297 |
+ </div> |
|
| 298 |
+ </td> |
|
| 299 |
+ </tr> |
|
| 300 |
+ --%> |
|
| 301 |
+ <tr> |
|
| 302 |
+ <th><label for="popupWSize">팝업창사이즈</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 303 |
+ <td> |
|
| 304 |
+ 가로 : <form:input path="popupWSize" type="number" cssClass="q0" maxlength="10"/> px 세로 : <form:input path="popupHSize" type="number" cssClass="q0" maxlength="10"/> px |
|
| 305 |
+ <div> |
|
| 306 |
+ <form:errors path="popupWlc" cssClass="error"/> |
|
| 307 |
+ <form:errors path="popupHlc" cssClass="error"/> |
|
| 308 |
+ </div> |
|
| 309 |
+ </td> |
|
| 310 |
+ </tr> |
|
| 311 |
+ <tr> |
|
| 312 |
+ <th><label for="ntceBgndeYYYMMDD">게시 기간</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 313 |
+ <td> |
|
| 314 |
+ <input type="text" name="ntceBgndeYYYMMDD" id="ntceBgndeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(popupManageVO.ntceBgnde, 0, 4)}" />-<c:out value="${fn:substring(popupManageVO.ntceBgnde, 4, 6)}"/>-<c:out value="${fn:substring(popupManageVO.ntceBgnde, 6, 8)}"/>" readonly="readonly"/>
|
|
| 315 |
+ <form:select path="ntceBgndeHH"> |
|
| 316 |
+ <form:options items="${ntceBgndeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 317 |
+ </form:select>H |
|
| 318 |
+ <form:select path="ntceBgndeMM"> |
|
| 319 |
+ <form:options items="${ntceBgndeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 320 |
+ </form:select>M |
|
| 321 |
+ <span> ~ </span> |
|
| 322 |
+ <input type="text" name="ntceEnddeYYYMMDD" id="ntceEnddeYYYMMDD" size="10" maxlength="10" class="inp" value="<c:out value="${fn:substring(popupManageVO.ntceEndde, 0, 4)}"/>-<c:out value="${fn:substring(popupManageVO.ntceEndde, 4, 6)}"/>-<c:out value="${fn:substring(popupManageVO.ntceEndde, 6, 8)}"/>" readonly="readonly"/>
|
|
| 323 |
+ |
|
| 324 |
+ <form:select path="ntceEnddeHH"> |
|
| 325 |
+ <form:options items="${ntceEnddeHH}" itemValue="code" itemLabel="codeNm"/>
|
|
| 326 |
+ </form:select>H |
|
| 327 |
+ <form:select path="ntceEnddeMM"> |
|
| 328 |
+ <form:options items="${ntceEnddeMM}" itemValue="code" itemLabel="codeNm"/>
|
|
| 329 |
+ </form:select>M |
|
| 330 |
+ </td> |
|
| 331 |
+ </tr> |
|
| 332 |
+ <tr> |
|
| 333 |
+ <th>그만보기 설정 여부 <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 334 |
+ <td> |
|
| 335 |
+ <div class="checkradio"> |
|
| 336 |
+ <form:radiobutton path="stopVewAt" value="Y" /> |
|
| 337 |
+ <label for="stopVewAt1">설정함</label> |
|
| 338 |
+ </div> |
|
| 339 |
+ <div class="checkradio"> |
|
| 340 |
+ <form:radiobutton path="stopVewAt" value="N" /> |
|
| 341 |
+ <label for="stopVewAt2">설정안함</label> |
|
| 342 |
+ </div> |
|
| 343 |
+ </td> |
|
| 344 |
+ </tr> |
|
| 345 |
+ <tr> |
|
| 346 |
+ <th>게시여부 <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 347 |
+ <td> |
|
| 348 |
+ <div class="checkradio"> |
|
| 349 |
+ <form:radiobutton path="ntceAt" value="Y" /> |
|
| 350 |
+ <label for="ntceAt1">게시함</label> |
|
| 351 |
+ </div> |
|
| 352 |
+ <div class="checkradio"> |
|
| 353 |
+ <form:radiobutton path="ntceAt" value="N" /> |
|
| 354 |
+ <label for="ntceAt2">게시안함</label> |
|
| 355 |
+ </div> |
|
| 356 |
+ </td> |
|
| 357 |
+ </tr> |
|
| 358 |
+ <tr> |
|
| 359 |
+ <th><label for="popupCn">내용</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> |
|
| 360 |
+ <td> |
|
| 361 |
+ <form:textarea path="popupCn" rows="30" /> |
|
| 362 |
+ <form:errors path="popupCn" /> |
|
| 363 |
+ |
|
| 364 |
+ <c:import url="/cmm/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"> |
|
| 365 |
+ <c:param name="editorId" value="${_EDITOR_ID}"/>
|
|
| 366 |
+ <c:param name="estnAt" value="N" /> |
|
| 367 |
+ <c:param name="param_atchFileId" value="${popupManageVO.atchFileId}" />
|
|
| 368 |
+ <c:param name="imagePath" value="${_IMG}"/>
|
|
| 369 |
+ </c:import> |
|
| 370 |
+ </td> |
|
| 371 |
+ </tr> |
|
| 372 |
+ </tbody> |
|
| 373 |
+ </table> |
|
| 374 |
+ </div> |
|
| 375 |
+ |
|
| 376 |
+ <div class="btn-cont"> |
|
| 377 |
+ <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button>
|
|
| 378 |
+ <c:url var="listUrl" value="/mng/uss/ion/pwm/listPopup.do"> |
|
| 379 |
+ <c:param name="siteId" value="${searchVO.siteId}"/>
|
|
| 380 | 380 |
<c:param name="sysTyCode" value="${searchVO.sysTyCode}"/>
|
| 381 |
- <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 381 |
+ <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if>
|
|
| 382 | 382 |
<c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if>
|
| 383 |
- <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 384 |
- </c:url> |
|
| 385 |
- <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록" /></a>
|
|
| 386 |
- </div> |
|
| 387 |
- |
|
| 388 |
- </fieldset> |
|
| 389 |
- |
|
| 390 |
- </form:form> |
|
| 383 |
+ <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if>
|
|
| 384 |
+ </c:url> |
|
| 385 |
+ <a href="${listUrl}" class="btn btn-lg">목록</a>
|
|
| 386 |
+ </div> |
|
| 387 |
+ </fieldset> |
|
| 388 |
+</form:form> |
|
| 391 | 389 |
|
| 392 |
- |
|
| 393 |
-</div> |
|
| 394 | 390 |
|
| 395 | 391 |
<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/EgovSiteInfoRegist.jsp
... | ... | @@ -1,140 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %> | |
| 9 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 10 | -<c:set var="_MODE" value=""/> | |
| 11 | - | |
| 12 | -<c:choose> | |
| 13 | - <c:when test="${empty searchVO.linkSiteId}"> | |
| 14 | - <c:set var="_MODE" value="REG"/> | |
| 15 | - </c:when> | |
| 16 | - <c:otherwise> | |
| 17 | - <c:set var="_MODE" value="UPT"/> | |
| 18 | - </c:otherwise> | |
| 19 | -</c:choose> | |
| 20 | - | |
| 21 | -<c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 22 | - <c:param name="menu" value="ETC_MANAGE"/> | |
| 23 | - <c:param name="depth1" value="ETC_SITE"/> | |
| 24 | - <c:param name="depth2" value=""/> | |
| 25 | - <c:param name="title" value="링크사이트관리"/> | |
| 26 | -</c:import> | |
| 27 | - | |
| 28 | -<script type="text/javascript" src="<c:url value="/validator.do"/>"></script> | |
| 29 | -<validator:javascript formName="linkSite" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 30 | - | |
| 31 | -<script type="text/javaScript" language="javascript"> | |
| 32 | -function fn_egov_regist(form){ | |
| 33 | - | |
| 34 | - if(!validateLinkSite(document.linkSite)){ | |
| 35 | - return false; | |
| 36 | - } | |
| 37 | - | |
| 38 | - if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 39 | - return false; | |
| 40 | - } | |
| 41 | -} | |
| 42 | - | |
| 43 | -</script> | |
| 44 | -<div id="cntnts"> | |
| 45 | - <c:choose> | |
| 46 | - <c:when test="${_MODE eq 'REG'}"> | |
| 47 | - <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/sit/SiteInfoRegist.do"/> | |
| 48 | - </c:when> | |
| 49 | - <c:otherwise> | |
| 50 | - <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/sit/SiteInfoUpdt.do"/> | |
| 51 | - </c:otherwise> | |
| 52 | - </c:choose> | |
| 53 | - | |
| 54 | - <form:form commandName="linkSite" name="linkSite" action="${actionUrl}" method="post" onsubmit="return fn_egov_regist();"> | |
| 55 | - | |
| 56 | - <form:hidden path="linkSiteId"/> | |
| 57 | - <form:hidden path="siteId"/> | |
| 58 | - <form:hidden path="sysTyCode"/> | |
| 59 | - | |
| 60 | - <input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}"/>"/> | |
| 61 | - <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" /> | |
| 62 | - <input type="hidden" name="searchCate" value="<c:out value='${searchVO.searchCate}'/>" /> | |
| 63 | - <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" /> | |
| 64 | - | |
| 65 | - | |
| 66 | - <fieldset> | |
| 67 | - <table class="chart2" summary="사이트 정보 등록페이지입니다."> | |
| 68 | - <caption> </caption> | |
| 69 | - <colgroup> | |
| 70 | - <col width="150px" /> | |
| 71 | - <col width="*" /> | |
| 72 | - </colgroup> | |
| 73 | - <tbody> | |
| 74 | - <tr> | |
| 75 | - <th><em>*</em> <label for="linkSiteNm">사이트명</label> | |
| 76 | - </th> | |
| 77 | - <td> | |
| 78 | - <form:input path="linkSiteNm" size="70" maxlength="50" cssClass="inp_long" /> | |
| 79 | - <div><form:errors path="linkSiteNm"/></div> | |
| 80 | - </td> | |
| 81 | - </tr> | |
| 82 | - <tr> | |
| 83 | - <th><em>*</em> <label for="linkSiteUrl">사이트 URL</label> | |
| 84 | - </th> | |
| 85 | - <td> | |
| 86 | - <form:input path="linkSiteUrl" size="70" maxlength="100" cssClass="inp_long" /> | |
| 87 | - <div><form:errors path="linkSiteUrl"/></div> | |
| 88 | - </td> | |
| 89 | - </tr> | |
| 90 | - <tr> | |
| 91 | - <th><em>*</em> <label for="linkSiteDc">사이트 설명</label> | |
| 92 | - </th> | |
| 93 | - <td> | |
| 94 | - <form:textarea path="linkSiteDc" cols="90" rows="10" cssClass="inp_long" /> | |
| 95 | - <div><form:errors path="linkSiteDc"/></div> | |
| 96 | - </td> | |
| 97 | - </tr> | |
| 98 | - <tr> | |
| 99 | - <th><em>*</em> <label for="siteThemaClCode">사이트주제분류</label> | |
| 100 | - </th> | |
| 101 | - <td> | |
| 102 | - <form:select path="siteThemaClCode"> | |
| 103 | - <form:option value="" label="-- 선택 --"/> | |
| 104 | - <form:options items="${resultList}" itemValue="code" itemLabel="codeNm"/> | |
| 105 | - </form:select> | |
| 106 | - <div><form:errors path="siteThemaClCode"/></div> | |
| 107 | - </td> | |
| 108 | - </tr> | |
| 109 | - <tr> | |
| 110 | - <th><em>*</em> <label for="actvtyAt1">활성여부</label> | |
| 111 | - </th> | |
| 112 | - <td> | |
| 113 | - <spring:message code="button.yes" /> : <form:radiobutton path="actvtyAt" value="Y" /> | |
| 114 | - <spring:message code="button.no" /> : <form:radiobutton path="actvtyAt" value="N" /> | |
| 115 | - </td> | |
| 116 | - </tr> | |
| 117 | - </tbody> | |
| 118 | - <tfoot> | |
| 119 | - </tfoot> | |
| 120 | - </table> | |
| 121 | - | |
| 122 | - <div class="btn_r"> | |
| 123 | - <input type="image" src="${_IMG}/btn/${_MODE eq 'REG' ? 'btn_regist.gif' : 'btn_modify.gif' }" class="vMid" alt="등록" /> | |
| 124 | - <c:url var="listUrl" value="/mng/uss/ion/sit/SiteListInqire.do"> | |
| 125 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 126 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 127 | - <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if> | |
| 128 | - <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if> | |
| 129 | - <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if> | |
| 130 | - <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if> | |
| 131 | - </c:url> | |
| 132 | - <a href="${listUrl}"><img src="${_IMG}/btn/btn_list.gif" alt="목록"/></a> | |
| 133 | - </div> | |
| 134 | - | |
| 135 | - </fieldset> | |
| 136 | - </form:form> | |
| 137 | - | |
| 138 | -</div> | |
| 139 | - | |
| 140 | -<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/EgovSiteListInqire.jsp
... | ... | @@ -1,171 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ page import="egovframework.com.cmm.service.EgovProperties"%> | |
| 3 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 4 | -<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%> | |
| 5 | -<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%> | |
| 6 | -<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%> | |
| 7 | -<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form"%> | |
| 8 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt" %> | |
| 9 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 10 | -<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response) %>"/> | |
| 11 | -<c:set var="_IMG" value="${pageContext.request.contextPath}/resources/template/manage/images"/> | |
| 12 | - | |
| 13 | -<c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 14 | - <c:param name="menu" value="ETC_MANAGE"/> | |
| 15 | - <c:param name="depth1" value="ETC_SITE"/> | |
| 16 | - <c:param name="depth2" value=""/> | |
| 17 | - <c:param name="title" value="링크사이트관리"/> | |
| 18 | -</c:import> | |
| 19 | - | |
| 20 | -<script type="text/javaScript" language="javascript"> | |
| 21 | - | |
| 22 | - | |
| 23 | -function fn_egov_delete(url) { | |
| 24 | - if(confirm('<spring:message code="common.delete.msg" />')){ | |
| 25 | - document.location.href = url; | |
| 26 | - } | |
| 27 | -} | |
| 28 | - | |
| 29 | -</script> | |
| 30 | - | |
| 31 | -<div id="cntnts"> | |
| 32 | - | |
| 33 | - <c:if test="${USER_INFO.userSe > 10}"> | |
| 34 | - <form id="siteForm" name="siteForm" action="<c:url value="/mng/uss/ion/sit/SiteListInqire.do"/>" method="post"> | |
| 35 | - <div id="bbs_search"> | |
| 36 | - <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> | |
| 37 | - </div> | |
| 38 | - </form> | |
| 39 | - </c:if> | |
| 40 | - | |
| 41 | - <p class="total">총 ${paginationInfo.totalRecordCount}건 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p> | |
| 42 | - | |
| 43 | - <table width="100%" summary="사이트정보목록 테이블" class="chart_board"> | |
| 44 | - <caption class="hdn">사이트목록</caption> | |
| 45 | - <colgroup> | |
| 46 | - <col class="co1"/> | |
| 47 | - <col class="co6"/> | |
| 48 | - <col class="co3"/> | |
| 49 | - <col class="co3"/> | |
| 50 | - <col class="co6"/> | |
| 51 | - <col class="co6"/> | |
| 52 | - <col class="co6"/> | |
| 53 | - </colgroup> | |
| 54 | - <thead> | |
| 55 | - <tr> | |
| 56 | - <th class="first">번호</th> | |
| 57 | - <th>주제분류</th> | |
| 58 | - <th>사이트명</th> | |
| 59 | - <th>사이트URL</th> | |
| 60 | - <th>게시상태</th> | |
| 61 | - <th>등록일자</th> | |
| 62 | - <th>관리</th> | |
| 63 | - </tr> | |
| 64 | - </thead> | |
| 65 | - <tbody> | |
| 66 | - | |
| 67 | - <c:forEach items="${resultList}" var="resultInfo" varStatus="status"> | |
| 68 | - <tr> | |
| 69 | - <td><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td> | |
| 70 | - <td><c:out value="${resultInfo.siteThemaClNm}"/></td> | |
| 71 | - <td><a href="${resultInfo.linkSiteUrl}" target="_blank"><c:out value="${resultInfo.linkSiteNm}"/></a></td> | |
| 72 | - <td><a href="${resultInfo.linkSiteUrl}" target="_blank"><c:out value="${resultInfo.linkSiteUrl}"/></a></td> | |
| 73 | - <td> | |
| 74 | - <c:if test="${resultInfo.actvtyAt eq 'Y'}"> | |
| 75 | - <img src="${_IMG}/btn/use_yes.gif" alt="Y"/> | |
| 76 | - </c:if> | |
| 77 | - <c:if test="${resultInfo.actvtyAt eq 'N'}"> | |
| 78 | - <img src="${_IMG}/btn/use_no.gif" alt="N"/> | |
| 79 | - </c:if> | |
| 80 | - </td> | |
| 81 | - <td><fmt:formatDate value="${resultInfo.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td> | |
| 82 | - <td> | |
| 83 | - <c:url var="viewUrl" value="/mng/uss/ion/sit/SiteInfoUpdtView.do"> | |
| 84 | - <c:param name="linkSiteId" value="${resultInfo.linkSiteId}" /> | |
| 85 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 86 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 87 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 88 | - <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 89 | - <c:param name="searchCate" value="${searchVO.searchCate}" /> | |
| 90 | - <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 91 | - </c:url> | |
| 92 | - <a href="${viewUrl}"><img src="${_IMG}/btn/edit.gif"/></a> | |
| 93 | - <c:url var="delUrl" value="/mng/uss/ion/sit/SiteInfoDelete.do"> | |
| 94 | - <c:param name="linkSiteId" value="${resultInfo.linkSiteId}" /> | |
| 95 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 96 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 97 | - <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 98 | - <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 99 | - <c:param name="searchCate" value="${searchVO.searchCate}" /> | |
| 100 | - <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 101 | - </c:url> | |
| 102 | - <a href="${delUrl}" onclick="fn_egov_delete(this.href);return false;"><img src="${_IMG}/btn/del.gif"/></a> | |
| 103 | - </td> | |
| 104 | - </tr> | |
| 105 | - </c:forEach> | |
| 106 | - | |
| 107 | - <c:if test="${fn:length(resultList) == 0}"> | |
| 108 | - <tr> | |
| 109 | - <td class="listCenter" colspan="7"><spring:message code="common.nodata.msg" /></td> | |
| 110 | - </tr> | |
| 111 | - </c:if> | |
| 112 | - | |
| 113 | - </tbody> | |
| 114 | - </table> | |
| 115 | - | |
| 116 | - | |
| 117 | - <div id="paging"> | |
| 118 | - <c:url var="pageUrl" value="/mng/uss/ion/sit/SiteListInqire.do"> | |
| 119 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 120 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 121 | - <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if> | |
| 122 | - <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 123 | - <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 124 | - </c:url> | |
| 125 | - <ul> | |
| 126 | - <c:if test="${not empty paginationInfo}"> | |
| 127 | - <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" /> | |
| 128 | - </c:if> | |
| 129 | - </ul> | |
| 130 | - </div> | |
| 131 | - | |
| 132 | - <div id="bbs_search"> | |
| 133 | - <form name="listForm" action="<c:url value='/mng/uss/ion/sit/SiteListInqire.do'/>" method="post"> | |
| 134 | - <input type="hidden" name="siteId" value="${searchVO.siteId}"/> | |
| 135 | - <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 136 | - <fieldset> | |
| 137 | - <legend class="hdn">찾기 폼</legend> | |
| 138 | - <label for="cate" class="hdn">분류</label> | |
| 139 | - <select id="cate" name="searchCate" title="분류" class="cate_sel inp"> | |
| 140 | - <option value="">주제분류</option> | |
| 141 | - <c:forEach var="code" items="${codeList}"> | |
| 142 | - <option value="${code.code}" <c:if test="${param.searchCate == code.code}">selected</c:if>>${code.codeNm}</option> | |
| 143 | - </c:forEach> | |
| 144 | - </select> | |
| 145 | - <label for="searchCondition" class="hdn">검색항목</label> | |
| 146 | - <select name="searchCondition" id="ftext"> | |
| 147 | - <!--<option selected value=''>--선택하세요--</option>--> | |
| 148 | - <option value="1" <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if> >사이트명</option> | |
| 149 | - <option value="2" <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if> >사이트URL</option> | |
| 150 | - </select> | |
| 151 | - <input name="searchKeyword" id="searchKeyword" type="text" size="35" class="inp" value="<c:out value="${searchVO.searchKeyword}"/>" maxlength="35" /> | |
| 152 | - <input type="image" class="searchBtn vMid" src="${_IMG}/btn/btn_search.gif" alt="검색"/> | |
| 153 | - </fieldset> | |
| 154 | - </form> | |
| 155 | - </div> | |
| 156 | - | |
| 157 | - <c:if test="${not empty searchVO.siteId }"> | |
| 158 | - <div class="btn_r"> | |
| 159 | - <c:url var="addUrl" value="/mng/uss/ion/sit/SiteInfoRegistView.do"> | |
| 160 | - <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 161 | - <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 162 | - <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if> | |
| 163 | - </c:url> | |
| 164 | - | |
| 165 | - <a href="${addUrl}"><img src="${_IMG}/btn/btn_regist.gif" alt="등록"/></a> | |
| 166 | - </div> | |
| 167 | - </c:if> | |
| 168 | - | |
| 169 | -</div> | |
| 170 | - | |
| 171 | -<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/SiteInfoRegist.jsp
... | ... | @@ -0,0 +1,133 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:set var="_MODE" value=""/> | |
| 5 | + | |
| 6 | +<c:choose> | |
| 7 | + <c:when test="${empty searchVO.linkSiteId}"> | |
| 8 | + <c:set var="_MODE" value="REG"/> | |
| 9 | + </c:when> | |
| 10 | + <c:otherwise> | |
| 11 | + <c:set var="_MODE" value="UPT"/> | |
| 12 | + </c:otherwise> | |
| 13 | +</c:choose> | |
| 14 | + | |
| 15 | +<c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 16 | + <c:param name="menu" value="ETC_MANAGE"/> | |
| 17 | + <c:param name="depth1" value="ETC_SITE"/> | |
| 18 | + <c:param name="depth2" value=""/> | |
| 19 | + <c:param name="title" value="링크사이트관리"/> | |
| 20 | +</c:import> | |
| 21 | + | |
| 22 | +<script src="<c:url value="/validator.do"/>"></script> | |
| 23 | +<validator:javascript formName="linkSite" staticJavascript="false" xhtml="true" cdata="false"/> | |
| 24 | + | |
| 25 | +<script> | |
| 26 | +function fn_egov_regist(form){ | |
| 27 | + /* | |
| 28 | + if(!validateLinkSite(document.linkSite)){ | |
| 29 | + return false; | |
| 30 | + } | |
| 31 | + */ | |
| 32 | + if(!confirm("<spring:message code="${_MODE eq 'REG' ? 'common.regist.msg' : 'common.update.msg'}" />")){ | |
| 33 | + return false; | |
| 34 | + } | |
| 35 | +} | |
| 36 | +</script> | |
| 37 | + | |
| 38 | +<c:choose> | |
| 39 | + <c:when test="${_MODE eq 'REG'}"> | |
| 40 | + <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/sit/SiteInfoRegist.do"/> | |
| 41 | + </c:when> | |
| 42 | + <c:otherwise> | |
| 43 | + <c:set var="actionUrl" value="${pageContext.request.contextPath}/mng/uss/ion/sit/SiteInfoUpdt.do"/> | |
| 44 | + </c:otherwise> | |
| 45 | +</c:choose> | |
| 46 | + | |
| 47 | +<form:form commandName="linkSite" name="linkSite" action="${actionUrl}" method="post" onsubmit="return fn_egov_regist();"> | |
| 48 | + | |
| 49 | + <form:hidden path="linkSiteId"/> | |
| 50 | + <form:hidden path="siteId"/> | |
| 51 | + <form:hidden path="sysTyCode"/> | |
| 52 | + | |
| 53 | + <input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}"/>"/> | |
| 54 | + <input type="hidden" name="searchKeyword" value="<c:out value='${searchVO.searchKeyword}'/>" /> | |
| 55 | + <input type="hidden" name="searchCate" value="<c:out value='${searchVO.searchCate}'/>" /> | |
| 56 | + <input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" /> | |
| 57 | + | |
| 58 | + <fieldset> | |
| 59 | + <legend class="hdn">링크사이트 입력 폼</legend> | |
| 60 | + | |
| 61 | + <div class="write-type"> | |
| 62 | + <table> | |
| 63 | + <colgroup> | |
| 64 | + <col style="width:250px" /> | |
| 65 | + <col /> | |
| 66 | + </colgroup> | |
| 67 | + <tbody> | |
| 68 | + <tr> | |
| 69 | + <th><label for="linkSiteNm">사이트명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 70 | + <td> | |
| 71 | + <form:input path="linkSiteNm" size="70" maxlength="50" cssClass="q4" required="required"/> | |
| 72 | + <div><form:errors path="linkSiteNm"/></div> | |
| 73 | + </td> | |
| 74 | + </tr> | |
| 75 | + <tr> | |
| 76 | + <th><label for="linkSiteUrl">사이트 URL</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 77 | + <td> | |
| 78 | + <form:input path="linkSiteUrl" size="70" maxlength="100" cssClass="q4" required="required"/> | |
| 79 | + <div><form:errors path="linkSiteUrl"/></div> | |
| 80 | + </td> | |
| 81 | + </tr> | |
| 82 | + <tr> | |
| 83 | + <th><label for="linkSiteDc">사이트 설명</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 84 | + <td> | |
| 85 | + <form:textarea path="linkSiteDc" cols="90" rows="10" required="required"/> | |
| 86 | + <div><form:errors path="linkSiteDc"/></div> | |
| 87 | + </td> | |
| 88 | + </tr> | |
| 89 | + <tr> | |
| 90 | + <th><label id="siteThemaClCode" for="bannerThemaClCode">사이트주제분류</label> <i class="required">*<span class="txt-hide" >필수</span></i></th> | |
| 91 | + <td> | |
| 92 | + <div class="selectbox"> | |
| 93 | + <form:select path="siteThemaClCode"> | |
| 94 | + <form:option value="" label="-- 선택 --"/> | |
| 95 | + <form:options items="${resultList}" itemValue="code" itemLabel="codeNm"/> | |
| 96 | + </form:select> | |
| 97 | + </div> | |
| 98 | + <div><form:errors path="siteThemaClCode"/></div> | |
| 99 | + </td> | |
| 100 | + </tr> | |
| 101 | + <tr> | |
| 102 | + <th>활성여부</th> | |
| 103 | + <td> | |
| 104 | + <div class="checkradio"> | |
| 105 | + <form:radiobutton path="actvtyAt" value="Y" /> | |
| 106 | + <label for="actvtyAt1"><spring:message code="button.yes" /></label> | |
| 107 | + </div> | |
| 108 | + <div class="checkradio"> | |
| 109 | + <form:radiobutton path="actvtyAt" value="N" /> | |
| 110 | + <label for="actvtyAt2"><spring:message code="button.no" /></label> | |
| 111 | + </div> | |
| 112 | + </td> | |
| 113 | + </tr> | |
| 114 | + </tbody> | |
| 115 | + </table> | |
| 116 | + </div> | |
| 117 | + | |
| 118 | + <div class="btn-cont"> | |
| 119 | + <button type="submit" class="btn-lg spot2">${_MODE eq 'REG' ? '등록' : '수정' }</button> | |
| 120 | + <c:url var="listUrl" value="/mng/uss/ion/sit/SiteListInqire.do"> | |
| 121 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 122 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 123 | + <c:if test="${not empty searchVO.searchCondition}"><c:param name="searchCondition" value="${searchVO.searchCondition}" /></c:if> | |
| 124 | + <c:if test="${not empty searchVO.searchKeyword}"><c:param name="searchKeyword" value="${searchVO.searchKeyword}" /></c:if> | |
| 125 | + <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if> | |
| 126 | + <c:if test="${not empty searchVO.pageIndex}"><c:param name="pageIndex" value="${searchVO.pageIndex}" /></c:if> | |
| 127 | + </c:url> | |
| 128 | + <a href="${listUrl}" class="btn btn-lg">목록</a> | |
| 129 | + </div> | |
| 130 | + </fieldset> | |
| 131 | +</form:form> | |
| 132 | + | |
| 133 | +<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/mng/uss/ion/sit/SiteListInqire.jsp
... | ... | @@ -0,0 +1,149 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | +<%@ include file="/WEB-INF/jsp/egovframework/cmm/include/defualt.jsp"%> | |
| 3 | + | |
| 4 | +<c:import url="/mng/template/top.do" charEncoding="utf-8"> | |
| 5 | + <c:param name="menu" value="ETC_MANAGE"/> | |
| 6 | + <c:param name="depth1" value="ETC_SITE"/> | |
| 7 | + <c:param name="depth2" value=""/> | |
| 8 | + <c:param name="title" value="링크사이트관리"/> | |
| 9 | +</c:import> | |
| 10 | + | |
| 11 | +<script> | |
| 12 | +function fn_egov_delete(url) { | |
| 13 | + if(confirm('<spring:message code="common.delete.msg" />')){ | |
| 14 | + document.location.href = url; | |
| 15 | + } | |
| 16 | +} | |
| 17 | +</script> | |
| 18 | + | |
| 19 | +<c:if test="${USER_INFO.userSe > 10}"> | |
| 20 | + <form id="siteForm" name="siteForm" action="<c:url value="/mng/uss/ion/sit/SiteListInqire.do"/>" method="post"> | |
| 21 | + <c:import url="/mng/sym/sit/selectCommonSiteList.do"/> | |
| 22 | + </form> | |
| 23 | +</c:if> | |
| 24 | + | |
| 25 | +<div class="fnc-area"> | |
| 26 | + <div class="r-area"> | |
| 27 | + <form name="listForm" action="<c:url value='/mng/uss/ion/sit/SiteListInqire.do'/>" method="post"> | |
| 28 | + <input type="hidden" name="siteId" value="${searchVO.siteId}"/> | |
| 29 | + <input type="hidden" name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 30 | + | |
| 31 | + <div class="sch-area"> | |
| 32 | + <div class="sch-option"> | |
| 33 | + <select name="searchCondition" id="ftext"> | |
| 34 | + <%--<option selected value=''>--선택하세요--</option>--%> | |
| 35 | + <option value="1" <c:if test="${searchVO.searchCondition eq '1'}">selected="selected"</c:if> >사이트명</option> | |
| 36 | + <option value="2" <c:if test="${searchVO.searchCondition eq '2'}">selected="selected"</c:if> >사이트URL</option> | |
| 37 | + </select> | |
| 38 | + </div> | |
| 39 | + <div class="sch"> | |
| 40 | + <input type="text" name="searchKeyword" value='<c:out value="${searchVO.searchKeyword}"/>'> | |
| 41 | + <button type="submit" class="btn-sch"><span class="txt-hide">검색</span></button> | |
| 42 | + </div> | |
| 43 | + </div> | |
| 44 | + </form> | |
| 45 | + </div> | |
| 46 | +</div> | |
| 47 | + | |
| 48 | +<p class="total-count">총 ${paginationInfo.totalRecordCount}개 ㅣ 현재페이지 <strong class="green">${paginationInfo.currentPageNo}</strong>/${paginationInfo.totalPageCount}</p> | |
| 49 | + | |
| 50 | +<div class="list-type sm"> | |
| 51 | + <table> | |
| 52 | + <colgroup> | |
| 53 | + <col style="width:110px"> | |
| 54 | + <col style="width:150px"> | |
| 55 | + <col> | |
| 56 | + <col> | |
| 57 | + <col> | |
| 58 | + <col style="width:180px"> | |
| 59 | + <col style="width:130px"> | |
| 60 | + </colgroup> | |
| 61 | + <thead> | |
| 62 | + <tr> | |
| 63 | + <th>번호</th> | |
| 64 | + <th>주제분류</th> | |
| 65 | + <th>사이트명</th> | |
| 66 | + <th>사이트URL</th> | |
| 67 | + <th>게시상태</th> | |
| 68 | + <th>등록일자</th> | |
| 69 | + <th>관리</th> | |
| 70 | + </tr> | |
| 71 | + </thead> | |
| 72 | + <tbody> | |
| 73 | + <c:forEach var="resultInfo" items="${resultList}" varStatus="status"> | |
| 74 | + <tr> | |
| 75 | + <td data-tit="번호"><c:out value="${paginationInfo.totalRecordCount - ((searchVO.pageIndex-1) * searchVO.pageUnit) - (status.count - 1)}" /></td> | |
| 76 | + <td data-tit="주제분류"><c:out value="${resultInfo.siteThemaClNm}"/></td> | |
| 77 | + <td data-tit="사이트명"><a href="${resultInfo.linkSiteUrl}" target="_blank"><c:out value="${resultInfo.linkSiteNm}"/></a></td> | |
| 78 | + <td data-tit="사이트URL"><a href="${resultInfo.linkSiteUrl}" target="_blank"><c:out value="${resultInfo.linkSiteUrl}"/></a></td> | |
| 79 | + <td data-tit="게시상태"> | |
| 80 | + <c:if test="${resultInfo.actvtyAt eq 'Y'}"> | |
| 81 | + <span class="label-state spot">Y</span> | |
| 82 | + </c:if> | |
| 83 | + <c:if test="${resultInfo.actvtyAt eq 'N'}"> | |
| 84 | + <span class="label-state">N</span> | |
| 85 | + </c:if> | |
| 86 | + </td> | |
| 87 | + <td data-tit="등록일자"><fmt:formatDate value="${resultInfo.frstRegisterPnttm}" pattern="yyyy-MM-dd"/></td> | |
| 88 | + <td data-tit="관리"> | |
| 89 | + <div class="btn-cont"> | |
| 90 | + <c:url var="viewUrl" value="/mng/uss/ion/sit/SiteInfoUpdtView.do"> | |
| 91 | + <c:param name="linkSiteId" value="${resultInfo.linkSiteId}" /> | |
| 92 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 93 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 94 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 95 | + <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 96 | + <c:param name="searchCate" value="${searchVO.searchCate}" /> | |
| 97 | + <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 98 | + </c:url> | |
| 99 | + <a href="${viewUrl}" class="btn-ico-sm" title="수정"><i class="ico-sm-edit"></i><span class="txt-hide">수정</span></a> | |
| 100 | + | |
| 101 | + <c:url var="delUrl" value="/mng/uss/ion/sit/SiteInfoDelete.do"> | |
| 102 | + <c:param name="linkSiteId" value="${resultInfo.linkSiteId}" /> | |
| 103 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 104 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 105 | + <c:param name="pageIndex" value="${searchVO.pageIndex}" /> | |
| 106 | + <c:param name="searchCondition" value="${searchVO.searchCondition}" /> | |
| 107 | + <c:param name="searchCate" value="${searchVO.searchCate}" /> | |
| 108 | + <c:param name="searchKeyword" value="${searchVO.searchKeyword}" /> | |
| 109 | + </c:url> | |
| 110 | + <a href="${delUrl}" class="btn btn-ico-sm" title="삭제"><i class="ico-sm-trash"></i><span class="txt-hdie">삭제</span></a> | |
| 111 | + </div> | |
| 112 | + </td> | |
| 113 | + </tr> | |
| 114 | + </c:forEach> | |
| 115 | + | |
| 116 | + <c:if test="${fn:length(resultList) == 0}"> | |
| 117 | + <tr> | |
| 118 | + <td class="" colspan="7"><spring:message code="common.nodata.msg" /></td> | |
| 119 | + </tr> | |
| 120 | + </c:if> | |
| 121 | + </tbody> | |
| 122 | + </table> | |
| 123 | +</div> | |
| 124 | + | |
| 125 | +<c:url var="pageUrl" value="/mng/uss/ion/sit/SiteListInqire.do"> | |
| 126 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 127 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 128 | + <c:if test="${not empty param.searchCate}"><c:param name="searchCate" value="${param.searchCate}" /></c:if> | |
| 129 | + <c:if test="${not empty param.searchCondition}"><c:param name="searchCondition" value="${param.searchCondition}" /></c:if> | |
| 130 | + <c:if test="${not empty param.searchKeyword}"><c:param name="searchKeyword" value="${param.searchKeyword}" /></c:if> | |
| 131 | +</c:url> | |
| 132 | +<ul class="paging"> | |
| 133 | + <ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="${pageUrl}" /> | |
| 134 | +</ul> | |
| 135 | + | |
| 136 | +<c:if test="${not empty searchVO.siteId }"> | |
| 137 | + <div class="fnc-area"> | |
| 138 | + <div class="r-area"> | |
| 139 | + <c:url var="addUrl" value="/mng/uss/ion/sit/SiteInfoRegistView.do"> | |
| 140 | + <c:param name="siteId" value="${searchVO.siteId}"/> | |
| 141 | + <c:param name="sysTyCode" value="${searchVO.sysTyCode}"/> | |
| 142 | + <c:if test="${not empty searchVO.searchCate}"><c:param name="searchCate" value="${searchVO.searchCate}" /></c:if> | |
| 143 | + </c:url> | |
| 144 | + <a href="${addUrl}" class="btn spot2">생성</a> | |
| 145 | + </div> | |
| 146 | + </div> | |
| 147 | +</c:if> | |
| 148 | + | |
| 149 | +<c:import url="/mng/template/bottom.do" charEncoding="utf-8"/> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/lyt/sourc/sit/LYTSRC_0000000000001/sourcHead.jsp
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/cre/lyt/sourc/sit/LYTSRC_0000000000001/sourcHead.jsp
... | ... | @@ -5,7 +5,7 @@ |
| 5 | 5 |
<html lang="ko"> |
| 6 | 6 |
<head> |
| 7 | 7 |
<meta charset="UTF-8"> |
| 8 |
- <title>test</title> |
|
| 8 |
+ <title><c:out value="${siteInfo.siteNm}"/></title>
|
|
| 9 | 9 |
</head> |
| 10 | 10 |
<body> |
| 11 | 11 |
<c:choose> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000004.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000006.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000008.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000010.jsp
... | ... | @@ -1,90 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | - <section class="section-gap bg-gray-light"> | |
| 3 | - <div class="main-common-title2"> | |
| 4 | - <h2 class="title">외국어 시험 CFLPT 이란?</h2> | |
| 5 | - </div> | |
| 6 | - <div class="area"> | |
| 7 | - <div class="banner-content-wrap"> | |
| 8 | - <div class="inner-area"> | |
| 9 | - <p class="desc"> | |
| 10 | - <b>CFLPT(Critical Foreign Language Proficiency Test)</b> | |
| 11 | - </p> | |
| 12 | - <p class="desc"> | |
| 13 | - CFLPT는 한국외국어대학교의 FLEX 개발 노하우를 바탕으로 개발된 특수외국어 사용 능력을 가장 효과적으로 평가할 수 있는 표준화된 시험입니다.<br> | |
| 14 | - CFLPT는 유럽언어공통기준(Common European Framework of Reference for Languages: CEFR)인<br>6등급제를 기반으로 개발되고 있는 특수외국어 표준교육과정을 바탕으로 A1, | |
| 15 | - A2, B1, B2, C1 및 C2의 6등급 체계로 구분되어 시행됩니다. | |
| 16 | - </p> | |
| 17 | - <p class="desc"> | |
| 18 | - 현재 총 11개의 특수외국어 읽기·듣기 시험을 컴퓨터 시험 형태로 제공되고 있으며,<br>특수외국어 어학능력 검증, 교육과정의 단계별 학습 성취도 측정 뿐 아니라 주요 기관 및 기업의 외국어 우수 인재 선발을 위한 | |
| 19 | - 도구로 활용될 수 있습니다. | |
| 20 | - </p> | |
| 21 | - <script> | |
| 22 | - $(document).ready(function(){ | |
| 23 | - $(".ready").click(function(){ | |
| 24 | - alert("준비 중입니다."); | |
| 25 | - return false; | |
| 26 | - }); | |
| 27 | - }); | |
| 28 | - </script> | |
| 29 | - <a href="#" class="btn-link btn-xl btn-point ready">CFLPT 컴퓨터시험 안내 영상</a> | |
| 30 | - </div> | |
| 31 | - </div> | |
| 32 | - </div> | |
| 33 | - </section> | |
| 34 | - <div class="page-content-wrap pt-70" style="min-height:405px;padding:40px 0 0;"> | |
| 35 | - <section class="page-content-body"> | |
| 36 | - <div class="area"> | |
| 37 | - <article class="content-wrap"> | |
| 38 | - <div class="content-header"> | |
| 39 | - <div class="title-wrap"> | |
| 40 | - <div class="title">평가등급</div> | |
| 41 | - <div class="desc"> | |
| 42 | - CFLPT는 평가의 정확성을 기하기 위해 특수외국어 평가를 등급제 평가 체제로 정하고 <br>A1, A2, B1, B2, C1, C2의 평가를 각각 독립적인 평가 체제로 하며 읽기와 듣기(예, A1 읽기와 듣기)를 묶어 | |
| 43 | - 각 등급별로 시행됩니다. | |
| 44 | - </div> | |
| 45 | - </div> | |
| 46 | - </div> | |
| 47 | - <div class="content-header"> | |
| 48 | - <div class="title-wrap"> | |
| 49 | - <div class="title">문항 수와 시험시간</div> | |
| 50 | - <div class="desc"> | |
| 51 | - CFLPT의 시험시간은 등급에 따라 상이하나 최대 180분을 넘지 않으며, 문항당 1분 ~ 1분 30초 정도의 소요시간을 기준으로 구성됩니다. <br>가장 낮은 단계인 A1 등급의 시험 시간을 영역별로 구분하면 다음과 | |
| 52 | - 같습니다. | |
| 53 | - </div> | |
| 54 | - </div> | |
| 55 | - </div> | |
| 56 | - <div class="content-body"> | |
| 57 | - <!-- 테이블영역--> | |
| 58 | - <table class="common-table-wrap size-sm"> | |
| 59 | - <colgroup> | |
| 60 | - <col style='width:14.285%'> | |
| 61 | - <col> | |
| 62 | - <col> | |
| 63 | - <col> | |
| 64 | - </colgroup> | |
| 65 | - <thead> | |
| 66 | - <tr class='bg-gray font-700'> | |
| 67 | - <th scope='col'></th> | |
| 68 | - <th scope='colgroup' colspan='2'>문항수</th> | |
| 69 | - <th scope='col'>시험시간</th> | |
| 70 | - </tr> | |
| 71 | - </thead> | |
| 72 | - <tbody> | |
| 73 | - <tr class=""> | |
| 74 | - <td scope='row'>듣기</td> | |
| 75 | - <td>A1 25문항</td> | |
| 76 | - <td rowspan='2'>50문항</td> | |
| 77 | - <td>25~30분</td> | |
| 78 | - </tr> | |
| 79 | - <tr class=""> | |
| 80 | - <td scope='row'>읽기</td> | |
| 81 | - <td>A1 25문항</td> | |
| 82 | - <td>35~40분</td> | |
| 83 | - </tr> | |
| 84 | - </tbody> | |
| 85 | - </table> | |
| 86 | - </div> | |
| 87 | - </article> | |
| 88 | - </div> | |
| 89 | - </section> | |
| 90 | - </div> (파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000012.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000014.jsp
... | ... | @@ -1,327 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<h2 class="title center-align">특수외국어란?</h2> | |
| 6 | -</div> | |
| 7 | -<article class="common-column-layout flex-row"> | |
| 8 | -<div class="flex-col-3"> | |
| 9 | -<h3 class="content-main-title">특수외국어</h3> | |
| 10 | -</div> | |
| 11 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 12 | -<div class="content-group"> | |
| 13 | -<h4 class="content-sub-title">특수외국어란?</h4> | |
| 14 | -<div class="contnet-desc">특수외국어란 국가 발전을 위하여 전략적으로 필요한 외국어로서 대통령령으로 정한 언어를 말합니다.</div> | |
| 15 | -<div class="contnet-desc">2019년 현재 총 53개의 언어가 특수외국어로 지정되어 있습니다.</div> | |
| 16 | -</div> | |
| 17 | -<div class="content-group"><!-- 테이블영역--> | |
| 18 | -<table class="common-table-wrap border-white size-sm"><colgroup> <col class="bg-deep-gray" style="width: 15%;" /> <col class="bg-gray" style="width: 25%;" /> <col class="bg-gray" /> </colgroup> | |
| 19 | -<tbody> | |
| 20 | -<tr class="left-align "> | |
| 21 | -<th class="font-700 center-align" rowspan="12" scope="row">중동·아프리카 <br />(12개 언어)</th> | |
| 22 | -<td>아랍어</td> | |
| 23 | -<td>레바논, 리비아, 모로코, 모리타니아, 바레인, 사우디아라비아, 소말리아, 수단, 시리아, 아랍에미리트, 알제리, 에리트리아, 예멘, 오만, 요르단, 이라크, 이스라엘, 이집트, 지부티, 차드, 카타르, 코모로, 쿠웨이트, 튀니지, 팔레스타인</td> | |
| 24 | -</tr> | |
| 25 | -<tr class="left-align "> | |
| 26 | -<td class="vertical-top">터키어</td> | |
| 27 | -<td class="vertical-top">사이프러스, 터키</td> | |
| 28 | -</tr> | |
| 29 | -<tr class="left-align "> | |
| 30 | -<td>아제르바이잔어</td> | |
| 31 | -<td>아제르바이잔</td> | |
| 32 | -</tr> | |
| 33 | -<tr class="left-align "> | |
| 34 | -<td class="wide-spacing vertical-top">이란어</td> | |
| 35 | -<td class="wide-spacing vertical-top">이란</td> | |
| 36 | -</tr> | |
| 37 | -<tr class="left-align "> | |
| 38 | -<td class="wide-spacing vertical-top">파슈토어</td> | |
| 39 | -<td class="wide-spacing vertical-top">아프가니스탄</td> | |
| 40 | -</tr> | |
| 41 | -<tr class="left-align "> | |
| 42 | -<td class="wide-spacing vertical-top">다리어</td> | |
| 43 | -<td class="wide-spacing vertical-top">아프가니스탄</td> | |
| 44 | -</tr> | |
| 45 | -<tr class="left-align "> | |
| 46 | -<td class="wide-spacing vertical-top">히브리어</td> | |
| 47 | -<td class="wide-spacing vertical-top">이스라엘</td> | |
| 48 | -</tr> | |
| 49 | -<tr class="left-align "> | |
| 50 | -<td class="wide-spacing vertical-top">하우사어</td> | |
| 51 | -<td class="wide-spacing vertical-top">가나, 나이지리아, 니제르</td> | |
| 52 | -</tr> | |
| 53 | -<tr class="left-align "> | |
| 54 | -<td class="wide-spacing vertical-top">스와힐리어</td> | |
| 55 | -<td class="wide-spacing vertical-top">우간다, 케냐, 탄자니아</td> | |
| 56 | -</tr> | |
| 57 | -<tr class="left-align "> | |
| 58 | -<td class="wide-spacing vertical-top">줄루어</td> | |
| 59 | -<td class="wide-spacing vertical-top">남아프리카공화국</td> | |
| 60 | -</tr> | |
| 61 | -<tr class="left-align "> | |
| 62 | -<td class="wide-spacing vertical-top">르완다어</td> | |
| 63 | -<td class="wide-spacing vertical-top">르완다</td> | |
| 64 | -</tr> | |
| 65 | -<tr class="left-align "> | |
| 66 | -<td class="wide-spacing vertical-top">암하라어</td> | |
| 67 | -<td class="wide-spacing vertical-top">에티오피아</td> | |
| 68 | -</tr> | |
| 69 | -<tr class="left-align "> | |
| 70 | -<th class="font-700 center-align" rowspan="7" scope="row">유라시아 <br />(7개 언어)</th> | |
| 71 | -<td>카자흐어</td> | |
| 72 | -<td>카자흐스탄</td> | |
| 73 | -</tr> | |
| 74 | -<tr class="left-align "> | |
| 75 | -<td class="wide-spacing vertical-top">우즈베크어</td> | |
| 76 | -<td class="wide-spacing vertical-top">우즈베키스탄</td> | |
| 77 | -</tr> | |
| 78 | -<tr class="left-align "> | |
| 79 | -<td class="wide-spacing vertical-top">키르기스어</td> | |
| 80 | -<td class="wide-spacing vertical-top">키르기즈</td> | |
| 81 | -</tr> | |
| 82 | -<tr class="left-align "> | |
| 83 | -<td class="wide-spacing vertical-top">우크라이나어</td> | |
| 84 | -<td class="wide-spacing vertical-top">우크라이나</td> | |
| 85 | -</tr> | |
| 86 | -<tr class="left-align "> | |
| 87 | -<td class="wide-spacing vertical-top">투르크멘어</td> | |
| 88 | -<td class="wide-spacing vertical-top">투르크메니스탄</td> | |
| 89 | -</tr> | |
| 90 | -<tr class="left-align "> | |
| 91 | -<td class="wide-spacing vertical-top">타지키스탄어</td> | |
| 92 | -<td class="wide-spacing vertical-top">타지키스탄</td> | |
| 93 | -</tr> | |
| 94 | -<tr class="left-align "> | |
| 95 | -<td class="wide-spacing vertical-top">몽골어</td> | |
| 96 | -<td class="wide-spacing vertical-top">몽골</td> | |
| 97 | -</tr> | |
| 98 | -<tr class="left-align "> | |
| 99 | -<th class="font-700 center-align" rowspan="14" scope="row">인도·아세안 <br />(14개 언어)</th> | |
| 100 | -<td>힌디어</td> | |
| 101 | -<td>인도, 피지</td> | |
| 102 | -</tr> | |
| 103 | -<tr class="left-align "> | |
| 104 | -<td class="wide-spacing vertical-top">우르두어</td> | |
| 105 | -<td class="wide-spacing vertical-top">파키스탄</td> | |
| 106 | -</tr> | |
| 107 | -<tr class="left-align "> | |
| 108 | -<td class="wide-spacing vertical-top">산스크리트어</td> | |
| 109 | -<td class="wide-spacing vertical-top">네팔, 인도</td> | |
| 110 | -</tr> | |
| 111 | -<tr class="left-align "> | |
| 112 | -<td class="wide-spacing vertical-top">네팔어</td> | |
| 113 | -<td class="wide-spacing vertical-top">네팔</td> | |
| 114 | -</tr> | |
| 115 | -<tr class="left-align "> | |
| 116 | -<td class="wide-spacing vertical-top">벵골어</td> | |
| 117 | -<td class="wide-spacing vertical-top">방글라데시</td> | |
| 118 | -</tr> | |
| 119 | -<tr class="left-align "> | |
| 120 | -<td class="wide-spacing vertical-top">신할리즈어</td> | |
| 121 | -<td class="wide-spacing vertical-top">스리랑카</td> | |
| 122 | -</tr> | |
| 123 | -<tr class="left-align "> | |
| 124 | -<td class="wide-spacing vertical-top">베트남어</td> | |
| 125 | -<td class="wide-spacing vertical-top">베트남</td> | |
| 126 | -</tr> | |
| 127 | -<tr class="left-align "> | |
| 128 | -<td class="wide-spacing vertical-top">말레이시아어</td> | |
| 129 | -<td class="wide-spacing vertical-top">말레이시아, 싱가포르, 브루나이다루살람</td> | |
| 130 | -</tr> | |
| 131 | -<tr class="left-align "> | |
| 132 | -<td class="wide-spacing vertical-top">인도네시아어</td> | |
| 133 | -<td class="wide-spacing vertical-top">인도네시아</td> | |
| 134 | -</tr> | |
| 135 | -<tr class="left-align "> | |
| 136 | -<td class="wide-spacing vertical-top">태국어</td> | |
| 137 | -<td class="wide-spacing vertical-top">태국</td> | |
| 138 | -</tr> | |
| 139 | -<tr class="left-align "> | |
| 140 | -<td class="wide-spacing vertical-top">미얀마어</td> | |
| 141 | -<td class="wide-spacing vertical-top">미얀마</td> | |
| 142 | -</tr> | |
| 143 | -<tr class="left-align "> | |
| 144 | -<td class="wide-spacing vertical-top">크메르어</td> | |
| 145 | -<td class="wide-spacing vertical-top">캄보디아</td> | |
| 146 | -</tr> | |
| 147 | -<tr class="left-align "> | |
| 148 | -<td class="wide-spacing vertical-top">라오스어</td> | |
| 149 | -<td class="wide-spacing vertical-top">라오스</td> | |
| 150 | -</tr> | |
| 151 | -<tr class="left-align "> | |
| 152 | -<td class="wide-spacing vertical-top">타갈로그어</td> | |
| 153 | -<td class="wide-spacing vertical-top">필리핀</td> | |
| 154 | -</tr> | |
| 155 | -<tr class="left-align "> | |
| 156 | -<th class="font-700 center-align" rowspan="18" scope="row">유럽 <br />(18개 언어)</th> | |
| 157 | -<td>폴란드어</td> | |
| 158 | -<td>폴란드</td> | |
| 159 | -</tr> | |
| 160 | -<tr class="left-align "> | |
| 161 | -<td class="wide-spacing vertical-top">루마니아어</td> | |
| 162 | -<td class="wide-spacing vertical-top">루마니아</td> | |
| 163 | -</tr> | |
| 164 | -<tr class="left-align "> | |
| 165 | -<td class="wide-spacing vertical-top">헝가리어</td> | |
| 166 | -<td class="wide-spacing vertical-top">헝가리</td> | |
| 167 | -</tr> | |
| 168 | -<tr class="left-align "> | |
| 169 | -<td class="wide-spacing vertical-top">체코어</td> | |
| 170 | -<td class="wide-spacing vertical-top">체코</td> | |
| 171 | -</tr> | |
| 172 | -<tr class="left-align "> | |
| 173 | -<td class="wide-spacing vertical-top">슬로바키아어</td> | |
| 174 | -<td class="wide-spacing vertical-top">슬로바키아</td> | |
| 175 | -</tr> | |
| 176 | -<tr class="left-align "> | |
| 177 | -<td class="wide-spacing vertical-top">세르비아어</td> | |
| 178 | -<td class="wide-spacing vertical-top">보스니아-헤르체고비나, 세르비아, 코소보</td> | |
| 179 | -</tr> | |
| 180 | -<tr class="left-align "> | |
| 181 | -<td class="wide-spacing vertical-top">크로아티아어</td> | |
| 182 | -<td class="wide-spacing vertical-top">보스니아-헤르체고비나, 크로아티아</td> | |
| 183 | -</tr> | |
| 184 | -<tr class="left-align "> | |
| 185 | -<td class="wide-spacing vertical-top">라트비아어</td> | |
| 186 | -<td class="wide-spacing vertical-top">라트비아</td> | |
| 187 | -</tr> | |
| 188 | -<tr class="left-align "> | |
| 189 | -<td class="wide-spacing vertical-top">벨라루스어</td> | |
| 190 | -<td class="wide-spacing vertical-top">벨라루스</td> | |
| 191 | -</tr> | |
| 192 | -<tr class="left-align "> | |
| 193 | -<td class="wide-spacing vertical-top">조지아어</td> | |
| 194 | -<td class="wide-spacing vertical-top">조지아</td> | |
| 195 | -</tr> | |
| 196 | -<tr class="left-align "> | |
| 197 | -<td class="wide-spacing vertical-top">그리스어</td> | |
| 198 | -<td class="wide-spacing vertical-top">그리스, 사이프러스</td> | |
| 199 | -</tr> | |
| 200 | -<tr class="left-align "> | |
| 201 | -<td class="wide-spacing vertical-top">불가리아어</td> | |
| 202 | -<td class="wide-spacing vertical-top">불가리아</td> | |
| 203 | -</tr> | |
| 204 | -<tr class="left-align "> | |
| 205 | -<td class="wide-spacing vertical-top">이탈리아어</td> | |
| 206 | -<td class="wide-spacing vertical-top">산마리노, 스위스, 이탈리아</td> | |
| 207 | -</tr> | |
| 208 | -<tr class="left-align "> | |
| 209 | -<td class="wide-spacing vertical-top">네덜란드어</td> | |
| 210 | -<td class="wide-spacing vertical-top">네덜란드, 벨기에, 수리남</td> | |
| 211 | -</tr> | |
| 212 | -<tr class="left-align "> | |
| 213 | -<td class="wide-spacing vertical-top">노르웨이어</td> | |
| 214 | -<td class="wide-spacing vertical-top">노르웨이</td> | |
| 215 | -</tr> | |
| 216 | -<tr class="left-align "> | |
| 217 | -<td class="wide-spacing vertical-top">덴마크어</td> | |
| 218 | -<td class="wide-spacing vertical-top">덴마크</td> | |
| 219 | -</tr> | |
| 220 | -<tr class="left-align "> | |
| 221 | -<td class="wide-spacing vertical-top">스웨덴어</td> | |
| 222 | -<td class="wide-spacing vertical-top">스웨덴</td> | |
| 223 | -</tr> | |
| 224 | -<tr class="left-align "> | |
| 225 | -<td class="wide-spacing vertical-top">핀란드어</td> | |
| 226 | -<td class="wide-spacing vertical-top">핀란드</td> | |
| 227 | -</tr> | |
| 228 | -<tr class="left-align "> | |
| 229 | -<th class="font-700 center-align" rowspan="2" scope="row">중남미 <br />(2개 언어)</th> | |
| 230 | -<td>포르투갈어</td> | |
| 231 | -<td>동티모르, 모잠비크, 상투메프린시페, 앙골라, 적도기니, 카보베르데, 포르투갈</td> | |
| 232 | -</tr> | |
| 233 | -<tr class="left-align "> | |
| 234 | -<td class="wide-spacing vertical-top">브라질어</td> | |
| 235 | -<td class="wide-spacing vertical-top">브라질</td> | |
| 236 | -</tr> | |
| 237 | -</tbody> | |
| 238 | -</table> | |
| 239 | -</div> | |
| 240 | -</div> | |
| 241 | -</article> | |
| 242 | -<article class="common-column-layout flex-row"> | |
| 243 | -<div class="flex-col-3"> | |
| 244 | -<h3 class="content-main-title">한국외국어대학교</h3> | |
| 245 | -<h3 class="content-main-title">특수외국어 전문교육</h3> | |
| 246 | -</div> | |
| 247 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 248 | -<div class="content-group"> | |
| 249 | -<h4 class="content-sub-title">한국외국어대학교 특수외국어교육진흥원</h4> | |
| 250 | -<div class="contnet-desc">4차 산업혁명 시대를 맞아 다변화된 해외시장과 복잡해진 글로벌 환경하에서 외국어, 더 나아가 특수외국어의 중요성이 증가하고 있습니다. 외국어는 더 이상 단순한 의사소통 도구가 아닌 국익과 국가 안보를 지키는 전략 자산입니다.</div> | |
| 251 | -<div class="contnet-desc"> </div> | |
| 252 | -<div class="contnet-desc">특수외국어교육진흥원은 이에 발맞춰 모든 국민에게 특수외국어교육의 기회를 균등하게 제공하고, 외국어 전문 인력 양성을 위해 심화 교육과정 개발과 운영을 통해 전문적이고 숙달된 외국어 전문가를 육성하며, 누구나 쉽게 접근할 수 있는 특수외국어 교육과정을 선보일 것입니다.<br /><br />우리 대학만의 외국어 교육 및 평가 노하우, 우수한 교수진, 세계 각국 및 외교사절들과 맺은 긴밀한 관계, 정통한 현지 사정 등을 토대로 수준 높은 특수외국어 교육을 제공하겠습니다. </div> | |
| 253 | -</div> | |
| 254 | -<div class="content-group"> | |
| 255 | -<h4 class="content-sub-title">한국외국어대학교 지원 특수외국어</h4> | |
| 256 | -<div class="contnet-desc">- 총 11개 언어 15개 학과</div> | |
| 257 | -<!-- 테이블영역--></div> | |
| 258 | -<div class="content-group"> | |
| 259 | -<table class="common-table-wrap border-white size-sm"><colgroup> <col style="width: 30%;" /> <col style="width: 70%;" /> </colgroup> | |
| 260 | -<tbody> | |
| 261 | -<tr class="left-align "> | |
| 262 | -<th class="font-700 center-align bg-deep-gray" scope="row">언어</th> | |
| 263 | -<th class="font-700 center-align bg-deep-gray" scope="row">학과</th> | |
| 264 | -</tr> | |
| 265 | -<tr class="left-align "> | |
| 266 | -<td class="bg-gray center-align">몽골어</td> | |
| 267 | -<td class="bg-gray center-align">몽골어과</td> | |
| 268 | -</tr> | |
| 269 | -<tr class="left-align "> | |
| 270 | -<td class="bg-gray center-align">스와힐리어</td> | |
| 271 | -<td class="bg-gray center-align">아프리카학부</td> | |
| 272 | -</tr> | |
| 273 | -<tr class="left-align "> | |
| 274 | -<td class="bg-gray center-align">우즈베크어</td> | |
| 275 | -<td class="bg-gray center-align">중앙아시아학과</td> | |
| 276 | -</tr> | |
| 277 | -<tr class="left-align "> | |
| 278 | -<td class="bg-gray center-align">이란어</td> | |
| 279 | -<td class="bg-gray center-align">이란어과</td> | |
| 280 | -</tr> | |
| 281 | -<tr class="left-align "> | |
| 282 | -<td class="bg-gray center-align" rowspan="2">말레이∙인도네시아어</td> | |
| 283 | -<td class="bg-gray center-align">말레이∙인도네시아어과</td> | |
| 284 | -</tr> | |
| 285 | -<tr class="left-align "> | |
| 286 | -<td class="bg-gray center-align">말레이∙인도네시아어 통번역학과</td> | |
| 287 | -</tr> | |
| 288 | -<tr class="left-align "> | |
| 289 | -<td class="bg-gray center-align">터키어</td> | |
| 290 | -<td class="bg-gray center-align">터키아제르바이잔어과</td> | |
| 291 | -</tr> | |
| 292 | -<tr class="left-align "> | |
| 293 | -<td class="bg-gray center-align" rowspan="2">태국어</td> | |
| 294 | -<td class="bg-gray center-align">태국어과</td> | |
| 295 | -</tr> | |
| 296 | -<tr class="left-align "> | |
| 297 | -<td class="bg-gray center-align">태국어 통번역학과</td> | |
| 298 | -</tr> | |
| 299 | -<tr class="left-align "> | |
| 300 | -<td class="bg-gray center-align" rowspan="2">포르투갈어</td> | |
| 301 | -<td class="bg-gray center-align">브라질학과</td> | |
| 302 | -</tr> | |
| 303 | -<tr class="left-align "> | |
| 304 | -<td class="bg-gray center-align">포르투갈어과</td> | |
| 305 | -</tr> | |
| 306 | -<tr class="left-align "> | |
| 307 | -<td class="bg-gray center-align">헝가리어</td> | |
| 308 | -<td class="bg-gray center-align">헝가리어과</td> | |
| 309 | -</tr> | |
| 310 | -<tr class="left-align "> | |
| 311 | -<td class="bg-gray center-align">폴란드어</td> | |
| 312 | -<td class="bg-gray center-align">폴란드어과</td> | |
| 313 | -</tr> | |
| 314 | -<tr class="left-align "> | |
| 315 | -<td class="bg-gray center-align" rowspan="2">힌디어</td> | |
| 316 | -<td class="bg-gray center-align">인도어과</td> | |
| 317 | -</tr> | |
| 318 | -<tr class="left-align "> | |
| 319 | -<td class="bg-gray center-align">인도학과</td> | |
| 320 | -</tr> | |
| 321 | -</tbody> | |
| 322 | -</table> | |
| 323 | -</div> | |
| 324 | -</div> | |
| 325 | -</article> | |
| 326 | -</div> | |
| 327 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000016.jsp
... | ... | @@ -1,106 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<h2 class="title center-align">사업개요</h2> | |
| 6 | -</div> | |
| 7 | -<article class="common-column-layout flex-row"> | |
| 8 | -<div class="flex-col-3"> | |
| 9 | -<h3 class="content-main-title">비전</h3> | |
| 10 | -</div> | |
| 11 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 12 | -<div class="content-group"> | |
| 13 | -<h4 class="content-sub-title">특수외국어 전문 창의융합 인재 양성을 통한 국가경쟁력 강화</h4> | |
| 14 | -<div class="contnet-desc">우리 대학은 어문학과 지역학이라는 고유 가치를 심화하고 그에 기반한 융복합 인재를 양성하며, 45개의 전문화된 외국어 교육을 바탕으로 인문, 사회, 자연과학, 이공학을 아우르는 세계 수준의 글로벌 융복합을 선도하고 있으며, 대한민국의 특수외국어 교육 진흥을 위해 “글로벌 시대를 선도하는 세계 3대 특수외국어 교육 대학”으로 성장하고자 합니다.</div> | |
| 15 | -</div> | |
| 16 | -</div> | |
| 17 | -</article> | |
| 18 | -<article class="common-column-layout flex-row"> | |
| 19 | -<div class="flex-col-3"> | |
| 20 | -<h3 class="content-main-title">사업목표 및 내용</h3> | |
| 21 | -</div> | |
| 22 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 23 | -<div class="content-group"> | |
| 24 | -<h4 class="content-sub-title">전문성과 역량을 갖춘 특수외국어 인재 양성 및 교육저변 확대</h4> | |
| 25 | -<div class="contnet-desc"><img class="mt-20" src="../../../template/lms/imgs/page/special/img_01.jpg" alt="HUFS,특수외국어 전문교육기관 : 학교교육 내실화, 창의적 스마트 교육 플랫폼, 교육저변확대 및 인프라 구축, 공유개방형 글로컬 네트워크, 수요기반의 인력양성 및 활용, 지속 가능한 전문적 맞춤교육" /></div> | |
| 26 | -</div> | |
| 27 | -</div> | |
| 28 | -</article> | |
| 29 | -<article class="common-column-layout flex-row"> | |
| 30 | -<div class="flex-col-3"> | |
| 31 | -<h3 class="content-main-title">추진전략 및 핵심과제</h3> | |
| 32 | -</div> | |
| 33 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 34 | -<div class="content-group"> | |
| 35 | -<h4 class="content-sub-title">4대 추진전략(4S Strategies)</h4> | |
| 36 | -<div class="contnet-desc"><img class="mt-20" src="../../../template/lms/imgs/page/special/img_02.jpg" alt="1.내실화(Strengthening):교원학생역량, 학사제도, 교육환경시설 / 2.표준화(Standardization): 표준교과과정, 표준공통교재, 평가인증시스템 / 3. 전문화(Specialization): 학문후속세대, 통번역전문인력, 기업실무인력 / 4.공유화(Sharing): 일반인 교육, Language-MOOC,국내외 네트워크" /></div> | |
| 37 | -</div> | |
| 38 | -</div> | |
| 39 | -</article> | |
| 40 | -<article class="common-column-layout flex-row"> | |
| 41 | -<div class="flex-col-3"> | |
| 42 | -<h3 class="content-main-title">사업기반</h3> | |
| 43 | -</div> | |
| 44 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 45 | -<div class="content-group"> | |
| 46 | -<h4 class="content-sub-title">45개 외국어 전공 기반 HUFS교육 인프라 및 전문성 + 타 전문 교육기관과의 협업</h4> | |
| 47 | -</div> | |
| 48 | -</div> | |
| 49 | -</article> | |
| 50 | -<article class="common-column-layout flex-row"> | |
| 51 | -<div class="flex-col-3"> | |
| 52 | -<h3 class="content-main-title">사업목표</h3> | |
| 53 | -</div> | |
| 54 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 55 | -<div class="content-group"> | |
| 56 | -<h4 class="content-sub-title">세부목적</h4> | |
| 57 | -<div class="contnet-desc"> | |
| 58 | -<h5 class="title icon-num">특수외국어 교육진흥을 위한 표준화 기반 학부교육 내실화 및 평가인증 공인화</h5> | |
| 59 | -<h5 class="title icon-num">사회수요기반 인력양성 및 활용 확대</h5> | |
| 60 | -<h5 class="title icon-num">특수외국어 교육 저변 확대 및 네트워크 구축</h5> | |
| 61 | -</div> | |
| 62 | -</div> | |
| 63 | -<div class="content-group"> | |
| 64 | -<h4 class="content-sub-title">우리대학 특수외국어 교육모델</h4> | |
| 65 | -<div class="contnet-desc"> | |
| 66 | -<h5 class="title icon-num">학문후속, 통번역 및 기업실무 등 다양한 수요 맞춤형 인재 양성을 위한 교육</h5> | |
| 67 | -<h5 class="title icon-num">특수외국어를 배우려는 일반인들에게 체계적이고 전문적인 교육과 학습 기회 제공</h5> | |
| 68 | -<h5 class="title icon-num">단계적 교육과정, 표준교재 개발 및 교과 개편을 통한 특수외국어 교육의 표준화</h5> | |
| 69 | -</div> | |
| 70 | -</div> | |
| 71 | -<div class="content-group"> | |
| 72 | -<h4 class="content-sub-title">세계 최고 수준의 특수외국어 교육·연수·평가 체계 구축</h4> | |
| 73 | -<!-- 테이블영역--> | |
| 74 | -<table class="common-table-wrap border-white size-sm"><colgroup> <col class="bg-deep-gray" /> <col class="bg-gray" style="width: 28.2%;" /> <col class="bg-gray" style="width: 28.2%;" /> <col class="bg-gray" style="width: 28.2%;" /> </colgroup> | |
| 75 | -<tbody> | |
| 76 | -<tr class="left-align "> | |
| 77 | -<th class="font-700 center-align" scope="row">사업영역</th> | |
| 78 | -<td>교육과정 및 평가인증</td> | |
| 79 | -<td>학문후속 및 통번역 인력 양성</td> | |
| 80 | -<td>네트워크 구축 및 교육 지원</td> | |
| 81 | -</tr> | |
| 82 | -<tr class="left-align "> | |
| 83 | -<th class="font-700 center-align" scope="row">세부목표</th> | |
| 84 | -<td class="vertical-top">특수외국어 교육 진흥 위한 교육 내실화 및 평가 공인화</td> | |
| 85 | -<td class="vertical-top">사회적 수요기반 인력양성 및 활용 확대</td> | |
| 86 | -<td class="vertical-top">특수외국어 교육 저변 확대 및 네트워크 활성화</td> | |
| 87 | -</tr> | |
| 88 | -<tr class="left-align "> | |
| 89 | -<th class="font-700 center-align" scope="row">중점과제</th> | |
| 90 | -<td>교육 및 평가 시스템 혁신</td> | |
| 91 | -<td>글로컬 전문 교육 시스템 구축</td> | |
| 92 | -<td>공유형 협력 플랫폼 구축</td> | |
| 93 | -</tr> | |
| 94 | -<tr class="left-align "> | |
| 95 | -<th class="font-700 center-align" scope="row">핵심사업</th> | |
| 96 | -<td class="wide-spacing vertical-top">- 세계적 수준의 인력풀 구축<br />- 선진형 학부교육 시스템 구축<br />- 스마트형 교육환경 구축<br />- 아시아언어 공통기준 개발<br />- CFLPT 개발 및 국가 공인화</td> | |
| 97 | -<td class="wide-spacing vertical-top">- 특수외국어 연구인력 양성<br />- 특수외국어 통번역 인력 양성<br />- 기업수요 맞춤형 실무인력 양성<br />- 인접어 연구 및 교육과정 신설</td> | |
| 98 | -<td class="wide-spacing vertical-top">- Language-MOOC 구축<br />- 특수외국어 스마트교육 거점화<br />- 특수외국어 교육 플랫폼 공유<br />- 청소년 대상 진로탐색 지원<br />- 특수외국어 연구 아젠다 선도</td> | |
| 99 | -</tr> | |
| 100 | -</tbody> | |
| 101 | -</table> | |
| 102 | -</div> | |
| 103 | -</div> | |
| 104 | -</article> | |
| 105 | -</div> | |
| 106 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000016_PRE.jsp
... | ... | @@ -1,106 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<h2 class="title center-align">사업개요</h2> | |
| 6 | -</div> | |
| 7 | -<article class="common-column-layout flex-row"> | |
| 8 | -<div class="flex-col-3"> | |
| 9 | -<h3 class="content-main-title">비전</h3> | |
| 10 | -</div> | |
| 11 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 12 | -<div class="content-group"> | |
| 13 | -<h4 class="content-sub-title">특수외국어 전문 창의융합 인재 양성을 통한 국가경쟁력 강화</h4> | |
| 14 | -<div class="contnet-desc">우리 대학은 어문학과 지역학이라는 고유 가치를 심화하고 그에 기반한 융복합 인재를 양성하며, 45개의 전문화된 외국어 교육을 바탕으로 인문, 사회, 자연과학, 이공학을 아우르는 세계 수준의 글로벌 융복합을 선도하고 있으며, 대한민국의 특수외국어 교육 진흥을 위해 “글로벌 시대를 선도하는 세계 3대 특수외국어 교육 대학”으로 성장하고자 합니다.</div> | |
| 15 | -</div> | |
| 16 | -</div> | |
| 17 | -</article> | |
| 18 | -<article class="common-column-layout flex-row"> | |
| 19 | -<div class="flex-col-3"> | |
| 20 | -<h3 class="content-main-title">사업목표 및 내용</h3> | |
| 21 | -</div> | |
| 22 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 23 | -<div class="content-group"> | |
| 24 | -<h4 class="content-sub-title">전문성과 역량을 갖춘 특수외국어 인재 양성 및 교육저변 확대</h4> | |
| 25 | -<div class="contnet-desc"><img class="mt-20" src="../../../template/lms/imgs/page/special/img_01.jpg" alt="HUFS,특수외국어 전문교육기관 : 학교교육 내실화, 창의적 스마트 교육 플랫폼, 교육저변확대 및 인프라 구축, 공유개방형 글로컬 네트워크, 수요기반의 인력양성 및 활용, 지속 가능한 전문적 맞춤교육" /></div> | |
| 26 | -</div> | |
| 27 | -</div> | |
| 28 | -</article> | |
| 29 | -<article class="common-column-layout flex-row"> | |
| 30 | -<div class="flex-col-3"> | |
| 31 | -<h3 class="content-main-title">추진전략 및 핵심과제</h3> | |
| 32 | -</div> | |
| 33 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 34 | -<div class="content-group"> | |
| 35 | -<h4 class="content-sub-title">4대 추진전략(4S Strategies)</h4> | |
| 36 | -<div class="contnet-desc"><img class="mt-20" src="../../../template/lms/imgs/page/special/img_02.jpg" alt="1.내실화(Strengthening):교원학생역량, 학사제도, 교육환경시설 / 2.표준화(Standardization): 표준교과과정, 표준공통교재, 평가인증시스템 / 3. 전문화(Specialization): 학문후속세대, 통번역전문인력, 기업실무인력 / 4.공유화(Sharing): 일반인 교육, Language-MOOC,국내외 네트워크" /></div> | |
| 37 | -</div> | |
| 38 | -</div> | |
| 39 | -</article> | |
| 40 | -<article class="common-column-layout flex-row"> | |
| 41 | -<div class="flex-col-3"> | |
| 42 | -<h3 class="content-main-title">사업기반</h3> | |
| 43 | -</div> | |
| 44 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 45 | -<div class="content-group"> | |
| 46 | -<h4 class="content-sub-title">45개 외국어 전공 기반 HUFS교육 인프라 및 전문성 + 타 전문 교육기관과의 협업</h4> | |
| 47 | -</div> | |
| 48 | -</div> | |
| 49 | -</article> | |
| 50 | -<article class="common-column-layout flex-row"> | |
| 51 | -<div class="flex-col-3"> | |
| 52 | -<h3 class="content-main-title">사업목표</h3> | |
| 53 | -</div> | |
| 54 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 55 | -<div class="content-group"> | |
| 56 | -<h4 class="content-sub-title">세부목적</h4> | |
| 57 | -<div class="contnet-desc"> | |
| 58 | -<h5 class="title icon-num">특수외국어 교육진흥을 위한 표준화 기반 학부교육 내실화 및 평가인증 공인화</h5> | |
| 59 | -<h5 class="title icon-num">사회수요기반 인력양성 및 활용 확대</h5> | |
| 60 | -<h5 class="title icon-num">특수외국어 교육 저변 확대 및 네트워크 구축</h5> | |
| 61 | -</div> | |
| 62 | -</div> | |
| 63 | -<div class="content-group"> | |
| 64 | -<h4 class="content-sub-title">우리대학 특수외국어 교육모델</h4> | |
| 65 | -<div class="contnet-desc"> | |
| 66 | -<h5 class="title icon-num">학문후속, 통번역 및 기업실무 등 다양한 수요 맞춤형 인재 양성을 위한 교육</h5> | |
| 67 | -<h5 class="title icon-num">특수외국어를 배우려는 일반인들에게 체계적이고 전문적인 교육과 학습 기회 제공</h5> | |
| 68 | -<h5 class="title icon-num">단계적 교육과정, 표준교재 개발 및 교과 개편을 통한 특수외국어 교육의 표준화</h5> | |
| 69 | -</div> | |
| 70 | -</div> | |
| 71 | -<div class="content-group"> | |
| 72 | -<h4 class="content-sub-title">세계 최고 수준의 특수외국어 교육·연수·평가 체계 구축</h4> | |
| 73 | -<!-- 테이블영역--> | |
| 74 | -<table class="common-table-wrap border-white size-sm"><colgroup> <col class="bg-deep-gray" /> <col class="bg-gray" style="width: 28.2%;" /> <col class="bg-gray" style="width: 28.2%;" /> <col class="bg-gray" style="width: 28.2%;" /> </colgroup> | |
| 75 | -<tbody> | |
| 76 | -<tr class="left-align "> | |
| 77 | -<th class="font-700 center-align" scope="row">사업영역</th> | |
| 78 | -<td>교육과정 및 평가인증</td> | |
| 79 | -<td>학문후속 및 통번역 인력 양성</td> | |
| 80 | -<td>네트워크 구축 및 교육 지원</td> | |
| 81 | -</tr> | |
| 82 | -<tr class="left-align "> | |
| 83 | -<th class="font-700 center-align" scope="row">세부목표</th> | |
| 84 | -<td class="vertical-top">특수외국어 교육 진흥 위한 교육 내실화 및 평가 공인화</td> | |
| 85 | -<td class="vertical-top">사회적 수요기반 인력양성 및 활용 확대</td> | |
| 86 | -<td class="vertical-top">특수외국어 교육 저변 확대 및 네트워크 활성화</td> | |
| 87 | -</tr> | |
| 88 | -<tr class="left-align "> | |
| 89 | -<th class="font-700 center-align" scope="row">중점과제</th> | |
| 90 | -<td>교육 및 평가 시스템 혁신</td> | |
| 91 | -<td>글로컬 전문 교육 시스템 구축</td> | |
| 92 | -<td>공유형 협력 플랫폼 구축</td> | |
| 93 | -</tr> | |
| 94 | -<tr class="left-align "> | |
| 95 | -<th class="font-700 center-align" scope="row">핵심사업</th> | |
| 96 | -<td class="wide-spacing vertical-top">- 세계적 수준의 인력풀 구축<br />- 선진형 학부교육 시스템 구축<br />- 스마트형 교육환경 구축<br />- 아시아언어 공통기준 개발<br />- CFLPT 개발 및 국가 공인화</td> | |
| 97 | -<td class="wide-spacing vertical-top">- 특수외국어 연구인력 양성<br />- 특수외국어 통번역 인력 양성<br />- 기업수요 맞춤형 실무인력 양성<br />- 인접어 연구 및 교육과정 신설</td> | |
| 98 | -<td class="wide-spacing vertical-top">- Language-MOOC 구축<br />- 특수외국어 스마트교육 거점화<br />- 특수외국어 교육 플랫폼 공유<br />- 청소년 대상 진로탐색 지원<br />- 특수외국어 연구 아젠다 선도</td> | |
| 99 | -</tr> | |
| 100 | -</tbody> | |
| 101 | -</table> | |
| 102 | -</div> | |
| 103 | -</div> | |
| 104 | -</article> | |
| 105 | -</div> | |
| 106 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000018.jsp
... | ... | @@ -1,139 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<h2 class="title center-align">5대 핵심사업</h2> | |
| 6 | -<p class="desc"><img class="mb-20" src="../../../template/lms/imgs/page/special/img_03.jpg" alt="1.특수외국어 표준화 위원회, 2.언어별 표준교육과정 및 교재개발 TF, 3.특수외국어 평가 및 인증 위원회, 4.언어별 교재개발 TF" /></p> | |
| 7 | -</div> | |
| 8 | -<article class="common-column-layout flex-row"> | |
| 9 | -<div class="flex-col-3"> | |
| 10 | -<h3 class="content-main-title">표준교육과정 개발</h3> | |
| 11 | -</div> | |
| 12 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 13 | -<div class="content-group"> | |
| 14 | -<h4 class="content-sub-title">세부목표</h4> | |
| 15 | -<div class="contnet-desc"> | |
| 16 | -<p class="desc">표준교육과정은 국민들에게 다양하고 전문적인 특수외국어 교육 기회의 제공과 특수외국어 전문 인재 양성이라는 목표를 달성하기 위한 교육 내실화의 기본 요건으로서, 교육과정의 표준화를 통해 특수외국어 교육의 체계화와 내실화를 도모하고자 합니다.</p> | |
| 17 | -</div> | |
| 18 | -</div> | |
| 19 | -<div class="content-group"> | |
| 20 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 21 | -<div class="contnet-desc"> | |
| 22 | -<h5 class="title icon-num">우리 대학 내 ‘특수외국어 표준화 위원회’ 설립</h5> | |
| 23 | -<p class="list">우리 대학 구성원뿐만 아니라 국내외 특수외국어 관련 전문가들과 언어별 TF 구성</p> | |
| 24 | -<p class="list">특수외국어 표준 교육과정을 토대로 단계별 교재 개발 및 평가인증체제 기반 마련</p> | |
| 25 | -<p class="list">범국가적 ‘아시아언어 공통기준’ 개발<br />(라틴문자에 기초한 유럽언어와 달리 고유문자를 가지고 있는 아시아 언어들에 대한 교육과정 표준화)</p> | |
| 26 | -<h5 class="title mt-20 icon-num">CEFR 체계를 참고, 언어별 특수외국어 6단계(A1, A2, B1, B2, C1, C2) 표준교육과정 3차 년도(2020년)까지 개발</h5> | |
| 27 | -<p class="list">언어별 개발목표의 현실화: 스와힐리어, 폴란드어, 헝가리어는 B2까지 개발하며, 이외 언어는 C2까지 개발</p> | |
| 28 | -<p class="list">단계별 어휘 및 can do list 작성</p> | |
| 29 | -<p class="list">A1과 A2에 해당되는 기초교육은 일반인과 대학교 1학년 학생 수준 고려하여 구체적 학습목표 제시</p> | |
| 30 | -<p class="list">개발된 표준교육과정에 근거하여 대학 내 개설된 교과 개편 또는 교과목 단계 구분 표기</p> | |
| 31 | -<p class="list">전문교육기관부터 표준교육과정 시범 적용 후 공유 및 확산</p> | |
| 32 | -</div> | |
| 33 | -</div> | |
| 34 | -</div> | |
| 35 | -</article> | |
| 36 | -<article class="common-column-layout flex-row"> | |
| 37 | -<div class="flex-col-3"> | |
| 38 | -<h3 class="content-main-title">표준 교재 개발</h3> | |
| 39 | -</div> | |
| 40 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 41 | -<div class="content-group"> | |
| 42 | -<h4 class="content-sub-title">세부목표</h4> | |
| 43 | -<div class="contnet-desc"> | |
| 44 | -<p class="desc">표준 교육과정의 내용을 바탕으로 한 기초 교재의 개발을 통해 특수외국어를 학습하는 전공 학생 뿐 아니라 일반인들도 표준화된 양질의 교육을 제공 받을 수 있는 기반을 마련하고자 합니다.</p> | |
| 45 | -</div> | |
| 46 | -</div> | |
| 47 | -<div class="content-group"> | |
| 48 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 49 | -<div class="contnet-desc"> | |
| 50 | -<h5 class="title icon-num">특수외국어 표준 교육과정을 바탕으로 한 표준 교재를 단계별(A1~C2)로 개발</h5> | |
| 51 | -<h5 class="title icon-num">기초교육 단계인 A1과 A2는 특수외국어 표준화 위원회에서 구상하여 언어별 TF 팀에서 공동개발</h5> | |
| 52 | -<h5 class="title icon-num">A1과 A2의 초급 교재는 App북으로 개발하여 일반에 공개</h5> | |
| 53 | -<h5 class="title icon-num">저변확대를 위하여 표준교육과정 및 교재와 연동한 K-MOOC 개발</h5> | |
| 54 | -<h5 class="title icon-num">B1과 B2의 중급단계 교재 또한 체계적인 학부생 양성을 위해 표준화된 교재 공동 개발</h5> | |
| 55 | -<h5 class="title icon-num">C1과 C2의 고급단계 교재는 전공언어별 자율성 및 학문적 특수성을 반영하여 개별 개발</h5> | |
| 56 | -</div> | |
| 57 | -</div> | |
| 58 | -</div> | |
| 59 | -</article> | |
| 60 | -<article class="common-column-layout flex-row"> | |
| 61 | -<div class="flex-col-3"> | |
| 62 | -<h3 class="content-main-title">표준평가문항 개발</h3> | |
| 63 | -</div> | |
| 64 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 65 | -<div class="content-group"> | |
| 66 | -<h4 class="content-sub-title">세부목표</h4> | |
| 67 | -<div class="contnet-desc"> | |
| 68 | -<p class="desc">현재 대학 내에서만 이루어지고 있는 특수외국어능력 평가시스템의 한계를 극복하고, 언어별로 수준의 차이없이 한국인 학습자에 최적화된 특수외국어평가시험 CFLPT(Critical Foreign Language Proficiency Test) 체제를 구축하는 것을 목표로 하고 있습니다.</p> | |
| 69 | -</div> | |
| 70 | -</div> | |
| 71 | -<div class="content-group"> | |
| 72 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 73 | -<div class="contnet-desc"> | |
| 74 | -<h5 class="title icon-num">CFLPT(Critical Foreign Language Proficiency Test) 평가인증체제 개발</h5> | |
| 75 | -<p class="list">특수외국어 평가·인증 위원회를 통한 평가유형 및 내용에 대한 세부 사항 개발</p> | |
| 76 | -<h5 class="title mt-20 icon-num">표준 교육과정 및 공통교재와 연계한 평가</h5> | |
| 77 | -<p class="list">단계별 학습목표에 따른 성취도를 측정할 수 있는 표준화된 평가체계 완성</p> | |
| 78 | -<p class="list">적절한 난이도 분석을 통해 표준교재를 활용한 개별 학습 및 K-MOOC 수강 후 해당 학습 등급의 시험 응시가 가능하도록 추진</p> | |
| 79 | -<h5 class="title mt-20 icon-num">타 대학 특수외국어 전문가 참여 공동 개발</h5> | |
| 80 | -<p class="list">언어권 해당국가의 공인인증 시험이 있는 경우 이를 고려하여 상호보완적 개발</p> | |
| 81 | -<p class="list">타 전문교육기관 특수외국어 전문가와 함께 공동 개발하고, 평가시스템은 우리 대학에 구축함</p> | |
| 82 | -<h5 class="title mt-20 icon-num">문제은행 개발 및 CFLPT 국가 공인화</h5> | |
| 83 | -<p class="list">평가인증체계의 공신력 확보를 위해 특수외국어 전문교육기관과 협의체를 구성하여 공동 개발함</p> | |
| 84 | -<p class="list">개발된 문항관리를 위한 시스템 구축</p> | |
| 85 | -<p class="list">각 단계별 평가는 읽기와 듣기 2개 영역 기준 총 50문항으로 1개 세트를 구성하는 것을 기준으로 하여 연간 10개 세트 이상의 문항 확보 </p> | |
| 86 | -<p class="list">언어의 특수성에 따라 언어마다 개발 시기 및 목표를 다르게 설정</p> | |
| 87 | -<p class="list">CFLPT 국가 공인화를 위해 지속적인 노력 병행</p> | |
| 88 | -</div> | |
| 89 | -</div> | |
| 90 | -</div> | |
| 91 | -</article> | |
| 92 | -<article class="common-column-layout flex-row"> | |
| 93 | -<div class="flex-col-3"> | |
| 94 | -<h3 class="content-main-title">사전개발</h3> | |
| 95 | -</div> | |
| 96 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 97 | -<div class="content-group"> | |
| 98 | -<h4 class="content-sub-title">세부목표</h4> | |
| 99 | -<div class="contnet-desc"> | |
| 100 | -<p class="desc">편의성과 효율성이 극대화된 자기주도적 학습을 위해 표준교재와 연계한 CFL 단계별 필수어휘 학습사전을 App으로 개발 제공하고, 동시에 개별 언어별 필요와 학문적 특수성을 고려한 특수목적사전을 개발하여 전공자들의 학습 효과를 제고하고자 합니다. </p> | |
| 101 | -</div> | |
| 102 | -</div> | |
| 103 | -<div class="content-group"> | |
| 104 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 105 | -<div class="contnet-desc"> | |
| 106 | -<h5 class="title icon-num">CFL 단계별 필수어휘 사전 공통 플랫폼 APP형태로 설계 개발하고 표준교재와 연동하여 자기주도적 학습 기회 제공</h5> | |
| 107 | -<h5 class="title icon-num">CFL 필수어휘사전의 경우 A1 ~ B2 단계를 우선 개발하며, 수요에 따라 2단계 사업에서는 C단계로 순차적으로 개발</h5> | |
| 108 | -<h5 class="title icon-num">1단계 사업기간 내 최소 5건의 특수목적사전 개발 추진</h5> | |
| 109 | -</div> | |
| 110 | -</div> | |
| 111 | -</div> | |
| 112 | -</article> | |
| 113 | -<article class="common-column-layout flex-row"> | |
| 114 | -<div class="flex-col-3"> | |
| 115 | -<h3 class="content-main-title">K-MOOC 개발</h3> | |
| 116 | -</div> | |
| 117 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 118 | -<div class="content-group"> | |
| 119 | -<h4 class="content-sub-title">세부목표</h4> | |
| 120 | -<div class="contnet-desc"> | |
| 121 | -<p class="desc">특수외국어 온라인 학습 과정을 K-MOOC으로 개발하여 제공함으로써 국민 누구나 쉽고 편하게 특수외국어를 학습할 수 있는 기회를 제공하고 전공 수업에의 활용을 통해 대학 수업의 혁신을 도모하고자 합니다.</p> | |
| 122 | -</div> | |
| 123 | -</div> | |
| 124 | -<div class="content-group"> | |
| 125 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 126 | -<div class="contnet-desc"> | |
| 127 | -<h5 class="title icon-num">온라인 교육 컨텐츠(Language MOOC) 개발</h5> | |
| 128 | -<p class="list">특수외국어 교육 아시아 거점화 및 우수 강의 공개 플랫폼 공유를 목표로 특수외국어교육관련 Language-MOOC 개발</p> | |
| 129 | -<p class="list">5개 권역별(유럽, 유라시아, 인도·아세안, 중동·아프리카, 중남미)로 각 1~2개, 최소 6개 이상의 콘텐츠 제작</p> | |
| 130 | -<p class="list">특수외국어 교육 저변 확대에 기여하기 위해 1년차에 먼저 ‘태국어(6주차)’개발 및 탑재를 하고 2년차부터 점진적으로 확대하여 1단계 사업 종료시 최소 6개 이상의 K-MOOC 개발</p> | |
| 131 | -<h5 class="title mt-20 icon-num">K-MOOC 탑재</h5> | |
| 132 | -<p class="list">1단계 기간 동안 6개 이상의 특수외국어 교육 MOOC 콘텐츠를 개발하여 K-MOOC에 탑재</p> | |
| 133 | -<p class="list">특수외국어교육진흥원 홈페이지에 병행 게재함으로써 우수 강의에 대한 접근성 제고</p> | |
| 134 | -</div> | |
| 135 | -</div> | |
| 136 | -</div> | |
| 137 | -</article> | |
| 138 | -</div> | |
| 139 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000018_PRE.jsp
... | ... | @@ -1,139 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<h2 class="title center-align">5대 핵심사업</h2> | |
| 6 | -<p class="desc"><img class="mb-20" src="../../../template/lms/imgs/page/special/img_03.jpg" alt="1.특수외국어 표준화 위원회, 2.언어별 표준교육과정 및 교재개발 TF, 3.특수외국어 평가 및 인증 위원회, 4.언어별 교재개발 TF" /></p> | |
| 7 | -</div> | |
| 8 | -<article class="common-column-layout flex-row"> | |
| 9 | -<div class="flex-col-3"> | |
| 10 | -<h3 class="content-main-title">표준교육과정 개발</h3> | |
| 11 | -</div> | |
| 12 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 13 | -<div class="content-group"> | |
| 14 | -<h4 class="content-sub-title">세부목표</h4> | |
| 15 | -<div class="contnet-desc"> | |
| 16 | -<p class="desc">표준교육과정은 국민들에게 다양하고 전문적인 특수외국어 교육 기회의 제공과 특수외국어 전문 인재 양성이라는 목표를 달성하기 위한 교육 내실화의 기본 요건으로서, 교육과정의 표준화를 통해 특수외국어 교육의 체계화와 내실화를 도모하고자 합니다.</p> | |
| 17 | -</div> | |
| 18 | -</div> | |
| 19 | -<div class="content-group"> | |
| 20 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 21 | -<div class="contnet-desc"> | |
| 22 | -<h5 class="title icon-num">우리 대학 내 ‘특수외국어 표준화 위원회’ 설립</h5> | |
| 23 | -<p class="list">우리 대학 구성원뿐만 아니라 국내외 특수외국어 관련 전문가들과 언어별 TF 구성</p> | |
| 24 | -<p class="list">특수외국어 표준 교육과정을 토대로 단계별 교재 개발 및 평가인증체제 기반 마련</p> | |
| 25 | -<p class="list">범국가적 ‘아시아언어 공통기준’ 개발<br />(라틴문자에 기초한 유럽언어와 달리 고유문자를 가지고 있는 아시아 언어들에 대한 교육과정 표준화)</p> | |
| 26 | -<h5 class="title mt-20 icon-num">CEFR 체계를 참고, 언어별 특수외국어 6단계(A1, A2, B1, B2, C1, C2) 표준교육과정 3차 년도(2020년)까지 개발</h5> | |
| 27 | -<p class="list">언어별 개발목표의 현실화: 스와힐리어, 폴란드어, 헝가리어는 B2까지 개발하며, 이외 언어는 C2까지 개발</p> | |
| 28 | -<p class="list">단계별 어휘 및 can do list 작성</p> | |
| 29 | -<p class="list">A1과 A2에 해당되는 기초교육은 일반인과 대학교 1학년 학생 수준 고려하여 구체적 학습목표 제시</p> | |
| 30 | -<p class="list">개발된 표준교육과정에 근거하여 대학 내 개설된 교과 개편 또는 교과목 단계 구분 표기</p> | |
| 31 | -<p class="list">전문교육기관부터 표준교육과정 시범 적용 후 공유 및 확산</p> | |
| 32 | -</div> | |
| 33 | -</div> | |
| 34 | -</div> | |
| 35 | -</article> | |
| 36 | -<article class="common-column-layout flex-row"> | |
| 37 | -<div class="flex-col-3"> | |
| 38 | -<h3 class="content-main-title">표준 교재 개발</h3> | |
| 39 | -</div> | |
| 40 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 41 | -<div class="content-group"> | |
| 42 | -<h4 class="content-sub-title">세부목표</h4> | |
| 43 | -<div class="contnet-desc"> | |
| 44 | -<p class="desc">표준 교육과정의 내용을 바탕으로 한 기초 교재의 개발을 통해 특수외국어를 학습하는 전공 학생 뿐 아니라 일반인들도 표준화된 양질의 교육을 제공 받을 수 있는 기반을 마련하고자 합니다.</p> | |
| 45 | -</div> | |
| 46 | -</div> | |
| 47 | -<div class="content-group"> | |
| 48 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 49 | -<div class="contnet-desc"> | |
| 50 | -<h5 class="title icon-num">특수외국어 표준 교육과정을 바탕으로 한 표준 교재를 단계별(A1~C2)로 개발</h5> | |
| 51 | -<h5 class="title icon-num">기초교육 단계인 A1과 A2는 특수외국어 표준화 위원회에서 구상하여 언어별 TF 팀에서 공동개발</h5> | |
| 52 | -<h5 class="title icon-num">A1과 A2의 초급 교재는 App북으로 개발하여 일반에 공개</h5> | |
| 53 | -<h5 class="title icon-num">저변확대를 위하여 표준교육과정 및 교재와 연동한 K-MOOC 개발</h5> | |
| 54 | -<h5 class="title icon-num">B1과 B2의 중급단계 교재 또한 체계적인 학부생 양성을 위해 표준화된 교재 공동 개발</h5> | |
| 55 | -<h5 class="title icon-num">C1과 C2의 고급단계 교재는 전공언어별 자율성 및 학문적 특수성을 반영하여 개별 개발</h5> | |
| 56 | -</div> | |
| 57 | -</div> | |
| 58 | -</div> | |
| 59 | -</article> | |
| 60 | -<article class="common-column-layout flex-row"> | |
| 61 | -<div class="flex-col-3"> | |
| 62 | -<h3 class="content-main-title">표준평가문항 개발</h3> | |
| 63 | -</div> | |
| 64 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 65 | -<div class="content-group"> | |
| 66 | -<h4 class="content-sub-title">세부목표</h4> | |
| 67 | -<div class="contnet-desc"> | |
| 68 | -<p class="desc">현재 대학 내에서만 이루어지고 있는 특수외국어능력 평가시스템의 한계를 극복하고, 언어별로 수준의 차이없이 한국인 학습자에 최적화된 특수외국어평가시험 CFLPT(Critical Foreign Language Proficiency Test) 체제를 구축하는 것을 목표로 하고 있습니다.</p> | |
| 69 | -</div> | |
| 70 | -</div> | |
| 71 | -<div class="content-group"> | |
| 72 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 73 | -<div class="contnet-desc"> | |
| 74 | -<h5 class="title icon-num">CFLPT(Critical Foreign Language Proficiency Test) 평가인증체제 개발</h5> | |
| 75 | -<p class="list">특수외국어 평가·인증 위원회를 통한 평가유형 및 내용에 대한 세부 사항 개발</p> | |
| 76 | -<h5 class="title mt-20 icon-num">표준 교육과정 및 공통교재와 연계한 평가</h5> | |
| 77 | -<p class="list">단계별 학습목표에 따른 성취도를 측정할 수 있는 표준화된 평가체계 완성</p> | |
| 78 | -<p class="list">적절한 난이도 분석을 통해 표준교재를 활용한 개별 학습 및 K-MOOC 수강 후 해당 학습 등급의 시험 응시가 가능하도록 추진</p> | |
| 79 | -<h5 class="title mt-20 icon-num">타 대학 특수외국어 전문가 참여 공동 개발</h5> | |
| 80 | -<p class="list">언어권 해당국가의 공인인증 시험이 있는 경우 이를 고려하여 상호보완적 개발</p> | |
| 81 | -<p class="list">타 전문교육기관 특수외국어 전문가와 함께 공동 개발하고, 평가시스템은 우리 대학에 구축함</p> | |
| 82 | -<h5 class="title mt-20 icon-num">문제은행 개발 및 CFLPT 국가 공인화</h5> | |
| 83 | -<p class="list">평가인증체계의 공신력 확보를 위해 특수외국어 전문교육기관과 협의체를 구성하여 공동 개발함</p> | |
| 84 | -<p class="list">개발된 문항관리를 위한 시스템 구축</p> | |
| 85 | -<p class="list">각 단계별 평가는 읽기와 듣기 2개 영역 기준 총 50문항으로 1개 세트를 구성하는 것을 기준으로 하여 연간 10개 세트 이상의 문항 확보 </p> | |
| 86 | -<p class="list">언어의 특수성에 따라 언어마다 개발 시기 및 목표를 다르게 설정</p> | |
| 87 | -<p class="list">CFLPT 국가 공인화를 위해 지속적인 노력 병행</p> | |
| 88 | -</div> | |
| 89 | -</div> | |
| 90 | -</div> | |
| 91 | -</article> | |
| 92 | -<article class="common-column-layout flex-row"> | |
| 93 | -<div class="flex-col-3"> | |
| 94 | -<h3 class="content-main-title">사전개발</h3> | |
| 95 | -</div> | |
| 96 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 97 | -<div class="content-group"> | |
| 98 | -<h4 class="content-sub-title">세부목표</h4> | |
| 99 | -<div class="contnet-desc"> | |
| 100 | -<p class="desc">편의성과 효율성이 극대화된 자기주도적 학습을 위해 표준교재와 연계한 CFL 단계별 필수어휘 학습사전을 App으로 개발 제공하고, 동시에 개별 언어별 필요와 학문적 특수성을 고려한 특수목적사전을 개발하여 전공자들의 학습 효과를 제고하고자 합니다. </p> | |
| 101 | -</div> | |
| 102 | -</div> | |
| 103 | -<div class="content-group"> | |
| 104 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 105 | -<div class="contnet-desc"> | |
| 106 | -<h5 class="title icon-num">CFL 단계별 필수어휘 사전 공통 플랫폼 APP형태로 설계 개발하고 표준교재와 연동하여 자기주도적 학습 기회 제공</h5> | |
| 107 | -<h5 class="title icon-num">CFL 필수어휘사전의 경우 A1 ~ B2 단계를 우선 개발하며, 수요에 따라 2단계 사업에서는 C단계로 순차적으로 개발</h5> | |
| 108 | -<h5 class="title icon-num">1단계 사업기간 내 최소 5건의 특수목적사전 개발 추진</h5> | |
| 109 | -</div> | |
| 110 | -</div> | |
| 111 | -</div> | |
| 112 | -</article> | |
| 113 | -<article class="common-column-layout flex-row"> | |
| 114 | -<div class="flex-col-3"> | |
| 115 | -<h3 class="content-main-title">K-MOOC 개발</h3> | |
| 116 | -</div> | |
| 117 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 118 | -<div class="content-group"> | |
| 119 | -<h4 class="content-sub-title">세부목표</h4> | |
| 120 | -<div class="contnet-desc"> | |
| 121 | -<p class="desc">특수외국어 온라인 학습 과정을 K-MOOC으로 개발하여 제공함으로써 국민 누구나 쉽고 편하게 특수외국어를 학습할 수 있는 기회를 제공하고 전공 수업에의 활용을 통해 대학 수업의 혁신을 도모하고자 합니다.</p> | |
| 122 | -</div> | |
| 123 | -</div> | |
| 124 | -<div class="content-group"> | |
| 125 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 126 | -<div class="contnet-desc"> | |
| 127 | -<h5 class="title icon-num">온라인 교육 컨텐츠(Language MOOC) 개발</h5> | |
| 128 | -<p class="list">특수외국어 교육 아시아 거점화 및 우수 강의 공개 플랫폼 공유를 목표로 특수외국어교육관련 Language-MOOC 개발</p> | |
| 129 | -<p class="list">5개 권역별(유럽, 유라시아, 인도·아세안, 중동·아프리카, 중남미)로 각 1~2개, 최소 6개 이상의 콘텐츠 제작</p> | |
| 130 | -<p class="list">특수외국어 교육 저변 확대에 기여하기 위해 1년차에 먼저 ‘태국어(6주차)’개발 및 탑재를 하고 2년차부터 점진적으로 확대하여 1단계 사업 종료시 최소 6개 이상의 K-MOOC 개발</p> | |
| 131 | -<h5 class="title mt-20 icon-num">K-MOOC 탑재</h5> | |
| 132 | -<p class="list">1단계 기간 동안 6개 이상의 특수외국어 교육 MOOC 콘텐츠를 개발하여 K-MOOC에 탑재</p> | |
| 133 | -<p class="list">특수외국어교육진흥원 홈페이지에 병행 게재함으로써 우수 강의에 대한 접근성 제고</p> | |
| 134 | -</div> | |
| 135 | -</div> | |
| 136 | -</div> | |
| 137 | -</article> | |
| 138 | -</div> | |
| 139 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000020.jsp
... | ... | @@ -1,98 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<h2 class="title center-align">언어별 주요사업</h2> | |
| 6 | -</div> | |
| 7 | -<article class="common-column-layout flex-row"> | |
| 8 | -<div class="flex-col-3"> | |
| 9 | -<h3 class="content-main-title">교과목 및 전공교재 개발</h3> | |
| 10 | -</div> | |
| 11 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 12 | -<div class="content-group"> | |
| 13 | -<h4 class="content-sub-title">세부목표</h4> | |
| 14 | -<div class="contnet-desc">사회적 수요에 부응하며 특수외국어 전문인력 양성을 위한 특화된 교과목 및 관련 교재를 개발하여 학부 교육 내실화에 기여하고 학생들의 언어역량을 강화하고자 합니다.</div> | |
| 15 | -</div> | |
| 16 | -<div class="content-group"> | |
| 17 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 18 | -<div class="contnet-desc"> | |
| 19 | -<h5 class="title icon-num">학문후속세대를 위한 전문 심화 언어교과목 개발</h5> | |
| 20 | -<h5 class="title icon-num">통번역전문가 양성을 위한 통번역 관련 교과목 신규 개설 및 확대</h5> | |
| 21 | -<h5 class="title icon-num">기업실무인재 양성을 위한 비즈니스 분야에 특화된 교과목 개설</h5> | |
| 22 | -<h5 class="title icon-num">인접어 관련 신규 교과목 개설 지원</h5> | |
| 23 | -</div> | |
| 24 | -</div> | |
| 25 | -</div> | |
| 26 | -</article> | |
| 27 | -<article class="common-column-layout flex-row"> | |
| 28 | -<div class="flex-col-3"> | |
| 29 | -<h3 class="content-main-title">교수법 개발</h3> | |
| 30 | -</div> | |
| 31 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 32 | -<div class="content-group"> | |
| 33 | -<h4 class="content-sub-title">세부목표</h4> | |
| 34 | -<div class="contnet-desc">효과적인 외국어교육 강의 전략과 강의의 질적 개선을 위한 다양한 교수법 개발 연구를 지원함으로써 교원의 전문 교육역량을 강화하고자 합니다.</div> | |
| 35 | -</div> | |
| 36 | -<div class="content-group"> | |
| 37 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 38 | -<div class="contnet-desc"> | |
| 39 | -<h5 class="title icon-num">특수외국어 수업 개선을 위한 교수법 및 교안 개발</h5> | |
| 40 | -<h5 class="title icon-num">기존 강좌 또는 신규개발 강좌에 적용</h5> | |
| 41 | -<h5 class="title icon-num">우수강의 교수법 및 노하우 공유 및 확산</h5> | |
| 42 | -</div> | |
| 43 | -</div> | |
| 44 | -</div> | |
| 45 | -</article> | |
| 46 | -<article class="common-column-layout flex-row"> | |
| 47 | -<div class="flex-col-3"> | |
| 48 | -<h3 class="content-main-title">전공역량강화사업</h3> | |
| 49 | -</div> | |
| 50 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 51 | -<div class="content-group"> | |
| 52 | -<h4 class="content-sub-title">세부목표</h4> | |
| 53 | -<div class="contnet-desc">특수외국어 전공자를 대상으로 다양한 전공연계프로그램을 제공함으로써 우수한 외국어 능력 및 해당 언어권에 대한 사회/문화적 감각과 소양을 갖춘 전문 인재로 키워 나가고자 합니다. </div> | |
| 54 | -</div> | |
| 55 | -<div class="content-group"> | |
| 56 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 57 | -<div class="contnet-desc"> | |
| 58 | -<h5 class="title icon-num">RC 기반 특수외국어방중집중이수과정</h5> | |
| 59 | -<p class="list">하계 및 동계 방학 기간을 이용, 우리 대학 글로벌 캠퍼스 기숙사 공간 활용한 RC 기반의 국내 어학연수과정 형태로 진행</p> | |
| 60 | -<p class="list">학과 수요에 따라 기초어학과정, 통번역실습과정, 비즈니스통번역과정 등 다양한 교과목 개설</p> | |
| 61 | -<p class="list">전공 학점 부여 및 필요시 이수 증명서 발급</p> | |
| 62 | -<h5 class="title icon-num">탄뎀(Tandem) 프로그램</h5> | |
| 63 | -<p class="list">외국인유학생-전공생, 전공생-비전공생 등 다양한 유형의 Peer-Tutoring 학습 모델 적용</p> | |
| 64 | -<p class="list">특수외국어 어학 능력 증진 및 상호문화 교류를 위한 다양한 활동 지원</p> | |
| 65 | -<p class="list">팀 단위 활동을 기반으로 하며 학기 단위 과제수행결과보고 제출</p> | |
| 66 | -<h5 class="title icon-num">전공교과 연계실습</h5> | |
| 67 | -<p class="list">정규 교과목과 연계한 추가 언어학습활동 및 실습 과정 운영</p> | |
| 68 | -<p class="list">정규 교과목 지도교수의 관리 하에 체험 활동을 통한 학습공동체 활동 형태로 진행</p> | |
| 69 | -<h5 class="title icon-num">기타 비교과 프로그램</h5> | |
| 70 | -<p class="list">이중전공생, 편입생, 군위탁생 및 학습부진 전공자를 대상으로 하는 방과 후 보충수업 진행</p> | |
| 71 | -<p class="list">특수외국어능력 제고를 위해 추진하는 전공학과별 다양한 사업 지원(말하기 대회, 워크숍, 원어연극 등 동아리 지원 외)</p> | |
| 72 | -</div> | |
| 73 | -</div> | |
| 74 | -</div> | |
| 75 | -</article> | |
| 76 | -<article class="common-column-layout flex-row"> | |
| 77 | -<div class="flex-col-3"> | |
| 78 | -<h3 class="content-main-title">특수외국어 오픈 강좌</h3> | |
| 79 | -</div> | |
| 80 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 81 | -<div class="content-group"> | |
| 82 | -<h4 class="content-sub-title">세부목표</h4> | |
| 83 | -<div class="contnet-desc">온 국민 대상 특수외국어 교육 기회 제공 및 특수외국어 교육의 저변 확대를 위해 기관/기업위탁과정을 포함한 다양한 특수외국어 교육과정을 제공합니다. </div> | |
| 84 | -</div> | |
| 85 | -<div class="content-group"> | |
| 86 | -<h4 class="content-sub-title">계획 및 추진방향</h4> | |
| 87 | -<div class="contnet-desc"> | |
| 88 | -<h5 class="title icon-num">기관/기업 위탁 특수외국어 교육과정</h5> | |
| 89 | -<p class="list">특수외국어 교육 수요가 있는 기관 및 기업 임직원 대상 특수외국어교육과정 개설 운영<br />기관의 교육수요에 맞춰 주중, 주말, 단기/중기/장기 등 다양한 형태의 수업 개설</p> | |
| 90 | -<h5 class="title icon-num">시민 강좌</h5> | |
| 91 | -<p class="list">우리 원 또는 특수외국어관련 전공학과 주도로 자체적으로 진행</p> | |
| 92 | -<p class="list">특수외국어 기초 어학 및 문화 등 다양한 주제의 교육과정 개설 운영</p> | |
| 93 | -</div> | |
| 94 | -</div> | |
| 95 | -</div> | |
| 96 | -</article> | |
| 97 | -</div> | |
| 98 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000022.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000024.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000026.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000028.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000030.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000031.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000034.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000172.jsp
... | ... | @@ -1,142 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="page-content-body"> | |
| 3 | - <article class="content-wrap"> | |
| 4 | - <div class="content-header"> | |
| 5 | - <div class="title-wrap"> | |
| 6 | - <div class="title">발급 부서</div> | |
| 7 | - </div> | |
| 8 | - </div> | |
| 9 | - <div class="content-body"> | |
| 10 | - <!-- 테이블영역--> | |
| 11 | - <table class="common-table-wrap size-sm"> | |
| 12 | - <thead> | |
| 13 | - <tr class='font-700 bg-gray'> | |
| 14 | - <th scope='col'>특수외국어교육진흥원</th> | |
| 15 | - </tr> | |
| 16 | - </thead> | |
| 17 | - <tbody> | |
| 18 | - <tr class=""> | |
| 19 | - <td class='line-height2'>Tel. 02-2173-2843~6<br>Fax. 02-2173-2847<br>Email. cfle@hufs.ac.kr</td> | |
| 20 | - </tr> | |
| 21 | - </tbody> | |
| 22 | - </table> | |
| 23 | - </div> | |
| 24 | - </article> | |
| 25 | - | |
| 26 | - <article class="content-wrap"> | |
| 27 | - <div class="content-header"> | |
| 28 | - <div class="title-wrap"> | |
| 29 | - <div class="title">증명서 종류</div> | |
| 30 | - </div> | |
| 31 | - </div> | |
| 32 | - <div class="content-body"> | |
| 33 | - <!-- 테이블영역--> | |
| 34 | - <table class="common-table-wrap size-sm"> | |
| 35 | - <colgroup> | |
| 36 | - <col style='width:50%'> | |
| 37 | - <col style='width:50%'> | |
| 38 | - <col style='width:50%'> | |
| 39 | - </colgroup> | |
| 40 | - <thead> | |
| 41 | - <tr class='font-700 bg-gray'> | |
| 42 | - <th scope='col'>증명 종류</th> | |
| 43 | - <th scope='col'>발급 대상</th> | |
| 44 | - <th scope='col'>비고</th> | |
| 45 | - </tr> | |
| 46 | - </thead> | |
| 47 | - <tbody> | |
| 48 | - <tr class=""> | |
| 49 | - <td>성적 증명서</td> | |
| 50 | - <td>해당 과정 성적을 취득한 자</td> | |
| 51 | - <td>국문 / 영문</td> | |
| 52 | - </tr> | |
| 53 | - <tr class=""> | |
| 54 | - <td>수료 증명서</td> | |
| 55 | - <td>해당 과정을 수료한 자</td> | |
| 56 | - <td>국문 / 영문</td> | |
| 57 | - </tr> | |
| 58 | - </tbody> | |
| 59 | - </table> | |
| 60 | - </div> | |
| 61 | - </article> | |
| 62 | - | |
| 63 | - <article class="content-wrap"> | |
| 64 | - <div class="content-header"> | |
| 65 | - <div class="title-wrap"> | |
| 66 | - <div class="title">교내 방문 신청</div> | |
| 67 | - <div class="desc-sm">1. 신청방법 국문/영문 증명서 신청서 작성 후 증명발급 담당자에게 제출</div> | |
| 68 | - <div class="desc-sm">2. 담당자가 증명서 신청서 접수 후 증명서 발급</div> | |
| 69 | - </div> | |
| 70 | - </div> | |
| 71 | - <div class="content-body"> | |
| 72 | - <!-- 테이블영역--> | |
| 73 | - <table class="common-table-wrap size-sm left-align"> | |
| 74 | - <colgroup> | |
| 75 | - <col class='bg-gray' style='width:20%'> | |
| 76 | - <col style='width:80%'> | |
| 77 | - </colgroup> | |
| 78 | - <tbody> | |
| 79 | - <tr class=""> | |
| 80 | - <td scope='row' class='font-700'>발급장소</td> | |
| 81 | - <td>서울 동대문구 이문로 107 한국외국어대학교 교수학습개발원 501-1호 (02450)</td> | |
| 82 | - </tr> | |
| 83 | - <tr class=""> | |
| 84 | - <td scope='row' class='font-700'>이용시간</td> | |
| 85 | - <td>10:00 ~ 18:00</td> | |
| 86 | - </tr> | |
| 87 | - <tr class=""> | |
| 88 | - <td scope='row' class='font-700'>유의사항</td> | |
| 89 | - <td>본인이 신청하는 경우 증명서 신청서와 함께 신분증 제출 ※ 신분증 : 주민등록증, 운전면허증, 공무원 증, 여권 등</td> | |
| 90 | - </tr> | |
| 91 | - </tbody> | |
| 92 | - </table> | |
| 93 | - </div> | |
| 94 | - </article> | |
| 95 | - | |
| 96 | - <article class="content-wrap"> | |
| 97 | - <div class="content-body"> | |
| 98 | - <div class="box-area bg-gray-light"> | |
| 99 | - <p class="desc"> | |
| 100 | - 증명서 신청서와 위임장 양식 다운로드를 받으실 수 있습니다.<br/> | |
| 101 | - 대리인이 신청하는 대상자의 신분증(사본도 가능), 위임장, 위임인의 신분증 제출이 필요합니다. | |
| 102 | - </p> | |
| 103 | - <div class="btn-wrap mt-25"> | |
| 104 | - <a href="#" class="btn-xl btn-outline">증명서 양식 다운로드</a> | |
| 105 | - <a href="#" class="btn-xl btn-outline">위임장 양식 다운로드</a> | |
| 106 | - </div> | |
| 107 | - </div> | |
| 108 | - </div> | |
| 109 | - </article> | |
| 110 | - | |
| 111 | - <article class="content-wrap"> | |
| 112 | - <div class="content-header"> | |
| 113 | - <div class="title-wrap"> | |
| 114 | - <div class="title">발급 문의 전화</div> | |
| 115 | - </div> | |
| 116 | - </div> | |
| 117 | - <div class="content-body"> | |
| 118 | - <!-- 테이블영역--> | |
| 119 | - <table class="common-table-wrap size-sm left-align"> | |
| 120 | - <colgroup> | |
| 121 | - <col class='bg-gray' style='width:20%'> | |
| 122 | - <col style='width:80%'> | |
| 123 | - </colgroup> | |
| 124 | - <tbody> | |
| 125 | - <tr class=""> | |
| 126 | - <td scope='row' class='font-700'>문의 전화</td> | |
| 127 | - <td>02-2173-2843 / 02-2173-2846</td> | |
| 128 | - </tr> | |
| 129 | - <tr class=""> | |
| 130 | - <td scope='row' class='font-700'>팩스</td> | |
| 131 | - <td>02-2173-2847</td> | |
| 132 | - </tr> | |
| 133 | - </tbody> | |
| 134 | - </table> | |
| 135 | - </div> | |
| 136 | - </article> | |
| 137 | - </section> | |
| 138 | - | |
| 139 | - </div> | |
| 140 | - </div> | |
| 141 | - </div> | |
| 142 | - </div>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000000174.jsp
... | ... | @@ -1,320 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> | |
| 2 | -<section class="section-gap special-common"> | |
| 3 | -<div class="area"> | |
| 4 | -<div class="page-common-title"> | |
| 5 | -<p class="desc"><img class="mb-20" src="../../../template/lms/imgs/page/special/img174_01.png" alt="" /></p> | |
| 6 | -</div> | |
| 7 | - | |
| 8 | -<article class="common-column-layout flex-row"> | |
| 9 | -<div class="flex-col-3"> | |
| 10 | -<h3 class="content-main-title">사업단 구성원</h3> | |
| 11 | -</div> | |
| 12 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 13 | -<div class="content-group"> | |
| 14 | -<div class="contnet-desc"> | |
| 15 | - <!-- 테이블영역--> | |
| 16 | - <table class="common-table-wrap border-white size-sm"> | |
| 17 | - <colgroup> | |
| 18 | - <col style="width: 7%;" /> | |
| 19 | - <col style="width: 33%;" /> | |
| 20 | - <col style="width: 12%;" /> | |
| 21 | - <col style="width: 12%;" /> | |
| 22 | - <col style="width: 36%;" /> | |
| 23 | - </colgroup> | |
| 24 | - <thead> | |
| 25 | - <tr> | |
| 26 | - <th class="font-700 bg-deep-gray">연번</th> | |
| 27 | - <th class="font-700 bg-deep-gray">소속</th> | |
| 28 | - <th class="font-700 bg-deep-gray">성명</th> | |
| 29 | - <th class="font-700 bg-deep-gray">직위(급)</th> | |
| 30 | - <th class="font-700 bg-deep-gray">담당업무</th> | |
| 31 | - </tr> | |
| 32 | - </thead> | |
| 33 | - <tbody> | |
| 34 | - <tr> | |
| 35 | - <td class="bg-gray">1</td> | |
| 36 | - <td class="bg-gray">특수외국어교육진흥원</td> | |
| 37 | - <td class="bg-gray">오종진</td> | |
| 38 | - <td class="bg-gray">원장</td> | |
| 39 | - <td class="bg-gray">특수외국어교육진흥 사업 총괄</td> | |
| 40 | - </tr> | |
| 41 | - <tr> | |
| 42 | - <td class="bg-gray">2</td> | |
| 43 | - <td class="bg-gray">특수외국어교육진흥원</td> | |
| 44 | - <td class="bg-gray">이지은</td> | |
| 45 | - <td class="bg-gray">부원장</td> | |
| 46 | - <td class="bg-gray">특수외국어교육진흥 사업 지원</td> | |
| 47 | - </tr> | |
| 48 | - <tr> | |
| 49 | - <td class="bg-gray">3</td> | |
| 50 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 51 | - <td class="bg-gray">남우영</td> | |
| 52 | - <td class="bg-gray">운영팀장</td> | |
| 53 | - <td class="bg-gray">특수외국어교육진흥 사업운영 총괄</td> | |
| 54 | - </tr> | |
| 55 | - <tr> | |
| 56 | - <td class="bg-gray">4</td> | |
| 57 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 58 | - <td class="bg-gray">이주은</td> | |
| 59 | - <td class="bg-gray">과장</td> | |
| 60 | - <td class="bg-gray">예산 실무 전담 및 사업실무</td> | |
| 61 | - </tr> | |
| 62 | - <tr> | |
| 63 | - <td class="bg-gray">5</td> | |
| 64 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 65 | - <td class="bg-gray">이양희</td> | |
| 66 | - <td class="bg-gray">연구원</td> | |
| 67 | - <td class="bg-gray">사업실무 및 연구관련 업무</td> | |
| 68 | - </tr> | |
| 69 | - <tr> | |
| 70 | - <td class="bg-gray">6</td> | |
| 71 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 72 | - <td class="bg-gray">이수진</td> | |
| 73 | - <td class="bg-gray">연구원</td> | |
| 74 | - <td class="bg-gray">사업실무 및 연구관련 업무</td> | |
| 75 | - </tr> | |
| 76 | - <tr> | |
| 77 | - <td class="bg-gray">7</td> | |
| 78 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 79 | - <td class="bg-gray">박민경</td> | |
| 80 | - <td class="bg-gray">담당</td> | |
| 81 | - <td class="bg-gray">학부교육 내실화 사업 등</td> | |
| 82 | - </tr> | |
| 83 | - <tr> | |
| 84 | - <td class="bg-gray">8</td> | |
| 85 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 86 | - <td class="bg-gray">안예솔</td> | |
| 87 | - <td class="bg-gray">담당</td> | |
| 88 | - <td class="bg-gray">일반인 대상 사업 등</td> | |
| 89 | - </tr> | |
| 90 | - </tbody> | |
| 91 | - </table> | |
| 92 | -</div> | |
| 93 | -</div> | |
| 94 | -</div> | |
| 95 | -</article> | |
| 96 | - | |
| 97 | -<article class="common-column-layout flex-row"> | |
| 98 | -<div class="flex-col-3"> | |
| 99 | -<h3 class="content-main-title">사업추진위원회</h3> | |
| 100 | -</div> | |
| 101 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 102 | -<div class="content-group"> | |
| 103 | -<div class="contnet-desc"> | |
| 104 | - <!-- 테이블영역--> | |
| 105 | - <table class="common-table-wrap border-white size-sm"> | |
| 106 | - <colgroup> | |
| 107 | - <col style="width: 7%;" /> | |
| 108 | - <col style="width: 12%;" /> | |
| 109 | - <col style="width: 12%;" /> | |
| 110 | - <col style="width: 33%;" /> | |
| 111 | - <col style="width: 36%;" /> | |
| 112 | - </colgroup> | |
| 113 | - <thead> | |
| 114 | - <tr> | |
| 115 | - <th class="font-700 bg-deep-gray">연번</th> | |
| 116 | - <th class="font-700 bg-deep-gray">직위(급)</th> | |
| 117 | - <th class="font-700 bg-deep-gray">성명</th> | |
| 118 | - <th class="font-700 bg-deep-gray">소속</th> | |
| 119 | - <th class="font-700 bg-deep-gray">담당업무</th> | |
| 120 | - </tr> | |
| 121 | - </thead> | |
| 122 | - <tbody> | |
| 123 | - <tr> | |
| 124 | - <td class="bg-gray">1</td> | |
| 125 | - <td class="bg-gray">위원장</td> | |
| 126 | - <td class="bg-gray">윤석만</td> | |
| 127 | - <td class="bg-gray">한국외대 프랑스어학부</td> | |
| 128 | - <td class="bg-gray">부총장</td> | |
| 129 | - </tr> | |
| 130 | - <tr> | |
| 131 | - <td class="bg-gray">2</td> | |
| 132 | - <td class="bg-gray">위원</td> | |
| 133 | - <td class="bg-gray">오종진</td> | |
| 134 | - <td class="bg-gray">한국외대 터키·아제르바이잔어과</td> | |
| 135 | - <td class="bg-gray">특수외국어교육진흥원장</td> | |
| 136 | - </tr> | |
| 137 | - <tr> | |
| 138 | - <td class="bg-gray">3</td> | |
| 139 | - <td class="bg-gray">위원</td> | |
| 140 | - <td class="bg-gray">이지은</td> | |
| 141 | - <td class="bg-gray">한국외대 중앙아시아학과</td> | |
| 142 | - <td class="bg-gray">특수외국어교육진흥원 부원장</td> | |
| 143 | - </tr> | |
| 144 | - <tr> | |
| 145 | - <td class="bg-gray">4</td> | |
| 146 | - <td class="bg-gray">위원</td> | |
| 147 | - <td class="bg-gray">이태욱</td> | |
| 148 | - <td class="bg-gray">한국외대 통계학과</td> | |
| 149 | - <td class="bg-gray">기획조정처장</td> | |
| 150 | - </tr> | |
| 151 | - <tr> | |
| 152 | - <td class="bg-gray">5</td> | |
| 153 | - <td class="bg-gray">위원</td> | |
| 154 | - <td class="bg-gray">조성은</td> | |
| 155 | - <td class="bg-gray">한국외대 EICC학과</td> | |
| 156 | - <td class="bg-gray">서울캠퍼스 교무처장</td> | |
| 157 | - </tr> | |
| 158 | - <tr> | |
| 159 | - <td class="bg-gray">6</td> | |
| 160 | - <td class="bg-gray">위원</td> | |
| 161 | - <td class="bg-gray">김용애</td> | |
| 162 | - <td class="bg-gray">한국외대 화학과</td> | |
| 163 | - <td class="bg-gray">글로벌캠퍼스 교무처장</td> | |
| 164 | - </tr> | |
| 165 | - <tr> | |
| 166 | - <td class="bg-gray">7</td> | |
| 167 | - <td class="bg-gray">위원</td> | |
| 168 | - <td class="bg-gray">양재완</td> | |
| 169 | - <td class="bg-gray">한국외대 경영학부</td> | |
| 170 | - <td class="bg-gray">입학처장</td> | |
| 171 | - </tr> | |
| 172 | - <tr> | |
| 173 | - <td class="bg-gray">8</td> | |
| 174 | - <td class="bg-gray">위원</td> | |
| 175 | - <td class="bg-gray">이기현</td> | |
| 176 | - <td class="bg-gray">한국외대 LD학부</td> | |
| 177 | - <td class="bg-gray">진로취업지원센터장(서울)</td> | |
| 178 | - </tr> | |
| 179 | - <tr> | |
| 180 | - <td class="bg-gray">9</td> | |
| 181 | - <td class="bg-gray">위원</td> | |
| 182 | - <td class="bg-gray">오세홍</td> | |
| 183 | - <td class="bg-gray">한국외대 바이오메디컬공학부</td> | |
| 184 | - <td class="bg-gray">진로취업지원센터장(글로벌)</td> | |
| 185 | - </tr> | |
| 186 | - <tr> | |
| 187 | - <td class="bg-gray">10</td> | |
| 188 | - <td class="bg-gray">위원</td> | |
| 189 | - <td class="bg-gray">김현정</td> | |
| 190 | - <td class="bg-gray">한국외대 TESOL대학원</td> | |
| 191 | - <td class="bg-gray">FLEX센터장</td> | |
| 192 | - </tr> | |
| 193 | - <tr> | |
| 194 | - <td class="bg-gray">11</td> | |
| 195 | - <td class="bg-gray">위원</td> | |
| 196 | - <td class="bg-gray">송준서</td> | |
| 197 | - <td class="bg-gray">한국외대 러시아 연구소</td> | |
| 198 | - <td class="bg-gray">교육선진화센터장</td> | |
| 199 | - </tr> | |
| 200 | - <tr> | |
| 201 | - <td class="bg-gray">12</td> | |
| 202 | - <td class="bg-gray">위원</td> | |
| 203 | - <td class="bg-gray">최권진</td> | |
| 204 | - <td class="bg-gray">인하대학교 국제학부</td> | |
| 205 | - <td class="bg-gray">교수</td> | |
| 206 | - </tr> | |
| 207 | - <tr> | |
| 208 | - <td class="bg-gray">13</td> | |
| 209 | - <td class="bg-gray">위원</td> | |
| 210 | - <td class="bg-gray">배주경</td> | |
| 211 | - <td class="bg-gray">한국교육과정평가원</td> | |
| 212 | - <td class="bg-gray">연구원</td> | |
| 213 | - </tr> | |
| 214 | - <tr> | |
| 215 | - <td class="bg-gray">14</td> | |
| 216 | - <td class="bg-gray">간사</td> | |
| 217 | - <td class="bg-gray">남우영</td> | |
| 218 | - <td class="bg-gray">특수외국어교육진흥원 운영팀</td> | |
| 219 | - <td class="bg-gray">팀장</td> | |
| 220 | - </tr> | |
| 221 | - </tbody> | |
| 222 | - </table> | |
| 223 | -</div> | |
| 224 | -</div> | |
| 225 | -</div> | |
| 226 | -</article> | |
| 227 | - | |
| 228 | -<article class="common-column-layout flex-row"> | |
| 229 | -<div class="flex-col-3"> | |
| 230 | -<h3 class="content-main-title">사업평가위원회</h3> | |
| 231 | -</div> | |
| 232 | -<div class="flex-col-9 pl-30 content-wrap"> | |
| 233 | -<div class="content-group"> | |
| 234 | -<div class="contnet-desc"> | |
| 235 | - <!-- 테이블영역--> | |
| 236 | - <table class="common-table-wrap border-white size-sm"> | |
| 237 | - <colgroup> | |
| 238 | - <col style="width: 7%;" /> | |
| 239 | - <col style="width: 15%;" /> | |
| 240 | - <col style="width: 15%;" /> | |
| 241 | - <col style="width: 33%;" /> | |
| 242 | - <col style="width: 15%;" /> | |
| 243 | - <col style="width: 15%;" /> | |
| 244 | - </colgroup> | |
| 245 | - <thead> | |
| 246 | - <tr> | |
| 247 | - <th class="font-700 bg-deep-gray">연번</th> | |
| 248 | - <th class="font-700 bg-deep-gray">구분</th> | |
| 249 | - <th class="font-700 bg-deep-gray">성명</th> | |
| 250 | - <th class="font-700 bg-deep-gray">소속</th> | |
| 251 | - <th class="font-700 bg-deep-gray">직위(급)</th> | |
| 252 | - <th class="font-700 bg-deep-gray">비고</th> | |
| 253 | - </tr> | |
| 254 | - </thead> | |
| 255 | - <tbody> | |
| 256 | - <tr> | |
| 257 | - <td class="bg-gray">1</td> | |
| 258 | - <td class="bg-gray">위원장</td> | |
| 259 | - <td class="bg-gray">김태성</td> | |
| 260 | - <td class="bg-gray">한국외대 중국언어문화학부</td> | |
| 261 | - <td class="bg-gray">교수</td> | |
| 262 | - <td class="bg-gray"></td> | |
| 263 | - </tr> | |
| 264 | - <tr> | |
| 265 | - <td class="bg-gray">2</td> | |
| 266 | - <td class="bg-gray">위원</td> | |
| 267 | - <td class="bg-gray">김옹운</td> | |
| 268 | - <td class="bg-gray">한국외대 프랑스학과</td> | |
| 269 | - <td class="bg-gray">교수</td> | |
| 270 | - <td class="bg-gray"></td> | |
| 271 | - </tr> | |
| 272 | - <tr> | |
| 273 | - <td class="bg-gray">3</td> | |
| 274 | - <td class="bg-gray">위원</td> | |
| 275 | - <td class="bg-gray">박정원</td> | |
| 276 | - <td class="bg-gray">한국외대 중국언어문화학부</td> | |
| 277 | - <td class="bg-gray">교수</td> | |
| 278 | - <td class="bg-gray"></td> | |
| 279 | - </tr> | |
| 280 | - <tr> | |
| 281 | - <td class="bg-gray">4</td> | |
| 282 | - <td class="bg-gray">위원</td> | |
| 283 | - <td class="bg-gray">박치완</td> | |
| 284 | - <td class="bg-gray">한국외대 철학과</td> | |
| 285 | - <td class="bg-gray">교수</td> | |
| 286 | - <td class="bg-gray"></td> | |
| 287 | - </tr> | |
| 288 | - <tr> | |
| 289 | - <td class="bg-gray">5</td> | |
| 290 | - <td class="bg-gray">위원</td> | |
| 291 | - <td class="bg-gray">조국현</td> | |
| 292 | - <td class="bg-gray">한국외대 독일어과</td> | |
| 293 | - <td class="bg-gray">교수</td> | |
| 294 | - <td class="bg-gray"></td> | |
| 295 | - </tr> | |
| 296 | - <tr> | |
| 297 | - <td class="bg-gray">6</td> | |
| 298 | - <td class="bg-gray">위원</td> | |
| 299 | - <td class="bg-gray">임두빈</td> | |
| 300 | - <td class="bg-gray">부산외대 중남미지역원</td> | |
| 301 | - <td class="bg-gray">교수</td> | |
| 302 | - <td class="bg-gray">외부</td> | |
| 303 | - </tr> | |
| 304 | - <tr> | |
| 305 | - <td class="bg-gray">7</td> | |
| 306 | - <td class="bg-gray">위원</td> | |
| 307 | - <td class="bg-gray">이도열</td> | |
| 308 | - <td class="bg-gray">(주)이니스프리 인도법인</td> | |
| 309 | - <td class="bg-gray">법인장</td> | |
| 310 | - <td class="bg-gray">외부</td> | |
| 311 | - </tr> | |
| 312 | - </tbody> | |
| 313 | - </table> | |
| 314 | -</div> | |
| 315 | -</div> | |
| 316 | -</div> | |
| 317 | -</article> | |
| 318 | - | |
| 319 | -</div> | |
| 320 | -</section>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000001994.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/MNU_0000000000001994_MBL.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/index_MBL_PRE.jsp
... | ... | @@ -1,1 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8"%> |
--- base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/index_PRE.jsp
... | ... | @@ -1,182 +0,0 @@ |
| 1 | -<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%> | |
| 2 | -<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%> | |
| 3 | -<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%> | |
| 4 | -<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%> | |
| 5 | -<%@ page import="egovframework.com.sec.ram.security.userdetails.util.EgovUserDetailsHelper"%> | |
| 6 | -<c:set var="USER_INFO" value="<%=EgovUserDetailsHelper.getAuthenticatedUser(request, response)%>"/> | |
| 7 | -<c:set var="_IMG" value="/template/web/smart_001/image"/> | |
| 8 | -<c:set var="_JS" value="/template/web/smart_001/js"/> | |
| 9 | -<c:set var="_C_JS" value="/template/common/js"/> | |
| 10 | -<c:import url="/msi/tmplatHead.do" charEncoding="utf-8"> | |
| 11 | - <c:param name="isMainSite">Y</c:param> | |
| 12 | - <c:param name="siteId" value="SITE_000000000000001"/> | |
| 13 | -</c:import> | |
| 14 | - | |
| 15 | -<c:set var="GROUP_TY" value="${param.searchGroupTy}"/>
| |
| 16 | -<c:if test="${not empty USER_INFO.id and !(empty GROUP_TY eq 'H' or GROUP_TY eq 'MY' or GROUP_TY eq 'A' or GROUP_TY eq 'AS' or USER_INFO.userTy eq 'M')}">
| |
| 17 | - <c:set var="GROUP_TY" value="${USER_INFO.userTy}"/>
| |
| 18 | -</c:if> | |
| 19 | -<c:if test="${GROUP_TY eq 'D'}"><c:set var="GROUP_TY" value="T"/></c:if>
| |
| 20 | -<c:if test="${GROUP_TY eq 'H'}"><c:set var="GROUP_TY" value=""/></c:if>
| |
| 21 | - | |
| 22 | -<c:choose> | |
| 23 | - <c:when test="${GROUP_TY eq 'S'}">
| |
| 24 | - <div id="main_content2"> | |
| 25 | - <p class="arrow_left"><a class="prev"><img src="${_IMG}/main/left_arrow.png" width="70" height="73" alt="PREVIOUS" style="cursor:pointer;" /></a></p>
| |
| 26 | -<hr /> | |
| 27 | - <div class="arrow_center"> | |
| 28 | - <div class="student_notice"> | |
| 29 | - | |
| 30 | - <div class="news_tab mt10" id="newsList2"> | |
| 31 | - <c:import url="/msi/ctn/mainBoardService.do" charEncoding="utf-8"> | |
| 32 | - <c:param name="tmplatCours" value="${_IMG}"/>
| |
| 33 | - <c:param name="linkMenuId" value="MNU_0000000000000222" /> | |
| 34 | - <c:param name="viewType" value="data" /> | |
| 35 | - <c:param name="tableId" value="BBSMSTR_000000000839" /> | |
| 36 | - <c:param name="itemCount" value="5" /> | |
| 37 | - <c:param name="cssSeqNum" value="2" /> | |
| 38 | - <c:param name="cssMoreSeqNum" value="" /> | |
| 39 | - </c:import> | |
| 40 | - </div> | |
| 41 | - <script type="text/javascript">initTabMenu("newsList2");</script>
| |
| 42 | - | |
| 43 | - </div> | |
| 44 | -<hr /> | |
| 45 | - <div class="student_icon"> | |
| 46 | - <p class="box_top"></p> | |
| 47 | - <!--아이콘모음 1페이지 시작--> | |
| 48 | - <div class="box"> | |
| 49 | - <c:import url="/msi/ctn/mpmService.do" charEncoding="utf-8"> | |
| 50 | - <c:param name="recordCountPerPage" value="12"/> | |
| 51 | - <c:param name="groupTy" value="${GROUP_TY}"/>
| |
| 52 | - </c:import> | |
| 53 | - </div> | |
| 54 | - <!--아이콘모음 1페이지 끝--> | |
| 55 | - </div> | |
| 56 | - </div> | |
| 57 | -<hr /> | |
| 58 | - <p class="arrow_right"><a class="next"><img src="${_IMG}/main/right_arrow.png" width="70" height="73" alt="NEXT" style="cursor:pointer;" /></a></p>
| |
| 59 | - </div> | |
| 60 | - | |
| 61 | - | |
| 62 | - </c:when> | |
| 63 | - <c:when test="${GROUP_TY eq 'P' or GROUP_TY eq 'T'}">
| |
| 64 | - <!-- main내용1 시작 --> | |
| 65 | - <div id="main_content3"> | |
| 66 | - <p class="arrow_left"><a class="prev"><img src="${_IMG}/main/left_arrow.png" width="70" height="73" alt="PREVIOUS" style="cursor:pointer;" /></a></p>
| |
| 67 | -<hr /> | |
| 68 | - <div class="arrow_center"> | |
| 69 | - <div class="parent_icon"> | |
| 70 | - <p class="box_top_p"></p> | |
| 71 | - <!--아이콘모음 1페이지 시작--> | |
| 72 | - <div class="box_p"> | |
| 73 | - <c:import url="/msi/ctn/mpmService.do" charEncoding="utf-8"> | |
| 74 | - <c:param name="recordCountPerPage" value="9"/> | |
| 75 | - <c:param name="groupTy" value="${GROUP_TY}"/>
| |
| 76 | - </c:import> | |
| 77 | - </div> | |
| 78 | - <!--아이콘모음 1페이지 끝--> | |
| 79 | - </div> | |
| 80 | -<hr /> | |
| 81 | - <div class="teacher_notice"> | |
| 82 | - | |
| 83 | - <div class="news_tab1 mt10" id="newsList3"> | |
| 84 | - <c:import url="/msi/ctn/mainBoardService.do" charEncoding="utf-8"> | |
| 85 | - <c:param name="tmplatCours" value="${_IMG}"/>
| |
| 86 | - <c:param name="linkMenuId" value="MNU_0000000000000222" /> | |
| 87 | - <c:param name="viewType" value="data" /> | |
| 88 | - <c:param name="tableId" value="BBSMSTR_000000000839" /> | |
| 89 | - <c:param name="itemCount" value="5" /> | |
| 90 | - <c:param name="cssSeqNum" value="3" /> | |
| 91 | - <c:param name="cssMoreSeqNum" value="1" /> | |
| 92 | - </c:import> | |
| 93 | - </div> | |
| 94 | - <script type="text/javascript">initTabMenu("newsList3");</script>
| |
| 95 | - | |
| 96 | - </div> | |
| 97 | - </div> | |
| 98 | - <p class="arrow_right"><a class="next"><img src="${_IMG}/main/right_arrow.png" width="70" height="73" alt="NEXT" style="cursor:pointer;" /></a></p>
| |
| 99 | - </div> | |
| 100 | - | |
| 101 | - </c:when> | |
| 102 | - <c:when test="${GROUP_TY eq 'A'}">
| |
| 103 | - <%/* | |
| 104 | - <div id="main_content6"> | |
| 105 | -<hr /> | |
| 106 | - <div class="arrow_center_noicon"> | |
| 107 | - <p class="ammmenu_top"></p> | |
| 108 | - <div class="ammmenu_center"> | |
| 109 | - | |
| 110 | - <div class="box_h"> | |
| 111 | - <c:import url="/msi/ctn/mpmService.do" charEncoding="utf-8"> | |
| 112 | - <c:param name="recordCountPerPage" value="18"/> | |
| 113 | - <c:param name="groupTy" value="${GROUP_TY}"/>
| |
| 114 | - </c:import> | |
| 115 | - </div> | |
| 116 | - </div> | |
| 117 | - <p class="ammmenu_bottom"></p> | |
| 118 | - </div> | |
| 119 | -<hr /> | |
| 120 | - </div> | |
| 121 | - */%> | |
| 122 | - </c:when> | |
| 123 | - <c:when test="${empty GROUP_TY or GROUP_TY eq 'MY'}">
| |
| 124 | - <div id="main_content1"> | |
| 125 | - <p class="arrow_left"><a class="prev"><img src="${_IMG}/main/left_arrow.png" width="70" height="73" alt="PREVIOUS" style="cursor:pointer;" /></a></p>
| |
| 126 | -<hr /> | |
| 127 | - <div class="arrow_center"> | |
| 128 | - <hr /> | |
| 129 | - <div class="home_icon"> | |
| 130 | - <p class="box_top_h"></p> | |
| 131 | - <!--아이콘모음 1페이지 시작--> | |
| 132 | - <div class="box_h"> | |
| 133 | - <c:import url="/msi/ctn/mpmService.do" charEncoding="utf-8"> | |
| 134 | - <c:param name="recordCountPerPage" value="18"/> | |
| 135 | - <c:param name="groupTy" value="${GROUP_TY}"/>
| |
| 136 | - </c:import> | |
| 137 | - </div> | |
| 138 | - <!--아이콘모음 1페이지 끝--> | |
| 139 | - </div> | |
| 140 | - </div> | |
| 141 | -<hr /> | |
| 142 | - <p class="arrow_right"><a class="next"><img src="${_IMG}/main/right_arrow.png" width="70" height="73" alt="NEXT" style="cursor:pointer;" /></a></p>
| |
| 143 | - </div> | |
| 144 | - | |
| 145 | - </c:when> | |
| 146 | -</c:choose> | |
| 147 | - | |
| 148 | - | |
| 149 | -<script type="text/javascript"> | |
| 150 | - <c:if test="${fn:length(popupMainLIst) ne 0}">
| |
| 151 | - if(fnGetCookiePopup('mainPopupList') == null ) {
| |
| 152 | - var openWindows = window.open("<c:url value="/uss/ion/pwm/popupMainList.do"/>","mainPopupList","width=418,height=300,top=0,left=0,toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=no");
| |
| 153 | - if (openWindows.focus) {openWindows.focus();}
| |
| 154 | - } | |
| 155 | - </c:if> | |
| 156 | - | |
| 157 | - <c:forEach items="${popupList}" var="resultInfo" varStatus="status">
| |
| 158 | - if(fnGetCookiePopup('${resultInfo.popupId}') == null ){
| |
| 159 | - fn_egov_popupOpen_PopupManage('${resultInfo.popupId}',
| |
| 160 | - '${resultInfo.fileUrl}',
| |
| 161 | - '${resultInfo.popupWsize}',
| |
| 162 | - '${resultInfo.popupHsize}',
| |
| 163 | - '${resultInfo.popupHlc}',
| |
| 164 | - '${resultInfo.popupWlc}',
| |
| 165 | - '${resultInfo.stopVewAt}');
| |
| 166 | - } | |
| 167 | - </c:forEach> | |
| 168 | - | |
| 169 | - var schdulPopWindows = null; | |
| 170 | - <c:forEach items="${schdulPopupList}" var="resultInfo" varStatus="status">
| |
| 171 | - if(fnGetCookiePopup('${resultInfo.schdulId}') == null ){
| |
| 172 | - schdulPopWindows = window.open("<c:url value="/evt/selectComtnschdulinfoPop.do"/>?schdulId=${resultInfo.schdulId}","${resultInfo.schdulId}","width=450,height=300,top=0,left=0,toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=no");
| |
| 173 | - if (schdulPopWindows.focus) {schdulPopWindows.focus();}
| |
| 174 | - } | |
| 175 | - </c:forEach> | |
| 176 | -</script> | |
| 177 | - | |
| 178 | - | |
| 179 | -<c:import url="/msi/tmplatBottom.do" charEncoding="utf-8"> | |
| 180 | - <c:param name="isMainSite">Y</c:param> | |
| 181 | - <c:param name="siteId" value="SITE_000000000000001"/> | |
| 182 | -</c:import>(파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/WEB-INF/jsp/egovframework/str/mnu/SITE_000000000000001/marktPolicy.jsp
... | ... | @@ -0,0 +1,2 @@ |
| 1 | +<%@ page language="java" contentType="text/html; charset=UTF-8" pageEncoding="UTF-8" %> | |
| 2 | +<p>성진아 한 방에 가즈아~</p>(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/resources/template/common/js/board.js
+++ base/src/main/webapp/resources/common/js/board.js
... | ... | @@ -1,220 +1,220 @@ |
| 1 |
- |
|
| 2 |
-ctgryObj = function(upperCtgryId, ctgryId, ctgryNm, ctgryLevel) {
|
|
| 3 |
- this.upperCtgryId = upperCtgryId; |
|
| 4 |
- this.ctgryId = ctgryId; |
|
| 5 |
- this.ctgryNm = ctgryNm; |
|
| 6 |
- this.ctgryLevel= ctgryLevel; |
|
| 7 |
-} |
|
| 8 |
- |
|
| 9 |
-function fnFindctgryObj(ctgryId) {
|
|
| 10 |
- for(var i = 0 ; i < boardCateList.length ; i++){
|
|
| 11 |
- var cate = boardCateList[i]; |
|
| 12 |
- if(cate.ctgryId == ctgryId) {
|
|
| 13 |
- return cate; |
|
| 14 |
- } |
|
| 15 |
- } |
|
| 16 |
- |
|
| 17 |
- return null; |
|
| 18 |
-} |
|
| 19 |
- |
|
| 20 |
-function fnCtgryChange(ctgryLevel) {
|
|
| 21 |
- var actObj = document.getElementById("ctgry" + ctgryLevel);
|
|
| 22 |
- var targetObj = document.getElementById("ctgry" + (ctgryLevel + 1));
|
|
| 23 |
- if(targetObj != null) {
|
|
| 24 |
- for(var cmIdx = ctgryLevel + 1 ; cmIdx <= boardCateLevel ; cmIdx++){
|
|
| 25 |
- var cmObj = document.getElementById("ctgry" + cmIdx);
|
|
| 26 |
- if(cmObj != null) {
|
|
| 27 |
- for(var i = cmObj.length - 1 ; i > 0 ; i--){
|
|
| 28 |
- cmObj.options.remove(i); |
|
| 29 |
- } |
|
| 30 |
- } |
|
| 31 |
- } |
|
| 32 |
- |
|
| 33 |
- var currVal = actObj.options[actObj.selectedIndex].value; |
|
| 34 |
- var currCtgryObj = fnFindctgryObj(currVal); |
|
| 35 |
- if(currCtgryObj != null) {
|
|
| 36 |
- var pos = 1; |
|
| 37 |
- for(var i = 0 ; i < boardCateList.length ; i++){
|
|
| 38 |
- var cate = boardCateList[i]; |
|
| 39 |
- if(cate.upperCtgryId == currCtgryObj.ctgryId && cate.ctgryLevel == ctgryLevel + 1) {
|
|
| 40 |
- targetObj.options[pos] = new Option(cate.ctgryNm, cate.ctgryId); |
|
| 41 |
- pos++; |
|
| 42 |
- } |
|
| 43 |
- } |
|
| 44 |
- } |
|
| 45 |
- } |
|
| 46 |
-} |
|
| 47 |
- |
|
| 48 |
-function fnCtgryInit(searchCateList) {
|
|
| 49 |
- var arr = searchCateList.replace('[','').replace(']','').split(",");
|
|
| 50 |
- for(var i = 0; i < arr.length; i++) {
|
|
| 51 |
- if(arr[i].trim() != '') {
|
|
| 52 |
- var cmObj = document.getElementById("ctgry" + (i+1));
|
|
| 53 |
- if(cmObj != null) {
|
|
| 54 |
- for(var y = 0; y < cmObj.length; y++){
|
|
| 55 |
- if(cmObj[y].value == arr[i].trim()) {
|
|
| 56 |
- cmObj[y].selected = true; |
|
| 57 |
- fnCtgryChange(i+1); |
|
| 58 |
- break; |
|
| 59 |
- } |
|
| 60 |
- } |
|
| 61 |
- } |
|
| 62 |
- } |
|
| 63 |
- } |
|
| 64 |
-} |
|
| 65 |
- |
|
| 66 |
- |
|
| 67 |
-String.prototype.trim = function(){
|
|
| 68 |
- return this.replace(/^\s+|\s+$/g, ""); |
|
| 69 |
-} |
|
| 70 |
- |
|
| 71 |
-function fn_egov_SelectBoxValue(sbName) |
|
| 72 |
-{
|
|
| 73 |
- var FValue = ""; |
|
| 74 |
- for(var i=0; i < document.getElementById(sbName).length; i++) |
|
| 75 |
- {
|
|
| 76 |
- if(document.getElementById(sbName).options[i].selected == true){
|
|
| 77 |
- |
|
| 78 |
- FValue=document.getElementById(sbName).options[i].value; |
|
| 79 |
- } |
|
| 80 |
- } |
|
| 81 |
- |
|
| 82 |
- return FValue; |
|
| 83 |
-} |
|
| 84 |
- |
|
| 85 |
-function fn_egov_bbs_basic_regist(frm) {
|
|
| 86 |
- |
|
| 87 |
- return validateBoard(frm); |
|
| 88 |
-} |
|
| 89 |
- |
|
| 90 |
- |
|
| 91 |
-function fn_egov_bbs_editor(adfile_config) {
|
|
| 92 |
- var editorOption = {
|
|
| 93 |
- selector: '#' + adfile_config.editorId, |
|
| 94 |
- language : 'ko_KR', |
|
| 95 |
- //height: 500, |
|
| 96 |
- menubar: false, |
|
| 97 |
- statusbar: false, |
|
| 98 |
- relative_urls : false, |
|
| 99 |
- plugins: [ |
|
| 100 |
- 'advlist autolink lists link image charmap print preview anchor textcolor', |
|
| 101 |
- 'searchreplace visualblocks code fullscreen', |
|
| 102 |
- 'insertdatetime media table contextmenu paste code help wordcount' |
|
| 103 |
- ], |
|
| 104 |
- toolbar1: '', |
|
| 105 |
- toolbar2: 'fullscreen | undo redo | fontselect fontsizeselect bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent', |
|
| 106 |
- content_css: [ |
|
| 107 |
- '/template/lms/font/font.css' |
|
| 108 |
- , '/template/lms/css/common/base.css' |
|
| 109 |
- ] |
|
| 110 |
- , setup: function (editor) {
|
|
| 111 |
- editor.addButton('ImageButton', {
|
|
| 112 |
- text: '이미지', |
|
| 113 |
- icon: 'image', |
|
| 114 |
- tooltip: "이미지 추가", |
|
| 115 |
- onclick: function () {
|
|
| 116 |
- var uploader = $('.fileupload.' + adfile_config.editorId);
|
|
| 117 |
- uploadInit(uploader, adfile_config, 'Image'); |
|
| 118 |
- } |
|
| 119 |
- }); |
|
| 120 |
- /* |
|
| 121 |
- editor.addButton('VideoButton', {
|
|
| 122 |
- text: '동영상', |
|
| 123 |
- icon: 'media', |
|
| 124 |
- tooltip: "동영상 추가", |
|
| 125 |
- onclick: function () {
|
|
| 126 |
- var uploader = $('.fileupload.' + adfile_config.editorId);
|
|
| 127 |
- uploadInit(uploader, adfile_config, 'Video'); |
|
| 128 |
- } |
|
| 129 |
- }); |
|
| 130 |
- */ |
|
| 131 |
- } |
|
| 132 |
- }; |
|
| 133 |
- |
|
| 134 |
- |
|
| 135 |
- |
|
| 136 |
- |
|
| 137 |
- if(adfile_config.fileAtchPosblAt == 'Y') {
|
|
| 138 |
- editorOption.toolbar1 = 'ImageButton | VideoButton' |
|
| 139 |
- |
|
| 140 |
- $('#btnAddFile_' + adfile_config.editorId).show();
|
|
| 141 |
- |
|
| 142 |
- fn_egov_file_clean_action(adfile_config.editorId); |
|
| 143 |
- if(adfile_config.atchFileId == '') {
|
|
| 144 |
- adfile_config.atchFileId = getAtchFileId(); |
|
| 145 |
- } |
|
| 146 |
- |
|
| 147 |
- |
|
| 148 |
- $('.file_btn').click(function() {
|
|
| 149 |
- |
|
| 150 |
- var uploader = $('.fileupload.' + adfile_config.editorId);
|
|
| 151 |
- uploadInit(uploader, adfile_config, 'All'); |
|
| 152 |
- |
|
| 153 |
- return false; |
|
| 154 |
- }); |
|
| 155 |
- } |
|
| 156 |
- |
|
| 157 |
- tinymce.init(editorOption); |
|
| 158 |
- |
|
| 159 |
- $('#nttSj').focus();
|
|
| 160 |
-} |
|
| 161 |
- |
|
| 162 |
-$(document).ready(function(){
|
|
| 163 |
- var view_cont_restrict_length = $('.view_cont').width();
|
|
| 164 |
- $('.view_cont img').each(function(index) {
|
|
| 165 |
- |
|
| 166 |
- var isResize = false; |
|
| 167 |
- if($(this).attr("width") && $(this).attr("height")) {
|
|
| 168 |
- var ratio = $(this).attr("width") / $(this).attr("height"); // 비율
|
|
| 169 |
- |
|
| 170 |
- if($(this).attr("width") > view_cont_restrict_length) {
|
|
| 171 |
- var newheight = Math.round(view_cont_restrict_length / ratio); |
|
| 172 |
- $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정
|
|
| 173 |
- isResize = true; |
|
| 174 |
- } |
|
| 175 |
- } else {
|
|
| 176 |
- var img = new Image(); |
|
| 177 |
- img.src = $(this).attr("src");
|
|
| 178 |
- var ratio = img.width / img.height; // 비율 |
|
| 179 |
- |
|
| 180 |
- if(img.width > view_cont_restrict_length) {
|
|
| 181 |
- var newheight = Math.round(view_cont_restrict_length / ratio); |
|
| 182 |
- $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정
|
|
| 183 |
- isResize = true; |
|
| 184 |
- } |
|
| 185 |
- } |
|
| 186 |
- |
|
| 187 |
- if(isResize) {
|
|
| 188 |
- //$(this).css("cursor","pointer").click(function () {
|
|
| 189 |
- $(this).click(function () {
|
|
| 190 |
- //fnOriginImagePreview($(this).attr("src"));
|
|
| 191 |
- location.href = $(this).attr("src");
|
|
| 192 |
- }).attr("title", "원본보기");
|
|
| 193 |
- } |
|
| 194 |
- }); |
|
| 195 |
-}); |
|
| 196 |
- |
|
| 197 |
-function fnOriginImagePreview(url) {
|
|
| 198 |
- var URL = ''; |
|
| 199 |
- var winNM = 'Preview'; |
|
| 200 |
- var OPT = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + $(window).width() + ',height=' + $(window).height(); |
|
| 201 |
- var imgwin = window.open(URL,winNM,OPT); |
|
| 202 |
- |
|
| 203 |
- var what = url; |
|
| 204 |
- imgwin.focus(); |
|
| 205 |
- |
|
| 206 |
- imgwin.document.open(); |
|
| 207 |
- |
|
| 208 |
- //imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n");
|
|
| 209 |
- imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n");
|
|
| 210 |
- |
|
| 211 |
- imgwin.document.write("<title>원본보기</title>\n"); // 새창으로 페이지 제목
|
|
| 212 |
- |
|
| 213 |
- imgwin.document.write("</head><body style='margin:0px;padding:0px'>\n");
|
|
| 214 |
- |
|
| 215 |
- imgwin.document.write("<a href='#'><img border=0 src="+what+" alt='이미지를 클릭하시면 창이 닫힙니다.' title='이미지를 클릭하시면 창이 닫힙니다.' onclick='javascript:window.close()' /></a>\n");
|
|
| 216 |
- |
|
| 217 |
- imgwin.document.write("</body></html>\n");
|
|
| 218 |
- |
|
| 219 |
- imgwin.document.close(); |
|
| 1 |
+ |
|
| 2 |
+ctgryObj = function(upperCtgryId, ctgryId, ctgryNm, ctgryLevel) {
|
|
| 3 |
+ this.upperCtgryId = upperCtgryId; |
|
| 4 |
+ this.ctgryId = ctgryId; |
|
| 5 |
+ this.ctgryNm = ctgryNm; |
|
| 6 |
+ this.ctgryLevel= ctgryLevel; |
|
| 7 |
+} |
|
| 8 |
+ |
|
| 9 |
+function fnFindctgryObj(ctgryId) {
|
|
| 10 |
+ for(var i = 0 ; i < boardCateList.length ; i++){
|
|
| 11 |
+ var cate = boardCateList[i]; |
|
| 12 |
+ if(cate.ctgryId == ctgryId) {
|
|
| 13 |
+ return cate; |
|
| 14 |
+ } |
|
| 15 |
+ } |
|
| 16 |
+ |
|
| 17 |
+ return null; |
|
| 18 |
+} |
|
| 19 |
+ |
|
| 20 |
+function fnCtgryChange(ctgryLevel) {
|
|
| 21 |
+ var actObj = document.getElementById("ctgry" + ctgryLevel);
|
|
| 22 |
+ var targetObj = document.getElementById("ctgry" + (ctgryLevel + 1));
|
|
| 23 |
+ if(targetObj != null) {
|
|
| 24 |
+ for(var cmIdx = ctgryLevel + 1 ; cmIdx <= boardCateLevel ; cmIdx++){
|
|
| 25 |
+ var cmObj = document.getElementById("ctgry" + cmIdx);
|
|
| 26 |
+ if(cmObj != null) {
|
|
| 27 |
+ for(var i = cmObj.length - 1 ; i > 0 ; i--){
|
|
| 28 |
+ cmObj.options.remove(i); |
|
| 29 |
+ } |
|
| 30 |
+ } |
|
| 31 |
+ } |
|
| 32 |
+ |
|
| 33 |
+ var currVal = actObj.options[actObj.selectedIndex].value; |
|
| 34 |
+ var currCtgryObj = fnFindctgryObj(currVal); |
|
| 35 |
+ if(currCtgryObj != null) {
|
|
| 36 |
+ var pos = 1; |
|
| 37 |
+ for(var i = 0 ; i < boardCateList.length ; i++){
|
|
| 38 |
+ var cate = boardCateList[i]; |
|
| 39 |
+ if(cate.upperCtgryId == currCtgryObj.ctgryId && cate.ctgryLevel == ctgryLevel + 1) {
|
|
| 40 |
+ targetObj.options[pos] = new Option(cate.ctgryNm, cate.ctgryId); |
|
| 41 |
+ pos++; |
|
| 42 |
+ } |
|
| 43 |
+ } |
|
| 44 |
+ } |
|
| 45 |
+ } |
|
| 46 |
+} |
|
| 47 |
+ |
|
| 48 |
+function fnCtgryInit(searchCateList) {
|
|
| 49 |
+ var arr = searchCateList.replace('[','').replace(']','').split(",");
|
|
| 50 |
+ for(var i = 0; i < arr.length; i++) {
|
|
| 51 |
+ if(arr[i].trim() != '') {
|
|
| 52 |
+ var cmObj = document.getElementById("ctgry" + (i+1));
|
|
| 53 |
+ if(cmObj != null) {
|
|
| 54 |
+ for(var y = 0; y < cmObj.length; y++){
|
|
| 55 |
+ if(cmObj[y].value == arr[i].trim()) {
|
|
| 56 |
+ cmObj[y].selected = true; |
|
| 57 |
+ fnCtgryChange(i+1); |
|
| 58 |
+ break; |
|
| 59 |
+ } |
|
| 60 |
+ } |
|
| 61 |
+ } |
|
| 62 |
+ } |
|
| 63 |
+ } |
|
| 64 |
+} |
|
| 65 |
+ |
|
| 66 |
+ |
|
| 67 |
+String.prototype.trim = function(){
|
|
| 68 |
+ return this.replace(/^\s+|\s+$/g, ""); |
|
| 69 |
+} |
|
| 70 |
+ |
|
| 71 |
+function fn_egov_SelectBoxValue(sbName) |
|
| 72 |
+{
|
|
| 73 |
+ var FValue = ""; |
|
| 74 |
+ for(var i=0; i < document.getElementById(sbName).length; i++) |
|
| 75 |
+ {
|
|
| 76 |
+ if(document.getElementById(sbName).options[i].selected == true){
|
|
| 77 |
+ |
|
| 78 |
+ FValue=document.getElementById(sbName).options[i].value; |
|
| 79 |
+ } |
|
| 80 |
+ } |
|
| 81 |
+ |
|
| 82 |
+ return FValue; |
|
| 83 |
+} |
|
| 84 |
+ |
|
| 85 |
+function fn_egov_bbs_basic_regist(frm) {
|
|
| 86 |
+ |
|
| 87 |
+ return validateBoard(frm); |
|
| 88 |
+} |
|
| 89 |
+ |
|
| 90 |
+ |
|
| 91 |
+function fn_egov_bbs_editor(adfile_config) {
|
|
| 92 |
+ var editorOption = {
|
|
| 93 |
+ selector: '#' + adfile_config.editorId, |
|
| 94 |
+ language : 'ko_KR', |
|
| 95 |
+ //height: 500, |
|
| 96 |
+ menubar: false, |
|
| 97 |
+ statusbar: false, |
|
| 98 |
+ relative_urls : false, |
|
| 99 |
+ plugins: [ |
|
| 100 |
+ 'advlist autolink lists link image charmap print preview anchor textcolor', |
|
| 101 |
+ 'searchreplace visualblocks code fullscreen', |
|
| 102 |
+ 'insertdatetime media table contextmenu paste code help wordcount' |
|
| 103 |
+ ], |
|
| 104 |
+ toolbar1: '', |
|
| 105 |
+ toolbar2: 'fullscreen | undo redo | fontselect fontsizeselect bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent', |
|
| 106 |
+ content_css: [ |
|
| 107 |
+ '/template/lms/font/font.css' |
|
| 108 |
+ , '/template/lms/css/common/base.css' |
|
| 109 |
+ ] |
|
| 110 |
+ , setup: function (editor) {
|
|
| 111 |
+ editor.addButton('ImageButton', {
|
|
| 112 |
+ text: '이미지', |
|
| 113 |
+ icon: 'image', |
|
| 114 |
+ tooltip: "이미지 추가", |
|
| 115 |
+ onclick: function () {
|
|
| 116 |
+ var uploader = $('.fileupload.' + adfile_config.editorId);
|
|
| 117 |
+ uploadInit(uploader, adfile_config, 'Image'); |
|
| 118 |
+ } |
|
| 119 |
+ }); |
|
| 120 |
+ /* |
|
| 121 |
+ editor.addButton('VideoButton', {
|
|
| 122 |
+ text: '동영상', |
|
| 123 |
+ icon: 'media', |
|
| 124 |
+ tooltip: "동영상 추가", |
|
| 125 |
+ onclick: function () {
|
|
| 126 |
+ var uploader = $('.fileupload.' + adfile_config.editorId);
|
|
| 127 |
+ uploadInit(uploader, adfile_config, 'Video'); |
|
| 128 |
+ } |
|
| 129 |
+ }); |
|
| 130 |
+ */ |
|
| 131 |
+ } |
|
| 132 |
+ }; |
|
| 133 |
+ |
|
| 134 |
+ |
|
| 135 |
+ |
|
| 136 |
+ |
|
| 137 |
+ if(adfile_config.fileAtchPosblAt == 'Y') {
|
|
| 138 |
+ editorOption.toolbar1 = 'ImageButton | VideoButton' |
|
| 139 |
+ |
|
| 140 |
+ $('#btnAddFile_' + adfile_config.editorId).show();
|
|
| 141 |
+ |
|
| 142 |
+ fn_egov_file_clean_action(adfile_config.editorId); |
|
| 143 |
+ if(adfile_config.atchFileId == '') {
|
|
| 144 |
+ adfile_config.atchFileId = getAtchFileId(); |
|
| 145 |
+ } |
|
| 146 |
+ |
|
| 147 |
+ |
|
| 148 |
+ $('.file_btn').click(function() {
|
|
| 149 |
+ |
|
| 150 |
+ var uploader = $('.fileupload.' + adfile_config.editorId);
|
|
| 151 |
+ uploadInit(uploader, adfile_config, 'All'); |
|
| 152 |
+ |
|
| 153 |
+ return false; |
|
| 154 |
+ }); |
|
| 155 |
+ } |
|
| 156 |
+ |
|
| 157 |
+ tinymce.init(editorOption); |
|
| 158 |
+ |
|
| 159 |
+ $('#nttSj').focus();
|
|
| 160 |
+} |
|
| 161 |
+ |
|
| 162 |
+$(document).ready(function(){
|
|
| 163 |
+ var view_cont_restrict_length = $('.view_cont').width();
|
|
| 164 |
+ $('.view_cont img').each(function(index) {
|
|
| 165 |
+ |
|
| 166 |
+ var isResize = false; |
|
| 167 |
+ if($(this).attr("width") && $(this).attr("height")) {
|
|
| 168 |
+ var ratio = $(this).attr("width") / $(this).attr("height"); // 비율
|
|
| 169 |
+ |
|
| 170 |
+ if($(this).attr("width") > view_cont_restrict_length) {
|
|
| 171 |
+ var newheight = Math.round(view_cont_restrict_length / ratio); |
|
| 172 |
+ $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정
|
|
| 173 |
+ isResize = true; |
|
| 174 |
+ } |
|
| 175 |
+ } else {
|
|
| 176 |
+ var img = new Image(); |
|
| 177 |
+ img.src = $(this).attr("src");
|
|
| 178 |
+ var ratio = img.width / img.height; // 비율 |
|
| 179 |
+ |
|
| 180 |
+ if(img.width > view_cont_restrict_length) {
|
|
| 181 |
+ var newheight = Math.round(view_cont_restrict_length / ratio); |
|
| 182 |
+ $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정
|
|
| 183 |
+ isResize = true; |
|
| 184 |
+ } |
|
| 185 |
+ } |
|
| 186 |
+ |
|
| 187 |
+ if(isResize) {
|
|
| 188 |
+ //$(this).css("cursor","pointer").click(function () {
|
|
| 189 |
+ $(this).click(function () {
|
|
| 190 |
+ //fnOriginImagePreview($(this).attr("src"));
|
|
| 191 |
+ location.href = $(this).attr("src");
|
|
| 192 |
+ }).attr("title", "원본보기");
|
|
| 193 |
+ } |
|
| 194 |
+ }); |
|
| 195 |
+}); |
|
| 196 |
+ |
|
| 197 |
+function fnOriginImagePreview(url) {
|
|
| 198 |
+ var URL = ''; |
|
| 199 |
+ var winNM = 'Preview'; |
|
| 200 |
+ var OPT = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + $(window).width() + ',height=' + $(window).height(); |
|
| 201 |
+ var imgwin = window.open(URL,winNM,OPT); |
|
| 202 |
+ |
|
| 203 |
+ var what = url; |
|
| 204 |
+ imgwin.focus(); |
|
| 205 |
+ |
|
| 206 |
+ imgwin.document.open(); |
|
| 207 |
+ |
|
| 208 |
+ //imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n");
|
|
| 209 |
+ imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n");
|
|
| 210 |
+ |
|
| 211 |
+ imgwin.document.write("<title>원본보기</title>\n"); // 새창으로 페이지 제목
|
|
| 212 |
+ |
|
| 213 |
+ imgwin.document.write("</head><body style='margin:0px;padding:0px'>\n");
|
|
| 214 |
+ |
|
| 215 |
+ imgwin.document.write("<a href='#'><img border=0 src="+what+" alt='이미지를 클릭하시면 창이 닫힙니다.' title='이미지를 클릭하시면 창이 닫힙니다.' onclick='javascript:window.close()' /></a>\n");
|
|
| 216 |
+ |
|
| 217 |
+ imgwin.document.write("</body></html>\n");
|
|
| 218 |
+ |
|
| 219 |
+ imgwin.document.close(); |
|
| 220 | 220 |
}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/resources/template/common/js/board.js
+++ base/src/main/webapp/resources/common/js/board2.js
... | ... | @@ -0,0 +1,220 @@ |
| 1 | + | |
| 2 | +ctgryObj = function(upperCtgryId, ctgryId, ctgryNm, ctgryLevel) { | |
| 3 | + this.upperCtgryId = upperCtgryId; | |
| 4 | + this.ctgryId = ctgryId; | |
| 5 | + this.ctgryNm = ctgryNm; | |
| 6 | + this.ctgryLevel= ctgryLevel; | |
| 7 | +} | |
| 8 | + | |
| 9 | +function fnFindctgryObj(ctgryId) { | |
| 10 | + for(var i = 0 ; i < boardCateList.length ; i++){ | |
| 11 | + var cate = boardCateList[i]; | |
| 12 | + if(cate.ctgryId == ctgryId) { | |
| 13 | + return cate; | |
| 14 | + } | |
| 15 | + } | |
| 16 | + | |
| 17 | + return null; | |
| 18 | +} | |
| 19 | + | |
| 20 | +function fnCtgryChange(ctgryLevel) { | |
| 21 | + var actObj = document.getElementById("ctgry" + ctgryLevel); | |
| 22 | + var targetObj = document.getElementById("ctgry" + (ctgryLevel + 1)); | |
| 23 | + if(targetObj != null) { | |
| 24 | + for(var cmIdx = ctgryLevel + 1 ; cmIdx <= boardCateLevel ; cmIdx++){ | |
| 25 | + var cmObj = document.getElementById("ctgry" + cmIdx); | |
| 26 | + if(cmObj != null) { | |
| 27 | + for(var i = cmObj.length - 1 ; i > 0 ; i--){ | |
| 28 | + cmObj.options.remove(i); | |
| 29 | + } | |
| 30 | + } | |
| 31 | + } | |
| 32 | + | |
| 33 | + var currVal = actObj.options[actObj.selectedIndex].value; | |
| 34 | + var currCtgryObj = fnFindctgryObj(currVal); | |
| 35 | + if(currCtgryObj != null) { | |
| 36 | + var pos = 1; | |
| 37 | + for(var i = 0 ; i < boardCateList.length ; i++){ | |
| 38 | + var cate = boardCateList[i]; | |
| 39 | + if(cate.upperCtgryId == currCtgryObj.ctgryId && cate.ctgryLevel == ctgryLevel + 1) { | |
| 40 | + targetObj.options[pos] = new Option(cate.ctgryNm, cate.ctgryId); | |
| 41 | + pos++; | |
| 42 | + } | |
| 43 | + } | |
| 44 | + } | |
| 45 | + } | |
| 46 | +} | |
| 47 | + | |
| 48 | +function fnCtgryInit(searchCateList) { | |
| 49 | + var arr = searchCateList.replace('[','').replace(']','').split(","); | |
| 50 | + for(var i = 0; i < arr.length; i++) { | |
| 51 | + if(arr[i].trim() != '') { | |
| 52 | + var cmObj = document.getElementById("ctgry" + (i+1)); | |
| 53 | + if(cmObj != null) { | |
| 54 | + for(var y = 0; y < cmObj.length; y++){ | |
| 55 | + if(cmObj[y].value == arr[i].trim()) { | |
| 56 | + cmObj[y].selected = true; | |
| 57 | + fnCtgryChange(i+1); | |
| 58 | + break; | |
| 59 | + } | |
| 60 | + } | |
| 61 | + } | |
| 62 | + } | |
| 63 | + } | |
| 64 | +} | |
| 65 | + | |
| 66 | + | |
| 67 | +String.prototype.trim = function(){ | |
| 68 | + return this.replace(/^\s+|\s+$/g, ""); | |
| 69 | +} | |
| 70 | + | |
| 71 | +function fn_egov_SelectBoxValue(sbName) | |
| 72 | +{ | |
| 73 | + var FValue = ""; | |
| 74 | + for(var i=0; i < document.getElementById(sbName).length; i++) | |
| 75 | + { | |
| 76 | + if(document.getElementById(sbName).options[i].selected == true){ | |
| 77 | + | |
| 78 | + FValue=document.getElementById(sbName).options[i].value; | |
| 79 | + } | |
| 80 | + } | |
| 81 | + | |
| 82 | + return FValue; | |
| 83 | +} | |
| 84 | + | |
| 85 | +function fn_egov_bbs_basic_regist(frm) { | |
| 86 | + | |
| 87 | + return validateBoard(frm); | |
| 88 | +} | |
| 89 | + | |
| 90 | + | |
| 91 | +function fn_egov_bbs_editor(adfile_config) { | |
| 92 | + var editorOption = { | |
| 93 | + selector: '#' + adfile_config.editorId, | |
| 94 | + language : 'ko_KR', | |
| 95 | + //height: 500, | |
| 96 | + menubar: false, | |
| 97 | + statusbar: false, | |
| 98 | + relative_urls : false, | |
| 99 | + plugins: [ | |
| 100 | + 'advlist autolink lists link image charmap print preview anchor textcolor', | |
| 101 | + 'searchreplace visualblocks code fullscreen', | |
| 102 | + 'insertdatetime media table contextmenu paste code help wordcount' | |
| 103 | + ], | |
| 104 | + toolbar1: '', | |
| 105 | + toolbar2: 'fullscreen | undo redo | fontselect fontsizeselect bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | code', | |
| 106 | + content_css: [ | |
| 107 | + '/template/lms/font/font.css' | |
| 108 | + , '/template/lms/css/common/base.css' | |
| 109 | + ] | |
| 110 | + , setup: function (editor) { | |
| 111 | + editor.addButton('ImageButton', { | |
| 112 | + text: '이미지', | |
| 113 | + icon: 'image', | |
| 114 | + tooltip: "이미지 추가", | |
| 115 | + onclick: function () { | |
| 116 | + var uploader = $('.fileupload.' + adfile_config.editorId); | |
| 117 | + uploadInit(uploader, adfile_config, 'Image'); | |
| 118 | + } | |
| 119 | + }); | |
| 120 | + /* | |
| 121 | + editor.addButton('VideoButton', { | |
| 122 | + text: '동영상', | |
| 123 | + icon: 'media', | |
| 124 | + tooltip: "동영상 추가", | |
| 125 | + onclick: function () { | |
| 126 | + var uploader = $('.fileupload.' + adfile_config.editorId); | |
| 127 | + uploadInit(uploader, adfile_config, 'Video'); | |
| 128 | + } | |
| 129 | + }); | |
| 130 | + */ | |
| 131 | + } | |
| 132 | + }; | |
| 133 | + | |
| 134 | + | |
| 135 | + | |
| 136 | + | |
| 137 | + if(adfile_config.fileAtchPosblAt == 'Y') { | |
| 138 | + editorOption.toolbar1 = 'ImageButton | VideoButton' | |
| 139 | + | |
| 140 | + $('#btnAddFile_' + adfile_config.editorId).show(); | |
| 141 | + | |
| 142 | + fn_egov_file_clean_action(adfile_config.editorId); | |
| 143 | + if(adfile_config.atchFileId == '') { | |
| 144 | + adfile_config.atchFileId = getAtchFileId(); | |
| 145 | + } | |
| 146 | + | |
| 147 | + | |
| 148 | + $('.file_btn').click(function() { | |
| 149 | + | |
| 150 | + var uploader = $('.fileupload.' + adfile_config.editorId); | |
| 151 | + uploadInit(uploader, adfile_config, 'All'); | |
| 152 | + | |
| 153 | + return false; | |
| 154 | + }); | |
| 155 | + } | |
| 156 | + | |
| 157 | + tinymce.init(editorOption); | |
| 158 | + | |
| 159 | + $('#nttSj').focus(); | |
| 160 | +} | |
| 161 | + | |
| 162 | +$(document).ready(function(){ | |
| 163 | + var view_cont_restrict_length = $('.view_cont').width(); | |
| 164 | + $('.view_cont img').each(function(index) { | |
| 165 | + | |
| 166 | + var isResize = false; | |
| 167 | + if($(this).attr("width") && $(this).attr("height")) { | |
| 168 | + var ratio = $(this).attr("width") / $(this).attr("height"); // 비율 | |
| 169 | + | |
| 170 | + if($(this).attr("width") > view_cont_restrict_length) { | |
| 171 | + var newheight = Math.round(view_cont_restrict_length / ratio); | |
| 172 | + $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정 | |
| 173 | + isResize = true; | |
| 174 | + } | |
| 175 | + } else { | |
| 176 | + var img = new Image(); | |
| 177 | + img.src = $(this).attr("src"); | |
| 178 | + var ratio = img.width / img.height; // 비율 | |
| 179 | + | |
| 180 | + if(img.width > view_cont_restrict_length) { | |
| 181 | + var newheight = Math.round(view_cont_restrict_length / ratio); | |
| 182 | + $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정 | |
| 183 | + isResize = true; | |
| 184 | + } | |
| 185 | + } | |
| 186 | + | |
| 187 | + if(isResize) { | |
| 188 | + //$(this).css("cursor","pointer").click(function () { | |
| 189 | + $(this).click(function () { | |
| 190 | + //fnOriginImagePreview($(this).attr("src")); | |
| 191 | + location.href = $(this).attr("src"); | |
| 192 | + }).attr("title", "원본보기"); | |
| 193 | + } | |
| 194 | + }); | |
| 195 | +}); | |
| 196 | + | |
| 197 | +function fnOriginImagePreview(url) { | |
| 198 | + var URL = ''; | |
| 199 | + var winNM = 'Preview'; | |
| 200 | + var OPT = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + $(window).width() + ',height=' + $(window).height(); | |
| 201 | + var imgwin = window.open(URL,winNM,OPT); | |
| 202 | + | |
| 203 | + var what = url; | |
| 204 | + imgwin.focus(); | |
| 205 | + | |
| 206 | + imgwin.document.open(); | |
| 207 | + | |
| 208 | + //imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n"); | |
| 209 | + imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n"); | |
| 210 | + | |
| 211 | + imgwin.document.write("<title>원본보기</title>\n"); // 새창으로 페이지 제목 | |
| 212 | + | |
| 213 | + imgwin.document.write("</head><body style='margin:0px;padding:0px'>\n"); | |
| 214 | + | |
| 215 | + imgwin.document.write("<a href='#'><img border=0 src="+what+" alt='이미지를 클릭하시면 창이 닫힙니다.' title='이미지를 클릭하시면 창이 닫힙니다.' onclick='javascript:window.close()' /></a>\n"); | |
| 216 | + | |
| 217 | + imgwin.document.write("</body></html>\n"); | |
| 218 | + | |
| 219 | + imgwin.document.close(); | |
| 220 | +}(파일 끝에 줄바꿈 문자 없음) |
+++ base/src/main/webapp/resources/common/js/common.js
... | ... | @@ -0,0 +1,557 @@ |
| 1 | + | |
| 2 | +function fnImageCheck(fileId) { | |
| 3 | + var fileValue = $('#' + fileId).val(); | |
| 4 | + if(fileValue && fileValue != '') { | |
| 5 | + if(fileValue.toUpperCase().indexOf('.PNG') == -1 && fileValue.toUpperCase().indexOf('.JPG') == -1 && fileValue.toUpperCase().indexOf('.GIF') == -1 && fileValue.toUpperCase().indexOf('.BMP') == -1) { | |
| 6 | + alert("이미지만 첨부가 가능합니다."); | |
| 7 | + $('#' + fileId).focus(); | |
| 8 | + return false; | |
| 9 | + } | |
| 10 | + } | |
| 11 | + | |
| 12 | + return true; | |
| 13 | +} | |
| 14 | +function fnGetCookie(name) { | |
| 15 | + /* | |
| 16 | + var prefix = name + "="; | |
| 17 | + | |
| 18 | + var cookieStartIndex = document.cookie.indexOf(prefix); | |
| 19 | + if (cookieStartIndex == -1) return null; | |
| 20 | + var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length); | |
| 21 | + if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length; | |
| 22 | + | |
| 23 | + | |
| 24 | + return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex)); | |
| 25 | + */ | |
| 26 | + var results = document.cookie.match ( '(^|;) ?' + name + '=([^;]*)(;|$)' ); | |
| 27 | + if ( results ) | |
| 28 | + return ( unescape ( results[2] ) ); | |
| 29 | + else | |
| 30 | + return null; | |
| 31 | +} | |
| 32 | + | |
| 33 | +function fnGetCookiePopup(name) { | |
| 34 | + /* | |
| 35 | + var prefix = name + "="; | |
| 36 | + | |
| 37 | + var cookieStartIndex = document.cookie.indexOf(prefix); | |
| 38 | + if (cookieStartIndex == -1) return null; | |
| 39 | + var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length); | |
| 40 | + if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length; | |
| 41 | + | |
| 42 | + | |
| 43 | + return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex)); | |
| 44 | + */ | |
| 45 | + var results = document.cookie.match ( '(^|;) ?' + name + '=([^;]*)(;|$)' ); | |
| 46 | + if ( results ) | |
| 47 | + return ( unescape ( results[2] ) ); | |
| 48 | + else | |
| 49 | + return null; | |
| 50 | +} | |
| 51 | + | |
| 52 | + | |
| 53 | + | |
| 54 | +function fnSetCookieValue(name, value) { | |
| 55 | + var expireDate = new Date(); | |
| 56 | + expireDate.setFullYear(expireDate.getFullYear() + 1); | |
| 57 | + document.cookie = name + "=" + escape(value) + "; path=/; expires=" + expireDate.toGMTString() + ";"; | |
| 58 | +} | |
| 59 | + | |
| 60 | +function fnSetCookiePopup( name, value, expiredays ) { | |
| 61 | + var todayDate = new Date(); | |
| 62 | + todayDate.setDate( todayDate.getDate() + expiredays ); | |
| 63 | + if(value != null) { | |
| 64 | + document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"; | |
| 65 | + } else { | |
| 66 | + document.cookie = name + "=; path=/; expires=" + todayDate.toGMTString() + ";"; | |
| 67 | + } | |
| 68 | + } | |
| 69 | + | |
| 70 | +function fn_egov_popupOpen_PopupManage(popupId,fileUrl,width,height,top,left,stopVewAt){ | |
| 71 | + | |
| 72 | + var url = "/uss/ion/pwm/openPopupManage.do?"; | |
| 73 | + url = url + "fileUrl=" + fileUrl; | |
| 74 | + url = url + "&stopVewAt=" + stopVewAt; | |
| 75 | + url = url + "&popupId=" + popupId; | |
| 76 | + var name = popupId; | |
| 77 | + var openWindows = window.open(url,name,"width="+width+",height="+height+",top="+top+",left="+left+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes"); | |
| 78 | + | |
| 79 | + if (openWindows) {openWindows.focus();} | |
| 80 | +} | |
| 81 | + | |
| 82 | +function fnTabListLoading(frmId, frmUrl) { | |
| 83 | + var frm = document.getElementById(frmId); | |
| 84 | + if(frm) { | |
| 85 | + if(frm.src == "about:blank") { | |
| 86 | + frm.src = frmUrl; | |
| 87 | + } | |
| 88 | + } | |
| 89 | +} | |
| 90 | + | |
| 91 | +function initTabMenu(tabContainerID) { | |
| 92 | + var tabContainer = document.getElementById(tabContainerID); | |
| 93 | + var tabAnchor = tabContainer.getElementsByTagName("a"); | |
| 94 | + var i = 0; | |
| 95 | + | |
| 96 | + for(i=0; i<tabAnchor.length; i++) { | |
| 97 | + if (tabAnchor.item(i).className == "tab") | |
| 98 | + thismenu = tabAnchor.item(i); | |
| 99 | + else | |
| 100 | + continue; | |
| 101 | + | |
| 102 | + thismenu.container = tabContainer; | |
| 103 | + thismenu.targetEl = document.getElementById(tabAnchor.item(i).href.split("#")[1]); | |
| 104 | + thismenu.targetEl.style.display = "none"; | |
| 105 | + thismenu.imgEl = thismenu.getElementsByTagName("img").item(0); | |
| 106 | + | |
| 107 | + thismenu.onclick = function tabMenuClick() { | |
| 108 | + currentmenu = this.container.current; | |
| 109 | + if (currentmenu == this) | |
| 110 | + return false; | |
| 111 | + | |
| 112 | + if (currentmenu) { | |
| 113 | + currentmenu.targetEl.style.display = "none"; | |
| 114 | + if (currentmenu.imgEl) { | |
| 115 | + currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.png", ".png"); | |
| 116 | + } else { | |
| 117 | + currentmenu.className = currentmenu.className.replace(" on", ""); | |
| 118 | + } | |
| 119 | + } | |
| 120 | + this.targetEl.style.display = ""; | |
| 121 | + if (this.imgEl) { | |
| 122 | + this.imgEl.src = this.imgEl.src.replace(".png", "_on.png"); | |
| 123 | + } else { | |
| 124 | + this.className += " on"; | |
| 125 | + } | |
| 126 | + this.container.current = this; | |
| 127 | + | |
| 128 | + return true; | |
| 129 | + }; | |
| 130 | + thismenu.onfocus = function tabMenuClick() { | |
| 131 | + currentmenu = this.container.current; | |
| 132 | + if (currentmenu == this) | |
| 133 | + return false; | |
| 134 | + | |
| 135 | + if (currentmenu) { | |
| 136 | + currentmenu.targetEl.style.display = "none"; | |
| 137 | + if (currentmenu.imgEl) { | |
| 138 | + currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.png", ".png"); | |
| 139 | + } else { | |
| 140 | + currentmenu.className = currentmenu.className.replace(" on", ""); | |
| 141 | + } | |
| 142 | + } | |
| 143 | + this.targetEl.style.display = ""; | |
| 144 | + if (this.imgEl) { | |
| 145 | + this.imgEl.src = this.imgEl.src.replace(".png", "_on.png"); | |
| 146 | + } else { | |
| 147 | + this.className += " on"; | |
| 148 | + } | |
| 149 | + this.container.current = this; | |
| 150 | + | |
| 151 | + return true; | |
| 152 | + }; | |
| 153 | + if (!thismenu.container.first) | |
| 154 | + thismenu.container.first = thismenu; | |
| 155 | + } | |
| 156 | + if (tabContainer.first) | |
| 157 | + tabContainer.first.onclick(); | |
| 158 | + | |
| 159 | +} | |
| 160 | + | |
| 161 | +function fnImagePreview(url) { | |
| 162 | + var URL = ''; | |
| 163 | + var winNM = 'Preview'; | |
| 164 | + var OPT = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,top=30,left=30,copyhistory=0 width=1024 height=859'; | |
| 165 | + var imgwin = window.open(URL,winNM,OPT); | |
| 166 | + | |
| 167 | + var what = url; | |
| 168 | + imgwin.focus(); | |
| 169 | + | |
| 170 | + imgwin.document.open(); | |
| 171 | + | |
| 172 | + imgwin.document.write("<!DOCTYPE HTML"); | |
| 173 | + imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n"); | |
| 174 | + | |
| 175 | + imgwin.document.write("<title>크게보기</title>\n"); // 새창으로 페이지 제목 | |
| 176 | + | |
| 177 | + imgwin.document.write("<sc"+"ript>\n"); | |
| 178 | + | |
| 179 | + imgwin.document.write("function resize() {\n"); | |
| 180 | + | |
| 181 | + imgwin.document.write("pic = document.il;\n"); | |
| 182 | + | |
| 183 | + imgwin.document.write("if (eval(pic).height) { var name = navigator.appName\n"); | |
| 184 | + | |
| 185 | + imgwin.document.write(" if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 60; myWidth = eval(pic).width + 10;\n"); | |
| 186 | + | |
| 187 | + imgwin.document.write(" } else { myHeight = eval(pic).height + 56; myWidth = eval(pic).width + 8; }\n"); | |
| 188 | + | |
| 189 | + imgwin.document.write(" clearTimeout();\n"); | |
| 190 | + | |
| 191 | + imgwin.document.write(" var height = screen.height;\n"); | |
| 192 | + | |
| 193 | + imgwin.document.write(" var width = screen.width;\n"); | |
| 194 | + | |
| 195 | + imgwin.document.write(" var leftpos = width / 2 - myWidth / 2;\n"); //hjhj | |
| 196 | + | |
| 197 | + imgwin.document.write(" var toppos = height / 2 - myHeight / 2; \n"); | |
| 198 | + | |
| 199 | + imgwin.document.write(" self.moveTo(leftpos, toppos);\n"); | |
| 200 | + | |
| 201 | + imgwin.document.write(" self.resizeTo(myWidth, myHeight);\n"); | |
| 202 | + | |
| 203 | + imgwin.document.write("}else setTimeOut(resize(), 100);}\n"); | |
| 204 | + | |
| 205 | + imgwin.document.write("</sc"+"ript>\n"); | |
| 206 | + | |
| 207 | + imgwin.document.write("</head><body style='margin:0px;padding:0px'>\n"); | |
| 208 | + | |
| 209 | + imgwin.document.write("<img border=0 src="+what+" xwidth='100' xheight='9' name='il' onload='resize();' alt='이미지를 클릭하시면 창이 닫힙니다.' title='이미지를 클릭하시면 창이 닫힙니다.' onclick='javascript:window.close()' />\n"); | |
| 210 | + | |
| 211 | + imgwin.document.write("</body></html>\n"); | |
| 212 | + | |
| 213 | + imgwin.document.close(); | |
| 214 | +} | |
| 215 | + | |
| 216 | +function goUrl(value) { | |
| 217 | + var obj = document.getElementById("sLink"+value); | |
| 218 | + if(value != "") { | |
| 219 | + if(obj.value == "") { | |
| 220 | + alert("사이트를 선택하세요"); return false; | |
| 221 | + } | |
| 222 | + window.open(obj.value); | |
| 223 | + } | |
| 224 | +} | |
| 225 | + | |
| 226 | + | |
| 227 | +function fn_byte_convert(val) { | |
| 228 | + var size = "0 KB"; | |
| 229 | + | |
| 230 | + if (val >= 1073741824) | |
| 231 | + size = fn_comma(round(val / 1073741824, 2)) + " GB"; | |
| 232 | + else if (val >= 1048576) | |
| 233 | + size = fn_comma(round(val / 1048576, 2)) + " MB"; | |
| 234 | + else if (val >= 1024) | |
| 235 | + size = fn_comma(round(val / 1024, 2)) + " KB"; | |
| 236 | + else if (val > 0 && round(val < 1024, 2)) | |
| 237 | + size = "1 KB"; | |
| 238 | + | |
| 239 | + return size; | |
| 240 | +} | |
| 241 | + | |
| 242 | +function round(n, digits) { | |
| 243 | + var factor = Math.pow(10, digits); // 정수부 반올림 | |
| 244 | + var increment = 5/(factor*10); | |
| 245 | + | |
| 246 | + return Math.floor((n+increment)*factor)/factor; | |
| 247 | +} | |
| 248 | + | |
| 249 | + | |
| 250 | +function fn_comma(n) { | |
| 251 | + var reg = /(^[+-]?\d+)(\d{3})/; | |
| 252 | + n += ''; | |
| 253 | + while (reg.test(n)) { | |
| 254 | + n = n.replace(reg, '$1' + ',' + '$2'); | |
| 255 | + } | |
| 256 | + | |
| 257 | + return n; | |
| 258 | +} | |
| 259 | + | |
| 260 | +function fn_egov_editor_file_add(userFile, wireData) { | |
| 261 | + //확장자 추출 부분 작업 | |
| 262 | + var fileVal = userFile.orignlFileNm, | |
| 263 | + ext = fileVal.split("."), | |
| 264 | + splitSize = ext.length - 1, | |
| 265 | + fileExt = ext[splitSize].toLowerCase(), | |
| 266 | + icon = "icon-file"; | |
| 267 | + | |
| 268 | + if(fileExt=="bmp" || fileExt=="gif" || fileExt=="jpeg" || fileExt=="jpg" || fileExt=="png"){ | |
| 269 | + icon = "icon-img"; | |
| 270 | + } | |
| 271 | + | |
| 272 | + var pageChk = $("#staffPage").val(); | |
| 273 | + var list = ""; | |
| 274 | + | |
| 275 | + if(pageChk == "staff"){ | |
| 276 | + list += "<a href=\"#none\" class=\"attachment " + icon + " font-gray\" id=\"" + userFile.atchFileId + '_' + userFile.fileSn + "\">"; | |
| 277 | + list += "<span class=\"text\">" + userFile.orignlFileNm + "</span>"; | |
| 278 | + list += "<span class=\"file-remove\" onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\">-</span>" | |
| 279 | + list += "</a>"; | |
| 280 | + //list += "<a href=\"/cmm/fms/deleteStreamLongFile.do?tmprFileId=" + userFile.tmprFileId + "\" class=\"" + userFile.atchFileId + '_' + userFile.fileSn + "\" onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\"><span class=\"file-remove\">-</span></a>"; | |
| 281 | + }else if(pageChk == "common"){ | |
| 282 | + list += "<a href='#' id='" + userFile.atchFileId + '_' + userFile.fileSn + "' onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\" class='attachment " + icon + " font-gray'>"; | |
| 283 | + list += "<span class=\"text\">" + userFile.orignlFileNm + "</span>"; | |
| 284 | + list += "<span class='file-remove'>-</span>"; | |
| 285 | + list += "</a>"; | |
| 286 | + }else{ | |
| 287 | + list += "<tr id='" + userFile.atchFileId + '_' + userFile.fileSn + "'>"; | |
| 288 | + list += "<td><img src='/template/manage/images/ico_file.gif' alt='파일'/> " + userFile.orignlFileNm + "</td>"; | |
| 289 | + list += "<td class='size'>" + fn_byte_convert(userFile.fileMg) + "</td>"; | |
| 290 | + list += "<td class='del'><a href=\"/cmm/fms/deleteStreamLongFile.do?tmprFileId=" + userFile.tmprFileId + "\" onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\"><img src=\"/template/manage/images/btn_sdelete.gif\"/></a></td>"; | |
| 291 | + list += "</tr>"; | |
| 292 | + } | |
| 293 | + | |
| 294 | + $('#fileGroupId_' + wireData.editorId).val(userFile.atchFileId); | |
| 295 | + $('#fileCurrSize_' + wireData.editorId).val(wireData.totalFileMg); | |
| 296 | + $('#fileCurrCount_' + wireData.editorId).val(wireData.totalFileCount); | |
| 297 | + $('#multiFileList_' + wireData.editorId).append(list); | |
| 298 | + | |
| 299 | + | |
| 300 | + /*if(userFile.IsEdit == 'True') { | |
| 301 | + $('#' + userFile.atchFileId + '_' + userFile.fileSn).remove(); | |
| 302 | + }*/ | |
| 303 | + | |
| 304 | + if(tinymce) { | |
| 305 | + var html = ""; | |
| 306 | + if (isImage(userFile.orignlFileNm)) { | |
| 307 | + html = '' + userFile.fileStreWebCours + '<img src="/" class="' + userFile.streFileNm + '' + userFile.atchFileId + '_' + userFile.fileSn + '">'; | |
| 308 | + } else if(isVideo(userFile.orignlFileNm)) { | |
| 309 | + html = '' + userFile.fileStreWebCours + '<video src="/" controls class="' + userFile.streFileNm + '' + userFile.atchFileId + '_' + userFile.fileSn + '"></video>'; | |
| 310 | + } | |
| 311 | + | |
| 312 | + if(html != ''){ | |
| 313 | + tinymce.activeEditor.insertContent(html); | |
| 314 | + } | |
| 315 | + } | |
| 316 | + | |
| 317 | + fn_egov_file_clean_action(wireData.editorId); | |
| 318 | +} | |
| 319 | + | |
| 320 | +function fn_egov_editor_tmpr_file_del(editorId, tmprFileId) { | |
| 321 | + | |
| 322 | + if(confirm('삭제하시면 본문에서도 삭제됩니다. 계속하시겠습니까?')) { | |
| 323 | + var url = "/cmm/fms/deleteStreamLongFileByAjax.do"; | |
| 324 | + var param = {tmprFileId:tmprFileId}; | |
| 325 | + $.ajax({ | |
| 326 | + type : "POST", | |
| 327 | + url : url, | |
| 328 | + data : param, | |
| 329 | + dataType : "json", | |
| 330 | + success : function(data) { | |
| 331 | + if(data.delCount > 0) { | |
| 332 | + fn_egov_editor_file_del_action(data, editorId); | |
| 333 | + } | |
| 334 | + }, error: function(xhr, textStatus, errorThrown) { | |
| 335 | + alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status )); | |
| 336 | + } | |
| 337 | + }); | |
| 338 | + } | |
| 339 | +} | |
| 340 | + | |
| 341 | +function fn_egov_editor_file_del(editorId, estnAt, progrmId, atchFileId, fileSn) { | |
| 342 | + | |
| 343 | + if(confirm('삭제하시면 본문에서도 삭제됩니다. 계속하시겠습니까?')) { | |
| 344 | + var url = "/cmm/fms/deleteFileInfByAjax.do"; | |
| 345 | + var param = {estnAt:estnAt, progrmId:progrmId, atchFileId:atchFileId, fileSn:fileSn}; | |
| 346 | + $.ajax({ | |
| 347 | + type : "POST", | |
| 348 | + url : url, | |
| 349 | + data : param, | |
| 350 | + dataType : "json", | |
| 351 | + success : function(data) { | |
| 352 | + if(data.delCount > 0) { | |
| 353 | + fn_egov_editor_file_del_action(data, editorId); | |
| 354 | + } | |
| 355 | + }, error: function(xhr, textStatus, errorThrown) { | |
| 356 | + alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status )); | |
| 357 | + } | |
| 358 | + }); | |
| 359 | + } | |
| 360 | +} | |
| 361 | + | |
| 362 | +function fn_egov_editor_file_del_action(data, editorId) { | |
| 363 | + | |
| 364 | + $('#fileCurrSize_' + editorId).val(data.totalFileMg); | |
| 365 | + $('#fileCurrCount_' + editorId).val(data.totalFileCount); | |
| 366 | + $('#' + data.atchFileId + '_' + data.fileSn).remove(); | |
| 367 | + $('.' + data.atchFileId + '_' + data.fileSn).remove(); | |
| 368 | + tinyMCE.activeEditor.dom.remove(tinyMCE.activeEditor.dom.select('[class=' + data.atchFileId + '_' + data.fileSn + ']')); | |
| 369 | + tinyMCE.activeEditor.dom.remove(tinyMCE.activeEditor.dom.select('[data-mce-p-class=' + data.atchFileId + '_' + data.fileSn + ']')); | |
| 370 | + fn_egov_file_clean_action(editorId); | |
| 371 | +} | |
| 372 | + | |
| 373 | +function fn_egov_file_clean_action(editorId) { | |
| 374 | + if($('#multiFileList_' + editorId).children().length == 1) { | |
| 375 | + $('#tr_file_empty_' + editorId).show(); | |
| 376 | + } else { | |
| 377 | + $('#tr_file_empty_' + editorId).hide(); | |
| 378 | + } | |
| 379 | + | |
| 380 | + $('#lblMaxCount_' + editorId).html($('#posblAtchFileNumber_' + editorId).val()); | |
| 381 | + $('#lblMaxSize_' + editorId).html(fn_byte_convert($('#posblAtchFileSize_' + editorId).val())); | |
| 382 | + $('#lblCurrCount_' + editorId).html($('#fileCurrCount_' + editorId).val()); | |
| 383 | + $('#lblCurrSize_' + editorId).html(fn_byte_convert($('#fileCurrSize_' + editorId).val())); | |
| 384 | +} | |
| 385 | + | |
| 386 | +function fn_egov_downFile(url) { | |
| 387 | + window.open(url); | |
| 388 | +} | |
| 389 | + | |
| 390 | +var nowZoom = 100; | |
| 391 | +function zoomIn() { | |
| 392 | + nowZoom = nowZoom + 20; | |
| 393 | + if(nowZoom >= 500) nowZoom = 500; | |
| 394 | + zooms(); | |
| 395 | +} | |
| 396 | + | |
| 397 | + | |
| 398 | +function zoomOut() { | |
| 399 | + nowZoom = nowZoom - 10; | |
| 400 | + if(nowZoom <= 70) nowZoom = 70; | |
| 401 | + zooms(); | |
| 402 | +} | |
| 403 | + | |
| 404 | +function zoomReset(){ | |
| 405 | + nowZoom = 100; | |
| 406 | + zooms(); | |
| 407 | +} | |
| 408 | + | |
| 409 | +function zooms(){ | |
| 410 | + document.body.style.zoom = nowZoom + '%'; | |
| 411 | + | |
| 412 | + if(nowZoom==70){ | |
| 413 | + alert ("30%축소 되었습니다. 더 이상 축소할 수 없습니다."); | |
| 414 | + } | |
| 415 | + | |
| 416 | + if(nowZoom==500){ | |
| 417 | + alert ("500%확대 되었습니다. 더 이상 확대할 수 없습니다."); | |
| 418 | + } | |
| 419 | +} | |
| 420 | + | |
| 421 | +var token = ""; | |
| 422 | +var loginYn = ""; | |
| 423 | +$(document).ready(function(){ | |
| 424 | + /*$('a').click(function() { | |
| 425 | + ssoLinkAction(this); | |
| 426 | + });*/ | |
| 427 | + | |
| 428 | + $('#btnMyMenuAdd').click(function() { | |
| 429 | + if (confirm('마이메뉴에 추가 하시겠습니까?')) { | |
| 430 | + location.href = this.href; | |
| 431 | + } | |
| 432 | + return false; | |
| 433 | + }); | |
| 434 | + | |
| 435 | + $.datepicker.setDefaults({ | |
| 436 | + dateFormat: 'yy-mm-dd', | |
| 437 | + prevText: '이전 달', | |
| 438 | + nextText: '다음 달', | |
| 439 | + monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], | |
| 440 | + monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], | |
| 441 | + dayNames: ['일', '월', '화', '수', '목', '금', '토'], | |
| 442 | + dayNamesShort: ['일', '월', '화', '수', '목', '금', '토'], | |
| 443 | + dayNamesMin: ['일', '월', '화', '수', '목', '금', '토'], | |
| 444 | + showMonthAfterYear: true, | |
| 445 | + yearSuffix: '년' | |
| 446 | + }); | |
| 447 | + | |
| 448 | + $('.datepicker').datepicker({ | |
| 449 | + dateFormat: 'yy-mm-dd' | |
| 450 | + }); | |
| 451 | + | |
| 452 | + | |
| 453 | + $(document).on("keyup", ".numonly", function(key) { | |
| 454 | + if(key.keyCode == 8 || key.keyCode == 46) { | |
| 455 | + return; | |
| 456 | + } | |
| 457 | + var val = $(this).val().replace(/[^0-9]/gi,""); | |
| 458 | + $(this).val(val == "" ? 0 : val); | |
| 459 | + }); | |
| 460 | +}); | |
| 461 | + | |
| 462 | +/*function ssoLinkAction(aObj) { | |
| 463 | + if(token != "" && loginYn == "Y" && aObj.href.indexOf('javascript') == -1 && aObj.href.indexOf(document.domain) == -1) { | |
| 464 | + var makeUrl = aObj.href; | |
| 465 | + if(aObj.href.indexOf('token') == -1) { | |
| 466 | + makeUrl = aObj.href + (aObj.href.indexOf('?') == -1 ? '?' : '&') + 'token=' + token; | |
| 467 | + } | |
| 468 | + aObj.href = makeUrl; | |
| 469 | + } | |
| 470 | +}*/ | |
| 471 | + | |
| 472 | + | |
| 473 | +function getJson(url, param, callback) { | |
| 474 | + $.ajax({ | |
| 475 | + type : "POST", | |
| 476 | + url : url, | |
| 477 | + data : param, | |
| 478 | + dataType : "json", | |
| 479 | + success : function(result) { | |
| 480 | + if(result.success) { | |
| 481 | + callback(result); | |
| 482 | + } else { | |
| 483 | + alert('문제가 발생하여 작업을 완료하지 못하였습니다.'); | |
| 484 | + } | |
| 485 | + }, error: function(xhr, textStatus, errorThrown) { | |
| 486 | + alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status )); | |
| 487 | + } | |
| 488 | + }); | |
| 489 | +} | |
| 490 | + | |
| 491 | +function getHtml(url, param, callback) { | |
| 492 | + $.ajax({ | |
| 493 | + type : "POST", | |
| 494 | + url : url, | |
| 495 | + data : param, | |
| 496 | + dataType : "html", | |
| 497 | + success : function(result) { | |
| 498 | + callback(result); | |
| 499 | + }, error: function(xhr, textStatus, errorThrown) { | |
| 500 | + alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status )); | |
| 501 | + } | |
| 502 | + }); | |
| 503 | +} | |
| 504 | + | |
| 505 | +/** | |
| 506 | + * 앞뒤 공백 제거 | |
| 507 | + */ | |
| 508 | +function trim(str) | |
| 509 | +{ | |
| 510 | + return str.replace(/(^[ \f\n\r\t]*)|([ \f\n\r\t]*$)/g, ""); | |
| 511 | +} | |
| 512 | + | |
| 513 | +//금액 | |
| 514 | +function numberWithCommas(x) { | |
| 515 | + return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); | |
| 516 | +} | |
| 517 | + | |
| 518 | +//랜덤함수 | |
| 519 | +function randOnlyString(leng){ | |
| 520 | + var ALPHA = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'], | |
| 521 | + rN = '', | |
| 522 | + leng = leng == null || leng == 'undefined' ? 8 : leng; | |
| 523 | + | |
| 524 | + for(var i=0; i<leng; i++){ | |
| 525 | + var randTnum = Math.floor(Math.random()*ALPHA.length); | |
| 526 | + rN += ALPHA[randTnum]; | |
| 527 | + } | |
| 528 | + | |
| 529 | + return rN; | |
| 530 | +} | |
| 531 | + | |
| 532 | +//숫자만 입력 | |
| 533 | +$(document).on("keyup", ".onlyNum", function(){ | |
| 534 | + var inpVal = $(this).val().replace(/[^0-9]/g,''); | |
| 535 | + $(this).val(inpVal); | |
| 536 | +}); | |
| 537 | +/* | |
| 538 | +$(".onlyNum").bind("input",function(event){ | |
| 539 | + var inpVal = $(this).val().replace(/[^0-9]/g,''); | |
| 540 | + $(this).val(inpVal); | |
| 541 | +}); | |
| 542 | +*/ | |
| 543 | +//금액 | |
| 544 | +$(".money").bind("input",function(event){ | |
| 545 | + var inpVal = $(this).val().replace(/,/gi,"").toString().replace(/\B(?=(\d{3})+(?!\d))/g, ","); | |
| 546 | + $(this).val(inpVal); | |
| 547 | +}); | |
| 548 | + | |
| 549 | +//확장자 추출 | |
| 550 | +function fileExt(fileNm) { | |
| 551 | + var ext = fileNm.split("."); | |
| 552 | + var splitSize = ext.length - 1; | |
| 553 | + var fileExt = ext[splitSize].toLowerCase(); | |
| 554 | + | |
| 555 | + return fileExt; | |
| 556 | +} | |
| 557 | + |
--- base/src/main/webapp/resources/template/common/js/jquery/jquery.form.js
+++ base/src/main/webapp/resources/lib/jquery/jquery.form.js
| No changes |
--- base/src/main/webapp/resources/template/common/js/jquery/jquery.timepicker.min.js
+++ base/src/main/webapp/resources/lib/jquery/jquery.timepicker.min.js
| No changes |
--- base/src/main/webapp/resources/lib/jquery/jquery1.9.1.min.js
... | ... | @@ -1,5 +0,0 @@ |
| 1 | -/*! jQuery v1.9.1 | (c) 2005, 2012 jQuery Foundation, Inc. | jquery.org/license | |
| 2 | -//@ sourceMappingURL=jquery.min.map | |
| 3 | -*/(function(e,t){var n,r,i=typeof t,o=e.document,a=e.location,s=e.jQuery,u=e.$,l={},c=[],p="1.9.1",f=c.concat,d=c.push,h=c.slice,g=c.indexOf,m=l.toString,y=l.hasOwnProperty,v=p.trim,b=function(e,t){return new b.fn.init(e,t,r)},x=/[+-]?(?:\d*\.|)\d+(?:[eE][+-]?\d+|)/.source,w=/\S+/g,T=/^[\s\uFEFF\xA0]+|[\s\uFEFF\xA0]+$/g,N=/^(?:(<[\w\W]+>)[^>]*|#([\w-]*))$/,C=/^<(\w+)\s*\/?>(?:<\/\1>|)$/,k=/^[\],:{}\s]*$/,E=/(?:^|:|,)(?:\s*\[)+/g,S=/\\(?:["\\\/bfnrt]|u[\da-fA-F]{4})/g,A=/"[^"\\\r\n]*"|true|false|null|-?(?:\d+\.|)\d+(?:[eE][+-]?\d+|)/g,j=/^-ms-/,D=/-([\da-z])/gi,L=function(e,t){return t.toUpperCase()},H=function(e){(o.addEventListener||"load"===e.type||"complete"===o.readyState)&&(q(),b.ready())},q=function(){o.addEventListener?(o.removeEventListener("DOMContentLoaded",H,!1),e.removeEventListener("load",H,!1)):(o.detachEvent("onreadystatechange",H),e.detachEvent("onload",H))};b.fn=b.prototype={jquery:p,constructor:b,init:function(e,n,r){var i,a;if(!e)return this;if("string"==typeof e){if(i="<"===e.charAt(0)&&">"===e.charAt(e.length-1)&&e.length>=3?[null,e,null]:N.exec(e),!i||!i[1]&&n)return!n||n.jquery?(n||r).find(e):this.constructor(n).find(e);if(i[1]){if(n=n instanceof b?n[0]:n,b.merge(this,b.parseHTML(i[1],n&&n.nodeType?n.ownerDocument||n:o,!0)),C.test(i[1])&&b.isPlainObject(n))for(i in n)b.isFunction(this[i])?this[i](n[i]):this.attr(i,n[i]);return this}if(a=o.getElementById(i[2]),a&&a.parentNode){if(a.id!==i[2])return r.find(e);this.length=1,this[0]=a}return this.context=o,this.selector=e,this}return e.nodeType?(this.context=this[0]=e,this.length=1,this):b.isFunction(e)?r.ready(e):(e.selector!==t&&(this.selector=e.selector,this.context=e.context),b.makeArray(e,this))},selector:"",length:0,size:function(){return this.length},toArray:function(){return h.call(this)},get:function(e){return null==e?this.toArray():0>e?this[this.length+e]:this[e]},pushStack:function(e){var t=b.merge(this.constructor(),e);return t.prevObject=this,t.context=this.context,t},each:function(e,t){return b.each(this,e,t)},ready:function(e){return b.ready.promise().done(e),this},slice:function(){return this.pushStack(h.apply(this,arguments))},first:function(){return this.eq(0)},last:function(){return this.eq(-1)},eq:function(e){var t=this.length,n=+e+(0>e?t:0);return this.pushStack(n>=0&&t>n?[this[n]]:[])},map:function(e){return this.pushStack(b.map(this,function(t,n){return e.call(t,n,t)}))},end:function(){return this.prevObject||this.constructor(null)},push:d,sort:[].sort,splice:[].splice},b.fn.init.prototype=b.fn,b.extend=b.fn.extend=function(){var e,n,r,i,o,a,s=arguments[0]||{},u=1,l=arguments.length,c=!1;for("boolean"==typeof s&&(c=s,s=arguments[1]||{},u=2),"object"==typeof s||b.isFunction(s)||(s={}),l===u&&(s=this,--u);l>u;u++)if(null!=(o=arguments[u]))for(i in o)e=s[i],r=o[i],s!==r&&(c&&r&&(b.isPlainObject(r)||(n=b.isArray(r)))?(n?(n=!1,a=e&&b.isArray(e)?e:[]):a=e&&b.isPlainObject(e)?e:{},s[i]=b.extend(c,a,r)):r!==t&&(s[i]=r));return s},b.extend({noConflict:function(t){return e.$===b&&(e.$=u),t&&e.jQuery===b&&(e.jQuery=s),b},isReady:!1,readyWait:1,holdReady:function(e){e?b.readyWait++:b.ready(!0)},ready:function(e){if(e===!0?!--b.readyWait:!b.isReady){if(!o.body)return setTimeout(b.ready);b.isReady=!0,e!==!0&&--b.readyWait>0||(n.resolveWith(o,[b]),b.fn.trigger&&b(o).trigger("ready").off("ready"))}},isFunction:function(e){return"function"===b.type(e)},isArray:Array.isArray||function(e){return"array"===b.type(e)},isWindow:function(e){return null!=e&&e==e.window},isNumeric:function(e){return!isNaN(parseFloat(e))&&isFinite(e)},type:function(e){return null==e?e+"":"object"==typeof e||"function"==typeof e?l[m.call(e)]||"object":typeof e},isPlainObject:function(e){if(!e||"object"!==b.type(e)||e.nodeType||b.isWindow(e))return!1;try{if(e.constructor&&!y.call(e,"constructor")&&!y.call(e.constructor.prototype,"isPrototypeOf"))return!1}catch(n){return!1}var r;for(r in e);return r===t||y.call(e,r)},isEmptyObject:function(e){var t;for(t in e)return!1;return!0},error:function(e){throw Error(e)},parseHTML:function(e,t,n){if(!e||"string"!=typeof e)return null;"boolean"==typeof t&&(n=t,t=!1),t=t||o;var r=C.exec(e),i=!n&&[];return r?[t.createElement(r[1])]:(r=b.buildFragment([e],t,i),i&&b(i).remove(),b.merge([],r.childNodes))},parseJSON:function(n){return e.JSON&&e.JSON.parse?e.JSON.parse(n):null===n?n:"string"==typeof n&&(n=b.trim(n),n&&k.test(n.replace(S,"@").replace(A,"]").replace(E,"")))?Function("return "+n)():(b.error("Invalid JSON: "+n),t)},parseXML:function(n){var r,i;if(!n||"string"!=typeof n)return null;try{e.DOMParser?(i=new DOMParser,r=i.parseFromString(n,"text/xml")):(r=new ActiveXObject("Microsoft.XMLDOM"),r.async="false",r.loadXML(n))}catch(o){r=t}return r&&r.documentElement&&!r.getElementsByTagName("parsererror").length||b.error("Invalid XML: "+n),r},noop:function(){},globalEval:function(t){t&&b.trim(t)&&(e.execScript||function(t){e.eval.call(e,t)})(t)},camelCase:function(e){return e.replace(j,"ms-").replace(D,L)},nodeName:function(e,t){return e.nodeName&&e.nodeName.toLowerCase()===t.toLowerCase()},each:function(e,t,n){var r,i=0,o=e.length,a=M(e);if(n){if(a){for(;o>i;i++)if(r=t.apply(e[i],n),r===!1)break}else for(i in e)if(r=t.apply(e[i],n),r===!1)break}else if(a){for(;o>i;i++)if(r=t.call(e[i],i,e[i]),r===!1)break}else for(i in e)if(r=t.call(e[i],i,e[i]),r===!1)break;return e},trim:v&&!v.call("\ufeff\u00a0")?function(e){return null==e?"":v.call(e)}:function(e){return null==e?"":(e+"").replace(T,"")},makeArray:function(e,t){var n=t||[];return null!=e&&(M(Object(e))?b.merge(n,"string"==typeof e?[e]:e):d.call(n,e)),n},inArray:function(e,t,n){var r;if(t){if(g)return g.call(t,e,n);for(r=t.length,n=n?0>n?Math.max(0,r+n):n:0;r>n;n++)if(n in t&&t[n]===e)return n}return-1},merge:function(e,n){var r=n.length,i=e.length,o=0;if("number"==typeof r)for(;r>o;o++)e[i++]=n[o];else while(n[o]!==t)e[i++]=n[o++];return e.length=i,e},grep:function(e,t,n){var r,i=[],o=0,a=e.length;for(n=!!n;a>o;o++)r=!!t(e[o],o),n!==r&&i.push(e[o]);return i},map:function(e,t,n){var r,i=0,o=e.length,a=M(e),s=[];if(a)for(;o>i;i++)r=t(e[i],i,n),null!=r&&(s[s.length]=r);else for(i in e)r=t(e[i],i,n),null!=r&&(s[s.length]=r);return f.apply([],s)},guid:1,proxy:function(e,n){var r,i,o;return"string"==typeof n&&(o=e[n],n=e,e=o),b.isFunction(e)?(r=h.call(arguments,2),i=function(){return e.apply(n||this,r.concat(h.call(arguments)))},i.guid=e.guid=e.guid||b.guid++,i):t},access:function(e,n,r,i,o,a,s){var u=0,l=e.length,c=null==r;if("object"===b.type(r)){o=!0;for(u in r)b.access(e,n,u,r[u],!0,a,s)}else if(i!==t&&(o=!0,b.isFunction(i)||(s=!0),c&&(s?(n.call(e,i),n=null):(c=n,n=function(e,t,n){return c.call(b(e),n)})),n))for(;l>u;u++)n(e[u],r,s?i:i.call(e[u],u,n(e[u],r)));return o?e:c?n.call(e):l?n(e[0],r):a},now:function(){return(new Date).getTime()}}),b.ready.promise=function(t){if(!n)if(n=b.Deferred(),"complete"===o.readyState)setTimeout(b.ready);else if(o.addEventListener)o.addEventListener("DOMContentLoaded",H,!1),e.addEventListener("load",H,!1);else{o.attachEvent("onreadystatechange",H),e.attachEvent("onload",H);var r=!1;try{r=null==e.frameElement&&o.documentElement}catch(i){}r&&r.doScroll&&function a(){if(!b.isReady){try{r.doScroll("left")}catch(e){return setTimeout(a,50)}q(),b.ready()}}()}return n.promise(t)},b.each("Boolean Number String Function Array Date RegExp Object Error".split(" "),function(e,t){l["[object "+t+"]"]=t.toLowerCase()});function M(e){var t=e.length,n=b.type(e);return b.isWindow(e)?!1:1===e.nodeType&&t?!0:"array"===n||"function"!==n&&(0===t||"number"==typeof t&&t>0&&t-1 in e)}r=b(o);var _={};function F(e){var t=_[e]={};return b.each(e.match(w)||[],function(e,n){t[n]=!0}),t}b.Callbacks=function(e){e="string"==typeof e?_[e]||F(e):b.extend({},e);var n,r,i,o,a,s,u=[],l=!e.once&&[],c=function(t){for(r=e.memory&&t,i=!0,a=s||0,s=0,o=u.length,n=!0;u&&o>a;a++)if(u[a].apply(t[0],t[1])===!1&&e.stopOnFalse){r=!1;break}n=!1,u&&(l?l.length&&c(l.shift()):r?u=[]:p.disable())},p={add:function(){if(u){var t=u.length;(function i(t){b.each(t,function(t,n){var r=b.type(n);"function"===r?e.unique&&p.has(n)||u.push(n):n&&n.length&&"string"!==r&&i(n)})})(arguments),n?o=u.length:r&&(s=t,c(r))}return this},remove:function(){return u&&b.each(arguments,function(e,t){var r;while((r=b.inArray(t,u,r))>-1)u.splice(r,1),n&&(o>=r&&o--,a>=r&&a--)}),this},has:function(e){return e?b.inArray(e,u)>-1:!(!u||!u.length)},empty:function(){return u=[],this},disable:function(){return u=l=r=t,this},disabled:function(){return!u},lock:function(){return l=t,r||p.disable(),this},locked:function(){return!l},fireWith:function(e,t){return t=t||[],t=[e,t.slice?t.slice():t],!u||i&&!l||(n?l.push(t):c(t)),this},fire:function(){return p.fireWith(this,arguments),this},fired:function(){return!!i}};return p},b.extend({Deferred:function(e){var t=[["resolve","done",b.Callbacks("once memory"),"resolved"],["reject","fail",b.Callbacks("once memory"),"rejected"],["notify","progress",b.Callbacks("memory")]],n="pending",r={state:function(){return n},always:function(){return i.done(arguments).fail(arguments),this},then:function(){var e=arguments;return b.Deferred(function(n){b.each(t,function(t,o){var a=o[0],s=b.isFunction(e[t])&&e[t];i[o[1]](function(){var e=s&&s.apply(this,arguments);e&&b.isFunction(e.promise)?e.promise().done(n.resolve).fail(n.reject).progress(n.notify):n[a+"With"](this===r?n.promise():this,s?[e]:arguments)})}),e=null}).promise()},promise:function(e){return null!=e?b.extend(e,r):r}},i={};return r.pipe=r.then,b.each(t,function(e,o){var a=o[2],s=o[3];r[o[1]]=a.add,s&&a.add(function(){n=s},t[1^e][2].disable,t[2][2].lock),i[o[0]]=function(){return i[o[0]+"With"](this===i?r:this,arguments),this},i[o[0]+"With"]=a.fireWith}),r.promise(i),e&&e.call(i,i),i},when:function(e){var t=0,n=h.call(arguments),r=n.length,i=1!==r||e&&b.isFunction(e.promise)?r:0,o=1===i?e:b.Deferred(),a=function(e,t,n){return function(r){t[e]=this,n[e]=arguments.length>1?h.call(arguments):r,n===s?o.notifyWith(t,n):--i||o.resolveWith(t,n)}},s,u,l;if(r>1)for(s=Array(r),u=Array(r),l=Array(r);r>t;t++)n[t]&&b.isFunction(n[t].promise)?n[t].promise().done(a(t,l,n)).fail(o.reject).progress(a(t,u,s)):--i;return i||o.resolveWith(l,n),o.promise()}}),b.support=function(){var t,n,r,a,s,u,l,c,p,f,d=o.createElement("div");if(d.setAttribute("className","t"),d.innerHTML=" <link/><table></table><a href='/a'>a</a><input type='checkbox'/>",n=d.getElementsByTagName("*"),r=d.getElementsByTagName("a")[0],!n||!r||!n.length)return{};s=o.createElement("select"),l=s.appendChild(o.createElement("option")),a=d.getElementsByTagName("input")[0],r.style.cssText="top:1px;float:left;opacity:.5",t={getSetAttribute:"t"!==d.className,leadingWhitespace:3===d.firstChild.nodeType,tbody:!d.getElementsByTagName("tbody").length,htmlSerialize:!!d.getElementsByTagName("link").length,style:/top/.test(r.getAttribute("style")),hrefNormalized:"/a"===r.getAttribute("href"),opacity:/^0.5/.test(r.style.opacity),cssFloat:!!r.style.cssFloat,checkOn:!!a.value,optSelected:l.selected,enctype:!!o.createElement("form").enctype,html5Clone:"<:nav></:nav>"!==o.createElement("nav").cloneNode(!0).outerHTML,boxModel:"CSS1Compat"===o.compatMode,deleteExpando:!0,noCloneEvent:!0,inlineBlockNeedsLayout:!1,shrinkWrapBlocks:!1,reliableMarginRight:!0,boxSizingReliable:!0,pixelPosition:!1},a.checked=!0,t.noCloneChecked=a.cloneNode(!0).checked,s.disabled=!0,t.optDisabled=!l.disabled;try{delete d.test}catch(h){t.deleteExpando=!1}a=o.createElement("input"),a.setAttribute("value",""),t.input=""===a.getAttribute("value"),a.value="t",a.setAttribute("type","radio"),t.radioValue="t"===a.value,a.setAttribute("checked","t"),a.setAttribute("name","t"),u=o.createDocumentFragment(),u.appendChild(a),t.appendChecked=a.checked,t.checkClone=u.cloneNode(!0).cloneNode(!0).lastChild.checked,d.attachEvent&&(d.attachEvent("onclick",function(){t.noCloneEvent=!1}),d.cloneNode(!0).click());for(f in{submit:!0,change:!0,focusin:!0})d.setAttribute(c="on"+f,"t"),t[f+"Bubbles"]=c in e||d.attributes[c].expando===!1;return d.style.backgroundClip="content-box",d.cloneNode(!0).style.backgroundClip="",t.clearCloneStyle="content-box"===d.style.backgroundClip,b(function(){var n,r,a,s="padding:0;margin:0;border:0;display:block;box-sizing:content-box;-moz-box-sizing:content-box;-webkit-box-sizing:content-box;",u=o.getElementsByTagName("body")[0];u&&(n=o.createElement("div"),n.style.cssText="border:0;width:0;height:0;position:absolute;top:0;left:-9999px;margin-top:1px",u.appendChild(n).appendChild(d),d.innerHTML="<table><tr><td></td><td>t</td></tr></table>",a=d.getElementsByTagName("td"),a[0].style.cssText="padding:0;margin:0;border:0;display:none",p=0===a[0].offsetHeight,a[0].style.display="",a[1].style.display="none",t.reliableHiddenOffsets=p&&0===a[0].offsetHeight,d.innerHTML="",d.style.cssText="box-sizing:border-box;-moz-box-sizing:border-box;-webkit-box-sizing:border-box;padding:1px;border:1px;display:block;width:4px;margin-top:1%;position:absolute;top:1%;",t.boxSizing=4===d.offsetWidth,t.doesNotIncludeMarginInBodyOffset=1!==u.offsetTop,e.getComputedStyle&&(t.pixelPosition="1%"!==(e.getComputedStyle(d,null)||{}).top,t.boxSizingReliable="4px"===(e.getComputedStyle(d,null)||{width:"4px"}).width,r=d.appendChild(o.createElement("div")),r.style.cssText=d.style.cssText=s,r.style.marginRight=r.style.width="0",d.style.width="1px",t.reliableMarginRight=!parseFloat((e.getComputedStyle(r,null)||{}).marginRight)),typeof d.style.zoom!==i&&(d.innerHTML="",d.style.cssText=s+"width:1px;padding:1px;display:inline;zoom:1",t.inlineBlockNeedsLayout=3===d.offsetWidth,d.style.display="block",d.innerHTML="<div></div>",d.firstChild.style.width="5px",t.shrinkWrapBlocks=3!==d.offsetWidth,t.inlineBlockNeedsLayout&&(u.style.zoom=1)),u.removeChild(n),n=d=a=r=null)}),n=s=u=l=r=a=null,t}();var O=/(?:\{[\s\S]*\}|\[[\s\S]*\])$/,B=/([A-Z])/g;function P(e,n,r,i){if(b.acceptData(e)){var o,a,s=b.expando,u="string"==typeof n,l=e.nodeType,p=l?b.cache:e,f=l?e[s]:e[s]&&s;if(f&&p[f]&&(i||p[f].data)||!u||r!==t)return f||(l?e[s]=f=c.pop()||b.guid++:f=s),p[f]||(p[f]={},l||(p[f].toJSON=b.noop)),("object"==typeof n||"function"==typeof n)&&(i?p[f]=b.extend(p[f],n):p[f].data=b.extend(p[f].data,n)),o=p[f],i||(o.data||(o.data={}),o=o.data),r!==t&&(o[b.camelCase(n)]=r),u?(a=o[n],null==a&&(a=o[b.camelCase(n)])):a=o,a}}function R(e,t,n){if(b.acceptData(e)){var r,i,o,a=e.nodeType,s=a?b.cache:e,u=a?e[b.expando]:b.expando;if(s[u]){if(t&&(o=n?s[u]:s[u].data)){b.isArray(t)?t=t.concat(b.map(t,b.camelCase)):t in o?t=[t]:(t=b.camelCase(t),t=t in o?[t]:t.split(" "));for(r=0,i=t.length;i>r;r++)delete o[t[r]];if(!(n?$:b.isEmptyObject)(o))return}(n||(delete s[u].data,$(s[u])))&&(a?b.cleanData([e],!0):b.support.deleteExpando||s!=s.window?delete s[u]:s[u]=null)}}}b.extend({cache:{},expando:"jQuery"+(p+Math.random()).replace(/\D/g,""),noData:{embed:!0,object:"clsid:D27CDB6E-AE6D-11cf-96B8-444553540000",applet:!0},hasData:function(e){return e=e.nodeType?b.cache[e[b.expando]]:e[b.expando],!!e&&!$(e)},data:function(e,t,n){return P(e,t,n)},removeData:function(e,t){return R(e,t)},_data:function(e,t,n){return P(e,t,n,!0)},_removeData:function(e,t){return R(e,t,!0)},acceptData:function(e){if(e.nodeType&&1!==e.nodeType&&9!==e.nodeType)return!1;var t=e.nodeName&&b.noData[e.nodeName.toLowerCase()];return!t||t!==!0&&e.getAttribute("classid")===t}}),b.fn.extend({data:function(e,n){var r,i,o=this[0],a=0,s=null;if(e===t){if(this.length&&(s=b.data(o),1===o.nodeType&&!b._data(o,"parsedAttrs"))){for(r=o.attributes;r.length>a;a++)i=r[a].name,i.indexOf("data-")||(i=b.camelCase(i.slice(5)),W(o,i,s[i]));b._data(o,"parsedAttrs",!0)}return s}return"object"==typeof e?this.each(function(){b.data(this,e)}):b.access(this,function(n){return n===t?o?W(o,e,b.data(o,e)):null:(this.each(function(){b.data(this,e,n)}),t)},null,n,arguments.length>1,null,!0)},removeData:function(e){return this.each(function(){b.removeData(this,e)})}});function W(e,n,r){if(r===t&&1===e.nodeType){var i="data-"+n.replace(B,"-$1").toLowerCase();if(r=e.getAttribute(i),"string"==typeof r){try{r="true"===r?!0:"false"===r?!1:"null"===r?null:+r+""===r?+r:O.test(r)?b.parseJSON(r):r}catch(o){}b.data(e,n,r)}else r=t}return r}function $(e){var t;for(t in e)if(("data"!==t||!b.isEmptyObject(e[t]))&&"toJSON"!==t)return!1;return!0}b.extend({queue:function(e,n,r){var i;return e?(n=(n||"fx")+"queue",i=b._data(e,n),r&&(!i||b.isArray(r)?i=b._data(e,n,b.makeArray(r)):i.push(r)),i||[]):t},dequeue:function(e,t){t=t||"fx";var n=b.queue(e,t),r=n.length,i=n.shift(),o=b._queueHooks(e,t),a=function(){b.dequeue(e,t)};"inprogress"===i&&(i=n.shift(),r--),o.cur=i,i&&("fx"===t&&n.unshift("inprogress"),delete o.stop,i.call(e,a,o)),!r&&o&&o.empty.fire()},_queueHooks:function(e,t){var n=t+"queueHooks";return b._data(e,n)||b._data(e,n,{empty:b.Callbacks("once memory").add(function(){b._removeData(e,t+"queue"),b._removeData(e,n)})})}}),b.fn.extend({queue:function(e,n){var r=2;return"string"!=typeof e&&(n=e,e="fx",r--),r>arguments.length?b.queue(this[0],e):n===t?this:this.each(function(){var t=b.queue(this,e,n);b._queueHooks(this,e),"fx"===e&&"inprogress"!==t[0]&&b.dequeue(this,e)})},dequeue:function(e){return this.each(function(){b.dequeue(this,e)})},delay:function(e,t){return e=b.fx?b.fx.speeds[e]||e:e,t=t||"fx",this.queue(t,function(t,n){var r=setTimeout(t,e);n.stop=function(){clearTimeout(r)}})},clearQueue:function(e){return this.queue(e||"fx",[])},promise:function(e,n){var r,i=1,o=b.Deferred(),a=this,s=this.length,u=function(){--i||o.resolveWith(a,[a])};"string"!=typeof e&&(n=e,e=t),e=e||"fx";while(s--)r=b._data(a[s],e+"queueHooks"),r&&r.empty&&(i++,r.empty.add(u));return u(),o.promise(n)}});var I,z,X=/[\t\r\n]/g,U=/\r/g,V=/^(?:input|select|textarea|button|object)$/i,Y=/^(?:a|area)$/i,J=/^(?:checked|selected|autofocus|autoplay|async|controls|defer|disabled|hidden|loop|multiple|open|readonly|required|scoped)$/i,G=/^(?:checked|selected)$/i,Q=b.support.getSetAttribute,K=b.support.input;b.fn.extend({attr:function(e,t){return b.access(this,b.attr,e,t,arguments.length>1)},removeAttr:function(e){return this.each(function(){b.removeAttr(this,e)})},prop:function(e,t){return b.access(this,b.prop,e,t,arguments.length>1)},removeProp:function(e){return e=b.propFix[e]||e,this.each(function(){try{this[e]=t,delete this[e]}catch(n){}})},addClass:function(e){var t,n,r,i,o,a=0,s=this.length,u="string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).addClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):" ")){o=0;while(i=t[o++])0>r.indexOf(" "+i+" ")&&(r+=i+" ");n.className=b.trim(r)}return this},removeClass:function(e){var t,n,r,i,o,a=0,s=this.length,u=0===arguments.length||"string"==typeof e&&e;if(b.isFunction(e))return this.each(function(t){b(this).removeClass(e.call(this,t,this.className))});if(u)for(t=(e||"").match(w)||[];s>a;a++)if(n=this[a],r=1===n.nodeType&&(n.className?(" "+n.className+" ").replace(X," "):"")){o=0;while(i=t[o++])while(r.indexOf(" "+i+" ")>=0)r=r.replace(" "+i+" "," ");n.className=e?b.trim(r):""}return this},toggleClass:function(e,t){var n=typeof e,r="boolean"==typeof t;return b.isFunction(e)?this.each(function(n){b(this).toggleClass(e.call(this,n,this.className,t),t)}):this.each(function(){if("string"===n){var o,a=0,s=b(this),u=t,l=e.match(w)||[];while(o=l[a++])u=r?u:!s.hasClass(o),s[u?"addClass":"removeClass"](o)}else(n===i||"boolean"===n)&&(this.className&&b._data(this,"__className__",this.className),this.className=this.className||e===!1?"":b._data(this,"__className__")||"")})},hasClass:function(e){var t=" "+e+" ",n=0,r=this.length;for(;r>n;n++)if(1===this[n].nodeType&&(" "+this[n].className+" ").replace(X," ").indexOf(t)>=0)return!0;return!1},val:function(e){var n,r,i,o=this[0];{if(arguments.length)return i=b.isFunction(e),this.each(function(n){var o,a=b(this);1===this.nodeType&&(o=i?e.call(this,n,a.val()):e,null==o?o="":"number"==typeof o?o+="":b.isArray(o)&&(o=b.map(o,function(e){return null==e?"":e+""})),r=b.valHooks[this.type]||b.valHooks[this.nodeName.toLowerCase()],r&&"set"in r&&r.set(this,o,"value")!==t||(this.value=o))});if(o)return r=b.valHooks[o.type]||b.valHooks[o.nodeName.toLowerCase()],r&&"get"in r&&(n=r.get(o,"value"))!==t?n:(n=o.value,"string"==typeof n?n.replace(U,""):null==n?"":n)}}}),b.extend({valHooks:{option:{get:function(e){var t=e.attributes.value;return!t||t.specified?e.value:e.text}},select:{get:function(e){var t,n,r=e.options,i=e.selectedIndex,o="select-one"===e.type||0>i,a=o?null:[],s=o?i+1:r.length,u=0>i?s:o?i:0;for(;s>u;u++)if(n=r[u],!(!n.selected&&u!==i||(b.support.optDisabled?n.disabled:null!==n.getAttribute("disabled"))||n.parentNode.disabled&&b.nodeName(n.parentNode,"optgroup"))){if(t=b(n).val(),o)return t;a.push(t)}return a},set:function(e,t){var n=b.makeArray(t);return b(e).find("option").each(function(){this.selected=b.inArray(b(this).val(),n)>=0}),n.length||(e.selectedIndex=-1),n}}},attr:function(e,n,r){var o,a,s,u=e.nodeType;if(e&&3!==u&&8!==u&&2!==u)return typeof e.getAttribute===i?b.prop(e,n,r):(a=1!==u||!b.isXMLDoc(e),a&&(n=n.toLowerCase(),o=b.attrHooks[n]||(J.test(n)?z:I)),r===t?o&&a&&"get"in o&&null!==(s=o.get(e,n))?s:(typeof e.getAttribute!==i&&(s=e.getAttribute(n)),null==s?t:s):null!==r?o&&a&&"set"in o&&(s=o.set(e,r,n))!==t?s:(e.setAttribute(n,r+""),r):(b.removeAttr(e,n),t))},removeAttr:function(e,t){var n,r,i=0,o=t&&t.match(w);if(o&&1===e.nodeType)while(n=o[i++])r=b.propFix[n]||n,J.test(n)?!Q&&G.test(n)?e[b.camelCase("default-"+n)]=e[r]=!1:e[r]=!1:b.attr(e,n,""),e.removeAttribute(Q?n:r)},attrHooks:{type:{set:function(e,t){if(!b.support.radioValue&&"radio"===t&&b.nodeName(e,"input")){var n=e.value;return e.setAttribute("type",t),n&&(e.value=n),t}}}},propFix:{tabindex:"tabIndex",readonly:"readOnly","for":"htmlFor","class":"className",maxlength:"maxLength",cellspacing:"cellSpacing",cellpadding:"cellPadding",rowspan:"rowSpan",colspan:"colSpan",usemap:"useMap",frameborder:"frameBorder",contenteditable:"contentEditable"},prop:function(e,n,r){var i,o,a,s=e.nodeType;if(e&&3!==s&&8!==s&&2!==s)return a=1!==s||!b.isXMLDoc(e),a&&(n=b.propFix[n]||n,o=b.propHooks[n]),r!==t?o&&"set"in o&&(i=o.set(e,r,n))!==t?i:e[n]=r:o&&"get"in o&&null!==(i=o.get(e,n))?i:e[n]},propHooks:{tabIndex:{get:function(e){var n=e.getAttributeNode("tabindex");return n&&n.specified?parseInt(n.value,10):V.test(e.nodeName)||Y.test(e.nodeName)&&e.href?0:t}}}}),z={get:function(e,n){var r=b.prop(e,n),i="boolean"==typeof r&&e.getAttribute(n),o="boolean"==typeof r?K&&Q?null!=i:G.test(n)?e[b.camelCase("default-"+n)]:!!i:e.getAttributeNode(n);return o&&o.value!==!1?n.toLowerCase():t},set:function(e,t,n){return t===!1?b.removeAttr(e,n):K&&Q||!G.test(n)?e.setAttribute(!Q&&b.propFix[n]||n,n):e[b.camelCase("default-"+n)]=e[n]=!0,n}},K&&Q||(b.attrHooks.value={get:function(e,n){var r=e.getAttributeNode(n);return b.nodeName(e,"input")?e.defaultValue:r&&r.specified?r.value:t},set:function(e,n,r){return b.nodeName(e,"input")?(e.defaultValue=n,t):I&&I.set(e,n,r)}}),Q||(I=b.valHooks.button={get:function(e,n){var r=e.getAttributeNode(n);return r&&("id"===n||"name"===n||"coords"===n?""!==r.value:r.specified)?r.value:t},set:function(e,n,r){var i=e.getAttributeNode(r);return i||e.setAttributeNode(i=e.ownerDocument.createAttribute(r)),i.value=n+="","value"===r||n===e.getAttribute(r)?n:t}},b.attrHooks.contenteditable={get:I.get,set:function(e,t,n){I.set(e,""===t?!1:t,n)}},b.each(["width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{set:function(e,r){return""===r?(e.setAttribute(n,"auto"),r):t}})})),b.support.hrefNormalized||(b.each(["href","src","width","height"],function(e,n){b.attrHooks[n]=b.extend(b.attrHooks[n],{get:function(e){var r=e.getAttribute(n,2);return null==r?t:r}})}),b.each(["href","src"],function(e,t){b.propHooks[t]={get:function(e){return e.getAttribute(t,4)}}})),b.support.style||(b.attrHooks.style={get:function(e){return e.style.cssText||t},set:function(e,t){return e.style.cssText=t+""}}),b.support.optSelected||(b.propHooks.selected=b.extend(b.propHooks.selected,{get:function(e){var t=e.parentNode;return t&&(t.selectedIndex,t.parentNode&&t.parentNode.selectedIndex),null}})),b.support.enctype||(b.propFix.enctype="encoding"),b.support.checkOn||b.each(["radio","checkbox"],function(){b.valHooks[this]={get:function(e){return null===e.getAttribute("value")?"on":e.value}}}),b.each(["radio","checkbox"],function(){b.valHooks[this]=b.extend(b.valHooks[this],{set:function(e,n){return b.isArray(n)?e.checked=b.inArray(b(e).val(),n)>=0:t}})});var Z=/^(?:input|select|textarea)$/i,et=/^key/,tt=/^(?:mouse|contextmenu)|click/,nt=/^(?:focusinfocus|focusoutblur)$/,rt=/^([^.]*)(?:\.(.+)|)$/;function it(){return!0}function ot(){return!1}b.event={global:{},add:function(e,n,r,o,a){var s,u,l,c,p,f,d,h,g,m,y,v=b._data(e);if(v){r.handler&&(c=r,r=c.handler,a=c.selector),r.guid||(r.guid=b.guid++),(u=v.events)||(u=v.events={}),(f=v.handle)||(f=v.handle=function(e){return typeof b===i||e&&b.event.triggered===e.type?t:b.event.dispatch.apply(f.elem,arguments)},f.elem=e),n=(n||"").match(w)||[""],l=n.length;while(l--)s=rt.exec(n[l])||[],g=y=s[1],m=(s[2]||"").split(".").sort(),p=b.event.special[g]||{},g=(a?p.delegateType:p.bindType)||g,p=b.event.special[g]||{},d=b.extend({type:g,origType:y,data:o,handler:r,guid:r.guid,selector:a,needsContext:a&&b.expr.match.needsContext.test(a),namespace:m.join(".")},c),(h=u[g])||(h=u[g]=[],h.delegateCount=0,p.setup&&p.setup.call(e,o,m,f)!==!1||(e.addEventListener?e.addEventListener(g,f,!1):e.attachEvent&&e.attachEvent("on"+g,f))),p.add&&(p.add.call(e,d),d.handler.guid||(d.handler.guid=r.guid)),a?h.splice(h.delegateCount++,0,d):h.push(d),b.event.global[g]=!0;e=null}},remove:function(e,t,n,r,i){var o,a,s,u,l,c,p,f,d,h,g,m=b.hasData(e)&&b._data(e);if(m&&(c=m.events)){t=(t||"").match(w)||[""],l=t.length;while(l--)if(s=rt.exec(t[l])||[],d=g=s[1],h=(s[2]||"").split(".").sort(),d){p=b.event.special[d]||{},d=(r?p.delegateType:p.bindType)||d,f=c[d]||[],s=s[2]&&RegExp("(^|\\.)"+h.join("\\.(?:.*\\.|)")+"(\\.|$)"),u=o=f.length;while(o--)a=f[o],!i&&g!==a.origType||n&&n.guid!==a.guid||s&&!s.test(a.namespace)||r&&r!==a.selector&&("**"!==r||!a.selector)||(f.splice(o,1),a.selector&&f.delegateCount--,p.remove&&p.remove.call(e,a));u&&!f.length&&(p.teardown&&p.teardown.call(e,h,m.handle)!==!1||b.removeEvent(e,d,m.handle),delete c[d])}else for(d in c)b.event.remove(e,d+t[l],n,r,!0);b.isEmptyObject(c)&&(delete m.handle,b._removeData(e,"events"))}},trigger:function(n,r,i,a){var s,u,l,c,p,f,d,h=[i||o],g=y.call(n,"type")?n.type:n,m=y.call(n,"namespace")?n.namespace.split("."):[];if(l=f=i=i||o,3!==i.nodeType&&8!==i.nodeType&&!nt.test(g+b.event.triggered)&&(g.indexOf(".")>=0&&(m=g.split("."),g=m.shift(),m.sort()),u=0>g.indexOf(":")&&"on"+g,n=n[b.expando]?n:new b.Event(g,"object"==typeof n&&n),n.isTrigger=!0,n.namespace=m.join("."),n.namespace_re=n.namespace?RegExp("(^|\\.)"+m.join("\\.(?:.*\\.|)")+"(\\.|$)"):null,n.result=t,n.target||(n.target=i),r=null==r?[n]:b.makeArray(r,[n]),p=b.event.special[g]||{},a||!p.trigger||p.trigger.apply(i,r)!==!1)){if(!a&&!p.noBubble&&!b.isWindow(i)){for(c=p.delegateType||g,nt.test(c+g)||(l=l.parentNode);l;l=l.parentNode)h.push(l),f=l;f===(i.ownerDocument||o)&&h.push(f.defaultView||f.parentWindow||e)}d=0;while((l=h[d++])&&!n.isPropagationStopped())n.type=d>1?c:p.bindType||g,s=(b._data(l,"events")||{})[n.type]&&b._data(l,"handle"),s&&s.apply(l,r),s=u&&l[u],s&&b.acceptData(l)&&s.apply&&s.apply(l,r)===!1&&n.preventDefault();if(n.type=g,!(a||n.isDefaultPrevented()||p._default&&p._default.apply(i.ownerDocument,r)!==!1||"click"===g&&b.nodeName(i,"a")||!b.acceptData(i)||!u||!i[g]||b.isWindow(i))){f=i[u],f&&(i[u]=null),b.event.triggered=g;try{i[g]()}catch(v){}b.event.triggered=t,f&&(i[u]=f)}return n.result}},dispatch:function(e){e=b.event.fix(e);var n,r,i,o,a,s=[],u=h.call(arguments),l=(b._data(this,"events")||{})[e.type]||[],c=b.event.special[e.type]||{};if(u[0]=e,e.delegateTarget=this,!c.preDispatch||c.preDispatch.call(this,e)!==!1){s=b.event.handlers.call(this,e,l),n=0;while((o=s[n++])&&!e.isPropagationStopped()){e.currentTarget=o.elem,a=0;while((i=o.handlers[a++])&&!e.isImmediatePropagationStopped())(!e.namespace_re||e.namespace_re.test(i.namespace))&&(e.handleObj=i,e.data=i.data,r=((b.event.special[i.origType]||{}).handle||i.handler).apply(o.elem,u),r!==t&&(e.result=r)===!1&&(e.preventDefault(),e.stopPropagation()))}return c.postDispatch&&c.postDispatch.call(this,e),e.result}},handlers:function(e,n){var r,i,o,a,s=[],u=n.delegateCount,l=e.target;if(u&&l.nodeType&&(!e.button||"click"!==e.type))for(;l!=this;l=l.parentNode||this)if(1===l.nodeType&&(l.disabled!==!0||"click"!==e.type)){for(o=[],a=0;u>a;a++)i=n[a],r=i.selector+" ",o[r]===t&&(o[r]=i.needsContext?b(r,this).index(l)>=0:b.find(r,this,null,[l]).length),o[r]&&o.push(i);o.length&&s.push({elem:l,handlers:o})}return n.length>u&&s.push({elem:this,handlers:n.slice(u)}),s},fix:function(e){if(e[b.expando])return e;var t,n,r,i=e.type,a=e,s=this.fixHooks[i];s||(this.fixHooks[i]=s=tt.test(i)?this.mouseHooks:et.test(i)?this.keyHooks:{}),r=s.props?this.props.concat(s.props):this.props,e=new b.Event(a),t=r.length;while(t--)n=r[t],e[n]=a[n];return e.target||(e.target=a.srcElement||o),3===e.target.nodeType&&(e.target=e.target.parentNode),e.metaKey=!!e.metaKey,s.filter?s.filter(e,a):e},props:"altKey bubbles cancelable ctrlKey currentTarget eventPhase metaKey relatedTarget shiftKey target timeStamp view which".split(" "),fixHooks:{},keyHooks:{props:"char charCode key keyCode".split(" "),filter:function(e,t){return null==e.which&&(e.which=null!=t.charCode?t.charCode:t.keyCode),e}},mouseHooks:{props:"button buttons clientX clientY fromElement offsetX offsetY pageX pageY screenX screenY toElement".split(" "),filter:function(e,n){var r,i,a,s=n.button,u=n.fromElement;return null==e.pageX&&null!=n.clientX&&(i=e.target.ownerDocument||o,a=i.documentElement,r=i.body,e.pageX=n.clientX+(a&&a.scrollLeft||r&&r.scrollLeft||0)-(a&&a.clientLeft||r&&r.clientLeft||0),e.pageY=n.clientY+(a&&a.scrollTop||r&&r.scrollTop||0)-(a&&a.clientTop||r&&r.clientTop||0)),!e.relatedTarget&&u&&(e.relatedTarget=u===e.target?n.toElement:u),e.which||s===t||(e.which=1&s?1:2&s?3:4&s?2:0),e}},special:{load:{noBubble:!0},click:{trigger:function(){return b.nodeName(this,"input")&&"checkbox"===this.type&&this.click?(this.click(),!1):t}},focus:{trigger:function(){if(this!==o.activeElement&&this.focus)try{return this.focus(),!1}catch(e){}},delegateType:"focusin"},blur:{trigger:function(){return this===o.activeElement&&this.blur?(this.blur(),!1):t},delegateType:"focusout"},beforeunload:{postDispatch:function(e){e.result!==t&&(e.originalEvent.returnValue=e.result)}}},simulate:function(e,t,n,r){var i=b.extend(new b.Event,n,{type:e,isSimulated:!0,originalEvent:{}});r?b.event.trigger(i,null,t):b.event.dispatch.call(t,i),i.isDefaultPrevented()&&n.preventDefault()}},b.removeEvent=o.removeEventListener?function(e,t,n){e.removeEventListener&&e.removeEventListener(t,n,!1)}:function(e,t,n){var r="on"+t;e.detachEvent&&(typeof e[r]===i&&(e[r]=null),e.detachEvent(r,n))},b.Event=function(e,n){return this instanceof b.Event?(e&&e.type?(this.originalEvent=e,this.type=e.type,this.isDefaultPrevented=e.defaultPrevented||e.returnValue===!1||e.getPreventDefault&&e.getPreventDefault()?it:ot):this.type=e,n&&b.extend(this,n),this.timeStamp=e&&e.timeStamp||b.now(),this[b.expando]=!0,t):new b.Event(e,n)},b.Event.prototype={isDefaultPrevented:ot,isPropagationStopped:ot,isImmediatePropagationStopped:ot,preventDefault:function(){var e=this.originalEvent;this.isDefaultPrevented=it,e&&(e.preventDefault?e.preventDefault():e.returnValue=!1)},stopPropagation:function(){var e=this.originalEvent;this.isPropagationStopped=it,e&&(e.stopPropagation&&e.stopPropagation(),e.cancelBubble=!0)},stopImmediatePropagation:function(){this.isImmediatePropagationStopped=it,this.stopPropagation()}},b.each({mouseenter:"mouseover",mouseleave:"mouseout"},function(e,t){b.event.special[e]={delegateType:t,bindType:t,handle:function(e){var n,r=this,i=e.relatedTarget,o=e.handleObj; | |
| 4 | -return(!i||i!==r&&!b.contains(r,i))&&(e.type=o.origType,n=o.handler.apply(this,arguments),e.type=t),n}}}),b.support.submitBubbles||(b.event.special.submit={setup:function(){return b.nodeName(this,"form")?!1:(b.event.add(this,"click._submit keypress._submit",function(e){var n=e.target,r=b.nodeName(n,"input")||b.nodeName(n,"button")?n.form:t;r&&!b._data(r,"submitBubbles")&&(b.event.add(r,"submit._submit",function(e){e._submit_bubble=!0}),b._data(r,"submitBubbles",!0))}),t)},postDispatch:function(e){e._submit_bubble&&(delete e._submit_bubble,this.parentNode&&!e.isTrigger&&b.event.simulate("submit",this.parentNode,e,!0))},teardown:function(){return b.nodeName(this,"form")?!1:(b.event.remove(this,"._submit"),t)}}),b.support.changeBubbles||(b.event.special.change={setup:function(){return Z.test(this.nodeName)?(("checkbox"===this.type||"radio"===this.type)&&(b.event.add(this,"propertychange._change",function(e){"checked"===e.originalEvent.propertyName&&(this._just_changed=!0)}),b.event.add(this,"click._change",function(e){this._just_changed&&!e.isTrigger&&(this._just_changed=!1),b.event.simulate("change",this,e,!0)})),!1):(b.event.add(this,"beforeactivate._change",function(e){var t=e.target;Z.test(t.nodeName)&&!b._data(t,"changeBubbles")&&(b.event.add(t,"change._change",function(e){!this.parentNode||e.isSimulated||e.isTrigger||b.event.simulate("change",this.parentNode,e,!0)}),b._data(t,"changeBubbles",!0))}),t)},handle:function(e){var n=e.target;return this!==n||e.isSimulated||e.isTrigger||"radio"!==n.type&&"checkbox"!==n.type?e.handleObj.handler.apply(this,arguments):t},teardown:function(){return b.event.remove(this,"._change"),!Z.test(this.nodeName)}}),b.support.focusinBubbles||b.each({focus:"focusin",blur:"focusout"},function(e,t){var n=0,r=function(e){b.event.simulate(t,e.target,b.event.fix(e),!0)};b.event.special[t]={setup:function(){0===n++&&o.addEventListener(e,r,!0)},teardown:function(){0===--n&&o.removeEventListener(e,r,!0)}}}),b.fn.extend({on:function(e,n,r,i,o){var a,s;if("object"==typeof e){"string"!=typeof n&&(r=r||n,n=t);for(a in e)this.on(a,n,r,e[a],o);return this}if(null==r&&null==i?(i=n,r=n=t):null==i&&("string"==typeof n?(i=r,r=t):(i=r,r=n,n=t)),i===!1)i=ot;else if(!i)return this;return 1===o&&(s=i,i=function(e){return b().off(e),s.apply(this,arguments)},i.guid=s.guid||(s.guid=b.guid++)),this.each(function(){b.event.add(this,e,i,r,n)})},one:function(e,t,n,r){return this.on(e,t,n,r,1)},off:function(e,n,r){var i,o;if(e&&e.preventDefault&&e.handleObj)return i=e.handleObj,b(e.delegateTarget).off(i.namespace?i.origType+"."+i.namespace:i.origType,i.selector,i.handler),this;if("object"==typeof e){for(o in e)this.off(o,n,e[o]);return this}return(n===!1||"function"==typeof n)&&(r=n,n=t),r===!1&&(r=ot),this.each(function(){b.event.remove(this,e,r,n)})},bind:function(e,t,n){return this.on(e,null,t,n)},unbind:function(e,t){return this.off(e,null,t)},delegate:function(e,t,n,r){return this.on(t,e,n,r)},undelegate:function(e,t,n){return 1===arguments.length?this.off(e,"**"):this.off(t,e||"**",n)},trigger:function(e,t){return this.each(function(){b.event.trigger(e,t,this)})},triggerHandler:function(e,n){var r=this[0];return r?b.event.trigger(e,n,r,!0):t}}),function(e,t){var n,r,i,o,a,s,u,l,c,p,f,d,h,g,m,y,v,x="sizzle"+-new Date,w=e.document,T={},N=0,C=0,k=it(),E=it(),S=it(),A=typeof t,j=1<<31,D=[],L=D.pop,H=D.push,q=D.slice,M=D.indexOf||function(e){var t=0,n=this.length;for(;n>t;t++)if(this[t]===e)return t;return-1},_="[\\x20\\t\\r\\n\\f]",F="(?:\\\\.|[\\w-]|[^\\x00-\\xa0])+",O=F.replace("w","w#"),B="([*^$|!~]?=)",P="\\["+_+"*("+F+")"+_+"*(?:"+B+_+"*(?:(['\"])((?:\\\\.|[^\\\\])*?)\\3|("+O+")|)|)"+_+"*\\]",R=":("+F+")(?:\\(((['\"])((?:\\\\.|[^\\\\])*?)\\3|((?:\\\\.|[^\\\\()[\\]]|"+P.replace(3,8)+")*)|.*)\\)|)",W=RegExp("^"+_+"+|((?:^|[^\\\\])(?:\\\\.)*)"+_+"+$","g"),$=RegExp("^"+_+"*,"+_+"*"),I=RegExp("^"+_+"*([\\x20\\t\\r\\n\\f>+~])"+_+"*"),z=RegExp(R),X=RegExp("^"+O+"$"),U={ID:RegExp("^#("+F+")"),CLASS:RegExp("^\\.("+F+")"),NAME:RegExp("^\\[name=['\"]?("+F+")['\"]?\\]"),TAG:RegExp("^("+F.replace("w","w*")+")"),ATTR:RegExp("^"+P),PSEUDO:RegExp("^"+R),CHILD:RegExp("^:(only|first|last|nth|nth-last)-(child|of-type)(?:\\("+_+"*(even|odd|(([+-]|)(\\d*)n|)"+_+"*(?:([+-]|)"+_+"*(\\d+)|))"+_+"*\\)|)","i"),needsContext:RegExp("^"+_+"*[>+~]|:(even|odd|eq|gt|lt|nth|first|last)(?:\\("+_+"*((?:-\\d)?\\d*)"+_+"*\\)|)(?=[^-]|$)","i")},V=/[\x20\t\r\n\f]*[+~]/,Y=/^[^{]+\{\s*\[native code/,J=/^(?:#([\w-]+)|(\w+)|\.([\w-]+))$/,G=/^(?:input|select|textarea|button)$/i,Q=/^h\d$/i,K=/'|\\/g,Z=/\=[\x20\t\r\n\f]*([^'"\]]*)[\x20\t\r\n\f]*\]/g,et=/\\([\da-fA-F]{1,6}[\x20\t\r\n\f]?|.)/g,tt=function(e,t){var n="0x"+t-65536;return n!==n?t:0>n?String.fromCharCode(n+65536):String.fromCharCode(55296|n>>10,56320|1023&n)};try{q.call(w.documentElement.childNodes,0)[0].nodeType}catch(nt){q=function(e){var t,n=[];while(t=this[e++])n.push(t);return n}}function rt(e){return Y.test(e+"")}function it(){var e,t=[];return e=function(n,r){return t.push(n+=" ")>i.cacheLength&&delete e[t.shift()],e[n]=r}}function ot(e){return e[x]=!0,e}function at(e){var t=p.createElement("div");try{return e(t)}catch(n){return!1}finally{t=null}}function st(e,t,n,r){var i,o,a,s,u,l,f,g,m,v;if((t?t.ownerDocument||t:w)!==p&&c(t),t=t||p,n=n||[],!e||"string"!=typeof e)return n;if(1!==(s=t.nodeType)&&9!==s)return[];if(!d&&!r){if(i=J.exec(e))if(a=i[1]){if(9===s){if(o=t.getElementById(a),!o||!o.parentNode)return n;if(o.id===a)return n.push(o),n}else if(t.ownerDocument&&(o=t.ownerDocument.getElementById(a))&&y(t,o)&&o.id===a)return n.push(o),n}else{if(i[2])return H.apply(n,q.call(t.getElementsByTagName(e),0)),n;if((a=i[3])&&T.getByClassName&&t.getElementsByClassName)return H.apply(n,q.call(t.getElementsByClassName(a),0)),n}if(T.qsa&&!h.test(e)){if(f=!0,g=x,m=t,v=9===s&&e,1===s&&"object"!==t.nodeName.toLowerCase()){l=ft(e),(f=t.getAttribute("id"))?g=f.replace(K,"\\$&"):t.setAttribute("id",g),g="[id='"+g+"'] ",u=l.length;while(u--)l[u]=g+dt(l[u]);m=V.test(e)&&t.parentNode||t,v=l.join(",")}if(v)try{return H.apply(n,q.call(m.querySelectorAll(v),0)),n}catch(b){}finally{f||t.removeAttribute("id")}}}return wt(e.replace(W,"$1"),t,n,r)}a=st.isXML=function(e){var t=e&&(e.ownerDocument||e).documentElement;return t?"HTML"!==t.nodeName:!1},c=st.setDocument=function(e){var n=e?e.ownerDocument||e:w;return n!==p&&9===n.nodeType&&n.documentElement?(p=n,f=n.documentElement,d=a(n),T.tagNameNoComments=at(function(e){return e.appendChild(n.createComment("")),!e.getElementsByTagName("*").length}),T.attributes=at(function(e){e.innerHTML="<select></select>";var t=typeof e.lastChild.getAttribute("multiple");return"boolean"!==t&&"string"!==t}),T.getByClassName=at(function(e){return e.innerHTML="<div class='hidden e'></div><div class='hidden'></div>",e.getElementsByClassName&&e.getElementsByClassName("e").length?(e.lastChild.className="e",2===e.getElementsByClassName("e").length):!1}),T.getByName=at(function(e){e.id=x+0,e.innerHTML="<a name='"+x+"'></a><div name='"+x+"'></div>",f.insertBefore(e,f.firstChild);var t=n.getElementsByName&&n.getElementsByName(x).length===2+n.getElementsByName(x+0).length;return T.getIdNotName=!n.getElementById(x),f.removeChild(e),t}),i.attrHandle=at(function(e){return e.innerHTML="<a href='#'></a>",e.firstChild&&typeof e.firstChild.getAttribute!==A&&"#"===e.firstChild.getAttribute("href")})?{}:{href:function(e){return e.getAttribute("href",2)},type:function(e){return e.getAttribute("type")}},T.getIdNotName?(i.find.ID=function(e,t){if(typeof t.getElementById!==A&&!d){var n=t.getElementById(e);return n&&n.parentNode?[n]:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){return e.getAttribute("id")===t}}):(i.find.ID=function(e,n){if(typeof n.getElementById!==A&&!d){var r=n.getElementById(e);return r?r.id===e||typeof r.getAttributeNode!==A&&r.getAttributeNode("id").value===e?[r]:t:[]}},i.filter.ID=function(e){var t=e.replace(et,tt);return function(e){var n=typeof e.getAttributeNode!==A&&e.getAttributeNode("id");return n&&n.value===t}}),i.find.TAG=T.tagNameNoComments?function(e,n){return typeof n.getElementsByTagName!==A?n.getElementsByTagName(e):t}:function(e,t){var n,r=[],i=0,o=t.getElementsByTagName(e);if("*"===e){while(n=o[i++])1===n.nodeType&&r.push(n);return r}return o},i.find.NAME=T.getByName&&function(e,n){return typeof n.getElementsByName!==A?n.getElementsByName(name):t},i.find.CLASS=T.getByClassName&&function(e,n){return typeof n.getElementsByClassName===A||d?t:n.getElementsByClassName(e)},g=[],h=[":focus"],(T.qsa=rt(n.querySelectorAll))&&(at(function(e){e.innerHTML="<select><option selected=''></option></select>",e.querySelectorAll("[selected]").length||h.push("\\["+_+"*(?:checked|disabled|ismap|multiple|readonly|selected|value)"),e.querySelectorAll(":checked").length||h.push(":checked")}),at(function(e){e.innerHTML="<input type='hidden' i=''/>",e.querySelectorAll("[i^='']").length&&h.push("[*^$]="+_+"*(?:\"\"|'')"),e.querySelectorAll(":enabled").length||h.push(":enabled",":disabled"),e.querySelectorAll("*,:x"),h.push(",.*:")})),(T.matchesSelector=rt(m=f.matchesSelector||f.mozMatchesSelector||f.webkitMatchesSelector||f.oMatchesSelector||f.msMatchesSelector))&&at(function(e){T.disconnectedMatch=m.call(e,"div"),m.call(e,"[s!='']:x"),g.push("!=",R)}),h=RegExp(h.join("|")),g=RegExp(g.join("|")),y=rt(f.contains)||f.compareDocumentPosition?function(e,t){var n=9===e.nodeType?e.documentElement:e,r=t&&t.parentNode;return e===r||!(!r||1!==r.nodeType||!(n.contains?n.contains(r):e.compareDocumentPosition&&16&e.compareDocumentPosition(r)))}:function(e,t){if(t)while(t=t.parentNode)if(t===e)return!0;return!1},v=f.compareDocumentPosition?function(e,t){var r;return e===t?(u=!0,0):(r=t.compareDocumentPosition&&e.compareDocumentPosition&&e.compareDocumentPosition(t))?1&r||e.parentNode&&11===e.parentNode.nodeType?e===n||y(w,e)?-1:t===n||y(w,t)?1:0:4&r?-1:1:e.compareDocumentPosition?-1:1}:function(e,t){var r,i=0,o=e.parentNode,a=t.parentNode,s=[e],l=[t];if(e===t)return u=!0,0;if(!o||!a)return e===n?-1:t===n?1:o?-1:a?1:0;if(o===a)return ut(e,t);r=e;while(r=r.parentNode)s.unshift(r);r=t;while(r=r.parentNode)l.unshift(r);while(s[i]===l[i])i++;return i?ut(s[i],l[i]):s[i]===w?-1:l[i]===w?1:0},u=!1,[0,0].sort(v),T.detectDuplicates=u,p):p},st.matches=function(e,t){return st(e,null,null,t)},st.matchesSelector=function(e,t){if((e.ownerDocument||e)!==p&&c(e),t=t.replace(Z,"='$1']"),!(!T.matchesSelector||d||g&&g.test(t)||h.test(t)))try{var n=m.call(e,t);if(n||T.disconnectedMatch||e.document&&11!==e.document.nodeType)return n}catch(r){}return st(t,p,null,[e]).length>0},st.contains=function(e,t){return(e.ownerDocument||e)!==p&&c(e),y(e,t)},st.attr=function(e,t){var n;return(e.ownerDocument||e)!==p&&c(e),d||(t=t.toLowerCase()),(n=i.attrHandle[t])?n(e):d||T.attributes?e.getAttribute(t):((n=e.getAttributeNode(t))||e.getAttribute(t))&&e[t]===!0?t:n&&n.specified?n.value:null},st.error=function(e){throw Error("Syntax error, unrecognized expression: "+e)},st.uniqueSort=function(e){var t,n=[],r=1,i=0;if(u=!T.detectDuplicates,e.sort(v),u){for(;t=e[r];r++)t===e[r-1]&&(i=n.push(r));while(i--)e.splice(n[i],1)}return e};function ut(e,t){var n=t&&e,r=n&&(~t.sourceIndex||j)-(~e.sourceIndex||j);if(r)return r;if(n)while(n=n.nextSibling)if(n===t)return-1;return e?1:-1}function lt(e){return function(t){var n=t.nodeName.toLowerCase();return"input"===n&&t.type===e}}function ct(e){return function(t){var n=t.nodeName.toLowerCase();return("input"===n||"button"===n)&&t.type===e}}function pt(e){return ot(function(t){return t=+t,ot(function(n,r){var i,o=e([],n.length,t),a=o.length;while(a--)n[i=o[a]]&&(n[i]=!(r[i]=n[i]))})})}o=st.getText=function(e){var t,n="",r=0,i=e.nodeType;if(i){if(1===i||9===i||11===i){if("string"==typeof e.textContent)return e.textContent;for(e=e.firstChild;e;e=e.nextSibling)n+=o(e)}else if(3===i||4===i)return e.nodeValue}else for(;t=e[r];r++)n+=o(t);return n},i=st.selectors={cacheLength:50,createPseudo:ot,match:U,find:{},relative:{">":{dir:"parentNode",first:!0}," ":{dir:"parentNode"},"+":{dir:"previousSibling",first:!0},"~":{dir:"previousSibling"}},preFilter:{ATTR:function(e){return e[1]=e[1].replace(et,tt),e[3]=(e[4]||e[5]||"").replace(et,tt),"~="===e[2]&&(e[3]=" "+e[3]+" "),e.slice(0,4)},CHILD:function(e){return e[1]=e[1].toLowerCase(),"nth"===e[1].slice(0,3)?(e[3]||st.error(e[0]),e[4]=+(e[4]?e[5]+(e[6]||1):2*("even"===e[3]||"odd"===e[3])),e[5]=+(e[7]+e[8]||"odd"===e[3])):e[3]&&st.error(e[0]),e},PSEUDO:function(e){var t,n=!e[5]&&e[2];return U.CHILD.test(e[0])?null:(e[4]?e[2]=e[4]:n&&z.test(n)&&(t=ft(n,!0))&&(t=n.indexOf(")",n.length-t)-n.length)&&(e[0]=e[0].slice(0,t),e[2]=n.slice(0,t)),e.slice(0,3))}},filter:{TAG:function(e){return"*"===e?function(){return!0}:(e=e.replace(et,tt).toLowerCase(),function(t){return t.nodeName&&t.nodeName.toLowerCase()===e})},CLASS:function(e){var t=k[e+" "];return t||(t=RegExp("(^|"+_+")"+e+"("+_+"|$)"))&&k(e,function(e){return t.test(e.className||typeof e.getAttribute!==A&&e.getAttribute("class")||"")})},ATTR:function(e,t,n){return function(r){var i=st.attr(r,e);return null==i?"!="===t:t?(i+="","="===t?i===n:"!="===t?i!==n:"^="===t?n&&0===i.indexOf(n):"*="===t?n&&i.indexOf(n)>-1:"$="===t?n&&i.slice(-n.length)===n:"~="===t?(" "+i+" ").indexOf(n)>-1:"|="===t?i===n||i.slice(0,n.length+1)===n+"-":!1):!0}},CHILD:function(e,t,n,r,i){var o="nth"!==e.slice(0,3),a="last"!==e.slice(-4),s="of-type"===t;return 1===r&&0===i?function(e){return!!e.parentNode}:function(t,n,u){var l,c,p,f,d,h,g=o!==a?"nextSibling":"previousSibling",m=t.parentNode,y=s&&t.nodeName.toLowerCase(),v=!u&&!s;if(m){if(o){while(g){p=t;while(p=p[g])if(s?p.nodeName.toLowerCase()===y:1===p.nodeType)return!1;h=g="only"===e&&!h&&"nextSibling"}return!0}if(h=[a?m.firstChild:m.lastChild],a&&v){c=m[x]||(m[x]={}),l=c[e]||[],d=l[0]===N&&l[1],f=l[0]===N&&l[2],p=d&&m.childNodes[d];while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if(1===p.nodeType&&++f&&p===t){c[e]=[N,d,f];break}}else if(v&&(l=(t[x]||(t[x]={}))[e])&&l[0]===N)f=l[1];else while(p=++d&&p&&p[g]||(f=d=0)||h.pop())if((s?p.nodeName.toLowerCase()===y:1===p.nodeType)&&++f&&(v&&((p[x]||(p[x]={}))[e]=[N,f]),p===t))break;return f-=i,f===r||0===f%r&&f/r>=0}}},PSEUDO:function(e,t){var n,r=i.pseudos[e]||i.setFilters[e.toLowerCase()]||st.error("unsupported pseudo: "+e);return r[x]?r(t):r.length>1?(n=[e,e,"",t],i.setFilters.hasOwnProperty(e.toLowerCase())?ot(function(e,n){var i,o=r(e,t),a=o.length;while(a--)i=M.call(e,o[a]),e[i]=!(n[i]=o[a])}):function(e){return r(e,0,n)}):r}},pseudos:{not:ot(function(e){var t=[],n=[],r=s(e.replace(W,"$1"));return r[x]?ot(function(e,t,n,i){var o,a=r(e,null,i,[]),s=e.length;while(s--)(o=a[s])&&(e[s]=!(t[s]=o))}):function(e,i,o){return t[0]=e,r(t,null,o,n),!n.pop()}}),has:ot(function(e){return function(t){return st(e,t).length>0}}),contains:ot(function(e){return function(t){return(t.textContent||t.innerText||o(t)).indexOf(e)>-1}}),lang:ot(function(e){return X.test(e||"")||st.error("unsupported lang: "+e),e=e.replace(et,tt).toLowerCase(),function(t){var n;do if(n=d?t.getAttribute("xml:lang")||t.getAttribute("lang"):t.lang)return n=n.toLowerCase(),n===e||0===n.indexOf(e+"-");while((t=t.parentNode)&&1===t.nodeType);return!1}}),target:function(t){var n=e.location&&e.location.hash;return n&&n.slice(1)===t.id},root:function(e){return e===f},focus:function(e){return e===p.activeElement&&(!p.hasFocus||p.hasFocus())&&!!(e.type||e.href||~e.tabIndex)},enabled:function(e){return e.disabled===!1},disabled:function(e){return e.disabled===!0},checked:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&!!e.checked||"option"===t&&!!e.selected},selected:function(e){return e.parentNode&&e.parentNode.selectedIndex,e.selected===!0},empty:function(e){for(e=e.firstChild;e;e=e.nextSibling)if(e.nodeName>"@"||3===e.nodeType||4===e.nodeType)return!1;return!0},parent:function(e){return!i.pseudos.empty(e)},header:function(e){return Q.test(e.nodeName)},input:function(e){return G.test(e.nodeName)},button:function(e){var t=e.nodeName.toLowerCase();return"input"===t&&"button"===e.type||"button"===t},text:function(e){var t;return"input"===e.nodeName.toLowerCase()&&"text"===e.type&&(null==(t=e.getAttribute("type"))||t.toLowerCase()===e.type)},first:pt(function(){return[0]}),last:pt(function(e,t){return[t-1]}),eq:pt(function(e,t,n){return[0>n?n+t:n]}),even:pt(function(e,t){var n=0;for(;t>n;n+=2)e.push(n);return e}),odd:pt(function(e,t){var n=1;for(;t>n;n+=2)e.push(n);return e}),lt:pt(function(e,t,n){var r=0>n?n+t:n;for(;--r>=0;)e.push(r);return e}),gt:pt(function(e,t,n){var r=0>n?n+t:n;for(;t>++r;)e.push(r);return e})}};for(n in{radio:!0,checkbox:!0,file:!0,password:!0,image:!0})i.pseudos[n]=lt(n);for(n in{submit:!0,reset:!0})i.pseudos[n]=ct(n);function ft(e,t){var n,r,o,a,s,u,l,c=E[e+" "];if(c)return t?0:c.slice(0);s=e,u=[],l=i.preFilter;while(s){(!n||(r=$.exec(s)))&&(r&&(s=s.slice(r[0].length)||s),u.push(o=[])),n=!1,(r=I.exec(s))&&(n=r.shift(),o.push({value:n,type:r[0].replace(W," ")}),s=s.slice(n.length));for(a in i.filter)!(r=U[a].exec(s))||l[a]&&!(r=l[a](r))||(n=r.shift(),o.push({value:n,type:a,matches:r}),s=s.slice(n.length));if(!n)break}return t?s.length:s?st.error(e):E(e,u).slice(0)}function dt(e){var t=0,n=e.length,r="";for(;n>t;t++)r+=e[t].value;return r}function ht(e,t,n){var i=t.dir,o=n&&"parentNode"===i,a=C++;return t.first?function(t,n,r){while(t=t[i])if(1===t.nodeType||o)return e(t,n,r)}:function(t,n,s){var u,l,c,p=N+" "+a;if(s){while(t=t[i])if((1===t.nodeType||o)&&e(t,n,s))return!0}else while(t=t[i])if(1===t.nodeType||o)if(c=t[x]||(t[x]={}),(l=c[i])&&l[0]===p){if((u=l[1])===!0||u===r)return u===!0}else if(l=c[i]=[p],l[1]=e(t,n,s)||r,l[1]===!0)return!0}}function gt(e){return e.length>1?function(t,n,r){var i=e.length;while(i--)if(!e[i](t,n,r))return!1;return!0}:e[0]}function mt(e,t,n,r,i){var o,a=[],s=0,u=e.length,l=null!=t;for(;u>s;s++)(o=e[s])&&(!n||n(o,r,i))&&(a.push(o),l&&t.push(s));return a}function yt(e,t,n,r,i,o){return r&&!r[x]&&(r=yt(r)),i&&!i[x]&&(i=yt(i,o)),ot(function(o,a,s,u){var l,c,p,f=[],d=[],h=a.length,g=o||xt(t||"*",s.nodeType?[s]:s,[]),m=!e||!o&&t?g:mt(g,f,e,s,u),y=n?i||(o?e:h||r)?[]:a:m;if(n&&n(m,y,s,u),r){l=mt(y,d),r(l,[],s,u),c=l.length;while(c--)(p=l[c])&&(y[d[c]]=!(m[d[c]]=p))}if(o){if(i||e){if(i){l=[],c=y.length;while(c--)(p=y[c])&&l.push(m[c]=p);i(null,y=[],l,u)}c=y.length;while(c--)(p=y[c])&&(l=i?M.call(o,p):f[c])>-1&&(o[l]=!(a[l]=p))}}else y=mt(y===a?y.splice(h,y.length):y),i?i(null,a,y,u):H.apply(a,y)})}function vt(e){var t,n,r,o=e.length,a=i.relative[e[0].type],s=a||i.relative[" "],u=a?1:0,c=ht(function(e){return e===t},s,!0),p=ht(function(e){return M.call(t,e)>-1},s,!0),f=[function(e,n,r){return!a&&(r||n!==l)||((t=n).nodeType?c(e,n,r):p(e,n,r))}];for(;o>u;u++)if(n=i.relative[e[u].type])f=[ht(gt(f),n)];else{if(n=i.filter[e[u].type].apply(null,e[u].matches),n[x]){for(r=++u;o>r;r++)if(i.relative[e[r].type])break;return yt(u>1&>(f),u>1&&dt(e.slice(0,u-1)).replace(W,"$1"),n,r>u&&vt(e.slice(u,r)),o>r&&vt(e=e.slice(r)),o>r&&dt(e))}f.push(n)}return gt(f)}function bt(e,t){var n=0,o=t.length>0,a=e.length>0,s=function(s,u,c,f,d){var h,g,m,y=[],v=0,b="0",x=s&&[],w=null!=d,T=l,C=s||a&&i.find.TAG("*",d&&u.parentNode||u),k=N+=null==T?1:Math.random()||.1;for(w&&(l=u!==p&&u,r=n);null!=(h=C[b]);b++){if(a&&h){g=0;while(m=e[g++])if(m(h,u,c)){f.push(h);break}w&&(N=k,r=++n)}o&&((h=!m&&h)&&v--,s&&x.push(h))}if(v+=b,o&&b!==v){g=0;while(m=t[g++])m(x,y,u,c);if(s){if(v>0)while(b--)x[b]||y[b]||(y[b]=L.call(f));y=mt(y)}H.apply(f,y),w&&!s&&y.length>0&&v+t.length>1&&st.uniqueSort(f)}return w&&(N=k,l=T),x};return o?ot(s):s}s=st.compile=function(e,t){var n,r=[],i=[],o=S[e+" "];if(!o){t||(t=ft(e)),n=t.length;while(n--)o=vt(t[n]),o[x]?r.push(o):i.push(o);o=S(e,bt(i,r))}return o};function xt(e,t,n){var r=0,i=t.length;for(;i>r;r++)st(e,t[r],n);return n}function wt(e,t,n,r){var o,a,u,l,c,p=ft(e);if(!r&&1===p.length){if(a=p[0]=p[0].slice(0),a.length>2&&"ID"===(u=a[0]).type&&9===t.nodeType&&!d&&i.relative[a[1].type]){if(t=i.find.ID(u.matches[0].replace(et,tt),t)[0],!t)return n;e=e.slice(a.shift().value.length)}o=U.needsContext.test(e)?0:a.length;while(o--){if(u=a[o],i.relative[l=u.type])break;if((c=i.find[l])&&(r=c(u.matches[0].replace(et,tt),V.test(a[0].type)&&t.parentNode||t))){if(a.splice(o,1),e=r.length&&dt(a),!e)return H.apply(n,q.call(r,0)),n;break}}}return s(e,p)(r,t,d,n,V.test(e)),n}i.pseudos.nth=i.pseudos.eq;function Tt(){}i.filters=Tt.prototype=i.pseudos,i.setFilters=new Tt,c(),st.attr=b.attr,b.find=st,b.expr=st.selectors,b.expr[":"]=b.expr.pseudos,b.unique=st.uniqueSort,b.text=st.getText,b.isXMLDoc=st.isXML,b.contains=st.contains}(e);var at=/Until$/,st=/^(?:parents|prev(?:Until|All))/,ut=/^.[^:#\[\.,]*$/,lt=b.expr.match.needsContext,ct={children:!0,contents:!0,next:!0,prev:!0};b.fn.extend({find:function(e){var t,n,r,i=this.length;if("string"!=typeof e)return r=this,this.pushStack(b(e).filter(function(){for(t=0;i>t;t++)if(b.contains(r[t],this))return!0}));for(n=[],t=0;i>t;t++)b.find(e,this[t],n);return n=this.pushStack(i>1?b.unique(n):n),n.selector=(this.selector?this.selector+" ":"")+e,n},has:function(e){var t,n=b(e,this),r=n.length;return this.filter(function(){for(t=0;r>t;t++)if(b.contains(this,n[t]))return!0})},not:function(e){return this.pushStack(ft(this,e,!1))},filter:function(e){return this.pushStack(ft(this,e,!0))},is:function(e){return!!e&&("string"==typeof e?lt.test(e)?b(e,this.context).index(this[0])>=0:b.filter(e,this).length>0:this.filter(e).length>0)},closest:function(e,t){var n,r=0,i=this.length,o=[],a=lt.test(e)||"string"!=typeof e?b(e,t||this.context):0;for(;i>r;r++){n=this[r];while(n&&n.ownerDocument&&n!==t&&11!==n.nodeType){if(a?a.index(n)>-1:b.find.matchesSelector(n,e)){o.push(n);break}n=n.parentNode}}return this.pushStack(o.length>1?b.unique(o):o)},index:function(e){return e?"string"==typeof e?b.inArray(this[0],b(e)):b.inArray(e.jquery?e[0]:e,this):this[0]&&this[0].parentNode?this.first().prevAll().length:-1},add:function(e,t){var n="string"==typeof e?b(e,t):b.makeArray(e&&e.nodeType?[e]:e),r=b.merge(this.get(),n);return this.pushStack(b.unique(r))},addBack:function(e){return this.add(null==e?this.prevObject:this.prevObject.filter(e))}}),b.fn.andSelf=b.fn.addBack;function pt(e,t){do e=e[t];while(e&&1!==e.nodeType);return e}b.each({parent:function(e){var t=e.parentNode;return t&&11!==t.nodeType?t:null},parents:function(e){return b.dir(e,"parentNode")},parentsUntil:function(e,t,n){return b.dir(e,"parentNode",n)},next:function(e){return pt(e,"nextSibling")},prev:function(e){return pt(e,"previousSibling")},nextAll:function(e){return b.dir(e,"nextSibling")},prevAll:function(e){return b.dir(e,"previousSibling")},nextUntil:function(e,t,n){return b.dir(e,"nextSibling",n)},prevUntil:function(e,t,n){return b.dir(e,"previousSibling",n)},siblings:function(e){return b.sibling((e.parentNode||{}).firstChild,e)},children:function(e){return b.sibling(e.firstChild)},contents:function(e){return b.nodeName(e,"iframe")?e.contentDocument||e.contentWindow.document:b.merge([],e.childNodes)}},function(e,t){b.fn[e]=function(n,r){var i=b.map(this,t,n);return at.test(e)||(r=n),r&&"string"==typeof r&&(i=b.filter(r,i)),i=this.length>1&&!ct[e]?b.unique(i):i,this.length>1&&st.test(e)&&(i=i.reverse()),this.pushStack(i)}}),b.extend({filter:function(e,t,n){return n&&(e=":not("+e+")"),1===t.length?b.find.matchesSelector(t[0],e)?[t[0]]:[]:b.find.matches(e,t)},dir:function(e,n,r){var i=[],o=e[n];while(o&&9!==o.nodeType&&(r===t||1!==o.nodeType||!b(o).is(r)))1===o.nodeType&&i.push(o),o=o[n];return i},sibling:function(e,t){var n=[];for(;e;e=e.nextSibling)1===e.nodeType&&e!==t&&n.push(e);return n}});function ft(e,t,n){if(t=t||0,b.isFunction(t))return b.grep(e,function(e,r){var i=!!t.call(e,r,e);return i===n});if(t.nodeType)return b.grep(e,function(e){return e===t===n});if("string"==typeof t){var r=b.grep(e,function(e){return 1===e.nodeType});if(ut.test(t))return b.filter(t,r,!n);t=b.filter(t,r)}return b.grep(e,function(e){return b.inArray(e,t)>=0===n})}function dt(e){var t=ht.split("|"),n=e.createDocumentFragment();if(n.createElement)while(t.length)n.createElement(t.pop());return n}var ht="abbr|article|aside|audio|bdi|canvas|data|datalist|details|figcaption|figure|footer|header|hgroup|mark|meter|nav|output|progress|section|summary|time|video",gt=/ jQuery\d+="(?:null|\d+)"/g,mt=RegExp("<(?:"+ht+")[\\s/>]","i"),yt=/^\s+/,vt=/<(?!area|br|col|embed|hr|img|input|link|meta|param)(([\w:]+)[^>]*)\/>/gi,bt=/<([\w:]+)/,xt=/<tbody/i,wt=/<|&#?\w+;/,Tt=/<(?:script|style|link)/i,Nt=/^(?:checkbox|radio)$/i,Ct=/checked\s*(?:[^=]|=\s*.checked.)/i,kt=/^$|\/(?:java|ecma)script/i,Et=/^true\/(.*)/,St=/^\s*<!(?:\[CDATA\[|--)|(?:\]\]|--)>\s*$/g,At={option:[1,"<select multiple='multiple'>","</select>"],legend:[1,"<fieldset>","</fieldset>"],area:[1,"<map>","</map>"],param:[1,"<object>","</object>"],thead:[1,"<table>","</table>"],tr:[2,"<table><tbody>","</tbody></table>"],col:[2,"<table><tbody></tbody><colgroup>","</colgroup></table>"],td:[3,"<table><tbody><tr>","</tr></tbody></table>"],_default:b.support.htmlSerialize?[0,"",""]:[1,"X<div>","</div>"]},jt=dt(o),Dt=jt.appendChild(o.createElement("div"));At.optgroup=At.option,At.tbody=At.tfoot=At.colgroup=At.caption=At.thead,At.th=At.td,b.fn.extend({text:function(e){return b.access(this,function(e){return e===t?b.text(this):this.empty().append((this[0]&&this[0].ownerDocument||o).createTextNode(e))},null,e,arguments.length)},wrapAll:function(e){if(b.isFunction(e))return this.each(function(t){b(this).wrapAll(e.call(this,t))});if(this[0]){var t=b(e,this[0].ownerDocument).eq(0).clone(!0);this[0].parentNode&&t.insertBefore(this[0]),t.map(function(){var e=this;while(e.firstChild&&1===e.firstChild.nodeType)e=e.firstChild;return e}).append(this)}return this},wrapInner:function(e){return b.isFunction(e)?this.each(function(t){b(this).wrapInner(e.call(this,t))}):this.each(function(){var t=b(this),n=t.contents();n.length?n.wrapAll(e):t.append(e)})},wrap:function(e){var t=b.isFunction(e);return this.each(function(n){b(this).wrapAll(t?e.call(this,n):e)})},unwrap:function(){return this.parent().each(function(){b.nodeName(this,"body")||b(this).replaceWith(this.childNodes)}).end()},append:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.appendChild(e)})},prepend:function(){return this.domManip(arguments,!0,function(e){(1===this.nodeType||11===this.nodeType||9===this.nodeType)&&this.insertBefore(e,this.firstChild)})},before:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this)})},after:function(){return this.domManip(arguments,!1,function(e){this.parentNode&&this.parentNode.insertBefore(e,this.nextSibling)})},remove:function(e,t){var n,r=0;for(;null!=(n=this[r]);r++)(!e||b.filter(e,[n]).length>0)&&(t||1!==n.nodeType||b.cleanData(Ot(n)),n.parentNode&&(t&&b.contains(n.ownerDocument,n)&&Mt(Ot(n,"script")),n.parentNode.removeChild(n)));return this},empty:function(){var e,t=0;for(;null!=(e=this[t]);t++){1===e.nodeType&&b.cleanData(Ot(e,!1));while(e.firstChild)e.removeChild(e.firstChild);e.options&&b.nodeName(e,"select")&&(e.options.length=0)}return this},clone:function(e,t){return e=null==e?!1:e,t=null==t?e:t,this.map(function(){return b.clone(this,e,t)})},html:function(e){return b.access(this,function(e){var n=this[0]||{},r=0,i=this.length;if(e===t)return 1===n.nodeType?n.innerHTML.replace(gt,""):t;if(!("string"!=typeof e||Tt.test(e)||!b.support.htmlSerialize&&mt.test(e)||!b.support.leadingWhitespace&&yt.test(e)||At[(bt.exec(e)||["",""])[1].toLowerCase()])){e=e.replace(vt,"<$1></$2>");try{for(;i>r;r++)n=this[r]||{},1===n.nodeType&&(b.cleanData(Ot(n,!1)),n.innerHTML=e);n=0}catch(o){}}n&&this.empty().append(e)},null,e,arguments.length)},replaceWith:function(e){var t=b.isFunction(e);return t||"string"==typeof e||(e=b(e).not(this).detach()),this.domManip([e],!0,function(e){var t=this.nextSibling,n=this.parentNode;n&&(b(this).remove(),n.insertBefore(e,t))})},detach:function(e){return this.remove(e,!0)},domManip:function(e,n,r){e=f.apply([],e);var i,o,a,s,u,l,c=0,p=this.length,d=this,h=p-1,g=e[0],m=b.isFunction(g);if(m||!(1>=p||"string"!=typeof g||b.support.checkClone)&&Ct.test(g))return this.each(function(i){var o=d.eq(i);m&&(e[0]=g.call(this,i,n?o.html():t)),o.domManip(e,n,r)});if(p&&(l=b.buildFragment(e,this[0].ownerDocument,!1,this),i=l.firstChild,1===l.childNodes.length&&(l=i),i)){for(n=n&&b.nodeName(i,"tr"),s=b.map(Ot(l,"script"),Ht),a=s.length;p>c;c++)o=l,c!==h&&(o=b.clone(o,!0,!0),a&&b.merge(s,Ot(o,"script"))),r.call(n&&b.nodeName(this[c],"table")?Lt(this[c],"tbody"):this[c],o,c);if(a)for(u=s[s.length-1].ownerDocument,b.map(s,qt),c=0;a>c;c++)o=s[c],kt.test(o.type||"")&&!b._data(o,"globalEval")&&b.contains(u,o)&&(o.src?b.ajax({url:o.src,type:"GET",dataType:"script",async:!1,global:!1,"throws":!0}):b.globalEval((o.text||o.textContent||o.innerHTML||"").replace(St,"")));l=i=null}return this}});function Lt(e,t){return e.getElementsByTagName(t)[0]||e.appendChild(e.ownerDocument.createElement(t))}function Ht(e){var t=e.getAttributeNode("type");return e.type=(t&&t.specified)+"/"+e.type,e}function qt(e){var t=Et.exec(e.type);return t?e.type=t[1]:e.removeAttribute("type"),e}function Mt(e,t){var n,r=0;for(;null!=(n=e[r]);r++)b._data(n,"globalEval",!t||b._data(t[r],"globalEval"))}function _t(e,t){if(1===t.nodeType&&b.hasData(e)){var n,r,i,o=b._data(e),a=b._data(t,o),s=o.events;if(s){delete a.handle,a.events={};for(n in s)for(r=0,i=s[n].length;i>r;r++)b.event.add(t,n,s[n][r])}a.data&&(a.data=b.extend({},a.data))}}function Ft(e,t){var n,r,i;if(1===t.nodeType){if(n=t.nodeName.toLowerCase(),!b.support.noCloneEvent&&t[b.expando]){i=b._data(t);for(r in i.events)b.removeEvent(t,r,i.handle);t.removeAttribute(b.expando)}"script"===n&&t.text!==e.text?(Ht(t).text=e.text,qt(t)):"object"===n?(t.parentNode&&(t.outerHTML=e.outerHTML),b.support.html5Clone&&e.innerHTML&&!b.trim(t.innerHTML)&&(t.innerHTML=e.innerHTML)):"input"===n&&Nt.test(e.type)?(t.defaultChecked=t.checked=e.checked,t.value!==e.value&&(t.value=e.value)):"option"===n?t.defaultSelected=t.selected=e.defaultSelected:("input"===n||"textarea"===n)&&(t.defaultValue=e.defaultValue)}}b.each({appendTo:"append",prependTo:"prepend",insertBefore:"before",insertAfter:"after",replaceAll:"replaceWith"},function(e,t){b.fn[e]=function(e){var n,r=0,i=[],o=b(e),a=o.length-1;for(;a>=r;r++)n=r===a?this:this.clone(!0),b(o[r])[t](n),d.apply(i,n.get());return this.pushStack(i)}});function Ot(e,n){var r,o,a=0,s=typeof e.getElementsByTagName!==i?e.getElementsByTagName(n||"*"):typeof e.querySelectorAll!==i?e.querySelectorAll(n||"*"):t;if(!s)for(s=[],r=e.childNodes||e;null!=(o=r[a]);a++)!n||b.nodeName(o,n)?s.push(o):b.merge(s,Ot(o,n));return n===t||n&&b.nodeName(e,n)?b.merge([e],s):s}function Bt(e){Nt.test(e.type)&&(e.defaultChecked=e.checked)}b.extend({clone:function(e,t,n){var r,i,o,a,s,u=b.contains(e.ownerDocument,e);if(b.support.html5Clone||b.isXMLDoc(e)||!mt.test("<"+e.nodeName+">")?o=e.cloneNode(!0):(Dt.innerHTML=e.outerHTML,Dt.removeChild(o=Dt.firstChild)),!(b.support.noCloneEvent&&b.support.noCloneChecked||1!==e.nodeType&&11!==e.nodeType||b.isXMLDoc(e)))for(r=Ot(o),s=Ot(e),a=0;null!=(i=s[a]);++a)r[a]&&Ft(i,r[a]);if(t)if(n)for(s=s||Ot(e),r=r||Ot(o),a=0;null!=(i=s[a]);a++)_t(i,r[a]);else _t(e,o);return r=Ot(o,"script"),r.length>0&&Mt(r,!u&&Ot(e,"script")),r=s=i=null,o},buildFragment:function(e,t,n,r){var i,o,a,s,u,l,c,p=e.length,f=dt(t),d=[],h=0;for(;p>h;h++)if(o=e[h],o||0===o)if("object"===b.type(o))b.merge(d,o.nodeType?[o]:o);else if(wt.test(o)){s=s||f.appendChild(t.createElement("div")),u=(bt.exec(o)||["",""])[1].toLowerCase(),c=At[u]||At._default,s.innerHTML=c[1]+o.replace(vt,"<$1></$2>")+c[2],i=c[0];while(i--)s=s.lastChild;if(!b.support.leadingWhitespace&&yt.test(o)&&d.push(t.createTextNode(yt.exec(o)[0])),!b.support.tbody){o="table"!==u||xt.test(o)?"<table>"!==c[1]||xt.test(o)?0:s:s.firstChild,i=o&&o.childNodes.length;while(i--)b.nodeName(l=o.childNodes[i],"tbody")&&!l.childNodes.length&&o.removeChild(l) | |
| 5 | -}b.merge(d,s.childNodes),s.textContent="";while(s.firstChild)s.removeChild(s.firstChild);s=f.lastChild}else d.push(t.createTextNode(o));s&&f.removeChild(s),b.support.appendChecked||b.grep(Ot(d,"input"),Bt),h=0;while(o=d[h++])if((!r||-1===b.inArray(o,r))&&(a=b.contains(o.ownerDocument,o),s=Ot(f.appendChild(o),"script"),a&&Mt(s),n)){i=0;while(o=s[i++])kt.test(o.type||"")&&n.push(o)}return s=null,f},cleanData:function(e,t){var n,r,o,a,s=0,u=b.expando,l=b.cache,p=b.support.deleteExpando,f=b.event.special;for(;null!=(n=e[s]);s++)if((t||b.acceptData(n))&&(o=n[u],a=o&&l[o])){if(a.events)for(r in a.events)f[r]?b.event.remove(n,r):b.removeEvent(n,r,a.handle);l[o]&&(delete l[o],p?delete n[u]:typeof n.removeAttribute!==i?n.removeAttribute(u):n[u]=null,c.push(o))}}});var Pt,Rt,Wt,$t=/alpha\([^)]*\)/i,It=/opacity\s*=\s*([^)]*)/,zt=/^(top|right|bottom|left)$/,Xt=/^(none|table(?!-c[ea]).+)/,Ut=/^margin/,Vt=RegExp("^("+x+")(.*)$","i"),Yt=RegExp("^("+x+")(?!px)[a-z%]+$","i"),Jt=RegExp("^([+-])=("+x+")","i"),Gt={BODY:"block"},Qt={position:"absolute",visibility:"hidden",display:"block"},Kt={letterSpacing:0,fontWeight:400},Zt=["Top","Right","Bottom","Left"],en=["Webkit","O","Moz","ms"];function tn(e,t){if(t in e)return t;var n=t.charAt(0).toUpperCase()+t.slice(1),r=t,i=en.length;while(i--)if(t=en[i]+n,t in e)return t;return r}function nn(e,t){return e=t||e,"none"===b.css(e,"display")||!b.contains(e.ownerDocument,e)}function rn(e,t){var n,r,i,o=[],a=0,s=e.length;for(;s>a;a++)r=e[a],r.style&&(o[a]=b._data(r,"olddisplay"),n=r.style.display,t?(o[a]||"none"!==n||(r.style.display=""),""===r.style.display&&nn(r)&&(o[a]=b._data(r,"olddisplay",un(r.nodeName)))):o[a]||(i=nn(r),(n&&"none"!==n||!i)&&b._data(r,"olddisplay",i?n:b.css(r,"display"))));for(a=0;s>a;a++)r=e[a],r.style&&(t&&"none"!==r.style.display&&""!==r.style.display||(r.style.display=t?o[a]||"":"none"));return e}b.fn.extend({css:function(e,n){return b.access(this,function(e,n,r){var i,o,a={},s=0;if(b.isArray(n)){for(o=Rt(e),i=n.length;i>s;s++)a[n[s]]=b.css(e,n[s],!1,o);return a}return r!==t?b.style(e,n,r):b.css(e,n)},e,n,arguments.length>1)},show:function(){return rn(this,!0)},hide:function(){return rn(this)},toggle:function(e){var t="boolean"==typeof e;return this.each(function(){(t?e:nn(this))?b(this).show():b(this).hide()})}}),b.extend({cssHooks:{opacity:{get:function(e,t){if(t){var n=Wt(e,"opacity");return""===n?"1":n}}}},cssNumber:{columnCount:!0,fillOpacity:!0,fontWeight:!0,lineHeight:!0,opacity:!0,orphans:!0,widows:!0,zIndex:!0,zoom:!0},cssProps:{"float":b.support.cssFloat?"cssFloat":"styleFloat"},style:function(e,n,r,i){if(e&&3!==e.nodeType&&8!==e.nodeType&&e.style){var o,a,s,u=b.camelCase(n),l=e.style;if(n=b.cssProps[u]||(b.cssProps[u]=tn(l,u)),s=b.cssHooks[n]||b.cssHooks[u],r===t)return s&&"get"in s&&(o=s.get(e,!1,i))!==t?o:l[n];if(a=typeof r,"string"===a&&(o=Jt.exec(r))&&(r=(o[1]+1)*o[2]+parseFloat(b.css(e,n)),a="number"),!(null==r||"number"===a&&isNaN(r)||("number"!==a||b.cssNumber[u]||(r+="px"),b.support.clearCloneStyle||""!==r||0!==n.indexOf("background")||(l[n]="inherit"),s&&"set"in s&&(r=s.set(e,r,i))===t)))try{l[n]=r}catch(c){}}},css:function(e,n,r,i){var o,a,s,u=b.camelCase(n);return n=b.cssProps[u]||(b.cssProps[u]=tn(e.style,u)),s=b.cssHooks[n]||b.cssHooks[u],s&&"get"in s&&(a=s.get(e,!0,r)),a===t&&(a=Wt(e,n,i)),"normal"===a&&n in Kt&&(a=Kt[n]),""===r||r?(o=parseFloat(a),r===!0||b.isNumeric(o)?o||0:a):a},swap:function(e,t,n,r){var i,o,a={};for(o in t)a[o]=e.style[o],e.style[o]=t[o];i=n.apply(e,r||[]);for(o in t)e.style[o]=a[o];return i}}),e.getComputedStyle?(Rt=function(t){return e.getComputedStyle(t,null)},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s.getPropertyValue(n)||s[n]:t,l=e.style;return s&&(""!==u||b.contains(e.ownerDocument,e)||(u=b.style(e,n)),Yt.test(u)&&Ut.test(n)&&(i=l.width,o=l.minWidth,a=l.maxWidth,l.minWidth=l.maxWidth=l.width=u,u=s.width,l.width=i,l.minWidth=o,l.maxWidth=a)),u}):o.documentElement.currentStyle&&(Rt=function(e){return e.currentStyle},Wt=function(e,n,r){var i,o,a,s=r||Rt(e),u=s?s[n]:t,l=e.style;return null==u&&l&&l[n]&&(u=l[n]),Yt.test(u)&&!zt.test(n)&&(i=l.left,o=e.runtimeStyle,a=o&&o.left,a&&(o.left=e.currentStyle.left),l.left="fontSize"===n?"1em":u,u=l.pixelLeft+"px",l.left=i,a&&(o.left=a)),""===u?"auto":u});function on(e,t,n){var r=Vt.exec(t);return r?Math.max(0,r[1]-(n||0))+(r[2]||"px"):t}function an(e,t,n,r,i){var o=n===(r?"border":"content")?4:"width"===t?1:0,a=0;for(;4>o;o+=2)"margin"===n&&(a+=b.css(e,n+Zt[o],!0,i)),r?("content"===n&&(a-=b.css(e,"padding"+Zt[o],!0,i)),"margin"!==n&&(a-=b.css(e,"border"+Zt[o]+"Width",!0,i))):(a+=b.css(e,"padding"+Zt[o],!0,i),"padding"!==n&&(a+=b.css(e,"border"+Zt[o]+"Width",!0,i)));return a}function sn(e,t,n){var r=!0,i="width"===t?e.offsetWidth:e.offsetHeight,o=Rt(e),a=b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,o);if(0>=i||null==i){if(i=Wt(e,t,o),(0>i||null==i)&&(i=e.style[t]),Yt.test(i))return i;r=a&&(b.support.boxSizingReliable||i===e.style[t]),i=parseFloat(i)||0}return i+an(e,t,n||(a?"border":"content"),r,o)+"px"}function un(e){var t=o,n=Gt[e];return n||(n=ln(e,t),"none"!==n&&n||(Pt=(Pt||b("<iframe frameborder='0' width='0' height='0'/>").css("cssText","display:block !important")).appendTo(t.documentElement),t=(Pt[0].contentWindow||Pt[0].contentDocument).document,t.write("<!doctype html><html><body>"),t.close(),n=ln(e,t),Pt.detach()),Gt[e]=n),n}function ln(e,t){var n=b(t.createElement(e)).appendTo(t.body),r=b.css(n[0],"display");return n.remove(),r}b.each(["height","width"],function(e,n){b.cssHooks[n]={get:function(e,r,i){return r?0===e.offsetWidth&&Xt.test(b.css(e,"display"))?b.swap(e,Qt,function(){return sn(e,n,i)}):sn(e,n,i):t},set:function(e,t,r){var i=r&&Rt(e);return on(e,t,r?an(e,n,r,b.support.boxSizing&&"border-box"===b.css(e,"boxSizing",!1,i),i):0)}}}),b.support.opacity||(b.cssHooks.opacity={get:function(e,t){return It.test((t&&e.currentStyle?e.currentStyle.filter:e.style.filter)||"")?.01*parseFloat(RegExp.$1)+"":t?"1":""},set:function(e,t){var n=e.style,r=e.currentStyle,i=b.isNumeric(t)?"alpha(opacity="+100*t+")":"",o=r&&r.filter||n.filter||"";n.zoom=1,(t>=1||""===t)&&""===b.trim(o.replace($t,""))&&n.removeAttribute&&(n.removeAttribute("filter"),""===t||r&&!r.filter)||(n.filter=$t.test(o)?o.replace($t,i):o+" "+i)}}),b(function(){b.support.reliableMarginRight||(b.cssHooks.marginRight={get:function(e,n){return n?b.swap(e,{display:"inline-block"},Wt,[e,"marginRight"]):t}}),!b.support.pixelPosition&&b.fn.position&&b.each(["top","left"],function(e,n){b.cssHooks[n]={get:function(e,r){return r?(r=Wt(e,n),Yt.test(r)?b(e).position()[n]+"px":r):t}}})}),b.expr&&b.expr.filters&&(b.expr.filters.hidden=function(e){return 0>=e.offsetWidth&&0>=e.offsetHeight||!b.support.reliableHiddenOffsets&&"none"===(e.style&&e.style.display||b.css(e,"display"))},b.expr.filters.visible=function(e){return!b.expr.filters.hidden(e)}),b.each({margin:"",padding:"",border:"Width"},function(e,t){b.cssHooks[e+t]={expand:function(n){var r=0,i={},o="string"==typeof n?n.split(" "):[n];for(;4>r;r++)i[e+Zt[r]+t]=o[r]||o[r-2]||o[0];return i}},Ut.test(e)||(b.cssHooks[e+t].set=on)});var cn=/%20/g,pn=/\[\]$/,fn=/\r?\n/g,dn=/^(?:submit|button|image|reset|file)$/i,hn=/^(?:input|select|textarea|keygen)/i;b.fn.extend({serialize:function(){return b.param(this.serializeArray())},serializeArray:function(){return this.map(function(){var e=b.prop(this,"elements");return e?b.makeArray(e):this}).filter(function(){var e=this.type;return this.name&&!b(this).is(":disabled")&&hn.test(this.nodeName)&&!dn.test(e)&&(this.checked||!Nt.test(e))}).map(function(e,t){var n=b(this).val();return null==n?null:b.isArray(n)?b.map(n,function(e){return{name:t.name,value:e.replace(fn,"\r\n")}}):{name:t.name,value:n.replace(fn,"\r\n")}}).get()}}),b.param=function(e,n){var r,i=[],o=function(e,t){t=b.isFunction(t)?t():null==t?"":t,i[i.length]=encodeURIComponent(e)+"="+encodeURIComponent(t)};if(n===t&&(n=b.ajaxSettings&&b.ajaxSettings.traditional),b.isArray(e)||e.jquery&&!b.isPlainObject(e))b.each(e,function(){o(this.name,this.value)});else for(r in e)gn(r,e[r],n,o);return i.join("&").replace(cn,"+")};function gn(e,t,n,r){var i;if(b.isArray(t))b.each(t,function(t,i){n||pn.test(e)?r(e,i):gn(e+"["+("object"==typeof i?t:"")+"]",i,n,r)});else if(n||"object"!==b.type(t))r(e,t);else for(i in t)gn(e+"["+i+"]",t[i],n,r)}b.each("blur focus focusin focusout load resize scroll unload click dblclick mousedown mouseup mousemove mouseover mouseout mouseenter mouseleave change select submit keydown keypress keyup error contextmenu".split(" "),function(e,t){b.fn[t]=function(e,n){return arguments.length>0?this.on(t,null,e,n):this.trigger(t)}}),b.fn.hover=function(e,t){return this.mouseenter(e).mouseleave(t||e)};var mn,yn,vn=b.now(),bn=/\?/,xn=/#.*$/,wn=/([?&])_=[^&]*/,Tn=/^(.*?):[ \t]*([^\r\n]*)\r?$/gm,Nn=/^(?:about|app|app-storage|.+-extension|file|res|widget):$/,Cn=/^(?:GET|HEAD)$/,kn=/^\/\//,En=/^([\w.+-]+:)(?:\/\/([^\/?#:]*)(?::(\d+)|)|)/,Sn=b.fn.load,An={},jn={},Dn="*/".concat("*");try{yn=a.href}catch(Ln){yn=o.createElement("a"),yn.href="",yn=yn.href}mn=En.exec(yn.toLowerCase())||[];function Hn(e){return function(t,n){"string"!=typeof t&&(n=t,t="*");var r,i=0,o=t.toLowerCase().match(w)||[];if(b.isFunction(n))while(r=o[i++])"+"===r[0]?(r=r.slice(1)||"*",(e[r]=e[r]||[]).unshift(n)):(e[r]=e[r]||[]).push(n)}}function qn(e,n,r,i){var o={},a=e===jn;function s(u){var l;return o[u]=!0,b.each(e[u]||[],function(e,u){var c=u(n,r,i);return"string"!=typeof c||a||o[c]?a?!(l=c):t:(n.dataTypes.unshift(c),s(c),!1)}),l}return s(n.dataTypes[0])||!o["*"]&&s("*")}function Mn(e,n){var r,i,o=b.ajaxSettings.flatOptions||{};for(i in n)n[i]!==t&&((o[i]?e:r||(r={}))[i]=n[i]);return r&&b.extend(!0,e,r),e}b.fn.load=function(e,n,r){if("string"!=typeof e&&Sn)return Sn.apply(this,arguments);var i,o,a,s=this,u=e.indexOf(" ");return u>=0&&(i=e.slice(u,e.length),e=e.slice(0,u)),b.isFunction(n)?(r=n,n=t):n&&"object"==typeof n&&(a="POST"),s.length>0&&b.ajax({url:e,type:a,dataType:"html",data:n}).done(function(e){o=arguments,s.html(i?b("<div>").append(b.parseHTML(e)).find(i):e)}).complete(r&&function(e,t){s.each(r,o||[e.responseText,t,e])}),this},b.each(["ajaxStart","ajaxStop","ajaxComplete","ajaxError","ajaxSuccess","ajaxSend"],function(e,t){b.fn[t]=function(e){return this.on(t,e)}}),b.each(["get","post"],function(e,n){b[n]=function(e,r,i,o){return b.isFunction(r)&&(o=o||i,i=r,r=t),b.ajax({url:e,type:n,dataType:o,data:r,success:i})}}),b.extend({active:0,lastModified:{},etag:{},ajaxSettings:{url:yn,type:"GET",isLocal:Nn.test(mn[1]),global:!0,processData:!0,async:!0,contentType:"application/x-www-form-urlencoded; charset=UTF-8",accepts:{"*":Dn,text:"text/plain",html:"text/html",xml:"application/xml, text/xml",json:"application/json, text/javascript"},contents:{xml:/xml/,html:/html/,json:/json/},responseFields:{xml:"responseXML",text:"responseText"},converters:{"* text":e.String,"text html":!0,"text json":b.parseJSON,"text xml":b.parseXML},flatOptions:{url:!0,context:!0}},ajaxSetup:function(e,t){return t?Mn(Mn(e,b.ajaxSettings),t):Mn(b.ajaxSettings,e)},ajaxPrefilter:Hn(An),ajaxTransport:Hn(jn),ajax:function(e,n){"object"==typeof e&&(n=e,e=t),n=n||{};var r,i,o,a,s,u,l,c,p=b.ajaxSetup({},n),f=p.context||p,d=p.context&&(f.nodeType||f.jquery)?b(f):b.event,h=b.Deferred(),g=b.Callbacks("once memory"),m=p.statusCode||{},y={},v={},x=0,T="canceled",N={readyState:0,getResponseHeader:function(e){var t;if(2===x){if(!c){c={};while(t=Tn.exec(a))c[t[1].toLowerCase()]=t[2]}t=c[e.toLowerCase()]}return null==t?null:t},getAllResponseHeaders:function(){return 2===x?a:null},setRequestHeader:function(e,t){var n=e.toLowerCase();return x||(e=v[n]=v[n]||e,y[e]=t),this},overrideMimeType:function(e){return x||(p.mimeType=e),this},statusCode:function(e){var t;if(e)if(2>x)for(t in e)m[t]=[m[t],e[t]];else N.always(e[N.status]);return this},abort:function(e){var t=e||T;return l&&l.abort(t),k(0,t),this}};if(h.promise(N).complete=g.add,N.success=N.done,N.error=N.fail,p.url=((e||p.url||yn)+"").replace(xn,"").replace(kn,mn[1]+"//"),p.type=n.method||n.type||p.method||p.type,p.dataTypes=b.trim(p.dataType||"*").toLowerCase().match(w)||[""],null==p.crossDomain&&(r=En.exec(p.url.toLowerCase()),p.crossDomain=!(!r||r[1]===mn[1]&&r[2]===mn[2]&&(r[3]||("http:"===r[1]?80:443))==(mn[3]||("http:"===mn[1]?80:443)))),p.data&&p.processData&&"string"!=typeof p.data&&(p.data=b.param(p.data,p.traditional)),qn(An,p,n,N),2===x)return N;u=p.global,u&&0===b.active++&&b.event.trigger("ajaxStart"),p.type=p.type.toUpperCase(),p.hasContent=!Cn.test(p.type),o=p.url,p.hasContent||(p.data&&(o=p.url+=(bn.test(o)?"&":"?")+p.data,delete p.data),p.cache===!1&&(p.url=wn.test(o)?o.replace(wn,"$1_="+vn++):o+(bn.test(o)?"&":"?")+"_="+vn++)),p.ifModified&&(b.lastModified[o]&&N.setRequestHeader("If-Modified-Since",b.lastModified[o]),b.etag[o]&&N.setRequestHeader("If-None-Match",b.etag[o])),(p.data&&p.hasContent&&p.contentType!==!1||n.contentType)&&N.setRequestHeader("Content-Type",p.contentType),N.setRequestHeader("Accept",p.dataTypes[0]&&p.accepts[p.dataTypes[0]]?p.accepts[p.dataTypes[0]]+("*"!==p.dataTypes[0]?", "+Dn+"; q=0.01":""):p.accepts["*"]);for(i in p.headers)N.setRequestHeader(i,p.headers[i]);if(p.beforeSend&&(p.beforeSend.call(f,N,p)===!1||2===x))return N.abort();T="abort";for(i in{success:1,error:1,complete:1})N[i](p[i]);if(l=qn(jn,p,n,N)){N.readyState=1,u&&d.trigger("ajaxSend",[N,p]),p.async&&p.timeout>0&&(s=setTimeout(function(){N.abort("timeout")},p.timeout));try{x=1,l.send(y,k)}catch(C){if(!(2>x))throw C;k(-1,C)}}else k(-1,"No Transport");function k(e,n,r,i){var c,y,v,w,T,C=n;2!==x&&(x=2,s&&clearTimeout(s),l=t,a=i||"",N.readyState=e>0?4:0,r&&(w=_n(p,N,r)),e>=200&&300>e||304===e?(p.ifModified&&(T=N.getResponseHeader("Last-Modified"),T&&(b.lastModified[o]=T),T=N.getResponseHeader("etag"),T&&(b.etag[o]=T)),204===e?(c=!0,C="nocontent"):304===e?(c=!0,C="notmodified"):(c=Fn(p,w),C=c.state,y=c.data,v=c.error,c=!v)):(v=C,(e||!C)&&(C="error",0>e&&(e=0))),N.status=e,N.statusText=(n||C)+"",c?h.resolveWith(f,[y,C,N]):h.rejectWith(f,[N,C,v]),N.statusCode(m),m=t,u&&d.trigger(c?"ajaxSuccess":"ajaxError",[N,p,c?y:v]),g.fireWith(f,[N,C]),u&&(d.trigger("ajaxComplete",[N,p]),--b.active||b.event.trigger("ajaxStop")))}return N},getScript:function(e,n){return b.get(e,t,n,"script")},getJSON:function(e,t,n){return b.get(e,t,n,"json")}});function _n(e,n,r){var i,o,a,s,u=e.contents,l=e.dataTypes,c=e.responseFields;for(s in c)s in r&&(n[c[s]]=r[s]);while("*"===l[0])l.shift(),o===t&&(o=e.mimeType||n.getResponseHeader("Content-Type"));if(o)for(s in u)if(u[s]&&u[s].test(o)){l.unshift(s);break}if(l[0]in r)a=l[0];else{for(s in r){if(!l[0]||e.converters[s+" "+l[0]]){a=s;break}i||(i=s)}a=a||i}return a?(a!==l[0]&&l.unshift(a),r[a]):t}function Fn(e,t){var n,r,i,o,a={},s=0,u=e.dataTypes.slice(),l=u[0];if(e.dataFilter&&(t=e.dataFilter(t,e.dataType)),u[1])for(i in e.converters)a[i.toLowerCase()]=e.converters[i];for(;r=u[++s];)if("*"!==r){if("*"!==l&&l!==r){if(i=a[l+" "+r]||a["* "+r],!i)for(n in a)if(o=n.split(" "),o[1]===r&&(i=a[l+" "+o[0]]||a["* "+o[0]])){i===!0?i=a[n]:a[n]!==!0&&(r=o[0],u.splice(s--,0,r));break}if(i!==!0)if(i&&e["throws"])t=i(t);else try{t=i(t)}catch(c){return{state:"parsererror",error:i?c:"No conversion from "+l+" to "+r}}}l=r}return{state:"success",data:t}}b.ajaxSetup({accepts:{script:"text/javascript, application/javascript, application/ecmascript, application/x-ecmascript"},contents:{script:/(?:java|ecma)script/},converters:{"text script":function(e){return b.globalEval(e),e}}}),b.ajaxPrefilter("script",function(e){e.cache===t&&(e.cache=!1),e.crossDomain&&(e.type="GET",e.global=!1)}),b.ajaxTransport("script",function(e){if(e.crossDomain){var n,r=o.head||b("head")[0]||o.documentElement;return{send:function(t,i){n=o.createElement("script"),n.async=!0,e.scriptCharset&&(n.charset=e.scriptCharset),n.src=e.url,n.onload=n.onreadystatechange=function(e,t){(t||!n.readyState||/loaded|complete/.test(n.readyState))&&(n.onload=n.onreadystatechange=null,n.parentNode&&n.parentNode.removeChild(n),n=null,t||i(200,"success"))},r.insertBefore(n,r.firstChild)},abort:function(){n&&n.onload(t,!0)}}}});var On=[],Bn=/(=)\?(?=&|$)|\?\?/;b.ajaxSetup({jsonp:"callback",jsonpCallback:function(){var e=On.pop()||b.expando+"_"+vn++;return this[e]=!0,e}}),b.ajaxPrefilter("json jsonp",function(n,r,i){var o,a,s,u=n.jsonp!==!1&&(Bn.test(n.url)?"url":"string"==typeof n.data&&!(n.contentType||"").indexOf("application/x-www-form-urlencoded")&&Bn.test(n.data)&&"data");return u||"jsonp"===n.dataTypes[0]?(o=n.jsonpCallback=b.isFunction(n.jsonpCallback)?n.jsonpCallback():n.jsonpCallback,u?n[u]=n[u].replace(Bn,"$1"+o):n.jsonp!==!1&&(n.url+=(bn.test(n.url)?"&":"?")+n.jsonp+"="+o),n.converters["script json"]=function(){return s||b.error(o+" was not called"),s[0]},n.dataTypes[0]="json",a=e[o],e[o]=function(){s=arguments},i.always(function(){e[o]=a,n[o]&&(n.jsonpCallback=r.jsonpCallback,On.push(o)),s&&b.isFunction(a)&&a(s[0]),s=a=t}),"script"):t});var Pn,Rn,Wn=0,$n=e.ActiveXObject&&function(){var e;for(e in Pn)Pn[e](t,!0)};function In(){try{return new e.XMLHttpRequest}catch(t){}}function zn(){try{return new e.ActiveXObject("Microsoft.XMLHTTP")}catch(t){}}b.ajaxSettings.xhr=e.ActiveXObject?function(){return!this.isLocal&&In()||zn()}:In,Rn=b.ajaxSettings.xhr(),b.support.cors=!!Rn&&"withCredentials"in Rn,Rn=b.support.ajax=!!Rn,Rn&&b.ajaxTransport(function(n){if(!n.crossDomain||b.support.cors){var r;return{send:function(i,o){var a,s,u=n.xhr();if(n.username?u.open(n.type,n.url,n.async,n.username,n.password):u.open(n.type,n.url,n.async),n.xhrFields)for(s in n.xhrFields)u[s]=n.xhrFields[s];n.mimeType&&u.overrideMimeType&&u.overrideMimeType(n.mimeType),n.crossDomain||i["X-Requested-With"]||(i["X-Requested-With"]="XMLHttpRequest");try{for(s in i)u.setRequestHeader(s,i[s])}catch(l){}u.send(n.hasContent&&n.data||null),r=function(e,i){var s,l,c,p;try{if(r&&(i||4===u.readyState))if(r=t,a&&(u.onreadystatechange=b.noop,$n&&delete Pn[a]),i)4!==u.readyState&&u.abort();else{p={},s=u.status,l=u.getAllResponseHeaders(),"string"==typeof u.responseText&&(p.text=u.responseText);try{c=u.statusText}catch(f){c=""}s||!n.isLocal||n.crossDomain?1223===s&&(s=204):s=p.text?200:404}}catch(d){i||o(-1,d)}p&&o(s,c,p,l)},n.async?4===u.readyState?setTimeout(r):(a=++Wn,$n&&(Pn||(Pn={},b(e).unload($n)),Pn[a]=r),u.onreadystatechange=r):r()},abort:function(){r&&r(t,!0)}}}});var Xn,Un,Vn=/^(?:toggle|show|hide)$/,Yn=RegExp("^(?:([+-])=|)("+x+")([a-z%]*)$","i"),Jn=/queueHooks$/,Gn=[nr],Qn={"*":[function(e,t){var n,r,i=this.createTween(e,t),o=Yn.exec(t),a=i.cur(),s=+a||0,u=1,l=20;if(o){if(n=+o[2],r=o[3]||(b.cssNumber[e]?"":"px"),"px"!==r&&s){s=b.css(i.elem,e,!0)||n||1;do u=u||".5",s/=u,b.style(i.elem,e,s+r);while(u!==(u=i.cur()/a)&&1!==u&&--l)}i.unit=r,i.start=s,i.end=o[1]?s+(o[1]+1)*n:n}return i}]};function Kn(){return setTimeout(function(){Xn=t}),Xn=b.now()}function Zn(e,t){b.each(t,function(t,n){var r=(Qn[t]||[]).concat(Qn["*"]),i=0,o=r.length;for(;o>i;i++)if(r[i].call(e,t,n))return})}function er(e,t,n){var r,i,o=0,a=Gn.length,s=b.Deferred().always(function(){delete u.elem}),u=function(){if(i)return!1;var t=Xn||Kn(),n=Math.max(0,l.startTime+l.duration-t),r=n/l.duration||0,o=1-r,a=0,u=l.tweens.length;for(;u>a;a++)l.tweens[a].run(o);return s.notifyWith(e,[l,o,n]),1>o&&u?n:(s.resolveWith(e,[l]),!1)},l=s.promise({elem:e,props:b.extend({},t),opts:b.extend(!0,{specialEasing:{}},n),originalProperties:t,originalOptions:n,startTime:Xn||Kn(),duration:n.duration,tweens:[],createTween:function(t,n){var r=b.Tween(e,l.opts,t,n,l.opts.specialEasing[t]||l.opts.easing);return l.tweens.push(r),r},stop:function(t){var n=0,r=t?l.tweens.length:0;if(i)return this;for(i=!0;r>n;n++)l.tweens[n].run(1);return t?s.resolveWith(e,[l,t]):s.rejectWith(e,[l,t]),this}}),c=l.props;for(tr(c,l.opts.specialEasing);a>o;o++)if(r=Gn[o].call(l,e,c,l.opts))return r;return Zn(l,c),b.isFunction(l.opts.start)&&l.opts.start.call(e,l),b.fx.timer(b.extend(u,{elem:e,anim:l,queue:l.opts.queue})),l.progress(l.opts.progress).done(l.opts.done,l.opts.complete).fail(l.opts.fail).always(l.opts.always)}function tr(e,t){var n,r,i,o,a;for(i in e)if(r=b.camelCase(i),o=t[r],n=e[i],b.isArray(n)&&(o=n[1],n=e[i]=n[0]),i!==r&&(e[r]=n,delete e[i]),a=b.cssHooks[r],a&&"expand"in a){n=a.expand(n),delete e[r];for(i in n)i in e||(e[i]=n[i],t[i]=o)}else t[r]=o}b.Animation=b.extend(er,{tweener:function(e,t){b.isFunction(e)?(t=e,e=["*"]):e=e.split(" ");var n,r=0,i=e.length;for(;i>r;r++)n=e[r],Qn[n]=Qn[n]||[],Qn[n].unshift(t)},prefilter:function(e,t){t?Gn.unshift(e):Gn.push(e)}});function nr(e,t,n){var r,i,o,a,s,u,l,c,p,f=this,d=e.style,h={},g=[],m=e.nodeType&&nn(e);n.queue||(c=b._queueHooks(e,"fx"),null==c.unqueued&&(c.unqueued=0,p=c.empty.fire,c.empty.fire=function(){c.unqueued||p()}),c.unqueued++,f.always(function(){f.always(function(){c.unqueued--,b.queue(e,"fx").length||c.empty.fire()})})),1===e.nodeType&&("height"in t||"width"in t)&&(n.overflow=[d.overflow,d.overflowX,d.overflowY],"inline"===b.css(e,"display")&&"none"===b.css(e,"float")&&(b.support.inlineBlockNeedsLayout&&"inline"!==un(e.nodeName)?d.zoom=1:d.display="inline-block")),n.overflow&&(d.overflow="hidden",b.support.shrinkWrapBlocks||f.always(function(){d.overflow=n.overflow[0],d.overflowX=n.overflow[1],d.overflowY=n.overflow[2]}));for(i in t)if(a=t[i],Vn.exec(a)){if(delete t[i],u=u||"toggle"===a,a===(m?"hide":"show"))continue;g.push(i)}if(o=g.length){s=b._data(e,"fxshow")||b._data(e,"fxshow",{}),"hidden"in s&&(m=s.hidden),u&&(s.hidden=!m),m?b(e).show():f.done(function(){b(e).hide()}),f.done(function(){var t;b._removeData(e,"fxshow");for(t in h)b.style(e,t,h[t])});for(i=0;o>i;i++)r=g[i],l=f.createTween(r,m?s[r]:0),h[r]=s[r]||b.style(e,r),r in s||(s[r]=l.start,m&&(l.end=l.start,l.start="width"===r||"height"===r?1:0))}}function rr(e,t,n,r,i){return new rr.prototype.init(e,t,n,r,i)}b.Tween=rr,rr.prototype={constructor:rr,init:function(e,t,n,r,i,o){this.elem=e,this.prop=n,this.easing=i||"swing",this.options=t,this.start=this.now=this.cur(),this.end=r,this.unit=o||(b.cssNumber[n]?"":"px")},cur:function(){var e=rr.propHooks[this.prop];return e&&e.get?e.get(this):rr.propHooks._default.get(this)},run:function(e){var t,n=rr.propHooks[this.prop];return this.pos=t=this.options.duration?b.easing[this.easing](e,this.options.duration*e,0,1,this.options.duration):e,this.now=(this.end-this.start)*t+this.start,this.options.step&&this.options.step.call(this.elem,this.now,this),n&&n.set?n.set(this):rr.propHooks._default.set(this),this}},rr.prototype.init.prototype=rr.prototype,rr.propHooks={_default:{get:function(e){var t;return null==e.elem[e.prop]||e.elem.style&&null!=e.elem.style[e.prop]?(t=b.css(e.elem,e.prop,""),t&&"auto"!==t?t:0):e.elem[e.prop]},set:function(e){b.fx.step[e.prop]?b.fx.step[e.prop](e):e.elem.style&&(null!=e.elem.style[b.cssProps[e.prop]]||b.cssHooks[e.prop])?b.style(e.elem,e.prop,e.now+e.unit):e.elem[e.prop]=e.now}}},rr.propHooks.scrollTop=rr.propHooks.scrollLeft={set:function(e){e.elem.nodeType&&e.elem.parentNode&&(e.elem[e.prop]=e.now)}},b.each(["toggle","show","hide"],function(e,t){var n=b.fn[t];b.fn[t]=function(e,r,i){return null==e||"boolean"==typeof e?n.apply(this,arguments):this.animate(ir(t,!0),e,r,i)}}),b.fn.extend({fadeTo:function(e,t,n,r){return this.filter(nn).css("opacity",0).show().end().animate({opacity:t},e,n,r)},animate:function(e,t,n,r){var i=b.isEmptyObject(e),o=b.speed(t,n,r),a=function(){var t=er(this,b.extend({},e),o);a.finish=function(){t.stop(!0)},(i||b._data(this,"finish"))&&t.stop(!0)};return a.finish=a,i||o.queue===!1?this.each(a):this.queue(o.queue,a)},stop:function(e,n,r){var i=function(e){var t=e.stop;delete e.stop,t(r)};return"string"!=typeof e&&(r=n,n=e,e=t),n&&e!==!1&&this.queue(e||"fx",[]),this.each(function(){var t=!0,n=null!=e&&e+"queueHooks",o=b.timers,a=b._data(this);if(n)a[n]&&a[n].stop&&i(a[n]);else for(n in a)a[n]&&a[n].stop&&Jn.test(n)&&i(a[n]);for(n=o.length;n--;)o[n].elem!==this||null!=e&&o[n].queue!==e||(o[n].anim.stop(r),t=!1,o.splice(n,1));(t||!r)&&b.dequeue(this,e)})},finish:function(e){return e!==!1&&(e=e||"fx"),this.each(function(){var t,n=b._data(this),r=n[e+"queue"],i=n[e+"queueHooks"],o=b.timers,a=r?r.length:0;for(n.finish=!0,b.queue(this,e,[]),i&&i.cur&&i.cur.finish&&i.cur.finish.call(this),t=o.length;t--;)o[t].elem===this&&o[t].queue===e&&(o[t].anim.stop(!0),o.splice(t,1));for(t=0;a>t;t++)r[t]&&r[t].finish&&r[t].finish.call(this);delete n.finish})}});function ir(e,t){var n,r={height:e},i=0;for(t=t?1:0;4>i;i+=2-t)n=Zt[i],r["margin"+n]=r["padding"+n]=e;return t&&(r.opacity=r.width=e),r}b.each({slideDown:ir("show"),slideUp:ir("hide"),slideToggle:ir("toggle"),fadeIn:{opacity:"show"},fadeOut:{opacity:"hide"},fadeToggle:{opacity:"toggle"}},function(e,t){b.fn[e]=function(e,n,r){return this.animate(t,e,n,r)}}),b.speed=function(e,t,n){var r=e&&"object"==typeof e?b.extend({},e):{complete:n||!n&&t||b.isFunction(e)&&e,duration:e,easing:n&&t||t&&!b.isFunction(t)&&t};return r.duration=b.fx.off?0:"number"==typeof r.duration?r.duration:r.duration in b.fx.speeds?b.fx.speeds[r.duration]:b.fx.speeds._default,(null==r.queue||r.queue===!0)&&(r.queue="fx"),r.old=r.complete,r.complete=function(){b.isFunction(r.old)&&r.old.call(this),r.queue&&b.dequeue(this,r.queue)},r},b.easing={linear:function(e){return e},swing:function(e){return.5-Math.cos(e*Math.PI)/2}},b.timers=[],b.fx=rr.prototype.init,b.fx.tick=function(){var e,n=b.timers,r=0;for(Xn=b.now();n.length>r;r++)e=n[r],e()||n[r]!==e||n.splice(r--,1);n.length||b.fx.stop(),Xn=t},b.fx.timer=function(e){e()&&b.timers.push(e)&&b.fx.start()},b.fx.interval=13,b.fx.start=function(){Un||(Un=setInterval(b.fx.tick,b.fx.interval))},b.fx.stop=function(){clearInterval(Un),Un=null},b.fx.speeds={slow:600,fast:200,_default:400},b.fx.step={},b.expr&&b.expr.filters&&(b.expr.filters.animated=function(e){return b.grep(b.timers,function(t){return e===t.elem}).length}),b.fn.offset=function(e){if(arguments.length)return e===t?this:this.each(function(t){b.offset.setOffset(this,e,t)});var n,r,o={top:0,left:0},a=this[0],s=a&&a.ownerDocument;if(s)return n=s.documentElement,b.contains(n,a)?(typeof a.getBoundingClientRect!==i&&(o=a.getBoundingClientRect()),r=or(s),{top:o.top+(r.pageYOffset||n.scrollTop)-(n.clientTop||0),left:o.left+(r.pageXOffset||n.scrollLeft)-(n.clientLeft||0)}):o},b.offset={setOffset:function(e,t,n){var r=b.css(e,"position");"static"===r&&(e.style.position="relative");var i=b(e),o=i.offset(),a=b.css(e,"top"),s=b.css(e,"left"),u=("absolute"===r||"fixed"===r)&&b.inArray("auto",[a,s])>-1,l={},c={},p,f;u?(c=i.position(),p=c.top,f=c.left):(p=parseFloat(a)||0,f=parseFloat(s)||0),b.isFunction(t)&&(t=t.call(e,n,o)),null!=t.top&&(l.top=t.top-o.top+p),null!=t.left&&(l.left=t.left-o.left+f),"using"in t?t.using.call(e,l):i.css(l)}},b.fn.extend({position:function(){if(this[0]){var e,t,n={top:0,left:0},r=this[0];return"fixed"===b.css(r,"position")?t=r.getBoundingClientRect():(e=this.offsetParent(),t=this.offset(),b.nodeName(e[0],"html")||(n=e.offset()),n.top+=b.css(e[0],"borderTopWidth",!0),n.left+=b.css(e[0],"borderLeftWidth",!0)),{top:t.top-n.top-b.css(r,"marginTop",!0),left:t.left-n.left-b.css(r,"marginLeft",!0)}}},offsetParent:function(){return this.map(function(){var e=this.offsetParent||o.documentElement;while(e&&!b.nodeName(e,"html")&&"static"===b.css(e,"position"))e=e.offsetParent;return e||o.documentElement})}}),b.each({scrollLeft:"pageXOffset",scrollTop:"pageYOffset"},function(e,n){var r=/Y/.test(n);b.fn[e]=function(i){return b.access(this,function(e,i,o){var a=or(e);return o===t?a?n in a?a[n]:a.document.documentElement[i]:e[i]:(a?a.scrollTo(r?b(a).scrollLeft():o,r?o:b(a).scrollTop()):e[i]=o,t)},e,i,arguments.length,null)}});function or(e){return b.isWindow(e)?e:9===e.nodeType?e.defaultView||e.parentWindow:!1}b.each({Height:"height",Width:"width"},function(e,n){b.each({padding:"inner"+e,content:n,"":"outer"+e},function(r,i){b.fn[i]=function(i,o){var a=arguments.length&&(r||"boolean"!=typeof i),s=r||(i===!0||o===!0?"margin":"border");return b.access(this,function(n,r,i){var o;return b.isWindow(n)?n.document.documentElement["client"+e]:9===n.nodeType?(o=n.documentElement,Math.max(n.body["scroll"+e],o["scroll"+e],n.body["offset"+e],o["offset"+e],o["client"+e])):i===t?b.css(n,r,s):b.style(n,r,i,s)},n,a?i:t,a,null)}})}),e.jQuery=e.$=b,"function"==typeof define&&define.amd&&define.amd.jQuery&&define("jquery",[],function(){return b})})(window);(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/resources/template/common/js/jquery/ui/i18n/jquery.ui.datepicker-ko.js
+++ base/src/main/webapp/resources/lib/jquery/ui/i18n/jquery.ui.datepicker-ko.js
| No changes |
--- base/src/main/webapp/resources/template/common/js/jquery/ui/jquery-ui-1.8.15.custom.js
+++ base/src/main/webapp/resources/lib/jquery/ui/jquery-ui-1.8.15.custom.js
| No changes |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem051_450_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem051_450_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem052_445_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem052_445_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem053_445_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem053_445_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem054_440_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem054_440_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem055_385_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem055_385_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem056_520_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem056_520_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem057_520_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem057_520_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem058_520_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem058_520_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem059_385_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem060_440_bg.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/popuptem060_440_img.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/010.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/020.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/030.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/040.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/051.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/052.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/053.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/054.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/055.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/056.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/057.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/058.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/059.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/060.jpg
| Binary file is not shown |
+++ base/src/main/webapp/resources/manage/image/common/popup/thumnail/999.jpg
| Binary file is not shown |
--- base/src/main/webapp/resources/template/common/js/board2.js
... | ... | @@ -1,220 +0,0 @@ |
| 1 | - | |
| 2 | -ctgryObj = function(upperCtgryId, ctgryId, ctgryNm, ctgryLevel) {
| |
| 3 | - this.upperCtgryId = upperCtgryId; | |
| 4 | - this.ctgryId = ctgryId; | |
| 5 | - this.ctgryNm = ctgryNm; | |
| 6 | - this.ctgryLevel= ctgryLevel; | |
| 7 | -} | |
| 8 | - | |
| 9 | -function fnFindctgryObj(ctgryId) {
| |
| 10 | - for(var i = 0 ; i < boardCateList.length ; i++){
| |
| 11 | - var cate = boardCateList[i]; | |
| 12 | - if(cate.ctgryId == ctgryId) {
| |
| 13 | - return cate; | |
| 14 | - } | |
| 15 | - } | |
| 16 | - | |
| 17 | - return null; | |
| 18 | -} | |
| 19 | - | |
| 20 | -function fnCtgryChange(ctgryLevel) {
| |
| 21 | - var actObj = document.getElementById("ctgry" + ctgryLevel);
| |
| 22 | - var targetObj = document.getElementById("ctgry" + (ctgryLevel + 1));
| |
| 23 | - if(targetObj != null) {
| |
| 24 | - for(var cmIdx = ctgryLevel + 1 ; cmIdx <= boardCateLevel ; cmIdx++){
| |
| 25 | - var cmObj = document.getElementById("ctgry" + cmIdx);
| |
| 26 | - if(cmObj != null) {
| |
| 27 | - for(var i = cmObj.length - 1 ; i > 0 ; i--){
| |
| 28 | - cmObj.options.remove(i); | |
| 29 | - } | |
| 30 | - } | |
| 31 | - } | |
| 32 | - | |
| 33 | - var currVal = actObj.options[actObj.selectedIndex].value; | |
| 34 | - var currCtgryObj = fnFindctgryObj(currVal); | |
| 35 | - if(currCtgryObj != null) {
| |
| 36 | - var pos = 1; | |
| 37 | - for(var i = 0 ; i < boardCateList.length ; i++){
| |
| 38 | - var cate = boardCateList[i]; | |
| 39 | - if(cate.upperCtgryId == currCtgryObj.ctgryId && cate.ctgryLevel == ctgryLevel + 1) {
| |
| 40 | - targetObj.options[pos] = new Option(cate.ctgryNm, cate.ctgryId); | |
| 41 | - pos++; | |
| 42 | - } | |
| 43 | - } | |
| 44 | - } | |
| 45 | - } | |
| 46 | -} | |
| 47 | - | |
| 48 | -function fnCtgryInit(searchCateList) {
| |
| 49 | - var arr = searchCateList.replace('[','').replace(']','').split(",");
| |
| 50 | - for(var i = 0; i < arr.length; i++) {
| |
| 51 | - if(arr[i].trim() != '') {
| |
| 52 | - var cmObj = document.getElementById("ctgry" + (i+1));
| |
| 53 | - if(cmObj != null) {
| |
| 54 | - for(var y = 0; y < cmObj.length; y++){
| |
| 55 | - if(cmObj[y].value == arr[i].trim()) {
| |
| 56 | - cmObj[y].selected = true; | |
| 57 | - fnCtgryChange(i+1); | |
| 58 | - break; | |
| 59 | - } | |
| 60 | - } | |
| 61 | - } | |
| 62 | - } | |
| 63 | - } | |
| 64 | -} | |
| 65 | - | |
| 66 | - | |
| 67 | -String.prototype.trim = function(){
| |
| 68 | - return this.replace(/^\s+|\s+$/g, ""); | |
| 69 | -} | |
| 70 | - | |
| 71 | -function fn_egov_SelectBoxValue(sbName) | |
| 72 | -{
| |
| 73 | - var FValue = ""; | |
| 74 | - for(var i=0; i < document.getElementById(sbName).length; i++) | |
| 75 | - {
| |
| 76 | - if(document.getElementById(sbName).options[i].selected == true){
| |
| 77 | - | |
| 78 | - FValue=document.getElementById(sbName).options[i].value; | |
| 79 | - } | |
| 80 | - } | |
| 81 | - | |
| 82 | - return FValue; | |
| 83 | -} | |
| 84 | - | |
| 85 | -function fn_egov_bbs_basic_regist(frm) {
| |
| 86 | - | |
| 87 | - return validateBoard(frm); | |
| 88 | -} | |
| 89 | - | |
| 90 | - | |
| 91 | -function fn_egov_bbs_editor(adfile_config) {
| |
| 92 | - var editorOption = {
| |
| 93 | - selector: '#' + adfile_config.editorId, | |
| 94 | - language : 'ko_KR', | |
| 95 | - //height: 500, | |
| 96 | - menubar: false, | |
| 97 | - statusbar: false, | |
| 98 | - relative_urls : false, | |
| 99 | - plugins: [ | |
| 100 | - 'advlist autolink lists link image charmap print preview anchor textcolor', | |
| 101 | - 'searchreplace visualblocks code fullscreen', | |
| 102 | - 'insertdatetime media table contextmenu paste code help wordcount' | |
| 103 | - ], | |
| 104 | - toolbar1: '', | |
| 105 | - toolbar2: 'fullscreen | undo redo | fontselect fontsizeselect bold italic strikethrough forecolor backcolor | link | alignleft aligncenter alignright alignjustify | numlist bullist outdent indent | code', | |
| 106 | - content_css: [ | |
| 107 | - '/template/lms/font/font.css' | |
| 108 | - , '/template/lms/css/common/base.css' | |
| 109 | - ] | |
| 110 | - , setup: function (editor) {
| |
| 111 | - editor.addButton('ImageButton', {
| |
| 112 | - text: '이미지', | |
| 113 | - icon: 'image', | |
| 114 | - tooltip: "이미지 추가", | |
| 115 | - onclick: function () {
| |
| 116 | - var uploader = $('.fileupload.' + adfile_config.editorId);
| |
| 117 | - uploadInit(uploader, adfile_config, 'Image'); | |
| 118 | - } | |
| 119 | - }); | |
| 120 | - /* | |
| 121 | - editor.addButton('VideoButton', {
| |
| 122 | - text: '동영상', | |
| 123 | - icon: 'media', | |
| 124 | - tooltip: "동영상 추가", | |
| 125 | - onclick: function () {
| |
| 126 | - var uploader = $('.fileupload.' + adfile_config.editorId);
| |
| 127 | - uploadInit(uploader, adfile_config, 'Video'); | |
| 128 | - } | |
| 129 | - }); | |
| 130 | - */ | |
| 131 | - } | |
| 132 | - }; | |
| 133 | - | |
| 134 | - | |
| 135 | - | |
| 136 | - | |
| 137 | - if(adfile_config.fileAtchPosblAt == 'Y') {
| |
| 138 | - editorOption.toolbar1 = 'ImageButton | VideoButton' | |
| 139 | - | |
| 140 | - $('#btnAddFile_' + adfile_config.editorId).show();
| |
| 141 | - | |
| 142 | - fn_egov_file_clean_action(adfile_config.editorId); | |
| 143 | - if(adfile_config.atchFileId == '') {
| |
| 144 | - adfile_config.atchFileId = getAtchFileId(); | |
| 145 | - } | |
| 146 | - | |
| 147 | - | |
| 148 | - $('.file_btn').click(function() {
| |
| 149 | - | |
| 150 | - var uploader = $('.fileupload.' + adfile_config.editorId);
| |
| 151 | - uploadInit(uploader, adfile_config, 'All'); | |
| 152 | - | |
| 153 | - return false; | |
| 154 | - }); | |
| 155 | - } | |
| 156 | - | |
| 157 | - tinymce.init(editorOption); | |
| 158 | - | |
| 159 | - $('#nttSj').focus();
| |
| 160 | -} | |
| 161 | - | |
| 162 | -$(document).ready(function(){
| |
| 163 | - var view_cont_restrict_length = $('.view_cont').width();
| |
| 164 | - $('.view_cont img').each(function(index) {
| |
| 165 | - | |
| 166 | - var isResize = false; | |
| 167 | - if($(this).attr("width") && $(this).attr("height")) {
| |
| 168 | - var ratio = $(this).attr("width") / $(this).attr("height"); // 비율
| |
| 169 | - | |
| 170 | - if($(this).attr("width") > view_cont_restrict_length) {
| |
| 171 | - var newheight = Math.round(view_cont_restrict_length / ratio); | |
| 172 | - $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정
| |
| 173 | - isResize = true; | |
| 174 | - } | |
| 175 | - } else {
| |
| 176 | - var img = new Image(); | |
| 177 | - img.src = $(this).attr("src");
| |
| 178 | - var ratio = img.width / img.height; // 비율 | |
| 179 | - | |
| 180 | - if(img.width > view_cont_restrict_length) {
| |
| 181 | - var newheight = Math.round(view_cont_restrict_length / ratio); | |
| 182 | - $(this).attr({width:view_cont_restrict_length, height:newheight}); // 폭과 높이를 새로 지정
| |
| 183 | - isResize = true; | |
| 184 | - } | |
| 185 | - } | |
| 186 | - | |
| 187 | - if(isResize) {
| |
| 188 | - //$(this).css("cursor","pointer").click(function () {
| |
| 189 | - $(this).click(function () {
| |
| 190 | - //fnOriginImagePreview($(this).attr("src"));
| |
| 191 | - location.href = $(this).attr("src");
| |
| 192 | - }).attr("title", "원본보기");
| |
| 193 | - } | |
| 194 | - }); | |
| 195 | -}); | |
| 196 | - | |
| 197 | -function fnOriginImagePreview(url) {
| |
| 198 | - var URL = ''; | |
| 199 | - var winNM = 'Preview'; | |
| 200 | - var OPT = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=1,resizable=1,width=' + $(window).width() + ',height=' + $(window).height(); | |
| 201 | - var imgwin = window.open(URL,winNM,OPT); | |
| 202 | - | |
| 203 | - var what = url; | |
| 204 | - imgwin.focus(); | |
| 205 | - | |
| 206 | - imgwin.document.open(); | |
| 207 | - | |
| 208 | - //imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n");
| |
| 209 | - imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n");
| |
| 210 | - | |
| 211 | - imgwin.document.write("<title>원본보기</title>\n"); // 새창으로 페이지 제목
| |
| 212 | - | |
| 213 | - imgwin.document.write("</head><body style='margin:0px;padding:0px'>\n");
| |
| 214 | - | |
| 215 | - imgwin.document.write("<a href='#'><img border=0 src="+what+" alt='이미지를 클릭하시면 창이 닫힙니다.' title='이미지를 클릭하시면 창이 닫힙니다.' onclick='javascript:window.close()' /></a>\n");
| |
| 216 | - | |
| 217 | - imgwin.document.write("</body></html>\n");
| |
| 218 | - | |
| 219 | - imgwin.document.close(); | |
| 220 | -}(파일 끝에 줄바꿈 문자 없음) |
--- base/src/main/webapp/resources/template/common/js/common.js
... | ... | @@ -1,981 +0,0 @@ |
| 1 | - | |
| 2 | - function fnImageCheck(fileId) {
| |
| 3 | - var fileValue = $('#' + fileId).val();
| |
| 4 | - if(fileValue && fileValue != '') {
| |
| 5 | - if(fileValue.toUpperCase().indexOf('.PNG') == -1 && fileValue.toUpperCase().indexOf('.JPG') == -1 && fileValue.toUpperCase().indexOf('.GIF') == -1 && fileValue.toUpperCase().indexOf('.BMP') == -1) {
| |
| 6 | - alert("이미지만 첨부가 가능합니다.");
| |
| 7 | - $('#' + fileId).focus();
| |
| 8 | - return false; | |
| 9 | - } | |
| 10 | - } | |
| 11 | - | |
| 12 | - return true; | |
| 13 | - } | |
| 14 | - function fnGetCookie(name) {
| |
| 15 | - /* | |
| 16 | - var prefix = name + "="; | |
| 17 | - | |
| 18 | - var cookieStartIndex = document.cookie.indexOf(prefix); | |
| 19 | - if (cookieStartIndex == -1) return null; | |
| 20 | - var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);
| |
| 21 | - if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length; | |
| 22 | - | |
| 23 | - | |
| 24 | - return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex)); | |
| 25 | - */ | |
| 26 | - var results = document.cookie.match ( '(^|;) ?' + name + '=([^;]*)(;|$)' ); | |
| 27 | - if ( results ) | |
| 28 | - return ( unescape ( results[2] ) ); | |
| 29 | - else | |
| 30 | - return null; | |
| 31 | - } | |
| 32 | - | |
| 33 | - function fnGetCookiePopup(name) {
| |
| 34 | - /* | |
| 35 | - var prefix = name + "="; | |
| 36 | - | |
| 37 | - var cookieStartIndex = document.cookie.indexOf(prefix); | |
| 38 | - if (cookieStartIndex == -1) return null; | |
| 39 | - var cookieEndIndex = document.cookie.indexOf(";", cookieStartIndex + prefix.length);
| |
| 40 | - if (cookieEndIndex == -1) cookieEndIndex = document.cookie.length; | |
| 41 | - | |
| 42 | - | |
| 43 | - return unescape(document.cookie.substring(cookieStartIndex + prefix.length, cookieEndIndex)); | |
| 44 | - */ | |
| 45 | - var results = document.cookie.match ( '(^|;) ?' + name + '=([^;]*)(;|$)' ); | |
| 46 | - if ( results ) | |
| 47 | - return ( unescape ( results[2] ) ); | |
| 48 | - else | |
| 49 | - return null; | |
| 50 | - } | |
| 51 | - | |
| 52 | - | |
| 53 | - | |
| 54 | - function fnSetCookieValue(name, value) {
| |
| 55 | - var expireDate = new Date(); | |
| 56 | - expireDate.setFullYear(expireDate.getFullYear() + 1); | |
| 57 | - document.cookie = name + "=" + escape(value) + "; path=/; expires=" + expireDate.toGMTString() + ";"; | |
| 58 | - } | |
| 59 | - | |
| 60 | - function fnSetCookiePopup( name, value, expiredays ) {
| |
| 61 | - var todayDate = new Date(); | |
| 62 | - todayDate.setDate( todayDate.getDate() + expiredays ); | |
| 63 | - if(value != null) {
| |
| 64 | - document.cookie = name + "=" + escape( value ) + "; path=/; expires=" + todayDate.toGMTString() + ";"; | |
| 65 | - } else {
| |
| 66 | - document.cookie = name + "=; path=/; expires=" + todayDate.toGMTString() + ";"; | |
| 67 | - } | |
| 68 | - } | |
| 69 | - | |
| 70 | - function fn_egov_popupOpen_PopupManage(popupId,fileUrl,width,height,top,left,stopVewAt){
| |
| 71 | - | |
| 72 | - var url = "/uss/ion/pwm/openPopupManage.do?"; | |
| 73 | - url = url + "fileUrl=" + fileUrl; | |
| 74 | - url = url + "&stopVewAt=" + stopVewAt; | |
| 75 | - url = url + "&popupId=" + popupId; | |
| 76 | - var name = popupId; | |
| 77 | - var openWindows = window.open(url,name,"width="+width+",height="+height+",top="+top+",left="+left+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes"); | |
| 78 | - | |
| 79 | - if (openWindows) {openWindows.focus();}
| |
| 80 | - } | |
| 81 | - | |
| 82 | - function fnTabListLoading(frmId, frmUrl) {
| |
| 83 | - var frm = document.getElementById(frmId); | |
| 84 | - if(frm) {
| |
| 85 | - if(frm.src == "about:blank") {
| |
| 86 | - frm.src = frmUrl; | |
| 87 | - } | |
| 88 | - } | |
| 89 | - } | |
| 90 | - | |
| 91 | - function initTabMenu(tabContainerID) {
| |
| 92 | - var tabContainer = document.getElementById(tabContainerID); | |
| 93 | - var tabAnchor = tabContainer.getElementsByTagName("a");
| |
| 94 | - var i = 0; | |
| 95 | - | |
| 96 | - for(i=0; i<tabAnchor.length; i++) {
| |
| 97 | - if (tabAnchor.item(i).className == "tab") | |
| 98 | - thismenu = tabAnchor.item(i); | |
| 99 | - else | |
| 100 | - continue; | |
| 101 | - | |
| 102 | - thismenu.container = tabContainer; | |
| 103 | - thismenu.targetEl = document.getElementById(tabAnchor.item(i).href.split("#")[1]);
| |
| 104 | - thismenu.targetEl.style.display = "none"; | |
| 105 | - thismenu.imgEl = thismenu.getElementsByTagName("img").item(0);
| |
| 106 | - | |
| 107 | - thismenu.onclick = function tabMenuClick() {
| |
| 108 | - currentmenu = this.container.current; | |
| 109 | - if (currentmenu == this) | |
| 110 | - return false; | |
| 111 | - | |
| 112 | - if (currentmenu) {
| |
| 113 | - currentmenu.targetEl.style.display = "none"; | |
| 114 | - if (currentmenu.imgEl) {
| |
| 115 | - currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.png", ".png");
| |
| 116 | - } else {
| |
| 117 | - currentmenu.className = currentmenu.className.replace(" on", "");
| |
| 118 | - } | |
| 119 | - } | |
| 120 | - this.targetEl.style.display = ""; | |
| 121 | - if (this.imgEl) {
| |
| 122 | - this.imgEl.src = this.imgEl.src.replace(".png", "_on.png");
| |
| 123 | - } else {
| |
| 124 | - this.className += " on"; | |
| 125 | - } | |
| 126 | - this.container.current = this; | |
| 127 | - | |
| 128 | - return true; | |
| 129 | - }; | |
| 130 | - thismenu.onfocus = function tabMenuClick() {
| |
| 131 | - currentmenu = this.container.current; | |
| 132 | - if (currentmenu == this) | |
| 133 | - return false; | |
| 134 | - | |
| 135 | - if (currentmenu) {
| |
| 136 | - currentmenu.targetEl.style.display = "none"; | |
| 137 | - if (currentmenu.imgEl) {
| |
| 138 | - currentmenu.imgEl.src = currentmenu.imgEl.src.replace("_on.png", ".png");
| |
| 139 | - } else {
| |
| 140 | - currentmenu.className = currentmenu.className.replace(" on", "");
| |
| 141 | - } | |
| 142 | - } | |
| 143 | - this.targetEl.style.display = ""; | |
| 144 | - if (this.imgEl) {
| |
| 145 | - this.imgEl.src = this.imgEl.src.replace(".png", "_on.png");
| |
| 146 | - } else {
| |
| 147 | - this.className += " on"; | |
| 148 | - } | |
| 149 | - this.container.current = this; | |
| 150 | - | |
| 151 | - return true; | |
| 152 | - }; | |
| 153 | - if (!thismenu.container.first) | |
| 154 | - thismenu.container.first = thismenu; | |
| 155 | - } | |
| 156 | - if (tabContainer.first) | |
| 157 | - tabContainer.first.onclick(); | |
| 158 | - | |
| 159 | - } | |
| 160 | - | |
| 161 | - function fnImagePreview(url) {
| |
| 162 | - var URL = ''; | |
| 163 | - var winNM = 'Preview'; | |
| 164 | - var OPT = 'toolbar=0,location=0,directories=0,status=0,menubar=0,scrollbars=no,resizable=0,top=30,left=30,copyhistory=0 width=1024 height=859'; | |
| 165 | - var imgwin = window.open(URL,winNM,OPT); | |
| 166 | - | |
| 167 | - var what = url; | |
| 168 | - imgwin.focus(); | |
| 169 | - | |
| 170 | - imgwin.document.open(); | |
| 171 | - | |
| 172 | - imgwin.document.write("<!DOCTYPE HTML PUBLIC '-//W3C//DTD HTML 4.01 Transitional//EN'>\n");
| |
| 173 | - imgwin.document.write("<html><head><meta http-equiv='Content-Type' content='text/html; charset=utf-8' />\n");
| |
| 174 | - | |
| 175 | - imgwin.document.write("<title>크게보기</title>\n"); // 새창으로 페이지 제목
| |
| 176 | - | |
| 177 | - imgwin.document.write("<sc"+"ript>\n");
| |
| 178 | - | |
| 179 | - imgwin.document.write("function resize() {\n");
| |
| 180 | - | |
| 181 | - imgwin.document.write("pic = document.il;\n");
| |
| 182 | - | |
| 183 | - imgwin.document.write("if (eval(pic).height) { var name = navigator.appName\n");
| |
| 184 | - | |
| 185 | - imgwin.document.write(" if (name == 'Microsoft Internet Explorer') { myHeight = eval(pic).height + 60; myWidth = eval(pic).width + 10;\n");
| |
| 186 | - | |
| 187 | - imgwin.document.write(" } else { myHeight = eval(pic).height + 56; myWidth = eval(pic).width + 8; }\n");
| |
| 188 | - | |
| 189 | - imgwin.document.write(" clearTimeout();\n");
| |
| 190 | - | |
| 191 | - imgwin.document.write(" var height = screen.height;\n");
| |
| 192 | - | |
| 193 | - imgwin.document.write(" var width = screen.width;\n");
| |
| 194 | - | |
| 195 | - imgwin.document.write(" var leftpos = width / 2 - myWidth / 2;\n"); //hjhj
| |
| 196 | - | |
| 197 | - imgwin.document.write(" var toppos = height / 2 - myHeight / 2; \n");
| |
| 198 | - | |
| 199 | - imgwin.document.write(" self.moveTo(leftpos, toppos);\n");
| |
| 200 | - | |
| 201 | - imgwin.document.write(" self.resizeTo(myWidth, myHeight);\n");
| |
| 202 | - | |
| 203 | - imgwin.document.write("}else setTimeOut(resize(), 100);}\n");
| |
| 204 | - | |
| 205 | - imgwin.document.write("</sc"+"ript>\n");
| |
| 206 | - | |
| 207 | - imgwin.document.write("</head><body style='margin:0px;padding:0px'>\n");
| |
| 208 | - | |
| 209 | - imgwin.document.write("<img border=0 src="+what+" xwidth='100' xheight='9' name='il' onload='resize();' alt='이미지를 클릭하시면 창이 닫힙니다.' title='이미지를 클릭하시면 창이 닫힙니다.' onclick='javascript:window.close()' />\n");
| |
| 210 | - | |
| 211 | - imgwin.document.write("</body></html>\n");
| |
| 212 | - | |
| 213 | - imgwin.document.close(); | |
| 214 | - } | |
| 215 | - | |
| 216 | - function goUrl(value) {
| |
| 217 | - var obj = document.getElementById("sLink"+value);
| |
| 218 | - if(value != "") {
| |
| 219 | - if(obj.value == "") {
| |
| 220 | - alert("사이트를 선택하세요"); return false;
| |
| 221 | - } | |
| 222 | - window.open(obj.value); | |
| 223 | - } | |
| 224 | - } | |
| 225 | - | |
| 226 | - | |
| 227 | - function fn_byte_convert(val) {
| |
| 228 | - var size = "0 KB"; | |
| 229 | - | |
| 230 | - if (val >= 1073741824) | |
| 231 | - size = fn_comma(round(val / 1073741824, 2)) + " GB"; | |
| 232 | - else if (val >= 1048576) | |
| 233 | - size = fn_comma(round(val / 1048576, 2)) + " MB"; | |
| 234 | - else if (val >= 1024) | |
| 235 | - size = fn_comma(round(val / 1024, 2)) + " KB"; | |
| 236 | - else if (val > 0 && round(val < 1024, 2)) | |
| 237 | - size = "1 KB"; | |
| 238 | - | |
| 239 | - return size; | |
| 240 | - } | |
| 241 | - | |
| 242 | - function round(n, digits) {
| |
| 243 | - var factor = Math.pow(10, digits); // 정수부 반올림 | |
| 244 | - var increment = 5/(factor*10); | |
| 245 | - | |
| 246 | - return Math.floor((n+increment)*factor)/factor; | |
| 247 | - } | |
| 248 | - | |
| 249 | - | |
| 250 | - function fn_comma(n) {
| |
| 251 | - var reg = /(^[+-]?\d+)(\d{3})/;
| |
| 252 | - n += ''; | |
| 253 | - while (reg.test(n)) {
| |
| 254 | - n = n.replace(reg, '$1' + ',' + '$2'); | |
| 255 | - } | |
| 256 | - | |
| 257 | - return n; | |
| 258 | - } | |
| 259 | - | |
| 260 | - function fn_egov_editor_file_add(userFile, wireData) {
| |
| 261 | - //확장자 추출 부분 작업 | |
| 262 | - var fileVal = userFile.orignlFileNm, | |
| 263 | - ext = fileVal.split("."),
| |
| 264 | - splitSize = ext.length - 1, | |
| 265 | - fileExt = ext[splitSize].toLowerCase(), | |
| 266 | - icon = "icon-file"; | |
| 267 | - | |
| 268 | - if(fileExt=="bmp" || fileExt=="gif" || fileExt=="jpeg" || fileExt=="jpg" || fileExt=="png"){
| |
| 269 | - icon = "icon-img"; | |
| 270 | - } | |
| 271 | - | |
| 272 | - var pageChk = $("#staffPage").val();
| |
| 273 | - var list = ""; | |
| 274 | - | |
| 275 | - if(pageChk == "staff"){
| |
| 276 | - list += "<a href=\"#none\" class=\"attachment " + icon + " font-gray\" id=\"" + userFile.atchFileId + '_' + userFile.fileSn + "\">"; | |
| 277 | - list += "<span class=\"text\">" + userFile.orignlFileNm + "</span>"; | |
| 278 | - list += "<span class=\"file-remove\" onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\">-</span>"
| |
| 279 | - list += "</a>"; | |
| 280 | - //list += "<a href=\"/cmm/fms/deleteStreamLongFile.do?tmprFileId=" + userFile.tmprFileId + "\" class=\"" + userFile.atchFileId + '_' + userFile.fileSn + "\" onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\"><span class=\"file-remove\">-</span></a>";
| |
| 281 | - }else if(pageChk == "common"){
| |
| 282 | - list += "<a href='#' id='" + userFile.atchFileId + '_' + userFile.fileSn + "' onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\" class='attachment " + icon + " font-gray'>";
| |
| 283 | - list += "<span class=\"text\">" + userFile.orignlFileNm + "</span>"; | |
| 284 | - list += "<span class='file-remove'>-</span>"; | |
| 285 | - list += "</a>"; | |
| 286 | - }else{
| |
| 287 | - list += "<tr id='" + userFile.atchFileId + '_' + userFile.fileSn + "'>"; | |
| 288 | - list += "<td><img src='/template/manage/images/ico_file.gif' alt='파일'/> " + userFile.orignlFileNm + "</td>"; | |
| 289 | - list += "<td class='size'>" + fn_byte_convert(userFile.fileMg) + "</td>"; | |
| 290 | - list += "<td class='del'><a href=\"/cmm/fms/deleteStreamLongFile.do?tmprFileId=" + userFile.tmprFileId + "\" onclick=\"fn_egov_editor_tmpr_file_del('" + wireData.editorId + "','" + userFile.tmprFileId + "');return false;\"><img src=\"/template/manage/images/btn_sdelete.gif\"/></a></td>";
| |
| 291 | - list += "</tr>"; | |
| 292 | - } | |
| 293 | - | |
| 294 | - $('#fileGroupId_' + wireData.editorId).val(userFile.atchFileId);
| |
| 295 | - $('#fileCurrSize_' + wireData.editorId).val(wireData.totalFileMg);
| |
| 296 | - $('#fileCurrCount_' + wireData.editorId).val(wireData.totalFileCount);
| |
| 297 | - $('#multiFileList_' + wireData.editorId).append(list);
| |
| 298 | - | |
| 299 | - | |
| 300 | - /*if(userFile.IsEdit == 'True') {
| |
| 301 | - $('#' + userFile.atchFileId + '_' + userFile.fileSn).remove();
| |
| 302 | - }*/ | |
| 303 | - | |
| 304 | - if(tinymce) {
| |
| 305 | - var html = ""; | |
| 306 | - if (isImage(userFile.orignlFileNm)) {
| |
| 307 | - html = '<img src="' + userFile.fileStreWebCours + '/' + userFile.streFileNm + '" class="' + userFile.atchFileId + '_' + userFile.fileSn + '">'; | |
| 308 | - } else if(isVideo(userFile.orignlFileNm)) {
| |
| 309 | - html = '<video src="' + userFile.fileStreWebCours + '/' + userFile.streFileNm + '" controls class="' + userFile.atchFileId + '_' + userFile.fileSn + '"></video>'; | |
| 310 | - } | |
| 311 | - | |
| 312 | - if(html != ''){
| |
| 313 | - tinymce.activeEditor.insertContent(html); | |
| 314 | - } | |
| 315 | - } | |
| 316 | - | |
| 317 | - fn_egov_file_clean_action(wireData.editorId); | |
| 318 | - } | |
| 319 | - | |
| 320 | - function fn_egov_editor_tmpr_file_del(editorId, tmprFileId) {
| |
| 321 | - | |
| 322 | - if(confirm('삭제하시면 본문에서도 삭제됩니다. 계속하시겠습니까?')) {
| |
| 323 | - var url = "/cmm/fms/deleteStreamLongFileByAjax.do"; | |
| 324 | - var param = {tmprFileId:tmprFileId};
| |
| 325 | - $.ajax({
| |
| 326 | - type : "POST", | |
| 327 | - url : url, | |
| 328 | - data : param, | |
| 329 | - dataType : "json", | |
| 330 | - success : function(data) {
| |
| 331 | - if(data.delCount > 0) {
| |
| 332 | - fn_egov_editor_file_del_action(data, editorId); | |
| 333 | - } | |
| 334 | - }, error: function(xhr, textStatus, errorThrown) {
| |
| 335 | - alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status ));
| |
| 336 | - } | |
| 337 | - }); | |
| 338 | - } | |
| 339 | - } | |
| 340 | - | |
| 341 | - function fn_egov_editor_file_del(editorId, estnAt, progrmId, atchFileId, fileSn) {
| |
| 342 | - | |
| 343 | - if(confirm('삭제하시면 본문에서도 삭제됩니다. 계속하시겠습니까?')) {
| |
| 344 | - var url = "/cmm/fms/deleteFileInfByAjax.do"; | |
| 345 | - var param = {estnAt:estnAt, progrmId:progrmId, atchFileId:atchFileId, fileSn:fileSn};
| |
| 346 | - $.ajax({
| |
| 347 | - type : "POST", | |
| 348 | - url : url, | |
| 349 | - data : param, | |
| 350 | - dataType : "json", | |
| 351 | - success : function(data) {
| |
| 352 | - if(data.delCount > 0) {
| |
| 353 | - fn_egov_editor_file_del_action(data, editorId); | |
| 354 | - } | |
| 355 | - }, error: function(xhr, textStatus, errorThrown) {
| |
| 356 | - alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status ));
| |
| 357 | - } | |
| 358 | - }); | |
| 359 | - } | |
| 360 | - } | |
| 361 | - | |
| 362 | - function fn_egov_editor_file_del_action(data, editorId) {
| |
| 363 | - | |
| 364 | - $('#fileCurrSize_' + editorId).val(data.totalFileMg);
| |
| 365 | - $('#fileCurrCount_' + editorId).val(data.totalFileCount);
| |
| 366 | - $('#' + data.atchFileId + '_' + data.fileSn).remove();
| |
| 367 | - $('.' + data.atchFileId + '_' + data.fileSn).remove();
| |
| 368 | - tinyMCE.activeEditor.dom.remove(tinyMCE.activeEditor.dom.select('[class=' + data.atchFileId + '_' + data.fileSn + ']'));
| |
| 369 | - tinyMCE.activeEditor.dom.remove(tinyMCE.activeEditor.dom.select('[data-mce-p-class=' + data.atchFileId + '_' + data.fileSn + ']'));
| |
| 370 | - fn_egov_file_clean_action(editorId); | |
| 371 | - } | |
| 372 | - | |
| 373 | - function fn_egov_file_clean_action(editorId) {
| |
| 374 | - if($('#multiFileList_' + editorId).children().length == 1) {
| |
| 375 | - $('#tr_file_empty_' + editorId).show();
| |
| 376 | - } else {
| |
| 377 | - $('#tr_file_empty_' + editorId).hide();
| |
| 378 | - } | |
| 379 | - | |
| 380 | - $('#lblMaxCount_' + editorId).html($('#posblAtchFileNumber_' + editorId).val());
| |
| 381 | - $('#lblMaxSize_' + editorId).html(fn_byte_convert($('#posblAtchFileSize_' + editorId).val()));
| |
| 382 | - $('#lblCurrCount_' + editorId).html($('#fileCurrCount_' + editorId).val());
| |
| 383 | - $('#lblCurrSize_' + editorId).html(fn_byte_convert($('#fileCurrSize_' + editorId).val()));
| |
| 384 | - } | |
| 385 | - | |
| 386 | - function fn_egov_downFile(url) {
| |
| 387 | - window.open(url); | |
| 388 | - } | |
| 389 | - | |
| 390 | - var nowZoom = 100; | |
| 391 | - function zoomIn() {
| |
| 392 | - nowZoom = nowZoom + 20; | |
| 393 | - if(nowZoom >= 500) nowZoom = 500; | |
| 394 | - zooms(); | |
| 395 | - } | |
| 396 | - | |
| 397 | - | |
| 398 | - function zoomOut() {
| |
| 399 | - nowZoom = nowZoom - 10; | |
| 400 | - if(nowZoom <= 70) nowZoom = 70; | |
| 401 | - zooms(); | |
| 402 | - } | |
| 403 | - | |
| 404 | - function zoomReset(){
| |
| 405 | - nowZoom = 100; | |
| 406 | - zooms(); | |
| 407 | - } | |
| 408 | - | |
| 409 | - function zooms(){
| |
| 410 | - document.body.style.zoom = nowZoom + '%'; | |
| 411 | - | |
| 412 | - if(nowZoom==70){
| |
| 413 | - alert ("30%축소 되었습니다. 더 이상 축소할 수 없습니다.");
| |
| 414 | - } | |
| 415 | - | |
| 416 | - if(nowZoom==500){
| |
| 417 | - alert ("500%확대 되었습니다. 더 이상 확대할 수 없습니다.");
| |
| 418 | - } | |
| 419 | - } | |
| 420 | - | |
| 421 | - function fnTotalSearch(form) {
| |
| 422 | - var searchCnd = $('#searchCnd option:selected').val();
| |
| 423 | - var searchWrd = $.trim($('#searchWrd').val());
| |
| 424 | - | |
| 425 | - if(searchWrd == "") {
| |
| 426 | - alert("검색어를 입력해주세요");
| |
| 427 | - $('#searchWrd').focus();
| |
| 428 | - return false; | |
| 429 | - } | |
| 430 | - | |
| 431 | - if(searchWrd.length < 2) {
| |
| 432 | - alert("검색어는 2자 이상 입력해주세요");
| |
| 433 | - $('#searchWrd').focus();
| |
| 434 | - return false; | |
| 435 | - } | |
| 436 | - | |
| 437 | - if(searchCnd == 'bbs') {
| |
| 438 | - form.action = "/sch/bbsSearch.do"; | |
| 439 | - } else if(searchCnd == 'vod') {
| |
| 440 | - form.action = "/sch/vodSearch.do"; | |
| 441 | - } else if(searchCnd == 'cmy') {
| |
| 442 | - form.action = "/sch/cmySearch.do"; | |
| 443 | - } | |
| 444 | - } | |
| 445 | - | |
| 446 | - function commonPopShow(id) {
| |
| 447 | - $('#wrapper').append("<div id='layer_blind_box' style='position:absolute; top:0; left:0; width:100%; height:100%; background:#000; z-index:50;'></div>");
| |
| 448 | - $('#layer_blind_box').css('opacity', 0.3);
| |
| 449 | - //jQuery('#' + id).fadeIn(300);
| |
| 450 | - $('#' + id).css('z-index', 100);
| |
| 451 | - $('#' + id).fadeIn();
| |
| 452 | - } | |
| 453 | - | |
| 454 | - function commonPopHide(id) {
| |
| 455 | - $('#layer_blind_box').remove();
| |
| 456 | - $('#' + id).fadeOut();
| |
| 457 | - }; | |
| 458 | - | |
| 459 | - var token = ""; | |
| 460 | - var loginYn = ""; | |
| 461 | - $(document).ready(function(){
| |
| 462 | - /*$('a').click(function() {
| |
| 463 | - ssoLinkAction(this); | |
| 464 | - });*/ | |
| 465 | - | |
| 466 | - $('#btnMyMenuAdd').click(function() {
| |
| 467 | - if (confirm('마이메뉴에 추가 하시겠습니까?')) {
| |
| 468 | - location.href = this.href; | |
| 469 | - } | |
| 470 | - return false; | |
| 471 | - }); | |
| 472 | - | |
| 473 | - $.datepicker.setDefaults({
| |
| 474 | - dateFormat: 'yy-mm-dd', | |
| 475 | - prevText: '이전 달', | |
| 476 | - nextText: '다음 달', | |
| 477 | - monthNames: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], | |
| 478 | - monthNamesShort: ['1월', '2월', '3월', '4월', '5월', '6월', '7월', '8월', '9월', '10월', '11월', '12월'], | |
| 479 | - dayNames: ['일', '월', '화', '수', '목', '금', '토'], | |
| 480 | - dayNamesShort: ['일', '월', '화', '수', '목', '금', '토'], | |
| 481 | - dayNamesMin: ['일', '월', '화', '수', '목', '금', '토'], | |
| 482 | - showMonthAfterYear: true, | |
| 483 | - yearSuffix: '년' | |
| 484 | - }); | |
| 485 | - | |
| 486 | - $('.datepicker').datepicker({
| |
| 487 | - dateFormat: 'yy-mm-dd' | |
| 488 | - }); | |
| 489 | - | |
| 490 | - | |
| 491 | - $(document).on("keyup", ".numonly", function(key) {
| |
| 492 | - if(key.keyCode == 8 || key.keyCode == 46) {
| |
| 493 | - return; | |
| 494 | - } | |
| 495 | - var val = $(this).val().replace(/[^0-9]/gi,""); | |
| 496 | - $(this).val(val == "" ? 0 : val); | |
| 497 | - }); | |
| 498 | - | |
| 499 | - | |
| 500 | - $('.noteOpen').click(function(){
| |
| 501 | - var info = $(this).data('info');
| |
| 502 | - if(info.type == 'view') {
| |
| 503 | - var param = $.param(info); | |
| 504 | - fn_popup("/uss/ion/ntr/detailNoteRecptn.do?" + param,"NOTE");
| |
| 505 | - } else {
| |
| 506 | - fn_popup("/uss/ion/ntr/listNoteRecptn.do","NOTE");
| |
| 507 | - } | |
| 508 | - return false; | |
| 509 | - }); | |
| 510 | - }); | |
| 511 | - | |
| 512 | - /*function ssoLinkAction(aObj) {
| |
| 513 | - if(token != "" && loginYn == "Y" && aObj.href.indexOf('javascript') == -1 && aObj.href.indexOf(document.domain) == -1) {
| |
| 514 | - var makeUrl = aObj.href; | |
| 515 | - if(aObj.href.indexOf('token') == -1) {
| |
| 516 | - makeUrl = aObj.href + (aObj.href.indexOf('?') == -1 ? '?' : '&') + 'token=' + token;
| |
| 517 | - } | |
| 518 | - aObj.href = makeUrl; | |
| 519 | - } | |
| 520 | - }*/ | |
| 521 | - | |
| 522 | - | |
| 523 | - /******************************************************************************* | |
| 524 | - * Tab Button 처리 | |
| 525 | - * by moon | |
| 526 | - */ | |
| 527 | - (function($) {
| |
| 528 | - $.fn.tabToggle = function(obj) {
| |
| 529 | - obj = $.extend({
| |
| 530 | - tabClass : null, | |
| 531 | - titClass : null, | |
| 532 | - bbsList : null, | |
| 533 | - moreBtn : null, | |
| 534 | - height : 10, | |
| 535 | - top : 0, | |
| 536 | - left: 0 | |
| 537 | - }, obj || {});
| |
| 538 | - return this.each(function() {
| |
| 539 | - var rowCount = $(this).children(obj.tabClass).size(); | |
| 540 | - $(this).css({"position":"relative","height":obj.height});
| |
| 541 | - | |
| 542 | - $(this).children(obj.tabClass).each(function(index){
| |
| 543 | - $(this).children(obj.titClass).css({"position":"absolute"});
| |
| 544 | - $(this).children(obj.bbsList).css({
| |
| 545 | - "position":"absolute", | |
| 546 | - "top" : obj.top, | |
| 547 | - "left" : obj.left | |
| 548 | - }); | |
| 549 | - if(index != 0) {
| |
| 550 | - $(this).children(obj.bbsList).css({"visibility":"hidden","height":"0"});
| |
| 551 | - $(this).children(obj.moreBtn).css({"visibility":"hidden","height":"0"});
| |
| 552 | - } | |
| 553 | - var curTab = this; | |
| 554 | - $(this).children(obj.titClass).children("a").hover(function() {
| |
| 555 | - $(curTab).parent().children(obj.tabClass).each(function(index) {
| |
| 556 | - $(this).children(obj.bbsList).css({"visibility":"hidden","height":"0"});
| |
| 557 | - $(this).children(obj.moreBtn).css({"visibility":"hidden","height":"0"});
| |
| 558 | - }); | |
| 559 | - $(curTab).children(obj.bbsList).css({"visibility":"visible","height":"auto"});
| |
| 560 | - $(curTab).children(obj.moreBtn).css({"visibility":"visible","height":"auto"});
| |
| 561 | - $(obj.titClass).removeClass("tabActive");
| |
| 562 | - $(this).parent(obj.titClass).addClass("tabActive");
| |
| 563 | - }); | |
| 564 | - | |
| 565 | - $(this).children(obj.titClass).children("a").focus(function() {
| |
| 566 | - $(curTab).parent().children(obj.tabClass).each(function(index) {
| |
| 567 | - $(this).children(obj.bbsList).css({"visibility":"hidden","height":"0"});
| |
| 568 | - $(this).children(obj.moreBtn).css({"visibility":"hidden","height":"0"});
| |
| 569 | - }); | |
| 570 | - $(curTab).children(obj.bbsList).css({"visibility":"visible","height":"auto"});
| |
| 571 | - $(curTab).children(obj.moreBtn).css({"visibility":"visible","height":"auto"});
| |
| 572 | - $(this).parent(obj.titClass).addClass("tabActive");
| |
| 573 | - }); | |
| 574 | - }); | |
| 575 | - if(obj.moreBtn) {
| |
| 576 | - $(obj.moreBtn).css({"position":"absolute","top":"0","right":"0"});
| |
| 577 | - }; | |
| 578 | - }); | |
| 579 | - }; | |
| 580 | - })(jQuery); | |
| 581 | - | |
| 582 | - | |
| 583 | - //============================================================================================ | |
| 584 | - /** | |
| 585 | - * 공통 팝업 (by moon) | |
| 586 | - */ | |
| 587 | - fn_popup = function() {
| |
| 588 | - var argLen = arguments.length; | |
| 589 | - var popUrl = null; | |
| 590 | - var popSeCode = null; | |
| 591 | - var popWidth = 1020; | |
| 592 | - var popHeight = 635; | |
| 593 | - var popDialogNm = "FNPOPDIALOG"; | |
| 594 | - var popOptions = null; | |
| 595 | - var options = null; | |
| 596 | - var fullScreen = false; | |
| 597 | - | |
| 598 | - if(argLen < 1) {
| |
| 599 | - alert("잘못된 호출입니다.");
| |
| 600 | - return false; | |
| 601 | - } | |
| 602 | - | |
| 603 | - switch(argLen) {
| |
| 604 | - case 5: | |
| 605 | - popOptions = arguments[4]; | |
| 606 | - case 4: | |
| 607 | - popHeight = arguments[3]; | |
| 608 | - case 3: | |
| 609 | - popWidth = arguments[2]; | |
| 610 | - case 2: | |
| 611 | - popSeCode = arguments[1]; | |
| 612 | - | |
| 613 | - if(popSeCode != null) {
| |
| 614 | - switch(popSeCode) {
| |
| 615 | - case "ONECLICK": // 원클릭 | |
| 616 | - popWidth = 1020; | |
| 617 | - popHeight = 660; | |
| 618 | - popOptions = "width="+popWidth+",height="+popHeight+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes"; | |
| 619 | - break; | |
| 620 | - case "GNR": // 수업자료, 수업지도안, 에듀큐레이션 | |
| 621 | - popWidth = 1020; | |
| 622 | - popHeight = 635; | |
| 623 | - break; | |
| 624 | - case "SIMILARITY": // 유사문서 | |
| 625 | - popWidth = 1020; | |
| 626 | - popHeight = 550; | |
| 627 | - break; | |
| 628 | - case "ICECREAM": // 아이스크림 | |
| 629 | - popWidth = 1090; | |
| 630 | - popHeight = 665; | |
| 631 | - break; | |
| 632 | - case "YOUTUBE": // YOUTUBE | |
| 633 | - fullScreen = true; | |
| 634 | - break; | |
| 635 | - case "DOC": | |
| 636 | - fullScreen = true; | |
| 637 | - break; | |
| 638 | - case "MOV": // 동영상 | |
| 639 | - popWidth = 776; | |
| 640 | - popHeight = 589; | |
| 641 | - break; | |
| 642 | - case "SWF": // 동영상 | |
| 643 | - popWidth = 776; | |
| 644 | - popHeight = 589; | |
| 645 | - break; | |
| 646 | - case "WAV": // 사운드 | |
| 647 | - popWidth = 776; | |
| 648 | - popHeight = 589; | |
| 649 | - break; | |
| 650 | - case "IMG": // 이미지 | |
| 651 | - fullScreen = true; | |
| 652 | - break; | |
| 653 | - case "TXT": | |
| 654 | - fullScreen = true; | |
| 655 | - break; | |
| 656 | - case "NOTE": // 쪽지 | |
| 657 | - popWidth = 802; | |
| 658 | - popHeight = 622; | |
| 659 | - popOptions = "width="+popWidth+",height="+popHeight+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=no"; | |
| 660 | - break; | |
| 661 | - case "MEMO": // 메모 | |
| 662 | - popWidth = 1060; | |
| 663 | - popHeight = 650; | |
| 664 | - popOptions = "width="+popWidth+",height="+popHeight+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes"; | |
| 665 | - break; | |
| 666 | - case "MYFRIEND": // 친구 | |
| 667 | - popWidth = 1020; | |
| 668 | - popHeight = 760; | |
| 669 | - popOptions = "width="+popWidth+",height="+popHeight+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes"; | |
| 670 | - break; | |
| 671 | - case "SHAREDPAPER": // 공유문서함 | |
| 672 | - popWidth = 1020; | |
| 673 | - popHeight = 900; | |
| 674 | - popOptions = "width="+popWidth+",height="+popHeight+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes"; | |
| 675 | - break; | |
| 676 | - case "cal": // 검색결과 만족도 조사 | |
| 677 | - popWidth = 410; | |
| 678 | - popHeight = 520; | |
| 679 | - break; | |
| 680 | - case "FULL": | |
| 681 | - fullScreen = true; | |
| 682 | - break; | |
| 683 | - default : | |
| 684 | - break; | |
| 685 | - } | |
| 686 | - } | |
| 687 | - case 1: | |
| 688 | - popUrl = arguments[0]; | |
| 689 | - popDialogNm += popSeCode; | |
| 690 | - break; | |
| 691 | - default : | |
| 692 | - alert("Error : arguments");
| |
| 693 | - return false; | |
| 694 | - break; | |
| 695 | - } | |
| 696 | - | |
| 697 | - if(fullScreen === true) {
| |
| 698 | - window.open(popUrl, popDialogNm, 'height=' + (screen.availHeight-80) + ',width=' + screen.availWidth + ',top=0,left=0,toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=yes'); | |
| 699 | - }else {
| |
| 700 | - if(popOptions != null) options = popOptions; | |
| 701 | - else options = "width="+popWidth+",height="+popHeight+",toolbar=no,status=no,location=no,scrollbars=yes,menubar=no,resizable=no"; | |
| 702 | - window.open(popUrl, popDialogNm, options); | |
| 703 | - } | |
| 704 | - return false; | |
| 705 | - }; | |
| 706 | - | |
| 707 | - | |
| 708 | - fn_setHomepage = function (homepage) {
| |
| 709 | - if( navigator.userAgent.indexOf("MSIE") != -1) {
| |
| 710 | - if(confirm("홈페이지를 시작페이지로 설정하시겠습니까?")) {
| |
| 711 | - document.body.style.behavior="url(#default#homepage)"; | |
| 712 | - document.body.setHomepage(homepage); | |
| 713 | - } | |
| 714 | - }else {
| |
| 715 | - alert("해당 브라우저는 지원을 하지 않습니다.");
| |
| 716 | - } | |
| 717 | - }; | |
| 718 | - | |
| 719 | - | |
| 720 | - function getJson(url, param, callback) {
| |
| 721 | - $.ajax({
| |
| 722 | - type : "POST", | |
| 723 | - url : url, | |
| 724 | - data : param, | |
| 725 | - dataType : "json", | |
| 726 | - success : function(result) {
| |
| 727 | - if(result.success) {
| |
| 728 | - callback(result); | |
| 729 | - } else {
| |
| 730 | - alert('문제가 발생하여 작업을 완료하지 못하였습니다.');
| |
| 731 | - } | |
| 732 | - }, error: function(xhr, textStatus, errorThrown) {
| |
| 733 | - alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status ));
| |
| 734 | - } | |
| 735 | - }); | |
| 736 | - } | |
| 737 | - | |
| 738 | - function getHtml(url, param, callback) {
| |
| 739 | - $.ajax({
| |
| 740 | - type : "POST", | |
| 741 | - url : url, | |
| 742 | - data : param, | |
| 743 | - dataType : "html", | |
| 744 | - success : function(result) {
| |
| 745 | - callback(result); | |
| 746 | - }, error: function(xhr, textStatus, errorThrown) {
| |
| 747 | - alert('An error occurred! ' + ( errorThrown ? errorThrown :xhr.status ));
| |
| 748 | - } | |
| 749 | - }); | |
| 750 | - } | |
| 751 | - | |
| 752 | - function zipCodePop(roadZip, roadAddr) {
| |
| 753 | - new daum.Postcode({
| |
| 754 | - oncomplete: function(data) {
| |
| 755 | - // 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분. | |
| 756 | - | |
| 757 | - // 도로명 주소의 노출 규칙에 따라 주소를 조합한다. | |
| 758 | - // 내려오는 변수가 값이 없는 경우엔 공백('')값을 가지므로, 이를 참고하여 분기 한다.
| |
| 759 | - var fullRoadAddr = data.roadAddress; // 도로명 주소 변수 | |
| 760 | - var extraRoadAddr = ''; // 도로명 조합형 주소 변수 | |
| 761 | - | |
| 762 | - // 법정동명이 있을 경우 추가한다. (법정리는 제외) | |
| 763 | - // 법정동의 경우 마지막 문자가 "동/로/가"로 끝난다. | |
| 764 | - if(data.bname !== '' && /[동|로|가]$/g.test(data.bname)){
| |
| 765 | - extraRoadAddr += data.bname; | |
| 766 | - } | |
| 767 | - // 건물명이 있고, 공동주택일 경우 추가한다. | |
| 768 | - if(data.buildingName !== '' && data.apartment === 'Y'){
| |
| 769 | - extraRoadAddr += (extraRoadAddr !== '' ? ', ' + data.buildingName : data.buildingName); | |
| 770 | - } | |
| 771 | - // 도로명, 지번 조합형 주소가 있을 경우, 괄호까지 추가한 최종 문자열을 만든다. | |
| 772 | - if(extraRoadAddr !== ''){
| |
| 773 | - extraRoadAddr = ' (' + extraRoadAddr + ')';
| |
| 774 | - } | |
| 775 | - // 도로명, 지번 주소의 유무에 따라 해당 조합형 주소를 추가한다. | |
| 776 | - if(fullRoadAddr !== ''){
| |
| 777 | - fullRoadAddr += extraRoadAddr; | |
| 778 | - } | |
| 779 | - | |
| 780 | - $('#' + roadZip).val(data.zonecode); //5자리 새우편번호 사용
| |
| 781 | - $('#' + roadAddr).val(data.roadAddress);
| |
| 782 | - | |
| 783 | - // 사용자가 '선택 안함'을 클릭한 경우, 예상 주소라는 표시를 해준다. | |
| 784 | - if(data.autoRoadAddress) {
| |
| 785 | - //예상되는 도로명 주소에 조합형 주소를 추가한다. | |
| 786 | - var expRoadAddr = data.autoRoadAddress + extraRoadAddr; | |
| 787 | - $('#guide').html('(예상 도로명 주소 : ' + expRoadAddr + ')');
| |
| 788 | - | |
| 789 | - } else if(data.autoJibunAddress) {
| |
| 790 | - var expJibunAddr = data.autoJibunAddress; | |
| 791 | - $('#guide').html('(예상 지번 주소 : ' + expJibunAddr + ')');
| |
| 792 | - | |
| 793 | - } else {
| |
| 794 | - $('#guide').html('');
| |
| 795 | - } | |
| 796 | - } | |
| 797 | - }).open(); | |
| 798 | - } | |
| 799 | - | |
| 800 | - function zipCodePop(norZip, norAddr, roadZip, roadAddr) {
| |
| 801 | - new daum.Postcode({
| |
| 802 | - oncomplete: function(data) {
| |
| 803 | - // 팝업에서 검색결과 항목을 클릭했을때 실행할 코드를 작성하는 부분. | |
| 804 | - | |
| 805 | - // 도로명 주소의 노출 규칙에 따라 주소를 조합한다. | |
| 806 | - // 내려오는 변수가 값이 없는 경우엔 공백('')값을 가지므로, 이를 참고하여 분기 한다.
| |
| 807 | - var fullRoadAddr = data.roadAddress; // 도로명 주소 변수 | |
| 808 | - var extraRoadAddr = ''; // 도로명 조합형 주소 변수 | |
| 809 | - | |
| 810 | - // 법정동명이 있을 경우 추가한다. (법정리는 제외) | |
| 811 | - // 법정동의 경우 마지막 문자가 "동/로/가"로 끝난다. | |
| 812 | - if(data.bname !== '' && /[동|로|가]$/g.test(data.bname)){
| |
| 813 | - extraRoadAddr += data.bname; | |
| 814 | - } | |
| 815 | - // 건물명이 있고, 공동주택일 경우 추가한다. | |
| 816 | - if(data.buildingName !== '' && data.apartment === 'Y'){
| |
| 817 | - extraRoadAddr += (extraRoadAddr !== '' ? ', ' + data.buildingName : data.buildingName); | |
| 818 | - } | |
| 819 | - // 도로명, 지번 조합형 주소가 있을 경우, 괄호까지 추가한 최종 문자열을 만든다. | |
| 820 | - if(extraRoadAddr !== ''){
| |
| 821 | - extraRoadAddr = ' (' + extraRoadAddr + ')';
| |
| 822 | - } | |
| 823 | - // 도로명, 지번 주소의 유무에 따라 해당 조합형 주소를 추가한다. | |
| 824 | - if(fullRoadAddr !== ''){
| |
| 825 | - fullRoadAddr += extraRoadAddr; | |
| 826 | - } | |
| 827 | - | |
| 828 | - if(roadZip) {
| |
| 829 | - // 우편번호와 주소 정보를 해당 필드에 넣는다. | |
| 830 | - $('#' + norZip).val(data.postcode); //6자리 기존우편번호 사용
| |
| 831 | - $('#' + norAddr).val(data.jibunAddress); //기존 주소 사용
| |
| 832 | - | |
| 833 | - $('#' + roadZip).val(data.zonecode); //5자리 새우편번호 사용
| |
| 834 | - $('#' + roadAddr).val(data.roadAddress);
| |
| 835 | - } else {
| |
| 836 | - $('#' + norZip).val(data.zonecode); //5자리 새우편번호 사용
| |
| 837 | - $('#' + norAddr).val(data.roadAddress); //기존 주소 사용
| |
| 838 | - } | |
| 839 | - | |
| 840 | - // 사용자가 '선택 안함'을 클릭한 경우, 예상 주소라는 표시를 해준다. | |
| 841 | - if(data.autoRoadAddress) {
| |
| 842 | - //예상되는 도로명 주소에 조합형 주소를 추가한다. | |
| 843 | - var expRoadAddr = data.autoRoadAddress + extraRoadAddr; | |
| 844 | - $('#guide').html('(예상 도로명 주소 : ' + expRoadAddr + ')');
| |
| 845 | - | |
| 846 | - } else if(data.autoJibunAddress) {
| |
| 847 | - var expJibunAddr = data.autoJibunAddress; | |
| 848 | - $('#guide').html('(예상 지번 주소 : ' + expJibunAddr + ')');
| |
| 849 | - | |
| 850 | - } else {
| |
| 851 | - $('#guide').html('');
| |
| 852 | - } | |
| 853 | - } | |
| 854 | - }).open(); | |
| 855 | - } | |
| 856 | - | |
| 857 | - /** | |
| 858 | - * 앞뒤 공백 제거 | |
| 859 | - */ | |
| 860 | - function trim(str) | |
| 861 | - {
| |
| 862 | - return str.replace(/(^[ \f\n\r\t]*)|([ \f\n\r\t]*$)/g, ""); | |
| 863 | - } | |
| 864 | - | |
| 865 | - //금액 | |
| 866 | - function numberWithCommas(x) {
| |
| 867 | - return x.toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
| |
| 868 | - } | |
| 869 | - | |
| 870 | - //랜덤함수 | |
| 871 | - function randOnlyString(leng){
| |
| 872 | - var ALPHA = ['a','b','c','d','e','f','g','h','i','j','k','l','m','n','o','p','q','r','s','t','u','v','w','x','y','z'], | |
| 873 | - rN = '', | |
| 874 | - leng = leng == null || leng == 'undefined' ? 8 : leng; | |
| 875 | - | |
| 876 | - for(var i=0; i<leng; i++){
| |
| 877 | - var randTnum = Math.floor(Math.random()*ALPHA.length); | |
| 878 | - rN += ALPHA[randTnum]; | |
| 879 | - } | |
| 880 | - | |
| 881 | - return rN; | |
| 882 | - } | |
| 883 | - | |
| 884 | -$(document).ready(function(){
| |
| 885 | - //하위 메뉴 삭제 | |
| 886 | - $(".sub-menu-list-wrap").each(function(){
| |
| 887 | - if($(this).children("li").length == 0){
| |
| 888 | - $(this).remove(); | |
| 889 | - } | |
| 890 | - }); | |
| 891 | - | |
| 892 | - | |
| 893 | - //공유하기 | |
| 894 | - $('.btn-share').click(function() {
| |
| 895 | - var href = $(this).data("href"),
| |
| 896 | - title = $(this).data("title");
| |
| 897 | - | |
| 898 | - $(".sns-share-url").val(href);
| |
| 899 | - $("#sns_title").val(title);
| |
| 900 | - return false; | |
| 901 | - }); | |
| 902 | - | |
| 903 | - $(".btn_sns").click(function(){
| |
| 904 | - var type = $(this).data("type"),
| |
| 905 | - title = $("#sns_title").val(),
| |
| 906 | - strURL = $(".sns-share-url").val();
| |
| 907 | - | |
| 908 | - if(type == "twitter"){
| |
| 909 | - snsUrl = "http://twitter.com/share?url=" + encodeURIComponent(strURL) + '&text' + encodeURIComponent(title); | |
| 910 | - }else if(type == "facebook"){
| |
| 911 | - snsUrl = "http://www.facebook.com/share.php?u=" + encodeURIComponent(strURL); | |
| 912 | - } | |
| 913 | - | |
| 914 | - window.open(snsUrl); | |
| 915 | - }); | |
| 916 | - | |
| 917 | - //좋아요(wishlist) | |
| 918 | - $(".btn-wishlist").click(function(){
| |
| 919 | - var code = $(this).data("code"),
| |
| 920 | - id = $(this).data("id"),
| |
| 921 | - ele = $(this), | |
| 922 | - url = "/uss/ivp/insertIvp.json"; | |
| 923 | - | |
| 924 | - if($(this).hasClass("on")){
| |
| 925 | - url = "/uss/ivp/deleteIvp.json"; | |
| 926 | - } | |
| 927 | - | |
| 928 | - if(code && id){
| |
| 929 | - $.ajax({
| |
| 930 | - type : "post" | |
| 931 | - , url : url | |
| 932 | - , data : {trgetTyCode : code, trgetId : id}
| |
| 933 | - , dataType : "json" | |
| 934 | - , success : function(data){
| |
| 935 | - if("Y" == data.successYn){
| |
| 936 | - if(ele.hasClass("on")){
| |
| 937 | - ele.removeClass("on");
| |
| 938 | - }else{
| |
| 939 | - ele.addClass("on");
| |
| 940 | - } | |
| 941 | - } | |
| 942 | - }, error : function(){
| |
| 943 | - alert("데이터 불러 들이는데 실패했습니다.");
| |
| 944 | - } | |
| 945 | - }); | |
| 946 | - } | |
| 947 | - }); | |
| 948 | - | |
| 949 | - //페이지 이동 | |
| 950 | - $(".goPage").click(function(){
| |
| 951 | - location.href = $(this).data("url");
| |
| 952 | - return false; | |
| 953 | - }); | |
| 954 | -}); | |
| 955 | - | |
| 956 | -//숫자만 입력 | |
| 957 | -$(document).on("keyup", ".onlyNum", function(){
| |
| 958 | - var inpVal = $(this).val().replace(/[^0-9]/g,''); | |
| 959 | - $(this).val(inpVal); | |
| 960 | -}); | |
| 961 | -/* | |
| 962 | -$(".onlyNum").bind("input",function(event){
| |
| 963 | - var inpVal = $(this).val().replace(/[^0-9]/g,''); | |
| 964 | - $(this).val(inpVal); | |
| 965 | -}); | |
| 966 | -*/ | |
| 967 | -//금액 | |
| 968 | -$(".money").bind("input",function(event){
| |
| 969 | - var inpVal = $(this).val().replace(/,/gi,"").toString().replace(/\B(?=(\d{3})+(?!\d))/g, ",");
| |
| 970 | - $(this).val(inpVal); | |
| 971 | -}); | |
| 972 | - | |
| 973 | -//확장자 추출 | |
| 974 | -function fileExt(fileNm) {
| |
| 975 | - var ext = fileNm.split(".");
| |
| 976 | - var splitSize = ext.length - 1; | |
| 977 | - var fileExt = ext[splitSize].toLowerCase(); | |
| 978 | - | |
| 979 | - return fileExt; | |
| 980 | -} | |
| 981 | - |
Add a comment
Delete comment
Once you delete this comment, you won't be able to recover it. Are you sure you want to delete this comment?