2024-09-26 17:49 분쟁조정 안내 페이지 작업
This commit is contained in:
parent
4b5d7b05c4
commit
1dd1119381
@ -1,7 +1,6 @@
|
|||||||
package seed.com.user.board;
|
package seed.com.user.board;
|
||||||
|
|
||||||
import java.text.ParseException;
|
import java.text.ParseException;
|
||||||
import java.util.ArrayList;
|
|
||||||
import java.util.Date;
|
import java.util.Date;
|
||||||
import java.util.List;
|
import java.util.List;
|
||||||
import java.util.Map;
|
import java.util.Map;
|
||||||
@ -14,7 +13,6 @@ 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.ModelMap;
|
import org.springframework.ui.ModelMap;
|
||||||
import org.springframework.web.bind.annotation.ModelAttribute;
|
|
||||||
import org.springframework.web.bind.annotation.PathVariable;
|
import org.springframework.web.bind.annotation.PathVariable;
|
||||||
import org.springframework.web.bind.annotation.RequestMapping;
|
import org.springframework.web.bind.annotation.RequestMapping;
|
||||||
import org.springframework.web.bind.annotation.RequestMethod;
|
import org.springframework.web.bind.annotation.RequestMethod;
|
||||||
@ -23,10 +21,6 @@ import org.springframework.web.servlet.ModelAndView;
|
|||||||
|
|
||||||
import com.ibm.icu.text.SimpleDateFormat;
|
import com.ibm.icu.text.SimpleDateFormat;
|
||||||
|
|
||||||
import egovframework.rte.ptl.mvc.tags.ui.pagination.PaginationInfo;
|
|
||||||
import kcc.com.cmm.CmmUtil;
|
|
||||||
import kcc.xxx.service.XxxVO;
|
|
||||||
|
|
||||||
//import seed.com.ibm.icu.text.SimpleDateFo
|
//import seed.com.ibm.icu.text.SimpleDateFo
|
||||||
|
|
||||||
import seed.com.gtm.board.CaseBoardService;
|
import seed.com.gtm.board.CaseBoardService;
|
||||||
@ -114,40 +108,6 @@ private Logger log = Logger.getLogger(this.getClass());
|
|||||||
session.removeAttribute("self");
|
session.removeAttribute("self");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|
||||||
//@RequestMapping("/web/xxx/xxxList.do")
|
|
||||||
@RequestMapping(value="/web/user/exam1/{siteIdx}/{boardIdx}/{siteMenuIdx}/list.do", method=RequestMethod.GET)
|
|
||||||
public String xxxList(
|
|
||||||
ModelMap model
|
|
||||||
, HttpServletRequest request
|
|
||||||
, @ModelAttribute("xxxVO") XxxVO xxxVO
|
|
||||||
) throws Exception {
|
|
||||||
|
|
||||||
ArrayList xxxList = new ArrayList<XxxVO>();
|
|
||||||
|
|
||||||
for(int i = 0 ; i < 10 ; i++) {
|
|
||||||
XxxVO tmpVO = new XxxVO();
|
|
||||||
tmpVO.setTotCnt(200);
|
|
||||||
tmpVO.setCol1(String.valueOf(i));
|
|
||||||
tmpVO.setCol2("유형내용" + i + "입니다.");
|
|
||||||
tmpVO.setCol3("제목내용" + i + "입니다.");
|
|
||||||
tmpVO.setCol4("등록일시" + i + "입니다.");
|
|
||||||
|
|
||||||
xxxList.add(tmpVO);
|
|
||||||
}
|
|
||||||
|
|
||||||
// 페이징 처리 객체
|
|
||||||
PaginationInfo paginationInfo = CmmUtil.getPageing(xxxVO, xxxVO.getPageUnit());
|
|
||||||
paginationInfo.setTotalRecordCount(xxxList.size() > 0 ? ((XxxVO) xxxList.get(0)).getTotCnt() : 0);
|
|
||||||
|
|
||||||
model.addAttribute("xxxList", xxxList);
|
|
||||||
model.addAttribute("paginationInfo", paginationInfo);
|
|
||||||
|
|
||||||
//return "/web/xxx/xxxList";
|
|
||||||
return "/_extra/web/user/exam1/examList";
|
|
||||||
//return new ModelAndView("/_extra/web/user/exam/examList");
|
|
||||||
}
|
|
||||||
|
|
||||||
// 20190902 /user/exam/case/402/162/list.do
|
// 20190902 /user/exam/case/402/162/list.do
|
||||||
@RequestMapping(value= {"/web/user/exam/{siteIdx}/{boardIdx}/{siteMenuIdx}/examList.do"
|
@RequestMapping(value= {"/web/user/exam/{siteIdx}/{boardIdx}/{siteMenuIdx}/examList.do"
|
||||||
, "/web/user/exam/{siteIdx}/{boardIdx}/{siteMenuIdx}/exam{boardIdx}List.do"}, method=RequestMethod.GET)
|
, "/web/user/exam/{siteIdx}/{boardIdx}/{siteMenuIdx}/exam{boardIdx}List.do"}, method=RequestMethod.GET)
|
||||||
@ -550,4 +510,344 @@ private Logger log = Logger.getLogger(this.getClass());
|
|||||||
|
|
||||||
return new ModelAndView("/_extra/web/user/exam/examDetail");
|
return new ModelAndView("/_extra/web/user/exam/examDetail");
|
||||||
}
|
}
|
||||||
|
|
||||||
|
// /user/board/case/form/145/list.do
|
||||||
|
@RequestMapping(value= {"/web/user/board/{siteIdx}/{boardIdx}/{siteMenuIdx}/formList.do"
|
||||||
|
, "/web/user/board/{siteIdx}/{boardIdx}/{siteMenuIdx}/lawList.do"
|
||||||
|
, "/web/user/board/{siteIdx}/{boardIdx}/{siteMenuIdx}/dataList.do"
|
||||||
|
}, method=RequestMethod.GET)
|
||||||
|
public ModelAndView boardList(ModelMap map, HttpSession session, @RequestParam Map<String,Object> paramMap, Criteria cri,
|
||||||
|
@PathVariable(value="siteIdx") String siteIdx,
|
||||||
|
@PathVariable(value="boardIdx") String boardIdx,
|
||||||
|
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
|
||||||
|
|
||||||
|
setSessionMessageRemove(session);
|
||||||
|
|
||||||
|
/*----권한체크----*/
|
||||||
|
Integer memberIdx = Integer.valueOf(SeedUtils.setReplaceNull(session.getAttribute("memberIdx"),"0"));
|
||||||
|
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
|
||||||
|
boolean memberAuthM = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
|
||||||
|
boolean memberAuth = managerSiteMenuManagerService.getSiteMenuManagerListCnt(siteMenuIdx, memberIdx);
|
||||||
|
|
||||||
|
//메뉴 권한설정
|
||||||
|
/*
|
||||||
|
if(!memberGrant.equals("S") && !memberAuthM && !memberAuth &&
|
||||||
|
!managerSiteMenuAuthService.getSiteMenuAuthChk(siteMenuIdx, memberIdx)){
|
||||||
|
|
||||||
|
map.put("message", "common.message.no.grant");
|
||||||
|
|
||||||
|
if(memberIdx.equals(0)){
|
||||||
|
map.put("url", "/"+siteIdx+"/index.do");
|
||||||
|
}else{
|
||||||
|
map.put("self", "history");
|
||||||
|
}
|
||||||
|
|
||||||
|
return new ModelAndView("/_common/jsp/umessage");
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
boolean b_ret = true;
|
||||||
|
b_ret = FairnetUtils.hasUserAuth(memberIdx, memberGrant, memberAuth, session, map);
|
||||||
|
|
||||||
|
if (!b_ret) {
|
||||||
|
return new ModelAndView("/_common/jsp/message");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Map<Object, Object> tSiteMenuDB = managerSiteMenuService.getSiteMenuMapForm(siteMenuIdx,
|
||||||
|
new String[] {"siteMenuName", "siteMenuParentTitle", "siteMenuStatus", "siteMenuType", "siteMenuLinkUrl", "siteMenuCharge", "siteMenuCharge", "siteMenuSNS",
|
||||||
|
"siteMenuTitle", "siteMenuRegDate", "siteMenuModDate", "siteMenuNameType", "siteMenuIdxs", "siteMenuDepth", "siteMenuSatisfaction", "siteMenuIdx1",
|
||||||
|
"tSite.siteActiveMenuWidth", "tSite.siteService", "tSite.siteServiceSdate", "tSite.siteServiceSdate"});
|
||||||
|
|
||||||
|
if(!memberGrant.equals("S") && !memberAuthM && !memberAuth){
|
||||||
|
if(!SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuStatus")).equals("U")){
|
||||||
|
map.put("message", "common.message.no.siteMenu");
|
||||||
|
map.put("self", "history");
|
||||||
|
return new ModelAndView("/_common/jsp/umessage");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteService")).equals("Y")){
|
||||||
|
|
||||||
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
|
|
||||||
|
try{
|
||||||
|
|
||||||
|
Date getDate = new Date();
|
||||||
|
|
||||||
|
Date sDate = formatter.parse(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteServiceSdate")));
|
||||||
|
Date eDate = formatter.parse(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteServiceEdate")));
|
||||||
|
|
||||||
|
if((sDate.compareTo(formatter.parse(formatter.format(getDate))) > 0 && eDate.compareTo(formatter.parse(formatter.format(getDate))) > 0) ||
|
||||||
|
(sDate.compareTo(formatter.parse(formatter.format(getDate))) < 0 && eDate.compareTo(formatter.parse(formatter.format(getDate))) < 0)){
|
||||||
|
return new ModelAndView("redirect:/user/common/service/"+siteIdx+".do");
|
||||||
|
}
|
||||||
|
|
||||||
|
}catch(ParseException e){
|
||||||
|
log.error("CHECK ERROR:",e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuType")).equals("F") ||
|
||||||
|
SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuType")).equals("L")){
|
||||||
|
return new ModelAndView("redirect:"+SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuLinkUrl")));
|
||||||
|
}
|
||||||
|
|
||||||
|
String siteMenuManager = "N";
|
||||||
|
StringBuffer siteMenuManagerIdx = new StringBuffer();
|
||||||
|
String siteMenuCharge = SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuCharge"), "N");
|
||||||
|
|
||||||
|
List<Map<Object, Object>> siteMenuManagerList =
|
||||||
|
managerSiteMenuManagerService.getSiteMenuManagerMapList(siteMenuIdx, new String[] {"siteMenuManagerStatus", "tMember.memberIdx"});
|
||||||
|
|
||||||
|
for(int i=0; i<siteMenuManagerList.size(); i++){
|
||||||
|
|
||||||
|
Map<Object, Object> tSiteMenuManagerDB = siteMenuManagerList.get(i);
|
||||||
|
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_siteMenuManagerStatus")).equals("U")){
|
||||||
|
|
||||||
|
if(!memberIdx.equals(0) &&
|
||||||
|
memberIdx.equals(Integer.parseInt(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_memberIdx"), "0"))) &&
|
||||||
|
siteMenuManager.equals("N")){
|
||||||
|
siteMenuManager = "Y";
|
||||||
|
}
|
||||||
|
siteMenuManagerIdx.append(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_memberIdx")).toString());
|
||||||
|
siteMenuManagerIdx.append(",");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(memberGrant.equals("S") || memberAuthM){
|
||||||
|
siteMenuManager = "Y";
|
||||||
|
}
|
||||||
|
|
||||||
|
//편집 권한
|
||||||
|
map.put("siteMenuManager", siteMenuManager);
|
||||||
|
//담당자 보기 설정
|
||||||
|
map.put("siteMenuCharge", siteMenuCharge);
|
||||||
|
//담당자 이름
|
||||||
|
map.put("siteMenuManagerIdx", siteMenuManagerIdx.toString());
|
||||||
|
//만족도 설정
|
||||||
|
map.put("siteMenuSatisfaction", SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuSatisfaction"), "N"));
|
||||||
|
|
||||||
|
map.put("siteMenuSubTitle", managerSiteMenuService.getSiteMenuSubTitleForm(siteIdx, SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuIdx1"))));
|
||||||
|
|
||||||
|
String siteMenuTitle = managerSiteMenuService.getSiteMenuParentName(siteIdx, SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuIdxs")), "edit").replaceAll("》", "|") +
|
||||||
|
" | " + SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuName"));
|
||||||
|
|
||||||
|
map.put("siteMenuTitle", siteMenuTitle);
|
||||||
|
|
||||||
|
//부모메뉴 타이틀 설정한 경우 해당 글의 부모 타이틀을 가져옴
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuParentTitle") ,"N").equals("Y")){
|
||||||
|
String[] siteMenuTitles = siteMenuTitle.split("\\|");
|
||||||
|
tSiteMenuDB.put("_siteMenuName", siteMenuTitles[Integer.parseInt(tSiteMenuDB.get("_siteMenuDepth").toString())-1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
map.put("tSiteMenuDB", tSiteMenuDB);
|
||||||
|
|
||||||
|
map.put("memberAuthM", memberAuthM);
|
||||||
|
map.put("seedMenuAuth", managerGroupService.getGroupList(siteIdx, memberIdx, memberMerge, memberMergeSiteIdx));
|
||||||
|
/*----권한체크 종료----*/
|
||||||
|
|
||||||
|
String menuName = "";
|
||||||
|
if(boardIdx.equals("form")){
|
||||||
|
menuName = "분쟁조정 관련 서식";
|
||||||
|
}else if(boardIdx.equals("law")){
|
||||||
|
menuName = "법령자료실";
|
||||||
|
}else if(boardIdx.equals("news")){
|
||||||
|
menuName = "뉴스레터 자료";
|
||||||
|
}else{
|
||||||
|
menuName = "공지사항";
|
||||||
|
}
|
||||||
|
session.setAttribute("menuName", menuName);
|
||||||
|
|
||||||
|
//페이징 관련
|
||||||
|
paramMap.put("pageStart", cri.getPageStart());
|
||||||
|
paramMap.put("perPageNum", cri.getPerPageNum());
|
||||||
|
paramMap.put("boardIdx", boardIdx);
|
||||||
|
|
||||||
|
List<Map<String,Object>> bbsList = service3.boardList(paramMap);
|
||||||
|
List<Map<String,Object>> selectNotice = service3.selectNotice(paramMap);
|
||||||
|
|
||||||
|
PageMaker pageMaker = new PageMaker();
|
||||||
|
pageMaker.setCri(cri);
|
||||||
|
pageMaker.setTotalCount(service3.boardListCnt(paramMap));
|
||||||
|
|
||||||
|
map.addAttribute("boardIdx", boardIdx);
|
||||||
|
map.addAttribute("bbsList", bbsList);
|
||||||
|
map.addAttribute("selectNotice", selectNotice);
|
||||||
|
map.addAttribute("pageMaker", pageMaker);
|
||||||
|
|
||||||
|
if (siteMenuIdx == 261) {
|
||||||
|
return new ModelAndView("/_extra/web/user/board/lawList");
|
||||||
|
}else if (siteMenuIdx == 381) {
|
||||||
|
return new ModelAndView("/_extra/web/user/board/dataList");
|
||||||
|
}
|
||||||
|
|
||||||
|
return new ModelAndView("/_extra/web/user/board/formList");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
// /user/exam/case/402/162/view.do
|
||||||
|
@RequestMapping(value= {"/web/user/board/{siteIdx}/{boardIdx}/{siteMenuIdx}/formDetail.do"
|
||||||
|
, "/web/user/board/{siteIdx}/{boardIdx}/{siteMenuIdx}/lawDetail.do"
|
||||||
|
, "/web/user/board/{siteIdx}/{boardIdx}/{siteMenuIdx}/dataDetail.do"}, method=RequestMethod.GET)
|
||||||
|
public ModelAndView boardView(ModelMap map, HttpSession session, @RequestParam Map<String,Object> paramMap, Criteria cri,
|
||||||
|
@PathVariable(value="siteIdx") String siteIdx,
|
||||||
|
@PathVariable(value="boardIdx") String boardIdx,
|
||||||
|
@PathVariable(value="siteMenuIdx") Integer siteMenuIdx){
|
||||||
|
|
||||||
|
setSessionMessageRemove(session);
|
||||||
|
|
||||||
|
/*----권한체크----*/
|
||||||
|
Integer memberIdx = Integer.valueOf(SeedUtils.setReplaceNull(session.getAttribute("memberIdx"),"0"));
|
||||||
|
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
|
||||||
|
boolean memberAuthM = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
|
||||||
|
boolean memberAuth = managerSiteMenuManagerService.getSiteMenuManagerListCnt(siteMenuIdx, memberIdx);
|
||||||
|
|
||||||
|
//메뉴 권한설정
|
||||||
|
/*
|
||||||
|
if(!memberGrant.equals("S") && !memberAuthM && !memberAuth &&
|
||||||
|
!managerSiteMenuAuthService.getSiteMenuAuthChk(siteMenuIdx, memberIdx)){
|
||||||
|
|
||||||
|
map.put("message", "common.message.no.grant");
|
||||||
|
|
||||||
|
if(memberIdx.equals(0)){
|
||||||
|
map.put("url", "/"+siteIdx+"/index.do");
|
||||||
|
}else{
|
||||||
|
map.put("self", "history");
|
||||||
|
}
|
||||||
|
|
||||||
|
return new ModelAndView("/_common/jsp/umessage");
|
||||||
|
}
|
||||||
|
*/
|
||||||
|
|
||||||
|
boolean b_ret = true;
|
||||||
|
b_ret = FairnetUtils.hasUserAuth(memberIdx, memberGrant, memberAuth, session, map);
|
||||||
|
|
||||||
|
if (!b_ret) {
|
||||||
|
return new ModelAndView("/_common/jsp/message");
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
|
Map<Object, Object> tSiteMenuDB = managerSiteMenuService.getSiteMenuMapForm(siteMenuIdx,
|
||||||
|
new String[] {"siteMenuName", "siteMenuParentTitle", "siteMenuStatus", "siteMenuType", "siteMenuLinkUrl", "siteMenuCharge", "siteMenuCharge", "siteMenuSNS",
|
||||||
|
"siteMenuTitle", "siteMenuRegDate", "siteMenuModDate", "siteMenuNameType", "siteMenuIdxs", "siteMenuDepth", "siteMenuSatisfaction", "siteMenuIdx1",
|
||||||
|
"tSite.siteActiveMenuWidth", "tSite.siteService", "tSite.siteServiceSdate", "tSite.siteServiceSdate"});
|
||||||
|
|
||||||
|
if(!memberGrant.equals("S") && !memberAuthM && !memberAuth){
|
||||||
|
if(!SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuStatus")).equals("U")){
|
||||||
|
map.put("message", "common.message.no.siteMenu");
|
||||||
|
map.put("self", "history");
|
||||||
|
return new ModelAndView("/_common/jsp/umessage");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteService")).equals("Y")){
|
||||||
|
|
||||||
|
SimpleDateFormat formatter = new SimpleDateFormat("yyyy-MM-dd");
|
||||||
|
|
||||||
|
try{
|
||||||
|
|
||||||
|
Date getDate = new Date();
|
||||||
|
|
||||||
|
Date sDate = formatter.parse(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteServiceSdate")));
|
||||||
|
Date eDate = formatter.parse(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteServiceEdate")));
|
||||||
|
|
||||||
|
if((sDate.compareTo(formatter.parse(formatter.format(getDate))) > 0 && eDate.compareTo(formatter.parse(formatter.format(getDate))) > 0) ||
|
||||||
|
(sDate.compareTo(formatter.parse(formatter.format(getDate))) < 0 && eDate.compareTo(formatter.parse(formatter.format(getDate))) < 0)){
|
||||||
|
return new ModelAndView("redirect:/user/common/service/"+siteIdx+".do");
|
||||||
|
}
|
||||||
|
|
||||||
|
}catch(ParseException e){
|
||||||
|
log.error("CHECK ERROR:",e);
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuType")).equals("F") ||
|
||||||
|
SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuType")).equals("L")){
|
||||||
|
return new ModelAndView("redirect:"+SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuLinkUrl")));
|
||||||
|
}
|
||||||
|
|
||||||
|
String siteMenuManager = "N";
|
||||||
|
StringBuffer siteMenuManagerIdx = new StringBuffer();
|
||||||
|
String siteMenuCharge = SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuCharge"), "N");
|
||||||
|
|
||||||
|
List<Map<Object, Object>> siteMenuManagerList =
|
||||||
|
managerSiteMenuManagerService.getSiteMenuManagerMapList(siteMenuIdx, new String[] {"siteMenuManagerStatus", "tMember.memberIdx"});
|
||||||
|
|
||||||
|
for(int i=0; i<siteMenuManagerList.size(); i++){
|
||||||
|
|
||||||
|
Map<Object, Object> tSiteMenuManagerDB = siteMenuManagerList.get(i);
|
||||||
|
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_siteMenuManagerStatus")).equals("U")){
|
||||||
|
|
||||||
|
if(!memberIdx.equals(0) &&
|
||||||
|
memberIdx.equals(Integer.parseInt(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_memberIdx"), "0"))) &&
|
||||||
|
siteMenuManager.equals("N")){
|
||||||
|
siteMenuManager = "Y";
|
||||||
|
}
|
||||||
|
siteMenuManagerIdx.append(SeedUtils.setReplaceNull(tSiteMenuManagerDB.get("_memberIdx")).toString());
|
||||||
|
siteMenuManagerIdx.append(",");
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
|
if(memberGrant.equals("S") || memberAuthM){
|
||||||
|
siteMenuManager = "Y";
|
||||||
|
}
|
||||||
|
|
||||||
|
//편집 권한
|
||||||
|
map.put("siteMenuManager", siteMenuManager);
|
||||||
|
//담당자 보기 설정
|
||||||
|
map.put("siteMenuCharge", siteMenuCharge);
|
||||||
|
//담당자 이름
|
||||||
|
map.put("siteMenuManagerIdx", siteMenuManagerIdx.toString());
|
||||||
|
//만족도 설정
|
||||||
|
map.put("siteMenuSatisfaction", SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuSatisfaction"), "N"));
|
||||||
|
|
||||||
|
map.put("siteMenuSubTitle", managerSiteMenuService.getSiteMenuSubTitleForm(siteIdx, SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuIdx1"))));
|
||||||
|
|
||||||
|
String siteMenuTitle = managerSiteMenuService.getSiteMenuParentName(siteIdx, SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuIdxs")), "edit").replaceAll("》", "|") +
|
||||||
|
" | " + SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuName"));
|
||||||
|
|
||||||
|
map.put("siteMenuTitle", siteMenuTitle);
|
||||||
|
|
||||||
|
//부모메뉴 타이틀 설정한 경우 해당 글의 부모 타이틀을 가져옴
|
||||||
|
if(SeedUtils.setReplaceNull(tSiteMenuDB.get("_siteMenuParentTitle") ,"N").equals("Y")){
|
||||||
|
String[] siteMenuTitles = siteMenuTitle.split("\\|");
|
||||||
|
tSiteMenuDB.put("_siteMenuName", siteMenuTitles[Integer.parseInt(tSiteMenuDB.get("_siteMenuDepth").toString())-1]);
|
||||||
|
}
|
||||||
|
|
||||||
|
map.put("tSiteMenuDB", tSiteMenuDB);
|
||||||
|
|
||||||
|
map.put("memberAuthM", memberAuthM);
|
||||||
|
map.put("seedMenuAuth", managerGroupService.getGroupList(siteIdx, memberIdx, memberMerge, memberMergeSiteIdx));
|
||||||
|
/*----권한체크 종료----*/
|
||||||
|
|
||||||
|
String menuName = "";
|
||||||
|
if(boardIdx.equals("form")){
|
||||||
|
menuName = "분쟁조정 관련 서식";
|
||||||
|
}else if(boardIdx.equals("law")){
|
||||||
|
menuName = "법령자료실";
|
||||||
|
}else if(boardIdx.equals("news")){
|
||||||
|
menuName = "뉴스레터 자료";
|
||||||
|
}else{
|
||||||
|
menuName = "공지사항";
|
||||||
|
}
|
||||||
|
session.setAttribute("menuName", menuName);
|
||||||
|
|
||||||
|
paramMap.put("dataIdx", paramMap.get("bbsNo"));
|
||||||
|
|
||||||
|
service3.cntUpdate(paramMap);
|
||||||
|
map.addAttribute("bbsView", service3.boardView(paramMap));
|
||||||
|
map.addAttribute("boardIdx", boardIdx);
|
||||||
|
map.addAttribute("fileList", fileService.fileList(paramMap));
|
||||||
|
|
||||||
|
if (siteMenuIdx == 261) {
|
||||||
|
return new ModelAndView("/_extra/web/user/board/lawDetail");
|
||||||
|
}else if (siteMenuIdx == 381) {
|
||||||
|
return new ModelAndView("/_extra/web/user/board/dataDetail");
|
||||||
|
}
|
||||||
|
|
||||||
|
return new ModelAndView("/_extra/web/user/board/formDetail");
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
@ -0,0 +1,88 @@
|
|||||||
|
<%@ page contentType="text/html;charset=utf-8" %>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ page import="seed.utils.SeedUtils"%>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function moveFunc(type){
|
||||||
|
if(type == "list"){
|
||||||
|
$("#moveFrm").attr("action", "/web/user/board/case/${boardIdx}/${siteMenuIdx}/dataList.do");
|
||||||
|
$("#moveFrm").submit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<div class="sub_content">
|
||||||
|
<!-- page_location -->
|
||||||
|
<ul class="page_location">
|
||||||
|
<li><i class="icon home"></i></li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>자료실</li>
|
||||||
|
</ul>
|
||||||
|
<!-- //page_location -->
|
||||||
|
|
||||||
|
<form action="" method="get" id="moveFrm">
|
||||||
|
<input type="hidden" name="searchType" value="${param.searchType }">
|
||||||
|
<input type="hidden" name="searchTilte" value="${param.searchTilte }">
|
||||||
|
<input type="hidden" name="page" id="page" value="${param.page }">
|
||||||
|
|
||||||
|
<h3 class="sub_con_tit">자료실</h3>
|
||||||
|
<!-- <p class="sub_con_sub_tit">분쟁조정 신청서(및 작성예시), 위임장, 합의취하서 등 분쟁조정 관련 서식을 제공하고 있습니다. 다운로드 받아 사용하시기 바랍니다.</p> -->
|
||||||
|
|
||||||
|
<div class="list_view">
|
||||||
|
|
||||||
|
<div class="list_view_wrap">
|
||||||
|
<h4 class="list_view_tit">
|
||||||
|
<c:out value="${bbsView.BBS_TITLE }"></c:out>
|
||||||
|
</h4>
|
||||||
|
<ul class="view_info">
|
||||||
|
<!--
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 유형 : </p>
|
||||||
|
<i class="icon td_type"></i>
|
||||||
|
불공정거래행위-부당한 손해배상의무 부담
|
||||||
|
</li>
|
||||||
|
-->
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 작성자 : </p>
|
||||||
|
<i class="icon td_writer"></i>
|
||||||
|
관리자
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 작성일 : </p>
|
||||||
|
<i class="icon td_calendar"></i>
|
||||||
|
<c:out value="${bbsView.BBS_REG_DATE }"></c:out>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 조회수 : </p>
|
||||||
|
<i class="icon td_view"></i>
|
||||||
|
<c:out value="${bbsView.BBS_CNT }"></c:out>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="view_file_list">
|
||||||
|
|
||||||
|
<c:forEach items="${fileList}" var="list" varStatus="status">
|
||||||
|
<li><a href="/seed/extra/down/file.do?dataIdx=${list.EXTRA_FILE_IDX}&funcType=${list.EXTRA_FUNC_TYPE}&pathKey1=${siteIdx}"
|
||||||
|
download="download"><i
|
||||||
|
class="icon file_download"></i>${list.EXTRA_FILE_NAME}</a></li>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<li><a href="#" download="download"><i class="icon file_download"></i>대규모유통업거래분야 분쟁 예방 체크리스트(대규모유통업자).pdf</a></li>
|
||||||
|
<li><a href="#" download="download"><i class="icon file_download"></i>대규모유통업거래분야 분쟁 예방 체크리스트(대규모유통업자).pdf</a></li>
|
||||||
|
-->
|
||||||
|
</ul>
|
||||||
|
<div class="view_content">
|
||||||
|
<c:out escapeXml='false' value="${bbsView.BBS_CONTENT }"></c:out>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn_wrap right">
|
||||||
|
<button type="button" class="btn btn_text btn_40 gray_fill" onclick="javascript:moveFunc('list')">목록</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
174
src/main/webapp/WEB-INF/jsp/_extra/web/user/board/dataList.jsp
Normal file
174
src/main/webapp/WEB-INF/jsp/_extra/web/user/board/dataList.jsp
Normal file
@ -0,0 +1,174 @@
|
|||||||
|
<%@ page contentType="text/html;charset=utf-8" %>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ page import="seed.utils.SeedUtils"%>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function goPage(type, param){
|
||||||
|
if(type == 'view'){
|
||||||
|
$("#bbsNo").val(param);
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/dataDetail.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/dataDetail.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}else if(type == 'search'){
|
||||||
|
$("#page").val("1");
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/dataList.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/dataList.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}else if(type == 'paging'){
|
||||||
|
$("#page").val(param);
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/dataList.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/dataList.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<div class="sub_content">
|
||||||
|
<!-- page_location -->
|
||||||
|
<ul class="page_location">
|
||||||
|
<li><i class="icon home"></i></li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>자료실</li>
|
||||||
|
</ul>
|
||||||
|
<!-- //page_location -->
|
||||||
|
|
||||||
|
<form name="searchFrm" id="searchFrm" action="" method="get">
|
||||||
|
<input type="hidden" name="bbsNo" id="bbsNo" value="">
|
||||||
|
<input type="hidden" name="page" id="page" value="${pageMaker.cri.page}">
|
||||||
|
<input type="hidden" name="fileFuncType" id="fileFuncType" value="form_notice">
|
||||||
|
|
||||||
|
<h3 class="sub_con_tit">자료실</h3>
|
||||||
|
<!-- <p class="sub_con_sub_tit">분쟁조정 신청서(및 작성예시), 위임장, 합의취하서 등 분쟁조정 관련 서식을 제공하고 있습니다. 다운로드 받아 사용하시기 바랍니다.</p> -->
|
||||||
|
|
||||||
|
<!-- search -->
|
||||||
|
<div class="search_wrap">
|
||||||
|
|
||||||
|
<select name="searchMenu" id="searchMenu" title="검색유형 선택" class="select">
|
||||||
|
<option value="ALL" <c:if test="${param.searchMenu == 'ALL'}">selected="selected"</c:if>>전체유형</option>
|
||||||
|
<option value="search2" <c:if test="${param.searchMenu == 'search2'}">selected="selected"</c:if>>공정거래분쟁조정협의회</option>
|
||||||
|
<option value="search3" <c:if test="${param.searchMenu == 'search3'}">selected="selected"</c:if>>가맹사업거래분쟁조정협의회</option>
|
||||||
|
<option value="search4" <c:if test="${param.searchMenu == 'search4'}">selected="selected"</c:if>>하도급거래분쟁조정협의회</option>
|
||||||
|
<option value="search5" <c:if test="${param.searchMenu == 'search5'}">selected="selected"</c:if>>대규모유통업거래협의회</option>
|
||||||
|
<option value="search6" <c:if test="${param.searchMenu == 'search6'}">selected="selected"</c:if>>약관분쟁조정협의회</option>
|
||||||
|
<option value="search7" <c:if test="${param.searchMenu == 'search7'}">selected="selected"</c:if>>대리점분쟁조정협의회</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select name="searchType" id="searchType" title="검색조건 선택" class="select">
|
||||||
|
<option value="title" <c:if test="${param.searchType == 'title'}">selected="selected"</c:if>>제목</option>
|
||||||
|
<option value="content" <c:if test="${param.searchType == 'content'}">selected="selected"</c:if>>내용</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<input type="text" class="input_text" name="searchTilte" value="${param.searchTilte}">
|
||||||
|
<button type="button" class="btn btn_text btn_40 darkblue_fill btn_search" onclick="goPage('search', '')">검색</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- //search -->
|
||||||
|
|
||||||
|
<!-- table -->
|
||||||
|
<div class="table_top">
|
||||||
|
<p class="list_total_number">전체 <span class="color_blue">${pageMaker.totalCount }</span>건(<span class="color_blue">${pageMaker.cri.page}</span>/${pageMaker.endPage} 페이지)</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table_type_cols">
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width:68px;">
|
||||||
|
<col style="width:auto;">
|
||||||
|
<col style="width:10%;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>번호</th>
|
||||||
|
<th>제목</th>
|
||||||
|
<th>조회수</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<c:if test="${boardIdx == 'notice' }">
|
||||||
|
<c:if test="${not empty selectNotice}">
|
||||||
|
<c:forEach items="${selectNotice}" var="list" varStatus="status">
|
||||||
|
<li>
|
||||||
|
<span><strong>공지</strong></span><!--
|
||||||
|
--><span><a href="javascript:goPage('view', '${list.BBS_NO}');"><strong><c:out value="${list.BBS_TITLE}"/></strong></a></span><!--
|
||||||
|
--><span><strong><c:out value="${list.BBS_CNT}"/></strong></span>
|
||||||
|
</li>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${not empty bbsList}">
|
||||||
|
<c:forEach items="${bbsList}" var="list" varStatus="status">
|
||||||
|
<tr>
|
||||||
|
<td class="table_number"><c:out value="${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}"/></td>
|
||||||
|
<td class="td_title"><a href="javascript:goPage('view', '${list.BBS_NO}');" class="list_title"><c:out value="${list.BBS_TITLE}"/></a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i><c:out value="${list.BBS_CNT}"/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<c:if test="${empty bbsList}">
|
||||||
|
<tr class="tr_list_none">
|
||||||
|
<td colspan="3" class="list_none">등록된 데이터가 없습니다.</td>
|
||||||
|
</tr>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<tr class="tr_list_none">
|
||||||
|
<td colspan="3" class="list_none">등록된 데이터가 없습니다.</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td class="table_number">330</td>
|
||||||
|
<td class="td_title"><a href="#none" class="list_title">(가맹) 법에서 조정제외대상으로 지정한 것은 무엇입니까?</a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i>110</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="table_number">330</td>
|
||||||
|
<td class="td_title"><a href="#none" class="list_title">(가맹)(2021)(편의점 가맹본부의 부당한 손해배상 의무 부담 관련 분쟁조정 사례)</a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i>110</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- //table -->
|
||||||
|
|
||||||
|
<ul class="page">
|
||||||
|
|
||||||
|
<li><a href="javascript:goPage('paging', '1')" class="btn only_icon btn_40 btn_page_first" title="첫 페이지 이동"><i class="icon page_first"></i></a></li>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${pageMaker.prev}">
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" class="btn only_icon btn_40 btn_page_prev" title="이전 페이지 이동"><i class="icon page_prev"></i></a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page}')" class="btn only_icon btn_40 btn_page_prev" title="이전 페이지 이동"><i class="icon page_prev"></i></a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${idx == pageMaker.cri.page }">
|
||||||
|
<li><a href="javascript:goPage('paging', '${idx}')" class="btn btn_40 active" title="${idx} 페이지 이동">${idx}</a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${idx}')" class="btn btn_40" title="${idx} 페이지 이동">${idx}</a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${pageMaker.next}">
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" class="btn only_icon btn_40 btn_page_next" title="다음 페이지 이동"><i class="icon page_next"></i></a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page}')" class="btn only_icon btn_40 btn_page_next" title="다음 페이지 이동"><i class="icon page_next"></i></a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.endPage}')" class="btn only_icon btn_40 btn_page_last" title="마지막 페이지 이동"><i class="icon page_last"></i></a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
@ -0,0 +1,89 @@
|
|||||||
|
<%@ page contentType="text/html;charset=utf-8" %>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ page import="seed.utils.SeedUtils"%>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function moveFunc(type){
|
||||||
|
if(type == "list"){
|
||||||
|
$("#moveFrm").attr("action", "/web/user/board/case/${boardIdx}/${siteMenuIdx}/formList.do");
|
||||||
|
$("#moveFrm").submit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<div class="sub_content">
|
||||||
|
|
||||||
|
<!-- page_location -->
|
||||||
|
<ul class="page_location">
|
||||||
|
<li><i class="icon home"></i></li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 관련 서식</li>
|
||||||
|
</ul>
|
||||||
|
<!-- //page_location -->
|
||||||
|
|
||||||
|
<form action="" method="get" id="moveFrm">
|
||||||
|
<input type="hidden" name="searchType" value="${param.searchType }">
|
||||||
|
<input type="hidden" name="searchTilte" value="${param.searchTilte }">
|
||||||
|
<input type="hidden" name="page" id="page" value="${param.page }">
|
||||||
|
|
||||||
|
<h3 class="sub_con_tit">분쟁조정 관련 서식</h3>
|
||||||
|
<p class="sub_con_sub_tit">분쟁조정 신청서(및 작성예시), 위임장, 합의취하서 등 분쟁조정 관련 서식을 제공하고 있습니다. 다운로드 받아 사용하시기 바랍니다.</p>
|
||||||
|
|
||||||
|
<div class="list_view">
|
||||||
|
|
||||||
|
<div class="list_view_wrap">
|
||||||
|
<h4 class="list_view_tit">
|
||||||
|
<c:out value="${bbsView.BBS_TITLE }"></c:out>
|
||||||
|
</h4>
|
||||||
|
<ul class="view_info">
|
||||||
|
<!--
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 유형 : </p>
|
||||||
|
<i class="icon td_type"></i>
|
||||||
|
불공정거래행위-부당한 손해배상의무 부담
|
||||||
|
</li>
|
||||||
|
-->
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 작성자 : </p>
|
||||||
|
<i class="icon td_writer"></i>
|
||||||
|
관리자
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 작성일 : </p>
|
||||||
|
<i class="icon td_calendar"></i>
|
||||||
|
<c:out value="${bbsView.BBS_REG_DATE }"></c:out>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 조회수 : </p>
|
||||||
|
<i class="icon td_view"></i>
|
||||||
|
<c:out value="${bbsView.BBS_CNT }"></c:out>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="view_file_list">
|
||||||
|
|
||||||
|
<c:forEach items="${fileList}" var="list" varStatus="status">
|
||||||
|
<li><a href="/seed/extra/down/file.do?dataIdx=${list.EXTRA_FILE_IDX}&funcType=${list.EXTRA_FUNC_TYPE}&pathKey1=${siteIdx}"
|
||||||
|
download="download"><i
|
||||||
|
class="icon file_download"></i>${list.EXTRA_FILE_NAME}</a></li>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<li><a href="#" download="download"><i class="icon file_download"></i>대규모유통업거래분야 분쟁 예방 체크리스트(대규모유통업자).pdf</a></li>
|
||||||
|
<li><a href="#" download="download"><i class="icon file_download"></i>대규모유통업거래분야 분쟁 예방 체크리스트(대규모유통업자).pdf</a></li>
|
||||||
|
-->
|
||||||
|
</ul>
|
||||||
|
<div class="view_content">
|
||||||
|
<c:out escapeXml='false' value="${bbsView.BBS_CONTENT }"></c:out>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn_wrap right">
|
||||||
|
<button type="button" class="btn btn_text btn_40 gray_fill" onclick="javascript:moveFunc('list')">목록</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
176
src/main/webapp/WEB-INF/jsp/_extra/web/user/board/formList.jsp
Normal file
176
src/main/webapp/WEB-INF/jsp/_extra/web/user/board/formList.jsp
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
<%@ page contentType="text/html;charset=utf-8" %>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ page import="seed.utils.SeedUtils"%>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function goPage(type, param){
|
||||||
|
if(type == 'view'){
|
||||||
|
$("#bbsNo").val(param);
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/formDetail.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/formDetail.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}else if(type == 'search'){
|
||||||
|
$("#page").val("1");
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/formList.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/formList.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}else if(type == 'paging'){
|
||||||
|
$("#page").val(param);
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/formList.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/formList.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="sub_content">
|
||||||
|
<!-- page_location -->
|
||||||
|
<ul class="page_location">
|
||||||
|
<li><i class="icon home"></i></li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 관련 서식</li>
|
||||||
|
</ul>
|
||||||
|
<!-- //page_location -->
|
||||||
|
|
||||||
|
<form name="searchFrm" id="searchFrm" action="" method="get">
|
||||||
|
<input type="hidden" name="bbsNo" id="bbsNo" value="">
|
||||||
|
<input type="hidden" name="page" id="page" value="${pageMaker.cri.page}">
|
||||||
|
<input type="hidden" name="fileFuncType" id="fileFuncType" value="form_notice">
|
||||||
|
|
||||||
|
<h3 class="sub_con_tit">분쟁조정 관련 서식</h3>
|
||||||
|
<p class="sub_con_sub_tit">분쟁조정 신청서(및 작성예시), 위임장, 합의취하서 등 분쟁조정 관련 서식을 제공하고 있습니다. 다운로드 받아 사용하시기 바랍니다.</p>
|
||||||
|
|
||||||
|
<!-- search -->
|
||||||
|
<div class="search_wrap">
|
||||||
|
|
||||||
|
<select name="searchMenu" id="searchMenu" title="검색유형 선택" class="select">
|
||||||
|
<option value="ALL" <c:if test="${param.searchMenu == 'ALL'}">selected="selected"</c:if>>전체유형</option>
|
||||||
|
<option value="search2" <c:if test="${param.searchMenu == 'search2'}">selected="selected"</c:if>>공정거래분쟁조정협의회</option>
|
||||||
|
<option value="search3" <c:if test="${param.searchMenu == 'search3'}">selected="selected"</c:if>>가맹사업거래분쟁조정협의회</option>
|
||||||
|
<option value="search4" <c:if test="${param.searchMenu == 'search4'}">selected="selected"</c:if>>하도급거래분쟁조정협의회</option>
|
||||||
|
<option value="search5" <c:if test="${param.searchMenu == 'search5'}">selected="selected"</c:if>>대규모유통업거래협의회</option>
|
||||||
|
<option value="search6" <c:if test="${param.searchMenu == 'search6'}">selected="selected"</c:if>>약관분쟁조정협의회</option>
|
||||||
|
<option value="search7" <c:if test="${param.searchMenu == 'search7'}">selected="selected"</c:if>>대리점분쟁조정협의회</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select name="searchType" id="searchType" title="검색조건 선택" class="select">
|
||||||
|
<option value="title" <c:if test="${param.searchType == 'title'}">selected="selected"</c:if>>제목</option>
|
||||||
|
<option value="content" <c:if test="${param.searchType == 'content'}">selected="selected"</c:if>>내용</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<input type="text" class="input_text" name="searchTilte" value="${param.searchTilte}">
|
||||||
|
<button type="button" class="btn btn_text btn_40 darkblue_fill btn_search" onclick="goPage('search', '')">검색</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- //search -->
|
||||||
|
|
||||||
|
<!-- table -->
|
||||||
|
<div class="table_top">
|
||||||
|
<p class="list_total_number">전체 <span class="color_blue">${pageMaker.totalCount }</span>건(<span class="color_blue">${pageMaker.cri.page}</span>/${pageMaker.endPage} 페이지)</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table_type_cols">
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width:68px;">
|
||||||
|
<col style="width:auto;">
|
||||||
|
<col style="width:10%;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>번호</th>
|
||||||
|
<th>제목</th>
|
||||||
|
<th>조회수</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<c:if test="${boardIdx == 'notice' }">
|
||||||
|
<c:if test="${not empty selectNotice}">
|
||||||
|
<c:forEach items="${selectNotice}" var="list" varStatus="status">
|
||||||
|
<li>
|
||||||
|
<span><strong>공지</strong></span><!--
|
||||||
|
--><span><a href="javascript:goPage('view', '${list.BBS_NO}');"><strong><c:out value="${list.BBS_TITLE}"/></strong></a></span><!--
|
||||||
|
--><span><strong><c:out value="${list.BBS_CNT}"/></strong></span>
|
||||||
|
</li>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${not empty bbsList}">
|
||||||
|
<c:forEach items="${bbsList}" var="list" varStatus="status">
|
||||||
|
<tr>
|
||||||
|
<td class="table_number"><c:out value="${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}"/></td>
|
||||||
|
<td class="td_title"><a href="javascript:goPage('view', '${list.BBS_NO}');" class="list_title"><c:out value="${list.BBS_TITLE}"/></a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i><c:out value="${list.BBS_CNT}"/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<c:if test="${empty bbsList}">
|
||||||
|
<tr class="tr_list_none">
|
||||||
|
<td colspan="3" class="list_none">등록된 데이터가 없습니다.</td>
|
||||||
|
</tr>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<tr class="tr_list_none">
|
||||||
|
<td colspan="3" class="list_none">등록된 데이터가 없습니다.</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td class="table_number">330</td>
|
||||||
|
<td class="td_title"><a href="#none" class="list_title">(가맹) 법에서 조정제외대상으로 지정한 것은 무엇입니까?</a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i>110</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="table_number">330</td>
|
||||||
|
<td class="td_title"><a href="#none" class="list_title">(가맹)(2021)(편의점 가맹본부의 부당한 손해배상 의무 부담 관련 분쟁조정 사례)</a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i>110</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- //table -->
|
||||||
|
|
||||||
|
<ul class="page">
|
||||||
|
|
||||||
|
<li><a href="javascript:goPage('paging', '1')" class="btn only_icon btn_40 btn_page_first" title="첫 페이지 이동"><i class="icon page_first"></i></a></li>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${pageMaker.prev}">
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" class="btn only_icon btn_40 btn_page_prev" title="이전 페이지 이동"><i class="icon page_prev"></i></a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page}')" class="btn only_icon btn_40 btn_page_prev" title="이전 페이지 이동"><i class="icon page_prev"></i></a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${idx == pageMaker.cri.page }">
|
||||||
|
<li><a href="javascript:goPage('paging', '${idx}')" class="btn btn_40 active" title="${idx} 페이지 이동">${idx}</a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${idx}')" class="btn btn_40" title="${idx} 페이지 이동">${idx}</a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${pageMaker.next}">
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" class="btn only_icon btn_40 btn_page_next" title="다음 페이지 이동"><i class="icon page_next"></i></a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page}')" class="btn only_icon btn_40 btn_page_next" title="다음 페이지 이동"><i class="icon page_next"></i></a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.endPage}')" class="btn only_icon btn_40 btn_page_last" title="마지막 페이지 이동"><i class="icon page_last"></i></a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
@ -0,0 +1,89 @@
|
|||||||
|
<%@ page contentType="text/html;charset=utf-8" %>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ page import="seed.utils.SeedUtils"%>
|
||||||
|
<script type="text/javascript">
|
||||||
|
function moveFunc(type){
|
||||||
|
if(type == "list"){
|
||||||
|
$("#moveFrm").attr("action", "/web/user/board/case/${boardIdx}/${siteMenuIdx}/lawList.do");
|
||||||
|
$("#moveFrm").submit();
|
||||||
|
}
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
<div class="sub_content">
|
||||||
|
|
||||||
|
<!-- page_location -->
|
||||||
|
<ul class="page_location">
|
||||||
|
<li><i class="icon home"></i></li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>법령자료실</li>
|
||||||
|
</ul>
|
||||||
|
<!-- //page_location -->
|
||||||
|
|
||||||
|
<form action="" method="get" id="moveFrm">
|
||||||
|
<input type="hidden" name="searchType" value="${param.searchType }">
|
||||||
|
<input type="hidden" name="searchTilte" value="${param.searchTilte }">
|
||||||
|
<input type="hidden" name="page" id="page" value="${param.page }">
|
||||||
|
|
||||||
|
<h3 class="sub_con_tit">법령자료실</h3>
|
||||||
|
<!-- <p class="sub_con_sub_tit">분쟁조정 신청서(및 작성예시), 위임장, 합의취하서 등 분쟁조정 관련 서식을 제공하고 있습니다. 다운로드 받아 사용하시기 바랍니다.</p> -->
|
||||||
|
|
||||||
|
<div class="list_view">
|
||||||
|
|
||||||
|
<div class="list_view_wrap">
|
||||||
|
<h4 class="list_view_tit">
|
||||||
|
<c:out value="${bbsView.BBS_TITLE }"></c:out>
|
||||||
|
</h4>
|
||||||
|
<ul class="view_info">
|
||||||
|
<!--
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 유형 : </p>
|
||||||
|
<i class="icon td_type"></i>
|
||||||
|
불공정거래행위-부당한 손해배상의무 부담
|
||||||
|
</li>
|
||||||
|
-->
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 작성자 : </p>
|
||||||
|
<i class="icon td_writer"></i>
|
||||||
|
관리자
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 작성일 : </p>
|
||||||
|
<i class="icon td_calendar"></i>
|
||||||
|
<c:out value="${bbsView.BBS_REG_DATE }"></c:out>
|
||||||
|
</li>
|
||||||
|
<li>
|
||||||
|
<p class="view_info_tit">· 조회수 : </p>
|
||||||
|
<i class="icon td_view"></i>
|
||||||
|
<c:out value="${bbsView.BBS_CNT }"></c:out>
|
||||||
|
</li>
|
||||||
|
</ul>
|
||||||
|
<ul class="view_file_list">
|
||||||
|
|
||||||
|
<c:forEach items="${fileList}" var="list" varStatus="status">
|
||||||
|
<li><a href="/seed/extra/down/file.do?dataIdx=${list.EXTRA_FILE_IDX}&funcType=${list.EXTRA_FUNC_TYPE}&pathKey1=${siteIdx}"
|
||||||
|
download="download"><i
|
||||||
|
class="icon file_download"></i>${list.EXTRA_FILE_NAME}</a></li>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<li><a href="#" download="download"><i class="icon file_download"></i>대규모유통업거래분야 분쟁 예방 체크리스트(대규모유통업자).pdf</a></li>
|
||||||
|
<li><a href="#" download="download"><i class="icon file_download"></i>대규모유통업거래분야 분쟁 예방 체크리스트(대규모유통업자).pdf</a></li>
|
||||||
|
-->
|
||||||
|
</ul>
|
||||||
|
<div class="view_content">
|
||||||
|
<c:out escapeXml='false' value="${bbsView.BBS_CONTENT }"></c:out>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="btn_wrap right">
|
||||||
|
<button type="button" class="btn btn_text btn_40 gray_fill" onclick="javascript:moveFunc('list')">목록</button>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
</form>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
|
||||||
176
src/main/webapp/WEB-INF/jsp/_extra/web/user/board/lawList.jsp
Normal file
176
src/main/webapp/WEB-INF/jsp/_extra/web/user/board/lawList.jsp
Normal file
@ -0,0 +1,176 @@
|
|||||||
|
<%@ page contentType="text/html;charset=utf-8" %>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||||
|
<%@ taglib uri="http://www.springframework.org/tags/form" prefix="form"%>
|
||||||
|
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||||
|
<%@ page import="seed.utils.SeedUtils"%>
|
||||||
|
|
||||||
|
<script type="text/javascript">
|
||||||
|
function goPage(type, param){
|
||||||
|
if(type == 'view'){
|
||||||
|
$("#bbsNo").val(param);
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/lawDetail.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/lawDetail.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}else if(type == 'search'){
|
||||||
|
$("#page").val("1");
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/lawList.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/lawList.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}else if(type == 'paging'){
|
||||||
|
$("#page").val(param);
|
||||||
|
$("#searchFrm").attr("action","/user/board/case/${boardIdx}/${siteMenuIdx}/lawList.do");
|
||||||
|
$("#searchFrm").attr("action","/web/user/board/case/${boardIdx}/${siteMenuIdx}/lawList.do");
|
||||||
|
$("#searchFrm").submit();
|
||||||
|
}
|
||||||
|
|
||||||
|
}
|
||||||
|
</script>
|
||||||
|
|
||||||
|
<div class="sub_content">
|
||||||
|
<!-- page_location -->
|
||||||
|
<ul class="page_location">
|
||||||
|
<li><i class="icon home"></i></li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>분쟁조정 안내</li>
|
||||||
|
<li>법령자료실</li>
|
||||||
|
</ul>
|
||||||
|
<!-- //page_location -->
|
||||||
|
|
||||||
|
<form name="searchFrm" id="searchFrm" action="" method="get">
|
||||||
|
<input type="hidden" name="bbsNo" id="bbsNo" value="">
|
||||||
|
<input type="hidden" name="page" id="page" value="${pageMaker.cri.page}">
|
||||||
|
<input type="hidden" name="fileFuncType" id="fileFuncType" value="form_notice">
|
||||||
|
|
||||||
|
<h3 class="sub_con_tit">법령자료실</h3>
|
||||||
|
<!-- <p class="sub_con_sub_tit">분쟁조정 신청서(및 작성예시), 위임장, 합의취하서 등 분쟁조정 관련 서식을 제공하고 있습니다. 다운로드 받아 사용하시기 바랍니다.</p> -->
|
||||||
|
|
||||||
|
<!-- search -->
|
||||||
|
<div class="search_wrap">
|
||||||
|
|
||||||
|
<select name="searchMenu" id="searchMenu" title="검색유형 선택" class="select">
|
||||||
|
<option value="ALL" <c:if test="${param.searchMenu == 'ALL'}">selected="selected"</c:if>>전체유형</option>
|
||||||
|
<option value="search2" <c:if test="${param.searchMenu == 'search2'}">selected="selected"</c:if>>공정거래분쟁조정협의회</option>
|
||||||
|
<option value="search3" <c:if test="${param.searchMenu == 'search3'}">selected="selected"</c:if>>가맹사업거래분쟁조정협의회</option>
|
||||||
|
<option value="search4" <c:if test="${param.searchMenu == 'search4'}">selected="selected"</c:if>>하도급거래분쟁조정협의회</option>
|
||||||
|
<option value="search5" <c:if test="${param.searchMenu == 'search5'}">selected="selected"</c:if>>대규모유통업거래협의회</option>
|
||||||
|
<option value="search6" <c:if test="${param.searchMenu == 'search6'}">selected="selected"</c:if>>약관분쟁조정협의회</option>
|
||||||
|
<option value="search7" <c:if test="${param.searchMenu == 'search7'}">selected="selected"</c:if>>대리점분쟁조정협의회</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<select name="searchType" id="searchType" title="검색조건 선택" class="select">
|
||||||
|
<option value="title" <c:if test="${param.searchType == 'title'}">selected="selected"</c:if>>제목</option>
|
||||||
|
<option value="content" <c:if test="${param.searchType == 'content'}">selected="selected"</c:if>>내용</option>
|
||||||
|
</select>
|
||||||
|
|
||||||
|
<input type="text" class="input_text" name="searchTilte" value="${param.searchTilte}">
|
||||||
|
<button type="button" class="btn btn_text btn_40 darkblue_fill btn_search" onclick="goPage('search', '')">검색</button>
|
||||||
|
|
||||||
|
</div>
|
||||||
|
<!-- //search -->
|
||||||
|
|
||||||
|
<!-- table -->
|
||||||
|
<div class="table_top">
|
||||||
|
<p class="list_total_number">전체 <span class="color_blue">${pageMaker.totalCount }</span>건(<span class="color_blue">${pageMaker.cri.page}</span>/${pageMaker.endPage} 페이지)</p>
|
||||||
|
</div>
|
||||||
|
|
||||||
|
<div class="table_type_cols">
|
||||||
|
<table>
|
||||||
|
<colgroup>
|
||||||
|
<col style="width:68px;">
|
||||||
|
<col style="width:auto;">
|
||||||
|
<col style="width:10%;">
|
||||||
|
</colgroup>
|
||||||
|
<thead>
|
||||||
|
<tr>
|
||||||
|
<th>번호</th>
|
||||||
|
<th>제목</th>
|
||||||
|
<th>조회수</th>
|
||||||
|
</tr>
|
||||||
|
</thead>
|
||||||
|
<tbody>
|
||||||
|
|
||||||
|
<c:if test="${boardIdx == 'notice' }">
|
||||||
|
<c:if test="${not empty selectNotice}">
|
||||||
|
<c:forEach items="${selectNotice}" var="list" varStatus="status">
|
||||||
|
<li>
|
||||||
|
<span><strong>공지</strong></span><!--
|
||||||
|
--><span><a href="javascript:goPage('view', '${list.BBS_NO}');"><strong><c:out value="${list.BBS_TITLE}"/></strong></a></span><!--
|
||||||
|
--><span><strong><c:out value="${list.BBS_CNT}"/></strong></span>
|
||||||
|
</li>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
</c:if>
|
||||||
|
<c:if test="${not empty bbsList}">
|
||||||
|
<c:forEach items="${bbsList}" var="list" varStatus="status">
|
||||||
|
<tr>
|
||||||
|
<td class="table_number"><c:out value="${(pageMaker.totalCount - ((pageMaker.cri.page-1)*pageMaker.cri.perPageNum)) - status.index}"/></td>
|
||||||
|
<td class="td_title"><a href="javascript:goPage('view', '${list.BBS_NO}');" class="list_title"><c:out value="${list.BBS_TITLE}"/></a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i><c:out value="${list.BBS_CNT}"/></td>
|
||||||
|
</tr>
|
||||||
|
</c:forEach>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<c:if test="${empty bbsList}">
|
||||||
|
<tr class="tr_list_none">
|
||||||
|
<td colspan="3" class="list_none">등록된 데이터가 없습니다.</td>
|
||||||
|
</tr>
|
||||||
|
</c:if>
|
||||||
|
|
||||||
|
<!--
|
||||||
|
<tr class="tr_list_none">
|
||||||
|
<td colspan="3" class="list_none">등록된 데이터가 없습니다.</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
<!--
|
||||||
|
<tr>
|
||||||
|
<td class="table_number">330</td>
|
||||||
|
<td class="td_title"><a href="#none" class="list_title">(가맹) 법에서 조정제외대상으로 지정한 것은 무엇입니까?</a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i>110</td>
|
||||||
|
</tr>
|
||||||
|
<tr>
|
||||||
|
<td class="table_number">330</td>
|
||||||
|
<td class="td_title"><a href="#none" class="list_title">(가맹)(2021)(편의점 가맹본부의 부당한 손해배상 의무 부담 관련 분쟁조정 사례)</a></td>
|
||||||
|
<td><i class="icon td_view hide td_icon"></i>110</td>
|
||||||
|
</tr>
|
||||||
|
-->
|
||||||
|
</tbody>
|
||||||
|
</table>
|
||||||
|
</div>
|
||||||
|
<!-- //table -->
|
||||||
|
|
||||||
|
<ul class="page">
|
||||||
|
|
||||||
|
<li><a href="javascript:goPage('paging', '1')" class="btn only_icon btn_40 btn_page_first" title="첫 페이지 이동"><i class="icon page_first"></i></a></li>
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${pageMaker.prev}">
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page - 1}')" class="btn only_icon btn_40 btn_page_prev" title="이전 페이지 이동"><i class="icon page_prev"></i></a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page}')" class="btn only_icon btn_40 btn_page_prev" title="이전 페이지 이동"><i class="icon page_prev"></i></a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
|
||||||
|
<c:forEach begin="${pageMaker.startPage}" end="${pageMaker.endPage }" var="idx">
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${idx == pageMaker.cri.page }">
|
||||||
|
<li><a href="javascript:goPage('paging', '${idx}')" class="btn btn_40 active" title="${idx} 페이지 이동">${idx}</a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${idx}')" class="btn btn_40" title="${idx} 페이지 이동">${idx}</a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
</c:forEach>
|
||||||
|
|
||||||
|
<c:choose>
|
||||||
|
<c:when test="${pageMaker.next}">
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page + 1}')" class="btn only_icon btn_40 btn_page_next" title="다음 페이지 이동"><i class="icon page_next"></i></a></li>
|
||||||
|
</c:when>
|
||||||
|
<c:otherwise>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.cri.page}')" class="btn only_icon btn_40 btn_page_next" title="다음 페이지 이동"><i class="icon page_next"></i></a></li>
|
||||||
|
</c:otherwise>
|
||||||
|
</c:choose>
|
||||||
|
<li><a href="javascript:goPage('paging', '${pageMaker.endPage}')" class="btn only_icon btn_40 btn_page_last" title="마지막 페이지 이동"><i class="icon page_last"></i></a></li>
|
||||||
|
|
||||||
|
</ul>
|
||||||
|
</form>
|
||||||
|
</div>
|
||||||
Loading…
Reference in New Issue
Block a user