메인화면 개발
This commit is contained in:
parent
036d9c6ae8
commit
9bf98ca135
@ -77,6 +77,8 @@ public class Banner extends ComDefaultVO {
|
|||||||
private String registerId;
|
private String registerId;
|
||||||
private String istarget;
|
private String istarget;
|
||||||
|
|
||||||
|
private String alt;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* @return the bannerId
|
* @return the bannerId
|
||||||
*/
|
*/
|
||||||
@ -235,4 +237,11 @@ public class Banner extends ComDefaultVO {
|
|||||||
public void setIstarget(String istarget) {
|
public void setIstarget(String istarget) {
|
||||||
this.istarget = istarget;
|
this.istarget = istarget;
|
||||||
}
|
}
|
||||||
|
public String getAlt() {
|
||||||
|
return alt;
|
||||||
|
}
|
||||||
|
public void setAlt(String alt) {
|
||||||
|
this.alt = alt;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -142,13 +142,6 @@ public class EgovBannerController {
|
|||||||
model.addAttribute("delSttus", bannerVO.getDelSttus());
|
model.addAttribute("delSttus", bannerVO.getDelSttus());
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
model.addAttribute("paginationInfo", paginationInfo);
|
||||||
|
|
||||||
/*메인이미지 코드*/
|
|
||||||
/* 타겟 코드 */
|
|
||||||
ComDefaultCodeVO vo = new ComDefaultCodeVO();
|
|
||||||
vo.setCodeId("ITN017");
|
|
||||||
List<?> imgCode= cmmUseService.selectCmmCodeDetail(vo);
|
|
||||||
model.addAttribute("imgCodeList", imgCode);
|
|
||||||
|
|
||||||
return "egovframework/com/uss/ion/bnr/EgovBannerList";
|
return "egovframework/com/uss/ion/bnr/EgovBannerList";
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@ -2,7 +2,11 @@ package kcc.web;
|
|||||||
|
|
||||||
import java.io.UnsupportedEncodingException;
|
import java.io.UnsupportedEncodingException;
|
||||||
import java.math.BigDecimal;
|
import java.math.BigDecimal;
|
||||||
|
import java.sql.Timestamp;
|
||||||
import java.text.SimpleDateFormat;
|
import java.text.SimpleDateFormat;
|
||||||
|
import java.time.LocalDate;
|
||||||
|
import java.time.ZoneId;
|
||||||
|
import java.time.format.DateTimeFormatter;
|
||||||
import java.util.ArrayList;
|
import java.util.ArrayList;
|
||||||
import java.util.Collections;
|
import java.util.Collections;
|
||||||
import java.util.Comparator;
|
import java.util.Comparator;
|
||||||
@ -35,7 +39,8 @@ import javax.servlet.http.HttpServletRequest;
|
|||||||
import javax.servlet.http.HttpServletResponse;
|
import javax.servlet.http.HttpServletResponse;
|
||||||
import javax.servlet.http.HttpSession;
|
import javax.servlet.http.HttpSession;
|
||||||
|
|
||||||
import org.apache.poi.util.SystemOutLogger;
|
import org.apache.ibatis.annotations.Case;
|
||||||
|
import org.springframework.beans.factory.annotation.Autowired;
|
||||||
import org.springframework.beans.factory.annotation.Value;
|
import org.springframework.beans.factory.annotation.Value;
|
||||||
import org.springframework.stereotype.Controller;
|
import org.springframework.stereotype.Controller;
|
||||||
import org.springframework.ui.Model;
|
import org.springframework.ui.Model;
|
||||||
@ -56,7 +61,6 @@ import egovframework.rte.fdl.property.EgovPropertyService;
|
|||||||
import egovframework.rte.fdl.security.intercept.EgovReloadableFilterInvocationSecurityMetadataSource;
|
import egovframework.rte.fdl.security.intercept.EgovReloadableFilterInvocationSecurityMetadataSource;
|
||||||
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
import egovframework.rte.fdl.security.userdetails.util.EgovUserDetailsHelper;
|
||||||
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
import egovframework.rte.psl.dataaccess.util.EgovMap;
|
||||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
|
||||||
import kcc.com.cmm.CmmUtil;
|
import kcc.com.cmm.CmmUtil;
|
||||||
import kcc.com.cmm.ComDefaultVO;
|
import kcc.com.cmm.ComDefaultVO;
|
||||||
import kcc.com.cmm.LoginVO;
|
import kcc.com.cmm.LoginVO;
|
||||||
@ -64,6 +68,7 @@ import kcc.com.cmm.service.EgovCmmUseService;
|
|||||||
import kcc.com.cmm.service.EgovFileMngUtil;
|
import kcc.com.cmm.service.EgovFileMngUtil;
|
||||||
import kcc.com.cmm.service.FileVO;
|
import kcc.com.cmm.service.FileVO;
|
||||||
import kcc.com.cmm.util.WebUtil;
|
import kcc.com.cmm.util.WebUtil;
|
||||||
|
import kcc.com.uss.ion.bnr.service.BannerVO;
|
||||||
import kcc.com.uss.ion.bnr.service.EgovBannerService;
|
import kcc.com.uss.ion.bnr.service.EgovBannerService;
|
||||||
import kcc.com.uss.ion.cnf.service.MetaTagManageService;
|
import kcc.com.uss.ion.cnf.service.MetaTagManageService;
|
||||||
import kcc.com.uss.ion.cyb.service.CyberAlertManageService;
|
import kcc.com.uss.ion.cyb.service.CyberAlertManageService;
|
||||||
@ -89,6 +94,9 @@ import kcc.let.sym.prm.service.EgovProgrmManageService;
|
|||||||
import kcc.let.sym.prm.service.ProgrmManageVO;
|
import kcc.let.sym.prm.service.ProgrmManageVO;
|
||||||
import kcc.let.sym.site.service.EgovSiteManagerService;
|
import kcc.let.sym.site.service.EgovSiteManagerService;
|
||||||
import kcc.let.sym.site.service.SiteManagerVO;
|
import kcc.let.sym.site.service.SiteManagerVO;
|
||||||
|
import seed.com.gtm.board.CaseBoardService;
|
||||||
|
import seed.com.gtm.exam.ExamBoardService;
|
||||||
|
import seed.com.gtm.faqbbs.faqBpardService;
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* 템플릿 메인 페이지 컨트롤러 클래스(Sample 소스)
|
* 템플릿 메인 페이지 컨트롤러 클래스(Sample 소스)
|
||||||
@ -188,46 +196,40 @@ public class MainController {
|
|||||||
@Resource(name = "CmmnDetailCodeManageService")
|
@Resource(name = "CmmnDetailCodeManageService")
|
||||||
private EgovCcmCmmnDetailCodeManageService cmmnDetailCodeManageService;
|
private EgovCcmCmmnDetailCodeManageService cmmnDetailCodeManageService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private CaseBoardService caseBoardService;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private faqBpardService faqBoardservice;
|
||||||
|
|
||||||
|
@Autowired
|
||||||
|
private ExamBoardService examBoardService;
|
||||||
|
|
||||||
@RequestMapping(value = "/web/main/mainPage.do")
|
@RequestMapping(value = "/web/main/mainPage.do")
|
||||||
public String siteMainPage(HttpServletRequest request, ModelMap model, HttpSession session) throws Exception {
|
public String siteMainPage(HttpServletRequest request, ModelMap model, HttpSession session) throws Exception {
|
||||||
|
|
||||||
/** EgovPropertyService.sample */
|
/** 메인비주얼 */
|
||||||
MainzoneVO mainzoneVO = new MainzoneVO();
|
model.addAttribute("mainzoneImg", this.mainzone()); // PC
|
||||||
mainzoneVO.setPageUnit(propertiesService.getInt("pageUnit"));
|
|
||||||
mainzoneVO.setPageSize(propertiesService.getInt("pageSize"));
|
|
||||||
|
|
||||||
CmmUtil.getPageing(mainzoneVO, 10);
|
/** 팝업 괸리 */
|
||||||
/** pageing */
|
model.addAttribute("popupList", this.Popup());
|
||||||
mainzoneVO.setUseYn("Y"); // 사용하는것만
|
|
||||||
mainzoneVO.setDeviceType("P"); // PC
|
|
||||||
List<EgovMap> mainzoneList = (List<EgovMap>)egovPopupManageService.selectMainzoneList(mainzoneVO); // 상단메인 이미지
|
|
||||||
if(mainzoneList.size() > 0) {
|
|
||||||
mainzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
|
|
||||||
}
|
|
||||||
model.addAttribute("mainzoneImg", mainzoneList.stream().findFirst().orElse(null)); // PC
|
|
||||||
|
|
||||||
/** 팝업 알림창괸리 */
|
|
||||||
PopupManageVO popupManageVO = new PopupManageVO();
|
|
||||||
popupManageVO.setRecordCountPerPage(10); // 10개만
|
|
||||||
popupManageVO.setNtceAt("Y"); // 사용만
|
|
||||||
popupManageVO.setMainPageFlag("Y"); // 메인화면의 용도(시작일 종료일 사이 조회)
|
|
||||||
List<?> popupList = egovPopupManageService.selectPopupMainList(popupManageVO);
|
|
||||||
model.addAttribute("popupList", popupList);
|
|
||||||
|
|
||||||
/** 알림창괸리 */
|
/** 알림창괸리 */
|
||||||
PopupzoneVO popupzoneVo = new PopupzoneVO();
|
model.addAttribute("popupzoneImg", this.popupzone());
|
||||||
popupzoneVo.setFirstIndex(0);
|
|
||||||
popupzoneVo.setSeCd("02"); // 좌측팝업
|
|
||||||
popupzoneVo.setUseYn("Y");
|
|
||||||
popupzoneVo.setSearchSortCnd("MB.sort");
|
|
||||||
popupzoneVo.setSearchSortOrd("ASC");
|
|
||||||
|
|
||||||
List<EgovMap> popupzoneList = (List<EgovMap>)egovPopupManageService.selectPopupzoneList(popupzoneVo);
|
/** 배너괸리 */
|
||||||
// model.addAttribute("popupzoneList", popupzoneList);
|
model.addAttribute("bannerList", this.banner());
|
||||||
if(popupzoneList.size() > 0) {
|
|
||||||
popupzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
|
/** 공지사항 */
|
||||||
}
|
model.addAttribute("noticeList", this.bbsList("notice", 0, 5));
|
||||||
model.addAttribute("popupzoneImg", popupzoneList.stream().findFirst().orElse(null)); // PC
|
|
||||||
|
/** 뉴스레터 */
|
||||||
|
model.addAttribute("newsLetterList", this.bbsList("news", 0, 2));
|
||||||
|
|
||||||
|
/** 뉴스레터 */
|
||||||
|
model.addAttribute("faqList", this.faqList());
|
||||||
|
|
||||||
|
List<Map<String,Object>> test = examList();
|
||||||
|
|
||||||
return "web/main/mainPage";
|
return "web/main/mainPage";
|
||||||
}
|
}
|
||||||
@ -1201,4 +1203,251 @@ public class MainController {
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @methodName : mainzone
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2024.10.10
|
||||||
|
* @description :
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private EgovMap mainzone(){
|
||||||
|
/** EgovPropertyService.sample */
|
||||||
|
MainzoneVO mainzoneVO = new MainzoneVO();
|
||||||
|
mainzoneVO.setPageUnit(propertiesService.getInt("pageUnit"));
|
||||||
|
mainzoneVO.setPageSize(propertiesService.getInt("pageSize"));
|
||||||
|
|
||||||
|
CmmUtil.getPageing(mainzoneVO, 10);
|
||||||
|
/** pageing */
|
||||||
|
mainzoneVO.setUseYn("Y"); // 사용하는것만
|
||||||
|
mainzoneVO.setDeviceType("P"); // PC
|
||||||
|
List<EgovMap> mainzoneList = new ArrayList<>();
|
||||||
|
try {
|
||||||
|
mainzoneList = (List<EgovMap>)egovPopupManageService.selectMainzoneList(mainzoneVO);
|
||||||
|
} catch (Exception e) {
|
||||||
|
} // 상단메인 이미지
|
||||||
|
if(mainzoneList.size() > 0) {
|
||||||
|
mainzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
|
||||||
|
}
|
||||||
|
return mainzoneList.stream().findFirst().orElse(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @methodName : Popup
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2024.10.10
|
||||||
|
* @description :
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private List<?> Popup(){
|
||||||
|
PopupManageVO popupManageVO = new PopupManageVO();
|
||||||
|
popupManageVO.setRecordCountPerPage(10); // 10개만
|
||||||
|
popupManageVO.setNtceAt("Y"); // 사용만
|
||||||
|
popupManageVO.setMainPageFlag("Y"); // 메인화면의 용도(시작일 종료일 사이 조회)
|
||||||
|
List<?> popupList = new ArrayList<>();
|
||||||
|
try {
|
||||||
|
popupList = egovPopupManageService.selectPopupMainList(popupManageVO);
|
||||||
|
} catch (Exception e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
return popupList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @methodName : popupzone
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2024.10.10
|
||||||
|
* @description :
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private EgovMap popupzone(){
|
||||||
|
/** 알림창괸리 */
|
||||||
|
PopupzoneVO popupzoneVo = new PopupzoneVO();
|
||||||
|
popupzoneVo.setFirstIndex(0);
|
||||||
|
popupzoneVo.setSeCd("02"); // 좌측팝업
|
||||||
|
popupzoneVo.setUseYn("Y");
|
||||||
|
popupzoneVo.setSearchSortCnd("MB.sort");
|
||||||
|
popupzoneVo.setSearchSortOrd("ASC");
|
||||||
|
|
||||||
|
List<EgovMap> popupzoneList = new ArrayList<>();
|
||||||
|
try {
|
||||||
|
popupzoneList = (List<EgovMap>)egovPopupManageService.selectPopupzoneList(popupzoneVo);
|
||||||
|
} catch (Exception e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
|
||||||
|
if(popupzoneList.size() > 0) {
|
||||||
|
popupzoneList.sort(Comparator.comparing((EgovMap map) -> Integer.valueOf(((BigDecimal) map.get("sort")).intValue())));
|
||||||
|
}
|
||||||
|
return popupzoneList.stream().findFirst().orElse(null);
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @methodName : banner
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2024.10.10
|
||||||
|
* @description :
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private List<?> banner(){
|
||||||
|
BannerVO bannerVO = new BannerVO();
|
||||||
|
bannerVO.setFirstIndex(0);
|
||||||
|
bannerVO.setRecordCountPerPage(999);
|
||||||
|
|
||||||
|
List<BannerVO> bannerList = new ArrayList<>();
|
||||||
|
try {
|
||||||
|
bannerList = egovBannerService.selectBannerList(bannerVO);
|
||||||
|
} catch (Exception e) {
|
||||||
|
// TODO Auto-generated catch block
|
||||||
|
e.printStackTrace();
|
||||||
|
}
|
||||||
|
return bannerList;
|
||||||
|
}
|
||||||
|
|
||||||
|
/**
|
||||||
|
* @methodName : bbsNoticeNews
|
||||||
|
* @author : JunHo Lee
|
||||||
|
* @date : 2024.10.10
|
||||||
|
* @description :
|
||||||
|
* @param boardIdx
|
||||||
|
* @param pageStart
|
||||||
|
* @param perPageNum
|
||||||
|
* @return
|
||||||
|
*/
|
||||||
|
private List<Map<String,Object>> bbsList(String boardIdx, int pageStart, int perPageNum){
|
||||||
|
Map<String,Object> paramMap = new HashMap<String, Object>();
|
||||||
|
//페이징 관련
|
||||||
|
paramMap.put("pageStart", pageStart);
|
||||||
|
paramMap.put("perPageNum", perPageNum);
|
||||||
|
paramMap.put("boardIdx", boardIdx);
|
||||||
|
|
||||||
|
List<Map<String,Object>> bbsList = caseBoardService.boardList(paramMap);
|
||||||
|
|
||||||
|
DateTimeFormatter formatter = DateTimeFormatter.ofPattern("yyyy-MM-dd");
|
||||||
|
// 공지로 등록된 항목 맨 위로
|
||||||
|
// 시간 변환
|
||||||
|
bbsList = bbsList.stream()
|
||||||
|
.sorted((map1, map2) -> {
|
||||||
|
String noticeYn1 = (String) map1.get("noticeYn");
|
||||||
|
String noticeYn2 = (String) map2.get("noticeYn");
|
||||||
|
|
||||||
|
if (noticeYn1 == null && noticeYn2 == null) return 0; // 둘 다 null인 경우
|
||||||
|
if (noticeYn1 == null) return 1; // noticeYn1이 null이면 뒤로 보냄
|
||||||
|
if (noticeYn2 == null) return -1; // noticeYn2가 null이면 뒤로 보냄
|
||||||
|
|
||||||
|
return noticeYn2.compareTo(noticeYn1);
|
||||||
|
})
|
||||||
|
.peek(map -> {
|
||||||
|
Timestamp regTimestamp = (Timestamp) map.get("BBS_REG_DATE");
|
||||||
|
if (regTimestamp != null) {
|
||||||
|
LocalDate date = regTimestamp.toInstant().atZone(ZoneId.systemDefault()).toLocalDate();
|
||||||
|
map.put("BBS_REG_DATE", date.format(formatter));
|
||||||
|
}
|
||||||
|
})
|
||||||
|
.collect(Collectors.toList());
|
||||||
|
|
||||||
|
return bbsList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
private List<Map<String,Object>> faqList(){
|
||||||
|
Map<String,Object> paramMap = new HashMap<String, Object>();
|
||||||
|
|
||||||
|
paramMap.put("PAGESTART", 0);
|
||||||
|
paramMap.put("PERPAGENUM", 5);
|
||||||
|
|
||||||
|
List<Map<String,Object>> bbsList = faqBoardservice.boardListAllFaq(paramMap);
|
||||||
|
|
||||||
|
|
||||||
|
bbsList.stream()
|
||||||
|
.forEach(t -> {
|
||||||
|
String faqSetIdx = t.get("FAQ_SETIDX").toString();
|
||||||
|
//조정신청
|
||||||
|
if("101".equals(faqSetIdx)) {
|
||||||
|
t.put("bbsTypeNm", "조정신청");
|
||||||
|
t.put("bbsTypeUrl", "/web/user/faqBbs/case/101/147/faq101Detail.do?faqSeq="+ t.get("FAQ_SEQ_NUMBER").toString() +"&page=1&searchType=title&searchTilte=");
|
||||||
|
}
|
||||||
|
//절차진행
|
||||||
|
else if("102".equals(faqSetIdx)) {
|
||||||
|
t.put("bbsTypeNm", "절차진행");
|
||||||
|
t.put("bbsTypeUrl", "/web/user/faqBbs/case/102/148/faq102Detail.do?faqSeq="+ t.get("FAQ_SEQ_NUMBER").toString() +"&page=1&searchType=title&searchTilte=");
|
||||||
|
}
|
||||||
|
//절차종료
|
||||||
|
else if("103".equals(faqSetIdx)) {
|
||||||
|
t.put("bbsTypeNm", "절차종료");
|
||||||
|
t.put("bbsTypeUrl", "/web/user/faqBbs/case/103/149/faq103Detail.do?faqSeq="+ t.get("FAQ_SEQ_NUMBER").toString() +"&page=1&searchType=title&searchTilte=");
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
return bbsList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
private List<Map<String,Object>> examList(){
|
||||||
|
// if(boardIdx.equals("402")){
|
||||||
|
// menuName = "공정거래";
|
||||||
|
// }else if(boardIdx.equals("403")){
|
||||||
|
// menuName = "가맹사업거래";
|
||||||
|
// }else if(boardIdx.equals("404")){
|
||||||
|
// menuName = "하도급거래";
|
||||||
|
// }else if(boardIdx.equals("405")){
|
||||||
|
// menuName = "대규모유통업거래";
|
||||||
|
// }else if(boardIdx.equals("406")){
|
||||||
|
// menuName = "불공정약관";
|
||||||
|
// }else if(boardIdx.equals("407")){
|
||||||
|
// menuName = "대리점거래";
|
||||||
|
// }
|
||||||
|
// Map<String,Object> paramMap = new HashMap<String, Object>();
|
||||||
|
//
|
||||||
|
// //페이징 관련
|
||||||
|
// paramMap.put("pageStart", 0);
|
||||||
|
// paramMap.put("perPageNum", 1);
|
||||||
|
// paramMap.put("boardIdx", "402");
|
||||||
|
//
|
||||||
|
// List<Map<String,Object>> bbsList = examBoardService.boardList(paramMap);
|
||||||
|
|
||||||
|
|
||||||
|
List<Map<String,Object>> bbsList = new ArrayList<>();
|
||||||
|
for(int i = 402 ; i < 408 ; i ++) {
|
||||||
|
Map<String,Object> paramMap = new HashMap<String, Object>();
|
||||||
|
|
||||||
|
paramMap.put("pageStart", 0);
|
||||||
|
paramMap.put("perPageNum", 1);
|
||||||
|
paramMap.put("boardIdx", String.valueOf(i));
|
||||||
|
|
||||||
|
List<Map<String,Object>> tmpList = new ArrayList<>(examBoardService.boardList(paramMap));
|
||||||
|
if(tmpList.size() > 0) {
|
||||||
|
bbsList.add(tmpList.get(0));
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
bbsList.stream().forEach(t -> {
|
||||||
|
String examId = t.get("EXAM_ID").toString();
|
||||||
|
|
||||||
|
if("402".equals(examId)){
|
||||||
|
// menuName = "공정거래";
|
||||||
|
}else if("403".equals(examId)){
|
||||||
|
// menuName = "가맹사업거래";
|
||||||
|
}else if("404".equals(examId)){
|
||||||
|
// menuName = "하도급거래";
|
||||||
|
}else if("405".equals(examId)){
|
||||||
|
// menuName = "대규모유통업거래";
|
||||||
|
}else if("406".equals(examId)){
|
||||||
|
// menuName = "불공정약관";
|
||||||
|
}else if("407".equals(examId)){
|
||||||
|
// menuName = "대리점거래";
|
||||||
|
}
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
return bbsList;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -11,4 +11,5 @@ public interface FaqBbsDao {
|
|||||||
public int boardListCnt(Map<String, Object> paramMap);
|
public int boardListCnt(Map<String, Object> paramMap);
|
||||||
public void boardDel(Map<String, Object> paramMap);
|
public void boardDel(Map<String, Object> paramMap);
|
||||||
public void cntUpdate(Map<String, Object> paramMap);
|
public void cntUpdate(Map<String, Object> paramMap);
|
||||||
|
public List<Map<String, Object>> boardListAllFaq(Map<String, Object> paramMap);
|
||||||
}
|
}
|
||||||
|
|||||||
@ -50,4 +50,10 @@ public class FaqBbsDaoImpl implements FaqBbsDao {
|
|||||||
sqlSession.update("faqbbs.cntUpdate", paramMap);
|
sqlSession.update("faqbbs.cntUpdate", paramMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@Override
|
||||||
|
public List<Map<String, Object>> boardListAllFaq(Map<String, Object> paramMap) {
|
||||||
|
List<Map<String, Object>> boardList = sqlSession.selectList("faqbbs.selectAllFaq", paramMap);
|
||||||
|
return boardList;
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|||||||
@ -43,4 +43,9 @@ public class faqBpardService {
|
|||||||
public void cntUpdate(Map<String, Object> paramMap){
|
public void cntUpdate(Map<String, Object> paramMap){
|
||||||
dao.cntUpdate(paramMap);
|
dao.cntUpdate(paramMap);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
public List<Map<String,Object>> boardListAllFaq(Map<String, Object> paramMap){
|
||||||
|
List<Map<String,Object>> boardList = dao.boardListAllFaq(paramMap);
|
||||||
|
return boardList;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -66,13 +66,29 @@
|
|||||||
EMPLYR_ID = FRST_REGISTER_ID
|
EMPLYR_ID = FRST_REGISTER_ID
|
||||||
) REGISTERID,
|
) REGISTERID,
|
||||||
TO_CHAR(FRST_REGIST_PNTTM,'YYYY-MM-DD') AS REGDATE
|
TO_CHAR(FRST_REGIST_PNTTM,'YYYY-MM-DD') AS REGDATE
|
||||||
, DEL_STTUS AS DELSTTUS
|
, DEL_STTUS AS DELSTTUS,
|
||||||
|
ALT as ALT
|
||||||
FROM
|
FROM
|
||||||
COMTNBANNER
|
COMTNBANNER
|
||||||
WHERE
|
WHERE
|
||||||
1=1
|
1=1
|
||||||
AND SE_CD = '01'
|
|
||||||
AND DEL_STTUS != 'Y'
|
AND DEL_STTUS != 'Y'
|
||||||
|
<isNotEmpty property="seCd">
|
||||||
|
AND SE_CD = #seCd#
|
||||||
|
</isNotEmpty>
|
||||||
|
<isNotEmpty property="searchKeyword">
|
||||||
|
<isEqual property="searchCondition" compareValue="">
|
||||||
|
AND ( BANNER_NM LIKE '%' || #searchKeyword# || '%'
|
||||||
|
OR LINK_URL LIKE '%' || #searchKeyword# || '%'
|
||||||
|
)
|
||||||
|
</isEqual>
|
||||||
|
<isEqual property="searchCondition" compareValue="1">
|
||||||
|
AND BANNER_NM LIKE '%' || #searchKeyword# || '%'
|
||||||
|
</isEqual>
|
||||||
|
<isEqual property="searchCondition" compareValue="2">
|
||||||
|
AND LINK_URL LIKE '%' || #searchKeyword# || '%'
|
||||||
|
</isEqual>
|
||||||
|
</isNotEmpty>
|
||||||
ORDER BY
|
ORDER BY
|
||||||
SORT_ORDR ASC
|
SORT_ORDR ASC
|
||||||
) PG
|
) PG
|
||||||
@ -93,15 +109,15 @@
|
|||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
<isNotEmpty property="searchKeyword">
|
<isNotEmpty property="searchKeyword">
|
||||||
<isEqual property="searchCondition" compareValue="">
|
<isEqual property="searchCondition" compareValue="">
|
||||||
AND ( BANNER_NM LIKE CONCAT ('%', #searchKeyword#,'%')
|
AND ( BANNER_NM LIKE '%' || #searchKeyword# || '%'
|
||||||
OR LINK_URL LIKE CONCAT ('%', #searchKeyword#,'%')
|
OR LINK_URL LIKE '%' || #searchKeyword# || '%'
|
||||||
)
|
)
|
||||||
</isEqual>
|
</isEqual>
|
||||||
<isEqual property="searchCondition" compareValue="1">
|
<isEqual property="searchCondition" compareValue="1">
|
||||||
AND BANNER_NM LIKE CONCAT ('%', #searchKeyword#,'%')
|
AND BANNER_NM LIKE '%' || #searchKeyword# || '%'
|
||||||
</isEqual>
|
</isEqual>
|
||||||
<isEqual property="searchCondition" compareValue="2">
|
<isEqual property="searchCondition" compareValue="2">
|
||||||
AND LINK_URL LIKE CONCAT ('%', #searchKeyword#,'%')
|
AND LINK_URL LIKE '%' || #searchKeyword# || '%'
|
||||||
</isEqual>
|
</isEqual>
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
</select>
|
</select>
|
||||||
@ -117,11 +133,12 @@
|
|||||||
SORT_ORDR AS SORTORDR,
|
SORT_ORDR AS SORTORDR,
|
||||||
SORT_ORDR AS sort,
|
SORT_ORDR AS sort,
|
||||||
REFLCT_AT AS REFLCTAT,
|
REFLCT_AT AS REFLCTAT,
|
||||||
DATE_FORMAT(LAST_UPDT_PNTTM, '%Y-%m-%d %h:%m:%s') AS REGDATE ,
|
TO_CHAR(LAST_UPDT_PNTTM, 'YYYY-MM-DD HH24:MI:SS') AS REGDATE ,
|
||||||
DEL_STTUS AS DELSTTUS ,
|
DEL_STTUS AS DELSTTUS ,
|
||||||
SE_CD AS SECD ,
|
SE_CD AS SECD ,
|
||||||
ISTARGET,
|
ISTARGET,
|
||||||
(SELECT USER_NM FROM LETTNEMPLYRINFO WHERE EMPLYR_ID = FRST_REGISTER_ID) REGISTERID
|
(SELECT USER_NM FROM LETTNEMPLYRINFO WHERE EMPLYR_ID = FRST_REGISTER_ID) REGISTERID,
|
||||||
|
ALT as ALT
|
||||||
FROM COMTNBANNER
|
FROM COMTNBANNER
|
||||||
WHERE BANNER_ID = #bannerId#
|
WHERE BANNER_ID = #bannerId#
|
||||||
]]>
|
]]>
|
||||||
@ -144,7 +161,8 @@
|
|||||||
<isNotEmpty property="seCd">
|
<isNotEmpty property="seCd">
|
||||||
SE_CD,
|
SE_CD,
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
ISTARGET)
|
ISTARGET,
|
||||||
|
ALT)
|
||||||
VALUES (#bannerId#,
|
VALUES (#bannerId#,
|
||||||
#bannerNm#,
|
#bannerNm#,
|
||||||
#linkUrl#,
|
#linkUrl#,
|
||||||
@ -155,12 +173,13 @@
|
|||||||
#reflctAt#,
|
#reflctAt#,
|
||||||
#userId#,
|
#userId#,
|
||||||
#delSttus#,
|
#delSttus#,
|
||||||
now(),
|
sysdate,
|
||||||
now(),
|
sysdate,
|
||||||
<isNotEmpty property="seCd">
|
<isNotEmpty property="seCd">
|
||||||
#seCd#,
|
#seCd#,
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
#istarget#)
|
#istarget#,
|
||||||
|
#alt#)
|
||||||
</insert>
|
</insert>
|
||||||
|
|
||||||
<update id="bannerDAO.updateBanner" parameterClass="Banner">
|
<update id="bannerDAO.updateBanner" parameterClass="Banner">
|
||||||
@ -178,11 +197,12 @@
|
|||||||
<isNotEmpty property="delSttus">
|
<isNotEmpty property="delSttus">
|
||||||
DEL_STTUS = #delSttus#,
|
DEL_STTUS = #delSttus#,
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
LAST_UPDT_PNTTM = now(),
|
LAST_UPDT_PNTTM = sysdate,
|
||||||
<isNotEmpty property="siteId">
|
<isNotEmpty property="siteId">
|
||||||
SITE_ID = #siteId# ,
|
SITE_ID = #siteId# ,
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
ISTARGET = #istarget#
|
ISTARGET = #istarget#,
|
||||||
|
ALT = #alt#
|
||||||
WHERE BANNER_ID = #bannerId#
|
WHERE BANNER_ID = #bannerId#
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
@ -248,23 +268,28 @@
|
|||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="bannerDAO.resetSort" parameterClass="BannerVO">
|
<update id="bannerDAO.resetSort" parameterClass="BannerVO">
|
||||||
UPDATE COMTNBANNER A ,
|
MERGE INTO COMTNBANNER A
|
||||||
(SELECT ROW_NUMBER() OVER(ORDER BY SORT_ORDR
|
USING (
|
||||||
|
SELECT
|
||||||
|
BANNER_ID,
|
||||||
|
ROW_NUMBER() OVER (ORDER BY SORT_ORDR
|
||||||
<isEqual property="sortOver" compareValue="A">
|
<isEqual property="sortOver" compareValue="A">
|
||||||
, LAST_UPDT_PNTTM ASC
|
, LAST_UPDT_PNTTM ASC
|
||||||
</isEqual>
|
</isEqual>
|
||||||
<isEqual property="sortOver" compareValue="D">
|
<isEqual property="sortOver" compareValue="D">
|
||||||
, LAST_UPDT_PNTTM DESC
|
, LAST_UPDT_PNTTM DESC
|
||||||
</isEqual>
|
</isEqual>
|
||||||
) AS SORT1 , BANNER_ID FROM COMTNBANNER
|
) AS SORT1
|
||||||
|
FROM
|
||||||
|
COMTNBANNER
|
||||||
WHERE 1=1
|
WHERE 1=1
|
||||||
<isNotEmpty property="seCd">
|
<isNotEmpty property="seCd">
|
||||||
AND SE_CD = #seCd#
|
AND SE_CD = #seCd#
|
||||||
</isNotEmpty>
|
</isNotEmpty>
|
||||||
ORDER BY SORT1
|
|
||||||
) B
|
) B
|
||||||
SET A.SORT_ORDR = B.SORT1
|
ON (A.BANNER_ID = B.BANNER_ID)
|
||||||
WHERE A.BANNER_ID = B.BANNER_ID
|
WHEN MATCHED THEN
|
||||||
|
UPDATE SET A.SORT_ORDR = B.SORT1
|
||||||
</update>
|
</update>
|
||||||
|
|
||||||
<update id="bannerDAO.updateSortDown" parameterClass="sortVO">
|
<update id="bannerDAO.updateSortDown" parameterClass="sortVO">
|
||||||
|
|||||||
@ -52,7 +52,9 @@
|
|||||||
(
|
(
|
||||||
SELECT ROW_.*, ROWNUM AS RNUM FROM
|
SELECT ROW_.*, ROWNUM AS RNUM FROM
|
||||||
(
|
(
|
||||||
SELECT EXAM_NO,
|
SELECT
|
||||||
|
EXAM_ID,
|
||||||
|
EXAM_NO,
|
||||||
EXAM_SUBJ,
|
EXAM_SUBJ,
|
||||||
EXAM_CONT,
|
EXAM_CONT,
|
||||||
EXAM_CNT,
|
EXAM_CNT,
|
||||||
|
|||||||
@ -114,4 +114,42 @@
|
|||||||
SET VIEW_CNT = VIEW_CNT+1
|
SET VIEW_CNT = VIEW_CNT+1
|
||||||
WHERE FAQ_SEQ_NUMBER = #{faqSeq}
|
WHERE FAQ_SEQ_NUMBER = #{faqSeq}
|
||||||
</delete>
|
</delete>
|
||||||
|
|
||||||
|
<select id="selectAllFaq" parameterType="java.util.HashMap" resultType="java.util.HashMap">
|
||||||
|
SELECT
|
||||||
|
*
|
||||||
|
FROM
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
ROW_.*,
|
||||||
|
ROWNUM AS RNUM
|
||||||
|
FROM
|
||||||
|
(
|
||||||
|
SELECT
|
||||||
|
FAQ_SEQ_NUMBER,
|
||||||
|
FAQ_SETIDX,
|
||||||
|
FAQ_SUBJ,
|
||||||
|
FAQ_CONT,
|
||||||
|
MNGR_RPL_CONT,
|
||||||
|
VIEW_CNT,
|
||||||
|
REG_MBER_ID,
|
||||||
|
REG_MBER_NM,
|
||||||
|
REG_DATE,
|
||||||
|
MOD_MBER_ID,
|
||||||
|
MOD_DATE
|
||||||
|
FROM
|
||||||
|
C_FAQBBS
|
||||||
|
WHERE
|
||||||
|
(FAQ_SETIDX = '101'
|
||||||
|
OR FAQ_SETIDX = '102'
|
||||||
|
OR FAQ_SETIDX = '103' )
|
||||||
|
AND DEL_YN = 'N'
|
||||||
|
ORDER BY
|
||||||
|
REG_DATE DESC
|
||||||
|
) ROW_
|
||||||
|
)
|
||||||
|
WHERE
|
||||||
|
RNUM > #{PAGESTART}
|
||||||
|
AND #{PERPAGENUM} >= ROWNUM
|
||||||
|
</select>
|
||||||
</mapper>
|
</mapper>
|
||||||
@ -1,28 +1,9 @@
|
|||||||
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
|
<%@ page contentType="text/html; charset=utf-8"%>
|
||||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
|
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions"%>
|
||||||
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
|
||||||
<%
|
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
|
||||||
|
|
||||||
/**
|
|
||||||
* @Class Name : EgovBannerList.java
|
|
||||||
* @Description : EgovBannerList jsp
|
|
||||||
* @Modification Information
|
|
||||||
* @
|
|
||||||
* @ 수정일 수정자 수정내용
|
|
||||||
* @ --------- -------- ---------------------------
|
|
||||||
* @ 2009.02.01 lee.m.j 최초 생성
|
|
||||||
*
|
|
||||||
* @author lee.m.j
|
|
||||||
* @since 2009.03.21
|
|
||||||
* @version 1.0
|
|
||||||
* @see
|
|
||||||
*
|
|
||||||
* Copyright (C) 2009 by MOPAS All right reserved.
|
|
||||||
*/
|
|
||||||
|
|
||||||
%>
|
|
||||||
<!DOCTYPE html>
|
<!DOCTYPE html>
|
||||||
<html lang="ko">
|
<html lang="ko">
|
||||||
<head>
|
<head>
|
||||||
@ -124,12 +105,6 @@ function fncBannerListDelete() {
|
|||||||
}
|
}
|
||||||
|
|
||||||
function linkPage(pageNo){
|
function linkPage(pageNo){
|
||||||
<%--<c:if test="${!empty loginId}">
|
|
||||||
if(""!= document.listForm.searchKeyword.value){
|
|
||||||
updateRecentSearch();//최근검색어 등록
|
|
||||||
}
|
|
||||||
</c:if>--%>
|
|
||||||
|
|
||||||
var listForm = document.listForm ;
|
var listForm = document.listForm ;
|
||||||
listForm.pageIndex.value = pageNo ;
|
listForm.pageIndex.value = pageNo ;
|
||||||
if($("#delSttus").is(":checked") ) {
|
if($("#delSttus").is(":checked") ) {
|
||||||
@ -154,96 +129,84 @@ function press() {
|
|||||||
<input type="hidden" name="searchSortOrd" value="<c:out value="${bannerVO.searchSortOrd}" />" />
|
<input type="hidden" name="searchSortOrd" value="<c:out value="${bannerVO.searchSortOrd}" />" />
|
||||||
<input type="hidden" name="seCd" value="<c:out value="${bannerVO.seCd}" />" />
|
<input type="hidden" name="seCd" value="<c:out value="${bannerVO.seCd}" />" />
|
||||||
|
|
||||||
<div class="contWrap">
|
<!-- cont -->
|
||||||
<div class="pageTitle">
|
<div class="cont_wrap">
|
||||||
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
|
<div class="box">
|
||||||
<h2 class="titType1 c_222222 fwBold">
|
|
||||||
<c:forEach items="${imgCodeList}" var="imgCodeList" varStatus="status">
|
<!-- cont_tit -->
|
||||||
<c:if test="${bannerVO.seCd eq imgCodeList.code}">
|
<div class="cont_tit">
|
||||||
${imgCodeList.codeNm}
|
<h2>
|
||||||
</c:if>
|
배너관리
|
||||||
</c:forEach> 관리
|
|
||||||
</h2>
|
</h2>
|
||||||
<p class="tType6 c_999999">사이트별로 배너 이미지를 등록, 수정, 삭제할 수 있습니다.</p>
|
<ul class="cont_nav">
|
||||||
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
|
<li><p>메인관리</p></li>
|
||||||
|
<li><span class="cur_nav">배너관리</span></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="pageCont">
|
<!-- //cont_tit -->
|
||||||
<div class="listSerch">
|
|
||||||
|
<div class="cont">
|
||||||
|
<!-- list_top -->
|
||||||
|
<div class="list_top">
|
||||||
|
<p>조회건수 : <span><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
||||||
|
<div class="list_util">
|
||||||
<c:if test="${siteId eq 'super'}">
|
<c:if test="${siteId eq 'super'}">
|
||||||
<select name="searchConditionSite" id="searchConditionSite" title="사이트검색">
|
<select name="searchConditionSite" id="searchConditionSite">
|
||||||
<option value="" <c:if test="${empty userSearchVO.searchConditionSite }">selected="selected"</c:if> >전체 사이트</option>
|
<option value="" <c:if test="${empty userSearchVO.searchConditionSite }">selected="selected"</c:if> >전체 사이트</option>
|
||||||
<c:forEach var="result" items="${siteManageList}" varStatus="status">
|
<c:forEach var="result" items="${siteManageList}" varStatus="status">
|
||||||
<option value="${result.siteId}" <c:if test="${result.siteId eq bannerVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
<option value="${result.siteId}" <c:if test="${result.siteId eq bannerVO.searchConditionSite }">selected="selected"</c:if> >${result.siteNm}</option>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</select>
|
</select>
|
||||||
</c:if>
|
</c:if>
|
||||||
<select name="searchCondition" id="searchCondition" class="select" title="검색조건선택">
|
<select name="searchCondition" id="searchCondition">
|
||||||
<option value=''>전체</option>
|
<option value=''>전체</option>
|
||||||
<option value='1' <c:if test="${bannerVO.searchCondition == '1'}">selected</c:if>>배너명</option>
|
<option value='1' <c:if test="${bannerVO.searchCondition == '1'}">selected</c:if>>배너명</option>
|
||||||
<option value='2' <c:if test="${bannerVO.searchCondition == '2'}">selected</c:if>>링크</option>
|
<option value='2' <c:if test="${bannerVO.searchCondition == '2'}">selected</c:if>>링크</option>
|
||||||
</select>
|
</select>
|
||||||
<input id="searchKeyword" name="searchKeyword" class="recentSearch" type="text" value="<c:out value='${bannerVO.searchKeyword}'/>" size="40" title="검색" maxlength="255"/>
|
<input type="text" id="searchKeyword" name="searchKeyword" class="search_input" value="<c:out value='${bannerVO.searchKeyword}'/>" maxlength="255" placeholder="검색어를 입력하세요">
|
||||||
<input type="button" class="btnType1" value="검색" onclick="linkPage(1); return false;">
|
<button class="btn_search" onclick="linkPage(1); return false;">검색</button>
|
||||||
</div>
|
|
||||||
<div class="listTop">
|
|
||||||
<p class="tType5">조회건수 : <span class="tType4 c_456ded fwBold"><c:out value="${paginationInfo.totalRecordCount}"/></span>건</p>
|
|
||||||
<div class="rightWrap">
|
|
||||||
<input type="button" class="printBtn" >
|
|
||||||
<select name="pageUnit" id="pageUnit" class="select" title="검색조건선택" onchange="linkPage(1);">
|
|
||||||
<option value='8' <c:if test="${bannerVO.pageUnit == '8' or bannerVO.pageUnit == ''}">selected</c:if>>8개씩 보기</option>
|
|
||||||
<option value='16' <c:if test="${bannerVO.pageUnit == '16'}">selected</c:if>>16개씩 보기</option>
|
|
||||||
<option value='24' <c:if test="${bannerVO.pageUnit == '24'}">selected</c:if>>24개씩 보기</option>
|
|
||||||
</select>
|
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="galleryListWrap">
|
<!-- //list_top -->
|
||||||
<ul class="inline">
|
|
||||||
|
<!-- list -->
|
||||||
|
<div class="list list_gallery">
|
||||||
<c:forEach var="result" items="${bannerList}" varStatus="status">
|
<c:forEach var="result" items="${bannerList}" varStatus="status">
|
||||||
<li onclick="javascript:fncSelectBanner('${result.bannerId}'); return false;">
|
<article onclick="javascript:fncSelectBanner('${result.bannerId}'); return false;">
|
||||||
<div class="check"><input type="checkbox" name="del" id="img_cont_check_box${status.index}" value="${result.bannerId}"></div>
|
|
||||||
<ul class="listCategory">
|
|
||||||
<c:if test="${siteId eq 'super'}">
|
|
||||||
<c:forEach var="siteManageList" items="${siteManageList}" varStatus="status">
|
|
||||||
<c:if test="${result.siteId eq siteManageList.siteId}">
|
|
||||||
<li>
|
|
||||||
<c:out value="${siteManageList.siteNm}"/>
|
|
||||||
</li>
|
|
||||||
</c:if>
|
|
||||||
</c:forEach>
|
|
||||||
</c:if>
|
|
||||||
<li class="useCg">
|
|
||||||
<c:if test="${result.reflctAt eq 'Y'}">
|
<c:if test="${result.reflctAt eq 'Y'}">
|
||||||
|
<p class="gallery_util use_gallery">
|
||||||
사용
|
사용
|
||||||
|
</p>
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${result.reflctAt ne 'Y'}">
|
<c:if test="${result.reflctAt ne 'Y'}">
|
||||||
|
<p class="gallery_util">
|
||||||
미사용
|
미사용
|
||||||
|
</p>
|
||||||
</c:if>
|
</c:if>
|
||||||
</li>
|
<a href="" class="img_area">
|
||||||
</ul>
|
<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
|
||||||
<div class="imgBox"><img onerror="this.src='/pb/img/noImg.png'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt=""></div>
|
</a>
|
||||||
<div class="listInfo">
|
<a href="/" class="text_area">
|
||||||
<h3>${result.bannerNm}</h3>
|
<p class="list_tit">${result.bannerNm}</p>
|
||||||
<table>
|
<div class="list_info">
|
||||||
<tr>
|
<span class="list_writer">작성자 : ${result.registerId}</span>
|
||||||
<td colspan="2">작성자 : ${result.registerId}</td>
|
<span>노출순서 : ${result.sortOrdr}</span>
|
||||||
</tr>
|
<span class="list_date">${result.regDate}</span>
|
||||||
<tr>
|
|
||||||
<td>노출순서 : ${result.sortOrdr}</td>
|
|
||||||
<td class="right">${result.regDate}</td>
|
|
||||||
</tr>
|
|
||||||
</table>
|
|
||||||
</div>
|
</div>
|
||||||
</li>
|
</a>
|
||||||
|
</article>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</ul>
|
|
||||||
<c:if test="${empty bannerList}">
|
<c:if test="${empty bannerList}">
|
||||||
<div class="board1_btn">
|
<div class="board1_btn">
|
||||||
<ul style="text-align: center;"><spring:message code="common.nodata.msg" /></ul>
|
<ul style="text-align: center;"><spring:message code="common.nodata.msg" /></ul>
|
||||||
</div>
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnWrap">
|
<!-- //list -->
|
||||||
<input type="button" class="btnType2" value="삭제" onclick="fncBannerListDelete(); return false;">
|
<div class="btn_wrap btn_layout02">
|
||||||
<input type="button" class="btnType1" value="등록" onclick="fncAddBannerInsert(); return false;">
|
<!-- <button type="button" class="btnType01" onclick="fncBannerListDelete(); return false;">삭제</button> -->
|
||||||
|
<button type="button" class="btnType02" onclick="fncAddBannerInsert(); return false;">등록</button>
|
||||||
</div>
|
</div>
|
||||||
<!-- 페이지 네비게이션 시작 -->
|
<!-- 페이지 네비게이션 시작 -->
|
||||||
<c:if test="${!empty bannerList}">
|
<c:if test="${!empty bannerList}">
|
||||||
@ -254,6 +217,8 @@ function press() {
|
|||||||
</div>
|
</div>
|
||||||
</c:if>
|
</c:if>
|
||||||
<!-- //페이지 네비게이션 끝 -->
|
<!-- //페이지 네비게이션 끝 -->
|
||||||
|
|
||||||
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</form>
|
</form>
|
||||||
|
|||||||
@ -40,6 +40,22 @@
|
|||||||
<validator:javascript formName="banner" staticJavascript="false" xhtml="true" cdata="false"/>
|
<validator:javascript formName="banner" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
$(function () {
|
||||||
|
|
||||||
|
$('#filebutton').click(function (e) {
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
$('#file_temp').click();
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
function goList() {
|
function goList() {
|
||||||
document.searchForm.submit();
|
document.searchForm.submit();
|
||||||
}
|
}
|
||||||
@ -96,24 +112,27 @@ function fncBannerDelete() {
|
|||||||
<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
|
<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
|
||||||
<input type="hidden" name="limitcount" value="1" />
|
<input type="hidden" name="limitcount" value="1" />
|
||||||
|
|
||||||
<div class="contWrap">
|
<!-- cont -->
|
||||||
<div class="pageTitle">
|
<div class="cont_wrap">
|
||||||
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
|
<div class="box">
|
||||||
<h2 class="titType1 c_222222 fwBold">
|
<!-- cont_tit -->
|
||||||
배너관리 등록
|
<div class="cont_tit">
|
||||||
</h2>
|
<h2>배너관리 등록</h2>
|
||||||
<p class="tType6 c_999999">사이트별로 배너 이미지를 등록, 수정, 삭제할 수 있습니다.</p>
|
<ul class="cont_nav">
|
||||||
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
|
<li><p>비주얼관리</p></li>
|
||||||
|
<li><span class="cur_nav">메인비주얼관리</span></li>
|
||||||
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="pageNav">
|
<!-- //cont_tit -->
|
||||||
<img src="/pb/img/common/homeIcon.png" alt="홈이미지"> > <p class="topDepth">비주얼관리</p> > <p class="subDepth">메인비주얼관리</p>
|
|
||||||
</div>
|
<div class="cont">
|
||||||
<div class="pageCont">
|
<!-- list_상세 -->
|
||||||
<div class="tableWrap">
|
<div class="tbType02">
|
||||||
<p class="right fwMd"><span class="tType4 c_e40000 fwBold">*</span>는 필수입력 항목입니다.</p>
|
<table>
|
||||||
<table class="tbType2">
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 15%">
|
<col style="width: 20%">
|
||||||
<col style="width: 85%">
|
<col style="width: 80%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<tbody>
|
<tbody>
|
||||||
<c:if test="${siteId eq 'super'}">
|
<c:if test="${siteId eq 'super'}">
|
||||||
@ -138,13 +157,8 @@ function fncBannerDelete() {
|
|||||||
<div class="imgBox"></div>
|
<div class="imgBox"></div>
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${banner.bannerImageFile != null}">
|
<c:if test="${banner.bannerImageFile != null}">
|
||||||
<img alt="${banner.bannerNm}" onerror="this.src='/pb/img/noImg.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
<img alt="${banner.bannerNm}" onerror="this.src='/img/noImg.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
||||||
<%-- <img alt="${mainzoneVO.content}" onerror="this.src='/img/no_img.jpg'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${mainzoneVO.mainzoneImageFile}"/>' style="max-width:600px;" /> --%>
|
|
||||||
</c:if>
|
</c:if>
|
||||||
|
|
||||||
<%-- <c:if test="${banner.bannerImageFile == null}">
|
|
||||||
<img alt="${banner.bannerNm}" src='/images/no_img.jpg' style="max-width:600px;" />
|
|
||||||
</c:if> --%>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -159,41 +173,34 @@ function fncBannerDelete() {
|
|||||||
<input name="linkUrl" id="linkUrl" title="링크URL" type="text" value="<c:out value='${banner.linkUrl}'/>" maxLength="255" size="50" > <form:errors path="linkUrl" />
|
<input name="linkUrl" id="linkUrl" title="링크URL" type="text" value="<c:out value='${banner.linkUrl}'/>" maxLength="255" size="50" > <form:errors path="linkUrl" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">사용여부</span></th>
|
<th><span class="reqArea">사용여부</span></th>
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="reflctAt" id="reflctAtY" value="Y" style="margin-left: 13px; margin-right: 5px;" ${banner.reflctAt eq 'Y' or banner.reflctAt eq null ? 'checked="checked"' : ''} /><label for="">사용</label>
|
<div class="radio_wrap">
|
||||||
<input type="radio" name="reflctAt" id="reflctAtN" value="N" style="margin-left: 13px; margin-right: 5px;" ${banner.reflctAt eq 'N' ? 'checked="checked"' : ''} /><label for="">미사용</label>
|
<span><input type="radio" name="reflctAt" id="reflctAtY" value="Y" ${banner.reflctAt eq 'Y' or banner.reflctAt eq null ? 'checked="checked"' : ''} /><label for="reflctAtY">사용</label></span>
|
||||||
|
<span><input type="radio" name="reflctAt" id="reflctAtN" value="N" ${banner.reflctAt eq 'N' ? 'checked="checked"' : ''} /><label for="reflctAtN">미사용</label></span>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">노출순서</span></th>
|
<th><span class="reqArea">노출순서</span></th>
|
||||||
<td>
|
<td>
|
||||||
<form:input path="sortOrdr" maxlength="8" />
|
<form:input path="sortOrdr" maxlength="8" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<%-- <tr>
|
<th>alt값</th>
|
||||||
<th><span class="reqArea">타겟</span></th>
|
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="istarget" id="istargetC" value="C" style="margin-left: 13px; margin-right: 5px;" ${banner.istarget eq 'C' or banner.istarget eq null ? 'checked="checked"' : ''} /><label for="">현재창</label>
|
<input type="text" id="alt" name="alt" style="width: 1000px;" />
|
||||||
<input type="radio" name="istarget" id="istargetN" value="N" style="margin-left: 13px; margin-right: 5px;" ${banner.istarget eq 'N' ? 'checked="checked"' : ''} /><label for="">새창</label>
|
|
||||||
</td>
|
</td>
|
||||||
</tr> --%>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">파일 첨부</span></th>
|
<th><span class="reqArea">파일 첨부</span></th>
|
||||||
<td class="upload_area">
|
<td class="upload_area">
|
||||||
<!-- <div class="file_upload_box no_img_box">
|
<input type="file" name="file_temp" id="file_temp" class="uploadFile" style="display:none">
|
||||||
<img class="upload_box_img" src="/direct/img/upload_img.png" alt="" >
|
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||||
<div class="upload_box_text">
|
<div class="file_wrap file_upload_box no_img_box">
|
||||||
<span class="file_upload_text_1">첨부파일 올리기</span><br>
|
<table class="tbType02">
|
||||||
<span class="file_upload_text_2">(파일을 끌어다 놓으세요)</span>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
<div class="file_upload_box no_img_box fileWrap">
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 60%">
|
<col style="width: 60%">
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
@ -208,10 +215,17 @@ function fncBannerDelete() {
|
|||||||
<th>삭제</th>
|
<th>삭제</th>
|
||||||
</tr>
|
</tr>
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody class="tb_file_before">
|
||||||
|
<tr>
|
||||||
|
<td colspan="4">
|
||||||
|
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="fileWrap fileAfter file_list_div asset_no_use_pro_table" style="display:none">
|
<div class="file_wrap fileAfter file_list_div" style="display:none">
|
||||||
<table>
|
<table class="tbType02">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 60%">
|
<col style="width: 60%">
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
@ -229,13 +243,13 @@ function fncBannerDelete() {
|
|||||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||||
<td class="file_name">
|
<td class="td_filename">
|
||||||
<img src="/direct/img/upload_hwp_img.png" alt="" /><span class="file_name_text">${fileList.orignlFileNm}</span>
|
<img src="/direct/img/upload_hwp_img.png" alt="" /><span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||||
</td>
|
</td>
|
||||||
<td><span class="file_size_text" value="${fileList.fileMg}"></span></td>
|
<td class="td_filesize"><span class="file_size_text" value="${fileList.fileMg}"></span></td>
|
||||||
<td>${fileList.creatDt}</td>
|
<td>${fileList.creatDt}</td>
|
||||||
<td>
|
<td>
|
||||||
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;">
|
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||||
</td>
|
</td>
|
||||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileMg}" >
|
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileMg}" >
|
||||||
</tr>
|
</tr>
|
||||||
@ -254,35 +268,28 @@ function fncBannerDelete() {
|
|||||||
</ul>
|
</ul>
|
||||||
</div>
|
</div>
|
||||||
<div class="uploadBtm">
|
<div class="uploadBtm">
|
||||||
<input type="file" name="file_temp" id="file_temp" class="uploadFile">
|
|
||||||
<span class="uploadTtype4">
|
|
||||||
<c:if test="${bannerVO.seCd eq 01}">
|
|
||||||
하단 배너 이미지 크기는
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${bannerVO.seCd eq 02}">
|
|
||||||
소셜허브하단 배너 이미지 크기는
|
|
||||||
</c:if>
|
|
||||||
</span>
|
|
||||||
<span class="uploadTtype4" style="color: red;">
|
|
||||||
<c:if test="${bannerVO.seCd eq 01}">
|
|
||||||
167 X 50
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${bannerVO.seCd eq 02}">
|
|
||||||
629 X 80
|
|
||||||
</c:if>
|
|
||||||
</span>입니다.</p>
|
|
||||||
</div>
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnWrap right">
|
<!-- //list_상세 -->
|
||||||
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="goList(); return false;" >
|
|
||||||
<input type="button" class="btnType1" value="저 장" onclick="fncBannerInsert(); return false;" >
|
<!-- btn_wrap -->
|
||||||
|
<div class="btn_wrap btn_layout01">
|
||||||
|
<div class="area_left">
|
||||||
|
</div>
|
||||||
|
<div class="area_right">
|
||||||
|
<button type="button" class="btnType04" onclick="goList(); return false;">목 록</button>
|
||||||
|
<button type="button" class="btnType06" onclick="fncBannerInsert(); return false;">저 장</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- //btn_wrap -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- //cont -->
|
||||||
</form:form>
|
</form:form>
|
||||||
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uss/ion/bnr/selectBannerList.do'/>" >
|
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uss/ion/bnr/selectBannerList.do'/>" >
|
||||||
<input type="hidden" name="seCd" value="<c:out value='${bannerVO.seCd}'/>" >
|
<input type="hidden" name="seCd" value="<c:out value='${bannerVO.seCd}'/>" >
|
||||||
|
|||||||
@ -39,6 +39,24 @@
|
|||||||
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
|
||||||
<validator:javascript formName="banner" staticJavascript="false" xhtml="true" cdata="false"/>
|
<validator:javascript formName="banner" staticJavascript="false" xhtml="true" cdata="false"/>
|
||||||
<script type="text/javaScript" language="javascript">
|
<script type="text/javaScript" language="javascript">
|
||||||
|
|
||||||
|
$(document).ready(function(){
|
||||||
|
$(function () {
|
||||||
|
|
||||||
|
$('#filebutton').click(function (e) {
|
||||||
|
|
||||||
|
e.preventDefault();
|
||||||
|
|
||||||
|
$('#file_temp').click();
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
|
});
|
||||||
|
|
||||||
|
|
||||||
{ //파일폼 체크
|
{ //파일폼 체크
|
||||||
var bCancel = false;
|
var bCancel = false;
|
||||||
function validateBannerNew(form) {
|
function validateBannerNew(form) {
|
||||||
@ -123,30 +141,31 @@ function fn_egov_downFile(atchFileId, fileSn){
|
|||||||
<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
|
<input type="hidden" name="fmsId" value="${bannerVO.bannerId}" />
|
||||||
<input type="hidden" name="limitcount" value="1" />
|
<input type="hidden" name="limitcount" value="1" />
|
||||||
|
|
||||||
<div class="contWrap">
|
<!-- cont -->
|
||||||
<div class="pageTitle">
|
<div class="cont_wrap">
|
||||||
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
|
<div class="box">
|
||||||
<h2 class="titType1 c_222222 fwBold">
|
|
||||||
<c:forEach items="${imgCodeList}" var="imgCodeList" varStatus="status">
|
|
||||||
<c:if test="${bannerVO.seCd eq imgCodeList.code}">
|
|
||||||
${imgCodeList.codeNm}
|
|
||||||
</c:if>
|
|
||||||
</c:forEach>
|
|
||||||
관리 수정</h2>
|
|
||||||
<p class="tType6 c_999999">사이트별로 배너 이미지를 등록, 수정, 삭제할 수 있습니다.</p>
|
|
||||||
</div>
|
|
||||||
<div class="pageNav">
|
|
||||||
<img src="/pb/img/common/homeIcon.png" alt="홈이미지"> > <p class="topDepth">비주얼관리</p> > <p class="subDepth">메인비주얼관리</p>
|
|
||||||
</div>
|
|
||||||
|
|
||||||
<div class="pageCont">
|
<!-- cont_tit -->
|
||||||
<div class="tableWrap">
|
<div class="cont_tit">
|
||||||
<p class="right fwMd"><span class="tType4 c_e40000 fwBold">*</span>는 필수입력 항목입니다.</p>
|
<h2>배너 관리 수정</h2>
|
||||||
<table class="tbType2">
|
<ul class="cont_nav">
|
||||||
|
<li class="home"><a href="/"><i></i></a></li>
|
||||||
|
<li><p>비주얼관리</p></li>
|
||||||
|
<li><span class="cur_nav">메인비주얼관리</span></li>
|
||||||
|
</ul>
|
||||||
|
</div>
|
||||||
|
<!-- //cont_tit -->
|
||||||
|
|
||||||
|
<div class="cont">
|
||||||
|
<!-- list_상세 -->
|
||||||
|
<div class="tbType02">
|
||||||
|
<table>
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 15%">
|
<col style="width: 20%">
|
||||||
<col style="width: 85%">
|
<col style="width: 80%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
|
|
||||||
|
<tbody>
|
||||||
<c:if test="${siteId eq 'super'}">
|
<c:if test="${siteId eq 'super'}">
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">사이트</span></th>
|
<th><span class="reqArea">사이트</span></th>
|
||||||
@ -169,77 +188,74 @@ function fn_egov_downFile(atchFileId, fileSn){
|
|||||||
<div class="imgBox"></div>
|
<div class="imgBox"></div>
|
||||||
</c:if>
|
</c:if>
|
||||||
<c:if test="${banner.bannerImageFile != null}">
|
<c:if test="${banner.bannerImageFile != null}">
|
||||||
<img alt="${banner.bannerNm}" onerror="this.src='/pb/img/noImg.png'" src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
<img alt="${banner.bannerNm}" onerror="this.src='/img/noImg.png'" src='<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${banner.bannerImageFile}"/>' style="max-width:300px;padding: 10px;" />
|
||||||
</c:if>
|
</c:if>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">배너명</span></th>
|
<th>배너명</th>
|
||||||
<td>
|
<td>
|
||||||
<input name="bannerNm" id="bannerNm" title="배너명" type="text" value="<c:out value='${banner.bannerNm}'/>" maxLength="30" size="30" > <form:errors path="bannerNm" />
|
<input name="bannerNm" id="bannerNm" title="배너명" type="text" value="<c:out value='${banner.bannerNm}'/>" maxLength="30" size="30" > <form:errors path="bannerNm" />
|
||||||
<input type="hidden" name="bannerId" value="${banner.bannerId}" >
|
<input type="hidden" name="bannerId" value="${banner.bannerId}" >
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">링크</span></th>
|
<th>링크</th>
|
||||||
<td>
|
<td>
|
||||||
<input name="linkUrl" id="linkUrl" title="링크URL" type="text" value="<c:out value='${banner.linkUrl}'/>" maxLength="255" size="50" > <form:errors path="linkUrl" />
|
<input name="linkUrl" id="linkUrl" title="링크URL" type="text" value="<c:out value='${banner.linkUrl}'/>" maxLength="255" size="50" > <form:errors path="linkUrl" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">사용여부</span></th>
|
<th>사용여부 상태</th>
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="reflctAt" id="reflctAtY" value="Y" style="margin-left: 13px; margin-right: 5px;" ${banner.reflctAt eq 'Y' or banner.reflctAt eq '' ? 'checked="checked"' : ''} /><label for="">사용</label>
|
<div class="radio_wrap">
|
||||||
<input type="radio" name="reflctAt" id="reflctAtN" value="N" style="margin-left: 13px; margin-right: 5px;" ${banner.reflctAt eq 'N' ? 'checked="checked"' : ''} /><label for="">미사용</label>
|
<span><input type="radio" name="reflctAt" id="reflctAtY" value="Y" ${banner.reflctAt eq 'Y' or banner.reflctAt eq '' ? 'checked="checked"' : ''} /><label for="reflctAtY">사용</label></span>
|
||||||
|
<span><input type="radio" name="reflctAt" id="reflctAtN" value="N" ${banner.reflctAt eq 'N' ? 'checked="checked"' : ''} /><label for="reflctAtN">미사용</label></span>
|
||||||
|
</div>
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
|
||||||
|
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">노출순서</span></th>
|
<th>노출순서</th>
|
||||||
<td>
|
<td>
|
||||||
<form:input path="sortOrdr" maxlength="8" />
|
<form:input path="sortOrdr" maxlength="8" />
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
<tr>
|
||||||
<%-- <tr>
|
<th>alt값</th>
|
||||||
<th><span class="reqArea">타겟</span></th>
|
|
||||||
<td>
|
<td>
|
||||||
<input type="radio" name="istarget" id="istargetC" value="C" style="margin-left: 13px; margin-right: 5px;" ${banner.istarget eq 'C' or banner.istarget eq '' ? 'checked="checked"' : ''} /><label for="">현재창</label>
|
<input type="text" id="alt" name="alt" style="width: 1000px;" value="<c:out value='${banner.alt}'/>"/>
|
||||||
<input type="radio" name="istarget" id="istargetN" value="N" style="margin-left: 13px; margin-right: 5px;" ${banner.istarget eq 'N' ? 'checked="checked"' : ''} /><label for="">새창</label>
|
|
||||||
</td>
|
</td>
|
||||||
</tr> --%>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">파일 첨부</span></th>
|
<th><span class="reqArea">파일 첨부</span></th>
|
||||||
<td class="upload_area">
|
<td class="upload_area">
|
||||||
<!-- <div class="file_upload_box no_img_box">
|
<input type="file" id="file_temp" name="file_temp" class="uploadFile" style="display:none"/>
|
||||||
<img class="upload_box_img" src="/direct/img/upload_img.png" alt="">
|
<button type="button" id="filebutton" class="btnType01 btn_add_file">파일 첨부하기</button>
|
||||||
<div class="upload_box_text">
|
<div class="file_wrap file_upload_box no_img_box">
|
||||||
<span class="file_upload_text_1">첨부파일 올리기</span><br>
|
<table class="tbType02">
|
||||||
<span class="file_upload_text_2">(파일을 끌어다 놓으세요)</span>
|
|
||||||
</div>
|
|
||||||
</div> -->
|
|
||||||
<div class="file_upload_box no_img_box fileWrap">
|
|
||||||
<table>
|
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 60%">
|
<col style="width: 60%;">
|
||||||
<col style="width: 10%">
|
<col style="width: auto;">
|
||||||
<col style="width: 20%">
|
<col style="width: 20%;">
|
||||||
<col style="width: 10%">
|
<col style="width: 10%;">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<th>파일 명</th>
|
||||||
<th>파일명</th>
|
<th>종류</th>
|
||||||
<th>크기</th>
|
<th>크기</th>
|
||||||
<th>등록일시</th>
|
|
||||||
<th>삭제</th>
|
<th>삭제</th>
|
||||||
</tr>
|
|
||||||
</thead>
|
</thead>
|
||||||
|
<tbody class="tb_file_before">
|
||||||
|
<tr>
|
||||||
|
<td colspan="4">
|
||||||
|
<p>첨부하실 파일을 <span>마우스로 끌어서</span> 넣어주세요.</p>
|
||||||
|
</td>
|
||||||
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="fileWrap fileAfter file_list_div asset_no_use_pro_table" style="display:none">
|
<div class="file_wrap fileAfter file_list_div">
|
||||||
<table>
|
<table class="tbType02">
|
||||||
<colgroup>
|
<colgroup>
|
||||||
<col style="width: 60%">
|
<col style="width: 60%">
|
||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
@ -247,62 +263,34 @@ function fn_egov_downFile(atchFileId, fileSn){
|
|||||||
<col style="width: 10%">
|
<col style="width: 10%">
|
||||||
</colgroup>
|
</colgroup>
|
||||||
<thead>
|
<thead>
|
||||||
<tr>
|
<th>파일 명</th>
|
||||||
<th>파일명</th>
|
<th>종류</th>
|
||||||
<th>크기</th>
|
<th>크기</th>
|
||||||
<th>등록일시</th>
|
|
||||||
<th>삭제</th>
|
<th>삭제</th>
|
||||||
</tr>
|
|
||||||
</thead>
|
</thead>
|
||||||
<tbody id="tbody_fiielist" class="tb_file_after">
|
<tbody id="tbody_fiielist" class="tb_file_after">
|
||||||
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
<c:forEach var="fileList" items="${fileList}" varStatus="status">
|
||||||
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
<tr class="item_${fileList.atchFileId}_${fileList.fileSn} uploaded_obj">
|
||||||
<td class="file_name">
|
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileMg}">
|
||||||
|
<td class="td_filename">
|
||||||
<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
|
<a href="javascript:fn_egov_downFile('${fileList.atchFileId}','${fileList.fileSn}')">
|
||||||
<img src="/direct/img/upload_hwp_img.png" alt="" />
|
|
||||||
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
<span class="file_name_text">${fileList.orignlFileNm}</span>
|
||||||
</a>
|
</a>
|
||||||
</td>
|
</td>
|
||||||
<td><span class="file_size_text" value="${fileList.fileMg}"></span></td>
|
<td class="td_filesort">
|
||||||
<td>${fileList.creatDt}</td>
|
<span class="file_filesort_text" value="${fileList.fileExtsn}">${fileList.fileExtsn}</span>
|
||||||
<td>
|
</td>
|
||||||
<input type="button" class="delBtn" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;">
|
<td class="td_filesize">
|
||||||
|
<span class="file_size_text" value="${fileList.fileMg}">${fileList.fileMg}</span>
|
||||||
|
</td>
|
||||||
|
<td>
|
||||||
|
<button type="button" class="btn_del" onclick="delAtchFile('${fileList.atchFileId}', '${fileList.fileSn}'); return false;"><i></i></button>
|
||||||
</td>
|
</td>
|
||||||
<input type="hidden" name="fileSize" class="item_file_size" value="${fileList.fileMg}" >
|
|
||||||
</tr>
|
</tr>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
</tbody>
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="fileInfo file_list_div">
|
|
||||||
<ul class="inline">
|
|
||||||
<li>
|
|
||||||
<p><span class="c_456ded fwBold totalfileCount">0</span>개 | <span class="c_456ded fwBold totalfileSize">0MB</span></p>
|
|
||||||
</li>
|
|
||||||
<li>
|
|
||||||
<p>최대 <span class="c_e40000 fwBold limitcount_li"></span>개 | <span class="c_e40000 fwBold upload_number">50MB</span>제한</p>
|
|
||||||
</li>
|
|
||||||
</ul>
|
|
||||||
</div>
|
|
||||||
<div class="uploadBtm">
|
|
||||||
<input type="file" name="file_temp" id="file_temp" class="uploadFile">
|
|
||||||
<span class="uploadTtype4">
|
|
||||||
<c:if test="${bannerVO.seCd eq 01}">
|
|
||||||
하단 배너 이미지 크기는
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${bannerVO.seCd eq 02}">
|
|
||||||
소셜허브하단 배너 이미지 크기는
|
|
||||||
</c:if>
|
|
||||||
</span>
|
|
||||||
<span class="uploadTtype4" style="color: red;">
|
|
||||||
<c:if test="${bannerVO.seCd eq 01}">
|
|
||||||
167 X 50
|
|
||||||
</c:if>
|
|
||||||
<c:if test="${bannerVO.seCd eq 02}">
|
|
||||||
629 X 80
|
|
||||||
</c:if>
|
|
||||||
</span>입니다.</p>
|
|
||||||
</div>
|
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
<tr>
|
<tr>
|
||||||
@ -314,18 +302,29 @@ function fn_egov_downFile(atchFileId, fileSn){
|
|||||||
<tr>
|
<tr>
|
||||||
<th><span class="reqArea">작성자</span></th>
|
<th><span class="reqArea">작성자</span></th>
|
||||||
<td>
|
<td>
|
||||||
${banner.registerId }
|
${banner.registerId}
|
||||||
</td>
|
</td>
|
||||||
</tr>
|
</tr>
|
||||||
|
</tbody>
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
<div class="btnWrap right">
|
<!-- //list_상세 -->
|
||||||
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="goList(); return false;" >
|
|
||||||
<input type="button" class="btnType1 bg_ed4545" value="삭 제" onclick="fncBannerDelete(); return false;" >
|
<!-- btn_wrap -->
|
||||||
<input type="button" class="btnType1" value="수 정" onclick="fncBannerUpdate(); return false;">
|
<div class="btn_wrap btn_layout01">
|
||||||
|
<div class="area_left">
|
||||||
|
</div>
|
||||||
|
<div class="area_right">
|
||||||
|
<button type="button" class="btnType04" onclick="goList(); return false;">목 록</button>
|
||||||
|
<button type="button" class="btnType04" onclick="fncBannerDelete(); return false;">삭 제</button>
|
||||||
|
<button type="button" class="btnType06" onclick="fncBannerUpdate(); return false;">수 정</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
<!-- //btn_wrap -->
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
<!-- //cont -->
|
||||||
</form:form>
|
</form:form>
|
||||||
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uss/ion/bnr/selectBannerList.do'/>" >
|
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uss/ion/bnr/selectBannerList.do'/>" >
|
||||||
<input type="hidden" name="seCd" value="${bannerVO.seCd}" />
|
<input type="hidden" name="seCd" value="${bannerVO.seCd}" />
|
||||||
|
|||||||
@ -32,7 +32,7 @@
|
|||||||
<!-- script -->
|
<!-- script -->
|
||||||
<!-- <script src="/kccadrPb/adm/script/jquery-3.5.0.js"></script> -->
|
<!-- <script src="/kccadrPb/adm/script/jquery-3.5.0.js"></script> -->
|
||||||
|
|
||||||
<script src="https://code.jquery.com/jquery-migrate-3.3.2.min.js"></script>
|
<script src="/kofair_case_seed/script/lib/jquery-migrate-3.3.2.min.js"></script>
|
||||||
<!-- <script src="/kccadrPb/adm/script/common.js"></script> -->
|
<!-- <script src="/kccadrPb/adm/script/common.js"></script> -->
|
||||||
<script src="/kccadrPb/adm/script/content.js"></script>
|
<script src="/kccadrPb/adm/script/content.js"></script>
|
||||||
|
|
||||||
@ -44,8 +44,8 @@
|
|||||||
<script src="<c:url value='/js/antdatepicker/moment.min.js'/>"></script>
|
<script src="<c:url value='/js/antdatepicker/moment.min.js'/>"></script>
|
||||||
|
|
||||||
<!-- 분쟁조정 기존 파일 -->
|
<!-- 분쟁조정 기존 파일 -->
|
||||||
<link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon">
|
<!-- <link rel="shortcut icon" href="/img/favicon.ico" type="image/x-icon"> -->
|
||||||
<link rel="icon" href="/img/favicon.ico" type="image/x-icon">
|
<!-- <link rel="icon" href="/img/favicon.ico" type="image/x-icon"> -->
|
||||||
|
|
||||||
<!-- css -->
|
<!-- css -->
|
||||||
<link rel="stylesheet" href="/css/seed.reset.css">
|
<link rel="stylesheet" href="/css/seed.reset.css">
|
||||||
|
|||||||
@ -158,7 +158,7 @@ function TopnavXHR(url, data, callbackFunc, exceptionFunc , localStartFunc , loc
|
|||||||
<div class="area_right">
|
<div class="area_right">
|
||||||
<ul class="user_info_ul">
|
<ul class="user_info_ul">
|
||||||
<li>
|
<li>
|
||||||
<select onchange="fn_change_dept(this.value)">
|
<select onchange="fn_change_dept(this.value)" style="box-shadow:none">
|
||||||
<c:forEach var="ed" items="${enaDept}" varStatus="stss">
|
<c:forEach var="ed" items="${enaDept}" varStatus="stss">
|
||||||
<option value="${ed.CODE_IDXS}" <c:if test="${ed.CODE_IDXS eq memDept}">selected="selected"</c:if>>${ed.CODE_NAME}</option>
|
<option value="${ed.CODE_IDXS}" <c:if test="${ed.CODE_IDXS eq memDept}">selected="selected"</c:if>>${ed.CODE_NAME}</option>
|
||||||
</c:forEach>
|
</c:forEach>
|
||||||
|
|||||||
@ -151,7 +151,7 @@
|
|||||||
</c:if>
|
</c:if>
|
||||||
</p>
|
</p>
|
||||||
<a href="" class="img_area">
|
<a href="" class="img_area">
|
||||||
<img onerror="this.src='/pb/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
|
<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.bannerImageFile}"/>" alt="">
|
||||||
</a>
|
</a>
|
||||||
<a href="/" class="text_area">
|
<a href="/" class="text_area">
|
||||||
<p class="list_tit">${result.pozNm}</p>
|
<p class="list_tit">${result.pozNm}</p>
|
||||||
|
|||||||
@ -184,7 +184,7 @@ $(window).load(function() {
|
|||||||
</c:if>
|
</c:if>
|
||||||
</p>
|
</p>
|
||||||
<a href="" class="img_area">
|
<a href="" class="img_area">
|
||||||
<%-- <img onerror="this.src='/pb/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt=""> --%>
|
<%-- <img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt=""> --%>
|
||||||
<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt="">
|
<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.mainzoneImageFile}"/>" alt="">
|
||||||
</a>
|
</a>
|
||||||
<a href="/" class="text_area">
|
<a href="/" class="text_area">
|
||||||
|
|||||||
@ -1,17 +1,3 @@
|
|||||||
<%--
|
|
||||||
Class Name : EgovPopupList.jsp
|
|
||||||
Description : 알림판관리 목록 페이지
|
|
||||||
Modification Information
|
|
||||||
|
|
||||||
수정일 수정자 수정내용
|
|
||||||
------- -------- ---------------------------
|
|
||||||
2009.09.16 장동한 최초 생성
|
|
||||||
|
|
||||||
author : 공통서비스 개발팀 장동한
|
|
||||||
since : 2009.09.16
|
|
||||||
|
|
||||||
Copyright (C) 2009 by MOPAS All right reserved.
|
|
||||||
--%>
|
|
||||||
<%@ page contentType="text/html; charset=utf-8"%>
|
<%@ page contentType="text/html; charset=utf-8"%>
|
||||||
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
|
||||||
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
|
||||||
@ -177,7 +163,7 @@ function linkPage(pageNo){
|
|||||||
</c:if>
|
</c:if>
|
||||||
</p>
|
</p>
|
||||||
<a href="" class="img_area">
|
<a href="" class="img_area">
|
||||||
<img onerror="this.src='/pb/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>" alt="">
|
<img onerror="this.src='/img/noImg.png'" src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${result.popupzoneImageFile}"/>" alt="">
|
||||||
</a>
|
</a>
|
||||||
<a href="/" class="text_area">
|
<a href="/" class="text_area">
|
||||||
<p class="list_tit">${result.pozNm}</p>
|
<p class="list_tit">${result.pozNm}</p>
|
||||||
|
|||||||
@ -197,7 +197,7 @@ function linkPage(pageNo){
|
|||||||
</li>
|
</li>
|
||||||
</c:if>
|
</c:if>
|
||||||
</ul>
|
</ul>
|
||||||
<div class="imgBox"><img onerror="this.src='/pb/img/noImg.png'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.socialImageFile}"/>" alt=""></div>
|
<div class="imgBox"><img onerror="this.src='/img/noImg.png'" src="<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${result.socialImageFile}"/>" alt=""></div>
|
||||||
<div class="listInfo">
|
<div class="listInfo">
|
||||||
<h3>${result.socialSj}</h3>
|
<h3>${result.socialSj}</h3>
|
||||||
<table>
|
<table>
|
||||||
|
|||||||
@ -4,8 +4,8 @@
|
|||||||
<footer class="footer">
|
<footer class="footer">
|
||||||
<div class="inner">
|
<div class="inner">
|
||||||
<h1 class="logo">
|
<h1 class="logo">
|
||||||
<a href="#" class="pc_logo"><img src="/kofair_case_seed/usr/images/layout/footer_logo.png" alt=""></a>
|
<a href="/" class="pc_logo"><img src="/kofair_case_seed/usr/images/layout/footer_logo.png" alt=""></a>
|
||||||
<a href="#" class="m_logo"><img src="/kofair_case_seed/usr/images/layout/footer_logo_m.png" alt=""></a>
|
<a href="/" class="m_logo"><img src="/kofair_case_seed/usr/images/layout/footer_logo_m.png" alt=""></a>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="footer_content">
|
<div class="footer_content">
|
||||||
<div class="footer_info">
|
<div class="footer_info">
|
||||||
|
|||||||
@ -61,12 +61,12 @@
|
|||||||
</a>
|
</a>
|
||||||
</h1>
|
</h1>
|
||||||
<div class="util_bar">
|
<div class="util_bar">
|
||||||
<div class="search_area">
|
<!-- <div class="search_area"> -->
|
||||||
<input type="text" class="input_text input_search" title="검색어 입력">
|
<!-- <input type="text" class="input_text input_search" title="검색어 입력"> -->
|
||||||
<button type="button" class="btn btn_icon btn_search" title="검색버튼">
|
<!-- <button type="button" class="btn btn_icon btn_search" title="검색버튼"> -->
|
||||||
<i class="icon search"></i>
|
<!-- <i class="icon search"></i> -->
|
||||||
</button>
|
<!-- </button> -->
|
||||||
</div>
|
<!-- </div> -->
|
||||||
<div class="util_btn_area">
|
<div class="util_btn_area">
|
||||||
<button type="button" class="btn btn_text btn_40 blue_fill"><i class="icon sertification"></i>본인인증</button>
|
<button type="button" class="btn btn_text btn_40 blue_fill"><i class="icon sertification"></i>본인인증</button>
|
||||||
<button type="button" class="btn btn_text btn_40 blue_fill hide"><i class="icon sertification_out"></i>인증해제</button>
|
<button type="button" class="btn btn_text btn_40 blue_fill hide"><i class="icon sertification_out"></i>인증해제</button>
|
||||||
@ -138,14 +138,14 @@
|
|||||||
<div class="header_util">
|
<div class="header_util">
|
||||||
<button type="button" class="btn only_icon btn_sertification"><i></i></button>
|
<button type="button" class="btn only_icon btn_sertification"><i></i></button>
|
||||||
<button type="button" class="btn only_icon btn_sertification_out hide"><i></i></button>
|
<button type="button" class="btn only_icon btn_sertification_out hide"><i></i></button>
|
||||||
<button type="button" class="btn only_icon btn_search"><i></i></button>
|
<!-- <button type="button" class="btn only_icon btn_search"><i></i></button> -->
|
||||||
<button type="button" class="btn only_icon btn_menu"><i></i></button>
|
<button type="button" class="btn only_icon btn_menu"><i></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<div class="search_area">
|
<!-- <div class="search_area"> -->
|
||||||
<input type="text" class="input_text input_search">
|
<!-- <input type="text" class="input_text input_search"> -->
|
||||||
<button type="button" class="btn_search"><i></i></button>
|
<!-- <button type="button" class="btn_search"><i></i></button> -->
|
||||||
</div>
|
<!-- </div> -->
|
||||||
<div class="all_menu_wrap">
|
<div class="all_menu_wrap">
|
||||||
<div class="top_area">
|
<div class="top_area">
|
||||||
<h1 class="logo">
|
<h1 class="logo">
|
||||||
|
|||||||
@ -45,14 +45,14 @@ content="default-src * self blob: data: gap:; style-src * self 'unsafe-inline' b
|
|||||||
|
|
||||||
<script>
|
<script>
|
||||||
// 페이지 뒤로 가기 시 이벤트 발생
|
// 페이지 뒤로 가기 시 이벤트 발생
|
||||||
window.onpageshow = function(event) {
|
// window.onpageshow = function(event) {
|
||||||
// 뒤로 가기, 새로고침 등 캐시 복원 시
|
// // 뒤로 가기, 새로고침 등 캐시 복원 시
|
||||||
if ( event.persisted || (window.performance && window.performance.navigation.type == 2)) {
|
// if ( event.persisted || (window.performance && window.performance.navigation.type == 2)) {
|
||||||
} else { // 새 페이지 열릴 시
|
// } else { // 새 페이지 열릴 시
|
||||||
// 등록, 수정, 삭제, 실패 등 페이지 처리 완료 후 메세지
|
// // 등록, 수정, 삭제, 실패 등 페이지 처리 완료 후 메세지
|
||||||
<c:if test="${!empty message}">alert("${message}");</c:if>
|
// <c:if test="${!empty message}">alert("${message}");</c:if>
|
||||||
}
|
// }
|
||||||
}
|
// }
|
||||||
|
|
||||||
</script>
|
</script>
|
||||||
|
|
||||||
|
|||||||
@ -19,9 +19,9 @@
|
|||||||
<script type="text/javascript">
|
<script type="text/javascript">
|
||||||
$(document).ready(function (){
|
$(document).ready(function (){
|
||||||
|
|
||||||
<c:if test="${message != null}">
|
// <c:if test="${message != null}">
|
||||||
alert("<c:out value='${message}' />");
|
// alert("<c:out value='${message}' />");
|
||||||
</c:if>
|
// </c:if>
|
||||||
|
|
||||||
//레이어 팝업 띄우기
|
//레이어 팝업 띄우기
|
||||||
<c:forEach var="popupListData" items="${popupList}" varStatus="status" end="10">
|
<c:forEach var="popupListData" items="${popupList}" varStatus="status" end="10">
|
||||||
@ -247,24 +247,36 @@ function commonPopWindowopenForm(surl, popupwidth, popupheight, name, frm) {
|
|||||||
<button type="button" class="tab active">자주하는 질문</button>
|
<button type="button" class="tab active">자주하는 질문</button>
|
||||||
<div class="tab_content faq active">
|
<div class="tab_content faq active">
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
<li><a href="#"><span class="color_blue">[조정신청]</span>온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</a></li>
|
<c:forEach var="faqList" items="${faqList}" varStatus="status">
|
||||||
<li><a href="#"><span class="color_blue">[조정신청]</span>온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</a></li>
|
<li>
|
||||||
<li><a href="#"><span class="color_blue">[조정신청]</span>온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</a></li>
|
<a href="<c:out value='${faqList.bbsTypeUrl }'/>">
|
||||||
<li><a href="#"><span class="color_blue">[조정신청]</span>온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</a></li>
|
<span class="color_blue">
|
||||||
<li><a href="#"><span class="color_blue">[조정신청]</span>온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</a></li>
|
[<c:out value="${faqList.bbsTypeNm }"/>]
|
||||||
|
</span>
|
||||||
|
<c:out value="${faqList.FAQ_SUBJ}"/>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</c:forEach>
|
||||||
</ul>
|
</ul>
|
||||||
<button type="button" class="btn only_icon gray_border btn_40 round btn_plus" title="자주하는 질문 더보기"><i class="icon plus"></i></button>
|
<button type="button" class="btn only_icon gray_border btn_40 round btn_plus" title="자주하는 질문 더보기"><i class="icon plus"></i></button>
|
||||||
</div>
|
</div>
|
||||||
<button type="button" class="tab">공지사항</button>
|
<button type="button" class="tab">공지사항</button>
|
||||||
<div class="tab_content notice">
|
<div class="tab_content notice">
|
||||||
<ul class="list">
|
<ul class="list">
|
||||||
<li><a href="#"><span class="list_title">2024년 공정거래 학술 연구 지원사업 과제 선정 결과</span> <span class="date">2024-03-28</span></a></li>
|
<c:forEach var="noticeList" items="${noticeList}" varStatus="status">
|
||||||
<li><a href="#"><span class="list_title">온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</span> <span class="date">2024-03-28</span></a></li>
|
<li>
|
||||||
<li><a href="#"><span class="list_title">온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</span> <span class="date">2024-03-28</span></a></li>
|
<a href="/web/user/board/case/notice/152/noticeDetail.do?bbsNo=${noticeList.BBS_NO}&page=1&fileFuncType=form_notice&searchType=title&searchTilte=">
|
||||||
<li><a href="#"><span class="list_title">2024년 공정거래 학술 연구 지원사업 과제 선정 결과</span> <span class="date">2024-03-28</span></a></li>
|
<span class="list_title">
|
||||||
<li><a href="#"><span class="list_title">온라인으로 분쟁조정신청을 한 후 마이페이지에 다시 접속하려고 하였더니 제가 설정한 적이 없는 비밀번호 입력을 요구합니다.</span> <span class="date">2024-03-28</span></a></li>
|
<c:out value="${noticeList.BBS_TITLE}"/>
|
||||||
|
</span>
|
||||||
|
<span class="date">
|
||||||
|
<c:out value="${noticeList.BBS_REG_DATE}"/>
|
||||||
|
</span>
|
||||||
|
</a>
|
||||||
|
</li>
|
||||||
|
</c:forEach>
|
||||||
</ul>
|
</ul>
|
||||||
<button type="button" class="btn only_icon gray_border btn_40 round btn_plus" title="공지사항 더보기"><i class="icon plus"></i></button>
|
<button type="button" class="btn only_icon gray_border btn_40 round btn_plus" title="공지사항 더보기" onclick="location.href='/web/user/board/case/notice/152/noticeList.do'"><i class="icon plus"></i></button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- //자주하는질문 + 공지사항 -->
|
<!-- //자주하는질문 + 공지사항 -->
|
||||||
@ -274,13 +286,16 @@ function commonPopWindowopenForm(surl, popupwidth, popupheight, name, frm) {
|
|||||||
<p class="title">뉴스레터<span>다양한 정책 정보를 매월 정기 발행</span></p>
|
<p class="title">뉴스레터<span>다양한 정책 정보를 매월 정기 발행</span></p>
|
||||||
|
|
||||||
<ul class="news_list">
|
<ul class="news_list">
|
||||||
<li><a href="#" class="new">2024년 2월 제123호</a></li>
|
<c:forEach var="newsLetterList" items="${newsLetterList}" varStatus="status">
|
||||||
<li><a href="#">2024년 2월 제122호</a></li>
|
<li>
|
||||||
|
<a href="/web/user/board/case/news/340/newsDetail.do?bbsNo=${newsLetterList.BBS_NO}&page=1&fileFuncType=form_notice&searchType=title&searchTilte=" class="new">${newsLetterList.BBS_TITLE}</a>
|
||||||
|
</li>
|
||||||
|
</c:forEach>
|
||||||
</ul>
|
</ul>
|
||||||
|
|
||||||
<div class="btn_wrap">
|
<div class="btn_wrap">
|
||||||
<button type="button" class="btn btn_text btn_40 skyblue_fill">전체보기</button>
|
<button type="button" class="btn btn_text btn_40 skyblue_fill" onclick="location.href='/web/user/board/case/news/340/newsList.do'">전체보기</button>
|
||||||
<button type="button" class="btn btn_text btn_40 skyblue_fill">신청하기</button>
|
<button type="button" class="btn btn_text btn_40 skyblue_fill" onclick="location.href='/web/user/news/case/01/341/newsList.do'">신청하기</button>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
<!-- //뉴스레터 -->
|
<!-- //뉴스레터 -->
|
||||||
@ -321,18 +336,24 @@ function commonPopWindowopenForm(surl, popupwidth, popupheight, name, frm) {
|
|||||||
</div>
|
</div>
|
||||||
<div class="banner_slide swiper">
|
<div class="banner_slide swiper">
|
||||||
<div class="swiper-wrapper">
|
<div class="swiper-wrapper">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_01.png" alt="공정거래위원회"></a></div>
|
<c:forEach var="bannerList" items="${bannerList}" varStatus="status">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_02.png" alt="국민권익위원회"></a></div>
|
<c:if test="${not empty bannerList.bannerImageFile}">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_03.png" alt="부당광고감시전문기관 한국인터넷광고재단"></a></div>
|
<div class="swiper-slide">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_04.png" alt="한국소비자원 Korea Consumer Agency"></a></div>
|
<a href="${bannerList.linkUrl}" target="_blank" title="새창열림">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_05.png" alt="공정경쟁연합회 FAIR COMPETITION FEDERATION"></a></div>
|
<img src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${bannerList.bannerImageFile}"/>" alt="<c:out value="${bannerList.alt}"/>">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_06.png" alt="공정거래위원회 가맹사업거래"></a></div>
|
</a>
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_01.png" alt="공정거래위원회"></a></div>
|
</div>
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_02.png" alt="국민권익위원회"></a></div>
|
</c:if>
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_03.png" alt="부당광고감시전문기관 한국인터넷광고재단"></a></div>
|
</c:forEach>
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_04.png" alt="한국소비자원 Korea Consumer Agency"></a></div>
|
<c:forEach var="bannerList" items="${bannerList}" varStatus="status">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_05.png" alt="공정경쟁연합회 FAIR COMPETITION FEDERATION"></a></div>
|
<c:if test="${not empty bannerList.bannerImageFile}">
|
||||||
<div class="swiper-slide"><a href="#" target="_blank" title="새창열림"><img src="/kofair_case_seed/usr/images/main/banner_06.png" alt="공정거래위원회 가맹사업거래"></a></div>
|
<div class="swiper-slide">
|
||||||
|
<a href="${bannerList.linkUrl}" target="_blank" title="새창열림">
|
||||||
|
<img src="<c:url value='/uss/ion/pwm/getImage.do'/>?atchFileId=<c:out value="${bannerList.bannerImageFile}"/>" alt="<c:out value="${bannerList.alt}"/>">
|
||||||
|
</a>
|
||||||
|
</div>
|
||||||
|
</c:if>
|
||||||
|
</c:forEach>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
</div>
|
</div>
|
||||||
|
|||||||
@ -40,7 +40,7 @@
|
|||||||
</select>
|
</select>
|
||||||
|
|
||||||
<input type="text" class="input_text" title="검색어 입력">
|
<input type="text" class="input_text" title="검색어 입력">
|
||||||
<button type="button" class="btn btn_text btn_40 darkblue_fill btn_search">검색</button>
|
<button type="button" class="btn btn_text btn_40 darkblue_fill btn_search">검색1</button>
|
||||||
|
|
||||||
</div>
|
</div>
|
||||||
<!-- //search -->
|
<!-- //search -->
|
||||||
|
|||||||
@ -154,8 +154,8 @@ dfn {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
h1 {
|
h1 {
|
||||||
font-size: 2em;
|
/* font-size: 2em; */
|
||||||
margin: 0.67em 0;
|
/* margin: 0.67em 0; */
|
||||||
}
|
}
|
||||||
|
|
||||||
/**
|
/**
|
||||||
@ -427,8 +427,8 @@ textarea {
|
|||||||
*/
|
*/
|
||||||
|
|
||||||
* {
|
* {
|
||||||
padding:0px;
|
/* padding:0px; */
|
||||||
margin:0px;
|
/* margin:0px; */
|
||||||
}
|
}
|
||||||
|
|
||||||
html {
|
html {
|
||||||
@ -437,9 +437,9 @@ html {
|
|||||||
|
|
||||||
body {
|
body {
|
||||||
height:100%;
|
height:100%;
|
||||||
font-size:13px;
|
/* font-size:13px; */
|
||||||
line-height:1.42857143;
|
line-height:1.42857143;
|
||||||
background:#f5f5f5;
|
/* background:#f5f5f5; */
|
||||||
font-family:'Open Sans', 'Nanum Gothic','나눔고딕', NanumGothic, Arial, Helvetica, sans-serif;
|
font-family:'Open Sans', 'Nanum Gothic','나눔고딕', NanumGothic, Arial, Helvetica, sans-serif;
|
||||||
-webkit-text-size-adjust:none;
|
-webkit-text-size-adjust:none;
|
||||||
}
|
}
|
||||||
|
|||||||
2
src/main/webapp/kofair_case_seed/script/lib/jquery-migrate-3.3.2.min.js
vendored
Normal file
2
src/main/webapp/kofair_case_seed/script/lib/jquery-migrate-3.3.2.min.js
vendored
Normal file
File diff suppressed because one or more lines are too long
Loading…
Reference in New Issue
Block a user