2024-09-20 12:36 사이트관리 내용 수정
This commit is contained in:
parent
ce969484dc
commit
8483ce4f3f
@ -0,0 +1,7 @@
|
||||
package seed.common.service;
|
||||
|
||||
public interface CommonErrorLogsService {
|
||||
|
||||
//CommonController
|
||||
public void setCommonErrorLogsRegProc(String pageUrl, String memberIp, String errorType);
|
||||
}
|
||||
@ -0,0 +1,57 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.util.Date;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.ErrorLogsDAO;
|
||||
import seed.map.T_ERROR_LOGS;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class CommonErrorLogsServiceImpl extends AbstractServiceImpl implements CommonErrorLogsService{
|
||||
|
||||
@Autowired
|
||||
private ErrorLogsDAO errorLogsDAO;
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public void setCommonErrorLogsRegProc(String pageUrl, String memberIp, String errorType){
|
||||
|
||||
T_ERROR_LOGS tErrorLogs = new T_ERROR_LOGS();
|
||||
|
||||
if(pageUrl.indexOf("https") > -1){
|
||||
pageUrl = pageUrl.replaceAll("https://", "");
|
||||
pageUrl = pageUrl.substring(pageUrl.indexOf("/"));
|
||||
}else if(pageUrl.indexOf("http") > -1){
|
||||
pageUrl = pageUrl.replaceAll("http://", "");
|
||||
pageUrl = pageUrl.substring(pageUrl.indexOf("/"));
|
||||
}
|
||||
|
||||
tErrorLogs.setErrorLogsTitle(SeedUtils.getByteCut(pageUrl, 500, 0));
|
||||
|
||||
if(errorType.equals("400")){
|
||||
tErrorLogs.setErrorLogsContents("400 BAD REQUES ERROR.");
|
||||
}else if(errorType.equals("403")){
|
||||
tErrorLogs.setErrorLogsContents("403 FORBIDDEN ERROR.");
|
||||
}else if(errorType.equals("404")){
|
||||
tErrorLogs.setErrorLogsContents("404 PAGE NOT FOUND ERROR.");
|
||||
}else if(errorType.equals("405")){
|
||||
tErrorLogs.setErrorLogsContents("405 METHOD NOT ALLOWED ERROR.");
|
||||
}else if(errorType.equals("500")){
|
||||
tErrorLogs.setErrorLogsContents("500 METHOD NOT ALLOWED.");
|
||||
}
|
||||
|
||||
tErrorLogs.setErrorLogsIp(memberIp);
|
||||
tErrorLogs.setErrorLogsRegDate(new Date());
|
||||
tErrorLogs.setErrorLogsType(errorType);
|
||||
tErrorLogs.setErrorLogsUrl(pageUrl);
|
||||
tErrorLogs.setErrorLogsUrlParams("");
|
||||
|
||||
errorLogsDAO.setErrorLogsRegProc(tErrorLogs);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,24 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import seed.map.T_FILE_DOWNLOAD;
|
||||
|
||||
public interface CommonFileDownLoadService {
|
||||
|
||||
//CommonController
|
||||
public long getCommonFileDownLoadCnt(String funcType, String funcSetIdx, String funcDataIdx);
|
||||
|
||||
//CommonController
|
||||
public List<T_FILE_DOWNLOAD> getCommonFileDownLoadList(String funcType, String funcSetIdx, String funcDataIdx, int page, int row, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public List<T_FILE_DOWNLOAD> getCommonFileDownLoadList(String funcType, String funcSetIdx, String funcDataIdx);
|
||||
|
||||
//CommonController
|
||||
public boolean setCommonFileDownLoadDelProc(String funcType, String funcSetIdx, String funcDataIdx);
|
||||
|
||||
//CommonController
|
||||
public boolean setCommonFileDownLoadProc(String funcType, String funcSetIdx, String funcDataIdx, String fileName, String fileReName,
|
||||
String memberId, String memberName, String memberIp);
|
||||
}
|
||||
@ -0,0 +1,63 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.FileDownLoadDAO;
|
||||
import seed.map.T_FILE_DOWNLOAD;
|
||||
|
||||
@Service
|
||||
public class CommonFileDownLoadServiceImpl extends AbstractServiceImpl implements CommonFileDownLoadService{
|
||||
|
||||
@Autowired
|
||||
private FileDownLoadDAO fileDownLoadDAO;
|
||||
|
||||
public long getCommonFileDownLoadCnt(String funcType, String funcSetIdx, String funcDataIdx){
|
||||
|
||||
return fileDownLoadDAO.getFileDownLoadCnt(funcType, funcSetIdx, funcDataIdx);
|
||||
}
|
||||
|
||||
public List<T_FILE_DOWNLOAD> getCommonFileDownLoadList(String funcType, String funcSetIdx, String funcDataIdx, int page, int row, String[] qryColumns){
|
||||
|
||||
return fileDownLoadDAO.getFileDownLoadList(funcType, funcSetIdx, funcDataIdx, ((page-1) * row), row, qryColumns);
|
||||
}
|
||||
|
||||
public List<T_FILE_DOWNLOAD> getCommonFileDownLoadList(String funcType, String funcSetIdx, String funcDataIdx){
|
||||
|
||||
return fileDownLoadDAO.getFileDownLoadList(funcType, funcSetIdx, funcDataIdx);
|
||||
}
|
||||
|
||||
public boolean setCommonFileDownLoadDelProc(String funcType, String funcSetIdx, String funcDataIdx){
|
||||
|
||||
T_FILE_DOWNLOAD tFileDownLoad = new T_FILE_DOWNLOAD();
|
||||
|
||||
tFileDownLoad.setFuncType(funcType);
|
||||
tFileDownLoad.setFuncSetIdx(funcSetIdx);
|
||||
tFileDownLoad.setFuncDataIdx(funcDataIdx);
|
||||
|
||||
return fileDownLoadDAO.setFileDownLoadDelProc(tFileDownLoad);
|
||||
}
|
||||
|
||||
public boolean setCommonFileDownLoadProc(String funcType, String funcSetIdx, String funcDataIdx, String fileName, String fileReName,
|
||||
String memberId, String memberName, String memberIp){
|
||||
|
||||
T_FILE_DOWNLOAD tFileDownLoad = new T_FILE_DOWNLOAD();
|
||||
|
||||
tFileDownLoad.setFuncType(funcType);
|
||||
tFileDownLoad.setFuncSetIdx(funcSetIdx);
|
||||
tFileDownLoad.setFuncDataIdx(funcDataIdx);
|
||||
tFileDownLoad.setFileName(fileName);
|
||||
tFileDownLoad.setFileReName(fileReName);
|
||||
tFileDownLoad.setMemberId(memberId);
|
||||
tFileDownLoad.setMemberName(memberName);
|
||||
tFileDownLoad.setMemberIp(memberIp);
|
||||
tFileDownLoad.setFileDownLoadDate(new Date());
|
||||
|
||||
return fileDownLoadDAO.setFileDownLoadProc(tFileDownLoad);
|
||||
}
|
||||
}
|
||||
47
src/main/java/seed/common/service/CommonMessageService.java
Normal file
47
src/main/java/seed/common/service/CommonMessageService.java
Normal file
@ -0,0 +1,47 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import seed.map.T_MESSAGE;
|
||||
import seed.map.T_MESSAGE_FILE;
|
||||
import seed.map.VIEW_MESSAGE;
|
||||
|
||||
public interface CommonMessageService {
|
||||
|
||||
//CommonController
|
||||
public T_MESSAGE getMessageForm(Integer messageIdx);
|
||||
|
||||
//CommonController
|
||||
public VIEW_MESSAGE getMessageViewForm(Integer messageIdx);
|
||||
|
||||
//CommonController
|
||||
public Map<Object, Object> getMessagePreFrom(Integer messageIdx, String messageStatus, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public Map<Object, Object> getMessageNextFrom(Integer messageIdx, String messageStatus, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public Long getMessageCnt(Integer memberIdx, String messageStatus, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public List<VIEW_MESSAGE> getMessageList(Integer memberIdx, Integer page, Integer row, String[] qryColumns, String messageStatus, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public T_MESSAGE_FILE getMessageFileForm(Integer fileIdx);
|
||||
|
||||
//CommonController
|
||||
public List<T_MESSAGE_FILE> getMessageFileList(Integer messageIdx);
|
||||
|
||||
//CommonController
|
||||
public void setMessageStatusProc(Integer messageIdx);
|
||||
|
||||
//CommonController
|
||||
public Integer setMessageRegProc(T_MESSAGE tMessage, Integer memberIdx, String fileCode, String rootPath);
|
||||
|
||||
//CommonController
|
||||
public String setMessageDelProc(Integer messageIdx, Integer memberIdx, String rootPath);
|
||||
|
||||
//CommonController
|
||||
public void setMessageProc(Integer memberIdx, String rootPath, Long messageCountLimit);
|
||||
}
|
||||
213
src/main/java/seed/common/service/CommonMessageServiceImpl.java
Normal file
213
src/main/java/seed/common/service/CommonMessageServiceImpl.java
Normal file
@ -0,0 +1,213 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.CommonFileDAO;
|
||||
import seed.dao.CommonMessageDAO;
|
||||
import seed.map.T_COMMON_FILE;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_MESSAGE;
|
||||
import seed.map.T_MESSAGE_FILE;
|
||||
import seed.map.VIEW_MESSAGE;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class CommonMessageServiceImpl extends AbstractServiceImpl implements CommonMessageService{
|
||||
|
||||
@Autowired
|
||||
private CommonMessageDAO commonMessageDAO;
|
||||
|
||||
@Autowired
|
||||
private CommonFileDAO commonFileDAO;
|
||||
|
||||
@Autowired
|
||||
private CommonFileService commonFileService;
|
||||
|
||||
public T_MESSAGE getMessageForm(Integer messageIdx){
|
||||
|
||||
return commonMessageDAO.getMessageForm(messageIdx);
|
||||
}
|
||||
|
||||
public VIEW_MESSAGE getMessageViewForm(Integer messageIdx){
|
||||
|
||||
VIEW_MESSAGE viewMessageDB = commonMessageDAO.getMessageViewForm(messageIdx);
|
||||
|
||||
String messageContent = viewMessageDB.getMessageContent().replaceAll("\\n", "<br/>").replaceAll(" ", " ");
|
||||
|
||||
viewMessageDB.setMessageContent(messageContent);
|
||||
|
||||
return viewMessageDB;
|
||||
}
|
||||
|
||||
public Map<Object, Object> getMessagePreFrom(Integer messageIdx, String messageStatus, String column, String search, String[] qryColumns){
|
||||
|
||||
return commonMessageDAO.getMessagePreFrom(messageIdx, messageStatus, column, search, qryColumns);
|
||||
}
|
||||
|
||||
public Map<Object, Object> getMessageNextFrom(Integer messageIdx, String messageStatus, String column, String search, String[] qryColumns){
|
||||
|
||||
return commonMessageDAO.getMessageNextFrom(messageIdx, messageStatus, column, search, qryColumns);
|
||||
}
|
||||
|
||||
public Long getMessageCnt(Integer memberIdx, String messageStatus, String column, String search){
|
||||
|
||||
return commonMessageDAO.getMessageCnt(memberIdx, messageStatus, column, search);
|
||||
}
|
||||
|
||||
public List<VIEW_MESSAGE> getMessageList(Integer memberIdx, Integer page, Integer row, String[] qryColumns, String messageStatus, String column, String search){
|
||||
|
||||
return commonMessageDAO.getMessageList(memberIdx, ((page-1)*row), row, qryColumns, messageStatus, column, search);
|
||||
}
|
||||
|
||||
public T_MESSAGE_FILE getMessageFileForm(Integer fileIdx){
|
||||
|
||||
return commonMessageDAO.getMessageFileForm(fileIdx);
|
||||
}
|
||||
|
||||
public List<T_MESSAGE_FILE> getMessageFileList(Integer messageIdx){
|
||||
|
||||
return commonMessageDAO.getMessageFileList(messageIdx);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void setMessageStatusProc(Integer messageIdx){
|
||||
|
||||
T_MESSAGE tMessageDB = commonMessageDAO.getMessageForm(messageIdx);
|
||||
tMessageDB.setMessageModdate(new Date());
|
||||
tMessageDB.setMessageStatus("Y");
|
||||
commonMessageDAO.setMessageStatusProc(tMessageDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public Integer setMessageRegProc(T_MESSAGE tMessage, Integer memberIdx, String fileCode, String rootPath){
|
||||
|
||||
Integer messageIdx = 0;
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tMessage.settMember(tMember);
|
||||
tMessage.setMessageRegDate(new Date());
|
||||
tMessage.setMessageModdate(new Date());
|
||||
tMessage.setMessageStatus("N");
|
||||
|
||||
T_MESSAGE tMessageDB = commonMessageDAO.setMessageRegProc(tMessage);
|
||||
|
||||
if(tMessageDB != null){
|
||||
|
||||
messageIdx = tMessageDB.getMessageIdx();
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String toDate = sdfFormat.format(new Date()).substring(0, 8);
|
||||
|
||||
List<T_COMMON_FILE> tCommonFileList = commonFileDAO.getCommonFileList(0, fileCode);
|
||||
|
||||
if(tCommonFileList != null && tCommonFileList.size() > 0){
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/upload/message/"+messageIdx);
|
||||
|
||||
for(int i=0; i<tCommonFileList.size(); i++){
|
||||
|
||||
String reFileName = "message_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
T_COMMON_FILE tCommonFile = tCommonFileList.get(i);
|
||||
|
||||
SeedUtils.setSeedMoveFile(rootPath + "/"+fileCode+"/upload/tempFiles/"+toDate+"/"+tCommonFile.getCommonFileCode()+"/"+
|
||||
tCommonFile.getCommonFileReName(), rootPath + "/upload/message/"+messageIdx+"/"+reFileName+"."+tCommonFile.getCommonFileType());
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/"+fileCode+"/upload/tempFiles/"+toDate+"/"+tCommonFile.getCommonFileCode()+"/thumb_"+tCommonFile.getCommonFileReName());
|
||||
|
||||
T_MESSAGE_FILE tMessageFile = new T_MESSAGE_FILE();
|
||||
|
||||
tMessageFile.setMessageFileName(tCommonFile.getCommonFileName());
|
||||
tMessageFile.setMessageFileRename(reFileName+"."+tCommonFile.getCommonFileType());
|
||||
tMessageFile.setMessageFileSize(tCommonFile.getCommonFileSize());
|
||||
tMessageFile.setMessageFileType(tCommonFile.getCommonFileType());
|
||||
tMessageFile.setMessageFileText(tCommonFile.getCommonFileText());
|
||||
tMessageFile.setMessageFileEncryption(tCommonFile.getCommonFileEncryption());
|
||||
tMessageFile.setMessageFileRegdate(new Date());
|
||||
tMessageFile.settMessage(tMessage);
|
||||
|
||||
if(commonMessageDAO.setMessageFileRegProc(tMessageFile)){
|
||||
commonFileService.setCommonFileDelProc(tCommonFile.getCommonFileIdx(), "message", rootPath);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return messageIdx;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public String setMessageDelProc(Integer messageIdx, Integer memberIdx, String rootPath){
|
||||
|
||||
String success = "N";
|
||||
|
||||
T_MESSAGE tMessageDB = commonMessageDAO.getMessageForm(messageIdx);
|
||||
|
||||
if(tMessageDB != null){
|
||||
|
||||
if(!tMessageDB.gettMember().getMemberIdx().equals(memberIdx)){
|
||||
success = "GRANT";
|
||||
return success;
|
||||
}
|
||||
|
||||
List<T_MESSAGE_FILE> tMessageFileList = commonMessageDAO.getMessageFileList(tMessageDB.getMessageIdx());
|
||||
|
||||
if(tMessageFileList != null && tMessageFileList.size() > 0){
|
||||
for(int i=0; i<tMessageFileList.size(); i++){
|
||||
|
||||
T_MESSAGE_FILE tMessageFileDB = tMessageFileList.get(i);
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/upload/message/" + tMessageDB.getMessageIdx() + "/" + tMessageFileDB.getMessageFileRename());
|
||||
|
||||
commonMessageDAO.setMessageFileDelProc(tMessageFileDB);
|
||||
}
|
||||
}
|
||||
|
||||
if(commonMessageDAO.setMessageDelProc(tMessageDB)){
|
||||
success = "Y";
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public void setMessageProc(Integer memberIdx, String rootPath, Long messageCountLimit){
|
||||
|
||||
if(commonMessageDAO.getMessageCnt(memberIdx) > messageCountLimit){
|
||||
|
||||
List<T_MESSAGE> tMessageList = commonMessageDAO.getMessageList(memberIdx);
|
||||
|
||||
if(tMessageList != null && tMessageList.size() > 0){
|
||||
|
||||
for(int i=0; i<tMessageList.size(); i++){
|
||||
T_MESSAGE tMessageDB = tMessageList.get(i);
|
||||
|
||||
List<T_MESSAGE_FILE> tMessageFileList = commonMessageDAO.getMessageFileList(tMessageDB.getMessageIdx());
|
||||
|
||||
if(tMessageFileList != null && tMessageFileList.size() > 0){
|
||||
for(int j=0; j<tMessageFileList.size(); j++){
|
||||
|
||||
T_MESSAGE_FILE tMessageFileDB = tMessageFileList.get(j);
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/upload/message/" + tMessageDB.getMessageIdx() + "/" + tMessageFileDB.getMessageFileRename());
|
||||
|
||||
commonMessageDAO.setMessageFileDelProc(tMessageFileDB);
|
||||
}
|
||||
}
|
||||
|
||||
commonMessageDAO.setMessageDelProc(tMessageDB);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
17
src/main/java/seed/common/service/CommonPostCodeService.java
Normal file
17
src/main/java/seed/common/service/CommonPostCodeService.java
Normal file
@ -0,0 +1,17 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import seed.map.T_POSTCODE;
|
||||
|
||||
public interface CommonPostCodeService {
|
||||
|
||||
//CommonController
|
||||
public List<T_POSTCODE> getCommonPostCodeList(String search);
|
||||
|
||||
//CommonController
|
||||
public Long getCommonPostCodeListCnt();
|
||||
|
||||
//CommonController
|
||||
public boolean setCommonPostCodeRegProc(String rootPath);
|
||||
}
|
||||
112
src/main/java/seed/common/service/CommonPostCodeServiceImpl.java
Normal file
112
src/main/java/seed/common/service/CommonPostCodeServiceImpl.java
Normal file
@ -0,0 +1,112 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.io.BufferedReader;
|
||||
import java.io.FileInputStream;
|
||||
import java.io.FileNotFoundException;
|
||||
import java.io.IOException;
|
||||
import java.io.InputStreamReader;
|
||||
import java.io.UnsupportedEncodingException;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.CommonPostCodeDAO;
|
||||
import seed.map.T_POSTCODE;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class CommonPostCodeServiceImpl extends AbstractServiceImpl implements CommonPostCodeService{
|
||||
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
@Autowired
|
||||
private CommonPostCodeDAO commonPostCodeDAO;
|
||||
|
||||
//CommonController
|
||||
public List<T_POSTCODE> getCommonPostCodeList(String search){
|
||||
|
||||
return commonPostCodeDAO.getCommonPostCodeList(search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getCommonPostCodeListCnt(){
|
||||
|
||||
return commonPostCodeDAO.getCommonPostCodeListCnt();
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setCommonPostCodeRegProc(String rootPath){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
FileInputStream fileInputStream = null;
|
||||
InputStreamReader inputStreamReader = null;
|
||||
BufferedReader bufferedReader = null;
|
||||
rootPath = SeedUtils.setFilePathReplaceAll(rootPath);
|
||||
|
||||
try{
|
||||
|
||||
fileInputStream = new FileInputStream(rootPath.replaceAll("/site", "")+"/_common/jsp/postCode.txt");
|
||||
inputStreamReader = new InputStreamReader(fileInputStream, "euc-kr");
|
||||
bufferedReader = new BufferedReader(inputStreamReader);
|
||||
|
||||
int totCnt = 0;
|
||||
String s;
|
||||
|
||||
while((s=bufferedReader.readLine()) != null){
|
||||
|
||||
T_POSTCODE tPostCode = new T_POSTCODE();
|
||||
|
||||
totCnt++;
|
||||
int charCnt = 0;
|
||||
int seq = totCnt;
|
||||
|
||||
String zipcode = s.substring( 0, 7 );
|
||||
|
||||
charCnt = zipcode.length() + 1;
|
||||
String sido = s.substring( charCnt, s.indexOf( '|', charCnt ) );
|
||||
|
||||
charCnt += sido.length() + 1;
|
||||
String gugun = s.substring( charCnt, s.indexOf( '|', charCnt ) );
|
||||
|
||||
charCnt += gugun.length() + 1;
|
||||
String dong = s.substring( charCnt, s.indexOf( '|', charCnt ) );
|
||||
|
||||
charCnt += dong.length() + 1;
|
||||
String bunji = s.substring( charCnt, s.indexOf( '|', charCnt ) );
|
||||
|
||||
tPostCode.setZipCode(zipcode.trim());
|
||||
tPostCode.setSido(sido.trim());
|
||||
tPostCode.setGugun(gugun.trim());
|
||||
tPostCode.setDong(dong.trim());
|
||||
tPostCode.setBunji(bunji.trim());
|
||||
tPostCode.setSeq(seq);
|
||||
|
||||
if(commonPostCodeDAO.setCommonPostCodeRegProc(tPostCode)){
|
||||
success = true;
|
||||
}
|
||||
}
|
||||
}catch (UnsupportedEncodingException e){
|
||||
success = false;
|
||||
log.error("CHECK ERROR:",e);
|
||||
}catch (FileNotFoundException e){
|
||||
success = false;
|
||||
log.error("CHECK ERROR:",e);
|
||||
}catch (IOException e){
|
||||
success = false;
|
||||
log.error("CHECK ERROR:",e);
|
||||
}finally{
|
||||
if(bufferedReader!=null){try{bufferedReader.close();}catch(IOException e){log.error("CHECK ERROR:",e);}}
|
||||
if(inputStreamReader!=null){try{inputStreamReader.close();}catch(IOException e){log.error("CHECK ERROR:",e);}}
|
||||
if(fileInputStream!=null){try{fileInputStream.close();}catch(IOException e){log.error("CHECK ERROR:",e);}}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,8 @@
|
||||
package seed.common.service;
|
||||
|
||||
public interface CommonStatisticsService {
|
||||
|
||||
//CommonController
|
||||
public void setCommonStatisticsRegProc(String pageUrl, String memberIp, String accessSessionId, String statisticsType, String rootPath);
|
||||
|
||||
}
|
||||
@ -0,0 +1,201 @@
|
||||
package seed.common.service;
|
||||
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.apache.commons.collections4.map.CaseInsensitiveMap;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.AccessStatisticsDAO;
|
||||
import seed.dao.MenuStatisticsDAO;
|
||||
import seed.dao.SiteStatisticsDAO;
|
||||
import seed.map.T_ACCESS_STATISTICS;
|
||||
import seed.map.T_MENU_STATISTICS;
|
||||
import seed.map.T_SITE_STATISTICS;
|
||||
import seed.utils.SeedDateUtil;
|
||||
import seed.utils.SeedExcelCreate;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class CommonStatisticsServiceImpl extends AbstractServiceImpl implements CommonStatisticsService{
|
||||
|
||||
@Autowired
|
||||
private AccessStatisticsDAO accessStatisticsDAO;
|
||||
|
||||
@Autowired
|
||||
private MenuStatisticsDAO hmenuStatisticsDAO;
|
||||
|
||||
@Autowired
|
||||
private SiteStatisticsDAO hsiteStatisticsDAO;
|
||||
|
||||
//CommonController
|
||||
/**
|
||||
* statisticsType 값에 따라서 접속 정보를 중복 저장 할지와 어떤 데이터를 기준으로 등록 할지를 결정 합니다.
|
||||
* (none: 중복체크하지 않음, sessionId: 세션아이디를 기준으로 중복 체크, accessIp: 접속 아이피를 기준으로 중복체크)
|
||||
* @param String pageUrl 접속 url
|
||||
* @param String accessIp 접속 아이피
|
||||
* @param String sessionId 접속 세션아이디
|
||||
* @param String statisticsType 중복체크 여부 및 타입
|
||||
* */
|
||||
@Transactional
|
||||
public void setCommonStatisticsRegProc(String pageUrl, String accessIp, String accessSessionId, String statisticsType, String rootPath){
|
||||
if(pageUrl != null && !pageUrl.equals("")){
|
||||
Date toDate = new Date();
|
||||
|
||||
if(pageUrl.indexOf("?") > 0){
|
||||
pageUrl = pageUrl.substring(0, pageUrl.lastIndexOf("?"));
|
||||
}
|
||||
//개발된 jsp페이지와 미리보기는 제외
|
||||
//에러페이지에서 넘어왔거나, 메세지 페이지로 이동하는경우는 로그를 쌓지않는다.
|
||||
if(pageUrl.indexOf(".jsp") > -1 || pageUrl.indexOf("preViewHtml") > -1 || pageUrl.indexOf("/jsp/Page.do") > -1 || pageUrl.indexOf("message.do") >-1){
|
||||
return;
|
||||
}
|
||||
|
||||
if(pageUrl.indexOf("#") > -1){
|
||||
pageUrl = pageUrl.substring(0, pageUrl.indexOf("#"));
|
||||
}
|
||||
|
||||
CaseInsensitiveMap<String, String> dataMap = pageUrlDataExtraction(pageUrl);
|
||||
String siteIdx = (String)dataMap.get("siteIdx");
|
||||
//siteMenuIdx의 값이 없는 경우 무조건 0이 들어가게 설정을 하기 때문에 0인 경우 메인 페이지 접근 이라고 보면 됩니다.
|
||||
String siteMenuIdx = SeedUtils.setReplaceNull(dataMap.get("siteMenuIdx"),"0");
|
||||
|
||||
boolean redundancyChkOk = true;
|
||||
SeedDateUtil seedDateUtil = new SeedDateUtil(toDate);
|
||||
int year = seedDateUtil.getYear();
|
||||
int month = seedDateUtil.getMonth();
|
||||
int day = seedDateUtil.getDay();
|
||||
int hour = seedDateUtil.getHour();
|
||||
|
||||
if("sessionId".equals(statisticsType)){
|
||||
if(hsiteStatisticsDAO.getHsiteStatisticsCnt(siteIdx, Integer.parseInt(siteMenuIdx), year, month, day, accessSessionId, null)>0L){
|
||||
redundancyChkOk = false;
|
||||
}
|
||||
}
|
||||
if("accessIp".equals(statisticsType)){
|
||||
if(hsiteStatisticsDAO.getHsiteStatisticsCnt(siteIdx, Integer.parseInt(siteMenuIdx), year, month, day, null, accessIp)>0L){
|
||||
redundancyChkOk = false;
|
||||
}
|
||||
}
|
||||
|
||||
if(redundancyChkOk){
|
||||
Date preDate = seedDateUtil.dayCalForStr(-1, "day");
|
||||
SeedDateUtil seedDateUtil2 = new SeedDateUtil(preDate);
|
||||
int preYear = seedDateUtil2.getYear();
|
||||
int preMonth = seedDateUtil2.getMonth();
|
||||
int preDay = seedDateUtil2.getDay();
|
||||
|
||||
String[] titleColumn = {"사이트아이디", "메뉴아이디", "접속URL", "접속 년도", "접속 월", "접속 일", "접속 시간", "접속 세션 아이디", "접속 아이피", "등록일"};
|
||||
String[] selectColumn = {"siteIdx", "siteMenuIdx", "siteStatisticsUrl", "siteStatisticsYear", "siteStatisticsMonth", "siteStatisticsDay", "siteStatisticsHour", "accessSessionId", "accessIp", "siteStatisticsRegDate"};
|
||||
String[] dataType = {"String", "Integer", "String", "Integer", "Integer", "Integer", "Integer", "String", "String", "Date"};
|
||||
ArrayList<HashMap<Object,Object>> dataList = hsiteStatisticsDAO.getHsiteStatisticsList(siteIdx, preYear, preMonth, preDay, selectColumn);
|
||||
if(dataList!=null && dataList.size()>0){
|
||||
SeedExcelCreate seedExcelCreate = new SeedExcelCreate();
|
||||
seedExcelCreate.createExcelFileFromHashMap(true, rootPath+"/"+siteIdx+"/statistics_excel", preYear+"-"+preMonth+"-"+preDay+".xls", dataList, titleColumn, selectColumn, dataType, "접속로그");
|
||||
hsiteStatisticsDAO.setDeleteHsiteStatistics(siteIdx, preYear, preMonth, preDay);
|
||||
}
|
||||
|
||||
T_SITE_STATISTICS hsiteStatistics = new T_SITE_STATISTICS();
|
||||
hsiteStatistics.setSiteIdx(siteIdx);
|
||||
hsiteStatistics.setSiteMenuIdx(Integer.parseInt(siteMenuIdx));
|
||||
hsiteStatistics.setSiteStatisticsYear(year);
|
||||
hsiteStatistics.setSiteStatisticsMonth(month);
|
||||
hsiteStatistics.setSiteStatisticsDay(day);
|
||||
hsiteStatistics.setSiteStatisticsHour(hour);
|
||||
hsiteStatistics.setAccessIp(accessIp);
|
||||
hsiteStatistics.setAccessSessionId(accessSessionId);
|
||||
hsiteStatistics.setSiteStatisticsUrl(pageUrl);
|
||||
hsiteStatistics.setSiteStatisticsRegDate(toDate);
|
||||
if(hsiteStatisticsDAO.setInsertHsiteStatistics(hsiteStatistics)){
|
||||
if("0".equals(siteMenuIdx)){
|
||||
T_ACCESS_STATISTICS haccessStatistics = accessStatisticsDAO.getAccessStatisticsInfo(siteIdx, year, month, day, hour);
|
||||
if(haccessStatistics!=null){
|
||||
int count = haccessStatistics.getAccessCount();
|
||||
haccessStatistics.setAccessCount(count+1);
|
||||
accessStatisticsDAO.setUpdateAccessStatistics(haccessStatistics);
|
||||
}else{
|
||||
haccessStatistics = new T_ACCESS_STATISTICS();
|
||||
haccessStatistics.setSiteIdx(siteIdx);
|
||||
haccessStatistics.setAccessYear(year);
|
||||
haccessStatistics.setAccessMonth(month);
|
||||
haccessStatistics.setAccessDay(day);
|
||||
haccessStatistics.setAccessHour(hour);
|
||||
haccessStatistics.setAccessCount(1);
|
||||
haccessStatistics.setRegDate(toDate);
|
||||
accessStatisticsDAO.setInsertAccessStatistics(haccessStatistics);
|
||||
}
|
||||
}else{
|
||||
T_MENU_STATISTICS hmenuStatistics = hmenuStatisticsDAO.getHmenuStatisticsInfo(siteIdx, Integer.parseInt(siteMenuIdx), year, month, day, hour);
|
||||
if(hmenuStatistics!=null){
|
||||
int count = hmenuStatistics.getAccessCount();
|
||||
hmenuStatistics.setAccessCount(count+1);
|
||||
hmenuStatisticsDAO.setUpdateHmenuStatistics(hmenuStatistics);
|
||||
}else{
|
||||
hmenuStatistics = new T_MENU_STATISTICS();
|
||||
hmenuStatistics.setSiteIdx(siteIdx);
|
||||
hmenuStatistics.setAccessYear(year);
|
||||
hmenuStatistics.setAccessMonth(month);
|
||||
hmenuStatistics.setAccessDay(day);
|
||||
hmenuStatistics.setAccessHour(hour);
|
||||
hmenuStatistics.setAccessCount(1);
|
||||
hmenuStatistics.setRegDate(toDate);
|
||||
hmenuStatistics.setSiteMenuIdx(Integer.parseInt(siteMenuIdx));
|
||||
hmenuStatisticsDAO.setInsertHmenuStatistics(hmenuStatistics);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
public CaseInsensitiveMap<String, String> pageUrlDataExtraction(String pageUrl){
|
||||
|
||||
CaseInsensitiveMap<String, String> dataMap = new CaseInsensitiveMap<String, String>();
|
||||
String siteIdx = "";
|
||||
String siteMenuIdx = "";
|
||||
|
||||
if(pageUrl.indexOf("jsessionid") > -1){
|
||||
pageUrl = pageUrl.substring(0, pageUrl.indexOf("jsessionid"));
|
||||
}
|
||||
|
||||
if(pageUrl.indexOf("/user/") >= 0){
|
||||
String[] pageUrls = pageUrl.substring(pageUrl.indexOf("/user/")).split("/");
|
||||
if(pageUrl.indexOf("/mypage") >= 0){
|
||||
siteIdx = pageUrls[3];
|
||||
//mypage의 edit인 경우
|
||||
if(pageUrls.length > 6){
|
||||
siteMenuIdx = pageUrls[5];
|
||||
}else{
|
||||
siteMenuIdx = pageUrls[4];
|
||||
}
|
||||
}else if(pageUrl.indexOf("/extra/") >= 0 && pageUrl.indexOf("/jsp/LayOutPage.do") >= 0){
|
||||
siteIdx = pageUrls[3];
|
||||
siteMenuIdx = pageUrls[4];
|
||||
}else if(pageUrl.indexOf("/login") >= 0 || pageUrl.indexOf("/member") >= 0 || pageUrl.indexOf("/jsp/LayOutPage.do") >= 0){
|
||||
siteIdx = pageUrls[2];
|
||||
siteMenuIdx = pageUrls[3];
|
||||
}else{
|
||||
siteIdx = pageUrls[3];
|
||||
siteMenuIdx = pageUrls[5];
|
||||
}
|
||||
}else if(pageUrl.indexOf("/index") >= 0){
|
||||
String[] pageUrls = pageUrl.split("/");
|
||||
siteIdx = pageUrls[3];
|
||||
}else if(pageUrl.indexOf("/subIndex") >= 0){
|
||||
String[] pageUrls = pageUrl.split("/");
|
||||
siteIdx = pageUrls[3];
|
||||
siteMenuIdx = pageUrl.substring(pageUrl.lastIndexOf("/")+1);
|
||||
}
|
||||
if(siteMenuIdx.indexOf(".do")>-1){
|
||||
siteMenuIdx = siteMenuIdx.replaceAll(".do", "");
|
||||
}
|
||||
dataMap.put("siteIdx", siteIdx);
|
||||
dataMap.put("siteMenuIdx", siteMenuIdx);
|
||||
return dataMap;
|
||||
}
|
||||
}
|
||||
10309
src/main/java/seed/common/web/CommonController.java
Normal file
10309
src/main/java/seed/common/web/CommonController.java
Normal file
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,40 @@
|
||||
package seed.manager.formbuilder.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import seed.map.T_FORMBUILDER_DATA;
|
||||
|
||||
public interface ManagerFormbuilderDataService {
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public T_FORMBUILDER_DATA getFormbuilderDataForm(Integer formbuilderDataIdx);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public Long getFormbuilderDataListCnt(Integer formbuilderSetIdx, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataList(Integer formbuilderDataGroup);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataList(Integer formbuilderSetIdx, int page, int row, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataList(Integer formbuilderSetIdx, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataSubList(Integer formbuilderSetIdx);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public Integer setFormbuilderDataModProc(T_FORMBUILDER_DATA tFormbuilderData, String siteIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest,
|
||||
String fileEncryption, Integer[] formbuilderDataFileIdxs, String rootPath);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public boolean setFormbuilderDataDelProc(Integer formbuilderDataGroup, String siteIdx, String rootPath);
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public boolean setFormbuilderDataStatusProc(Integer formbuilderDataGroup, String status);
|
||||
}
|
||||
@ -0,0 +1,312 @@
|
||||
package seed.manager.formbuilder.service;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.Enumeration;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.FormbuilderDataDAO;
|
||||
import seed.map.T_FORMBUILDER_DATA;
|
||||
import seed.utils.SeedFileUtils;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class ManagerFormbuilderDataServiceImpl extends AbstractServiceImpl implements ManagerFormbuilderDataService{
|
||||
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
@Autowired
|
||||
private FormbuilderDataDAO formbuilderDataDAO;
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public T_FORMBUILDER_DATA getFormbuilderDataForm(Integer formbuilderDataIdx){
|
||||
|
||||
return formbuilderDataDAO.getFormbuilderDataForm(formbuilderDataIdx);
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public Long getFormbuilderDataListCnt(Integer formbuilderSetIdx, String column, String search, String[] qryColumns){
|
||||
|
||||
return formbuilderDataDAO.getFormbuilderDataListCnt(formbuilderSetIdx, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataList(Integer formbuilderDataGroup){
|
||||
|
||||
return formbuilderDataDAO.getFormbuilderDataList(formbuilderDataGroup);
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataList(Integer formbuilderSetIdx, int page, int row, String column, String search, String[] qryColumns){
|
||||
|
||||
return formbuilderDataDAO.getFormbuilderDataList(formbuilderSetIdx, ((page-1) * row), row, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataList(Integer formbuilderSetIdx, String column, String search, String[] qryColumns){
|
||||
|
||||
return formbuilderDataDAO.getFormbuilderDataList(formbuilderSetIdx, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
public List<T_FORMBUILDER_DATA> getFormbuilderDataSubList(Integer formbuilderSetIdx){
|
||||
|
||||
return formbuilderDataDAO.getFormbuilderDataSubList(formbuilderSetIdx);
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
@Transactional
|
||||
@SuppressWarnings("unchecked")
|
||||
public Integer setFormbuilderDataModProc(T_FORMBUILDER_DATA tFormbuilderData, String siteIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest,
|
||||
String fileEncryption, Integer[] formbuilderDataFileIdxs, String rootPath){
|
||||
|
||||
Integer formbuilderDataGroup = tFormbuilderData.getFormbuilderDataGroup();
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
try{
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + siteIdx + "/upload/formbuilder/" + tFormbuilderData.gettFormbuilderSet().getFormbuilderSetIdx());
|
||||
|
||||
ArrayList<Integer> formbuilderDataIdxs = new ArrayList<Integer>();
|
||||
|
||||
Enumeration<String> enumNames = httpServletRequest.getParameterNames();
|
||||
|
||||
while(enumNames.hasMoreElements()) { //POST로 넘어온 name만큼 while문
|
||||
|
||||
String formName = (String)enumNames.nextElement();
|
||||
String value[] = null;
|
||||
|
||||
if(formName.startsWith("formbuilderHiddenFile_")){ //formbuilderHiddenFile_가 있는 폼 데이타만 배열에 저장
|
||||
|
||||
value = httpServletRequest.getParameterValues(formName);
|
||||
|
||||
for(int i = 0 ; i < value.length ; i++) {
|
||||
if(value[i] != null && !value[i].equals("")){
|
||||
formbuilderDataIdxs.add(Integer.parseInt(value[i]));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
//기존의 데이타 삭제
|
||||
List<T_FORMBUILDER_DATA> tFormbuilderDataList = formbuilderDataDAO.getFormbuilderDataList(formbuilderDataGroup);
|
||||
|
||||
if(tFormbuilderDataList.size() > 0){
|
||||
for(int d=0; d<tFormbuilderDataList.size(); d++){
|
||||
|
||||
T_FORMBUILDER_DATA tFormbuilderDataDB = tFormbuilderDataList.get(d);
|
||||
|
||||
if(d == 0){//기존 데이타에서 memberIdx, memberEmail, memberName, memberIp, memberRegDate는 다시 담아서 INSERT 해야함
|
||||
tFormbuilderData.setFormbuilderDataMemberIdx(tFormbuilderDataDB.getFormbuilderDataMemberIdx());
|
||||
tFormbuilderData.setFormbuilderDataMemberEmail(tFormbuilderDataDB.getFormbuilderDataMemberEmail());
|
||||
tFormbuilderData.setFormbuilderDataMemberName(tFormbuilderDataDB.getFormbuilderDataMemberName());
|
||||
tFormbuilderData.setFormbuilderDataMemberIp(tFormbuilderDataDB.getFormbuilderDataMemberIp());
|
||||
tFormbuilderData.setFormbuilderDataRegDate(tFormbuilderDataDB.getFormbuilderDataRegDate());
|
||||
}
|
||||
|
||||
if(formbuilderDataIdxs.contains(tFormbuilderDataDB.getFormbuilderDataIdx())){ //첨부파일 제외하고 삭제
|
||||
|
||||
if(formbuilderDataFileIdxs.length > 0){ //formbuilderDataFileIdxs 에 있는 formbuilderDataIdx는 삭제
|
||||
|
||||
for(int f=0; f<formbuilderDataFileIdxs.length; f++){
|
||||
|
||||
if(formbuilderDataFileIdxs[f].equals(tFormbuilderDataDB.getFormbuilderDataIdx())){
|
||||
|
||||
if(!formbuilderDataDAO.setFormbuilderDataDelProc(tFormbuilderDataDB)){
|
||||
formbuilderDataGroup = 0;
|
||||
return formbuilderDataGroup;
|
||||
}else{
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + siteIdx + "/upload/formbuilder/" +
|
||||
tFormbuilderDataDB.gettFormbuilderSet().getFormbuilderSetIdx() + "/" + tFormbuilderDataDB.getFormbuilderDataReNameText());
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
continue;
|
||||
}
|
||||
|
||||
if(!formbuilderDataDAO.setFormbuilderDataDelProc(tFormbuilderDataDB)){
|
||||
formbuilderDataGroup = 0;
|
||||
return formbuilderDataGroup;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Enumeration<String> enumFormNames = httpServletRequest.getParameterNames();
|
||||
|
||||
while(enumFormNames.hasMoreElements()) { //POST로 넘어온 name만큼 while문
|
||||
|
||||
String formName = (String)enumFormNames.nextElement();
|
||||
|
||||
if(formName.startsWith("formbuilder_")){ //formbuilder_가 있는 폼 데이타만 저장
|
||||
|
||||
String formbuilderItemGroup = formName.substring(12);
|
||||
|
||||
String value[] = httpServletRequest.getParameterValues(formName);
|
||||
|
||||
for(int i = 0 ; i < value.length ; i++) {
|
||||
|
||||
tFormbuilderData.setFormbuilderItemGroup(Integer.parseInt(formbuilderItemGroup));
|
||||
tFormbuilderData.setFormbuilderDataGroup(formbuilderDataGroup);
|
||||
tFormbuilderData.setFormbuilderDataText(value[i]);
|
||||
tFormbuilderData.setFormbuilderDataStatus("U");
|
||||
|
||||
if(value[i].equals("formbuilder@seed@etc")){
|
||||
String etcValue[] = httpServletRequest.getParameterValues("etc_"+formbuilderItemGroup);
|
||||
tFormbuilderData.setFormbuilderDataEtc(etcValue[0]);
|
||||
}else{
|
||||
tFormbuilderData.setFormbuilderDataEtc("");
|
||||
}
|
||||
|
||||
if(formbuilderDataDAO.setFormbuilderDataRegProc(tFormbuilderData) == null){
|
||||
formbuilderDataGroup = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Iterator<String> iteratorfileNames = multipartHttpServletRequest.getFileNames();
|
||||
|
||||
while (iteratorfileNames.hasNext()) {
|
||||
|
||||
String formName = (String)iteratorfileNames.next();
|
||||
|
||||
if(formName.startsWith("formbuilderFile_")){ //formbuilderFile_가 있는 파일폼 데이타만 저장
|
||||
String formbuilderItemGroup = formName.substring(16);
|
||||
MultipartFile multipartFile = multipartHttpServletRequest.getFile(formName);
|
||||
|
||||
if(multipartFile != null && !multipartFile.isEmpty()){
|
||||
|
||||
String reFileName = tFormbuilderData.gettFormbuilderSet().getFormbuilderSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + siteIdx
|
||||
+ "/upload/formbuilder/" + tFormbuilderData.gettFormbuilderSet().getFormbuilderSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
multipartFile.transferTo(makeFile);
|
||||
|
||||
tFormbuilderData.setFormbuilderItemGroup(Integer.parseInt(formbuilderItemGroup));
|
||||
tFormbuilderData.setFormbuilderDataGroup(formbuilderDataGroup);
|
||||
tFormbuilderData.setFormbuilderDataText(multipartFile.getOriginalFilename());
|
||||
tFormbuilderData.setFormbuilderDataReNameText(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tFormbuilderData.setFormbuilderDataStatus("U");
|
||||
tFormbuilderData.setFormbuilderDataEtc("");
|
||||
tFormbuilderData.setFormbuilderFileEncryption("N");
|
||||
|
||||
if(fileEncryption.equals("true")){
|
||||
|
||||
//파일 암호화
|
||||
SeedFileUtils.setSeedEncryptFile(rootPath + "/" + siteIdx
|
||||
+ "/upload/formbuilder/" + tFormbuilderData.gettFormbuilderSet().getFormbuilderSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
|
||||
//원본 파일 삭제
|
||||
makeFile.delete();
|
||||
|
||||
//암호화된 파일명 원본 파일명으로 변경
|
||||
File encryFile = new File(rootPath + "/" + siteIdx
|
||||
+ "/upload/formbuilder/" + tFormbuilderData.gettFormbuilderSet().getFormbuilderSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf("."))+".des");
|
||||
|
||||
encryFile.renameTo(makeFile);
|
||||
|
||||
tFormbuilderData.setFormbuilderFileEncryption("Y");
|
||||
}
|
||||
|
||||
formbuilderDataGroup = formbuilderDataDAO.setFormbuilderDataRegProc(tFormbuilderData).getFormbuilderDataGroup();
|
||||
|
||||
if(formbuilderDataGroup == 0){
|
||||
break;
|
||||
}else{//기존 첨부파일 삭제
|
||||
String value[] = httpServletRequest.getParameterValues("formbuilderHiddenFile_"+formName.substring(16));
|
||||
|
||||
if(value[0] != null && !value[0].equals("")){
|
||||
T_FORMBUILDER_DATA tFormbuilderDataDB = formbuilderDataDAO.getFormbuilderDataForm(Integer.parseInt(value[0]));
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + siteIdx + "/upload/formbuilder/" +
|
||||
tFormbuilderDataDB.gettFormbuilderSet().getFormbuilderSetIdx() + "/" + tFormbuilderDataDB.getFormbuilderDataReNameText());
|
||||
|
||||
if(!formbuilderDataDAO.setFormbuilderDataDelProc(tFormbuilderDataDB)){
|
||||
formbuilderDataGroup = 0;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
return formbuilderDataGroup;
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
@Transactional
|
||||
public boolean setFormbuilderDataDelProc(Integer formbuilderDataGroup, String siteIdx, String rootPath){
|
||||
|
||||
boolean success = true;
|
||||
|
||||
List<T_FORMBUILDER_DATA> tFormbuilderDataList = formbuilderDataDAO.getFormbuilderDataList(formbuilderDataGroup);
|
||||
|
||||
if(tFormbuilderDataList.size() > 0){
|
||||
for(int d=0; d<tFormbuilderDataList.size(); d++){
|
||||
|
||||
T_FORMBUILDER_DATA tFormbuilderDataDB = tFormbuilderDataList.get(d);
|
||||
|
||||
if(formbuilderDataDAO.setFormbuilderDataDelProc(tFormbuilderDataDB)){
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + siteIdx + "/upload/formbuilder/" +
|
||||
tFormbuilderDataDB.gettFormbuilderSet().getFormbuilderSetIdx() + "/" + tFormbuilderDataDB.getFormbuilderDataReNameText());
|
||||
}else{
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//ManagerFormbuilderController
|
||||
@Transactional
|
||||
public boolean setFormbuilderDataStatusProc(Integer formbuilderDataGroup, String status){
|
||||
|
||||
boolean success = true;
|
||||
|
||||
List<T_FORMBUILDER_DATA> tFormbuilderDataList = formbuilderDataDAO.getFormbuilderDataList(formbuilderDataGroup);
|
||||
|
||||
if(tFormbuilderDataList.size() > 0){
|
||||
for(int d=0; d<tFormbuilderDataList.size(); d++){
|
||||
|
||||
T_FORMBUILDER_DATA tFormbuilderDataDB = tFormbuilderDataList.get(d);
|
||||
|
||||
tFormbuilderDataDB.setFormbuilderDataStatus(status);
|
||||
|
||||
if(!formbuilderDataDAO.setFormbuilderDataModProc(tFormbuilderDataDB)){
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package seed.manager.popup.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import seed.map.T_POPUP_DATA;
|
||||
|
||||
public interface ManagerPopupDataService {
|
||||
|
||||
//ManagerpopupController
|
||||
public T_POPUP_DATA getPopupDataForm(Integer popupDataIdx);
|
||||
|
||||
//ManagerpopupController
|
||||
public Long getPopupDataListCnt(Integer popupSetIdx, String column, String search);
|
||||
|
||||
//ManagerpopupController
|
||||
public List<T_POPUP_DATA> getPopupDataList(Integer popupSetIdx);
|
||||
|
||||
//ManagerpopupController
|
||||
public List<T_POPUP_DATA> getPopupDataList(Integer popupSetIdx, int page, int row, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerpopupController
|
||||
public Integer setPopupDataRegProc(T_POPUP_DATA tPopupData, MultipartFile upFile, Integer memberIdx, String rootPath);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupDataModProc(T_POPUP_DATA tPopupData, Integer memberIdx, MultipartFile upFile, String rootPath);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupDataDelProc(Integer popupDataIdx, String rootPath);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupDataStatusProc(Integer popupDataIdx, String status, Integer memberIdx);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupDataOrderProc(Integer popupSetIdx , Integer popupDataOrder, String orderType, Integer memberIdx);
|
||||
}
|
||||
@ -0,0 +1,265 @@
|
||||
package seed.manager.popup.service;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.PopupDataDAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_POPUP_DATA;
|
||||
import seed.utils.SeedFtpType;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class ManagerPopupDataServiceImpl extends AbstractServiceImpl implements ManagerPopupDataService{
|
||||
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
@Autowired
|
||||
private PopupDataDAO popupDataDAO;
|
||||
|
||||
//ManagerpopupController
|
||||
public T_POPUP_DATA getPopupDataForm(Integer popupDataIdx){
|
||||
|
||||
return popupDataDAO.getPopupDataForm(popupDataIdx);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
public Long getPopupDataListCnt(Integer popupSetIdx, String column, String search){
|
||||
|
||||
return popupDataDAO.getPopupDataListCnt(popupSetIdx, column, search);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
public List<T_POPUP_DATA> getPopupDataList(Integer popupSetIdx){
|
||||
|
||||
return popupDataDAO.getPopupDataList(popupSetIdx);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
public List<T_POPUP_DATA> getPopupDataList(Integer popupSetIdx, int page, int row, String column, String search, String[] qryColumns){
|
||||
|
||||
return popupDataDAO.getPopupDataList(popupSetIdx, ((page-1) * row), row, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
@Transactional
|
||||
public Integer setPopupDataRegProc(T_POPUP_DATA tPopupData, MultipartFile upFile, Integer memberIdx, String rootPath){
|
||||
|
||||
Integer popupDataIdx = 0;
|
||||
|
||||
try{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupData.settMember(tMember);
|
||||
|
||||
tPopupData.setPopupDataOrder(popupDataDAO.getPopupDataOrderFormCnt(tPopupData.gettPopupSet().getPopupSetIdx())+1);
|
||||
tPopupData.setPopupDataPopUpAuto(SeedUtils.setReplaceNull(tPopupData.getPopupDataPopUpAuto(), "N"));
|
||||
tPopupData.setPopupDataStatus("U");
|
||||
tPopupData.setPopupDataRegDate(new Date());
|
||||
tPopupData.setPopupDataModDate(new Date());
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String reFileName = tPopupData.gettPopupSet().getPopupSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx() + "/" + reFileName +
|
||||
upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
upFile.transferTo(makeFile);
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupData.setPopupDataFile(upFile.getOriginalFilename());
|
||||
tPopupData.setPopupDataReFile(reFileName+upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
|
||||
T_POPUP_DATA tPopupDataDB = popupDataDAO.setPopupDataRegProc(tPopupData);
|
||||
|
||||
if(tPopupDataDB.getPopupDataIdx() > 0){
|
||||
popupDataIdx = tPopupDataDB.getPopupDataIdx();
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
return popupDataIdx;
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
@Transactional
|
||||
public boolean setPopupDataModProc(T_POPUP_DATA tPopupData, Integer memberIdx, MultipartFile upFile, String rootPath){
|
||||
|
||||
T_POPUP_DATA tPopupDataDB = popupDataDAO.getPopupDataForm(tPopupData.getPopupDataIdx());
|
||||
|
||||
try{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupDataDB.settMember(tMember);
|
||||
tPopupDataDB.setPopupDataTitle(tPopupData.getPopupDataTitle());
|
||||
tPopupDataDB.setPopupDataContent(tPopupData.getPopupDataContent());
|
||||
tPopupDataDB.setPopupDataType(tPopupData.getPopupDataType());
|
||||
tPopupDataDB.setPopupDataSdate(tPopupData.getPopupDataSdate());
|
||||
tPopupDataDB.setPopupDataEdate(tPopupData.getPopupDataEdate());
|
||||
tPopupDataDB.setPopupDataLink(tPopupData.getPopupDataLink());
|
||||
tPopupDataDB.setPopupDataLinkType(tPopupData.getPopupDataLinkType());
|
||||
tPopupDataDB.setPopupDataPopUpWidth(tPopupData.getPopupDataPopUpWidth());
|
||||
tPopupDataDB.setPopupDataPopUpHeight(tPopupData.getPopupDataPopUpHeight());
|
||||
tPopupDataDB.setPopupDataPosX(tPopupData.getPopupDataPosX());
|
||||
tPopupDataDB.setPopupDataPosY(tPopupData.getPopupDataPosY());
|
||||
tPopupDataDB.setPopupDataPopUpAuto(SeedUtils.setReplaceNull(tPopupData.getPopupDataPopUpAuto(), "N"));
|
||||
tPopupDataDB.setPopupDataPopUpContent(SeedUtils.setReplaceNull(tPopupData.getPopupDataPopUpContent()));
|
||||
tPopupDataDB.setPopupDataModDate(new Date());
|
||||
|
||||
if(upFile != null && upFile.getBytes().length > 0){
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx() + "/" + tPopupDataDB.getPopupDataReFile());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupDataDB.getPopupDataReFile());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String reFileName = tPopupData.gettPopupSet().getPopupSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx() + "/" + reFileName +
|
||||
upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
upFile.transferTo(makeFile);
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tPopupData.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupData.gettPopupSet().getPopupSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupDataDB.setPopupDataFile(upFile.getOriginalFilename());
|
||||
tPopupDataDB.setPopupDataReFile(reFileName+upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
return popupDataDAO.setPopupDataModProc(tPopupDataDB);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
@Transactional
|
||||
public boolean setPopupDataDelProc(Integer popupDataIdx, String rootPath){
|
||||
|
||||
T_POPUP_DATA tPopupDataDB = popupDataDAO.getPopupDataForm(popupDataIdx);
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupDataDB.gettPopupSet().gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupDataDB.gettPopupSet().getPopupSetIdx() + "/" + tPopupDataDB.getPopupDataReFile());
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupDataDB.gettPopupSet().gettSite().getSiteIdx() + "/upload/popup/" + tPopupDataDB.gettPopupSet().getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupDataDB.getPopupDataReFile());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
if(popupDataDAO.getPopupDataListCnt(tPopupDataDB.gettPopupSet().getPopupSetIdx()) > 1){
|
||||
popupDataDAO.setPopupDataOrderProc(tPopupDataDB.gettPopupSet().getPopupSetIdx(), tPopupDataDB.getPopupDataOrder());
|
||||
}
|
||||
|
||||
return popupDataDAO.setPopupDataDelProc(tPopupDataDB);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
@Transactional
|
||||
public boolean setPopupDataStatusProc(Integer popupDataIdx, String status, Integer memberIdx){
|
||||
|
||||
T_POPUP_DATA tPopupDataDB = popupDataDAO.getPopupDataForm(popupDataIdx);
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupDataDB.settMember(tMember);
|
||||
tPopupDataDB.setPopupDataModDate(new Date());
|
||||
tPopupDataDB.setPopupDataStatus(status);
|
||||
|
||||
return popupDataDAO.setPopupDataModProc(tPopupDataDB);
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
@Transactional
|
||||
public boolean setPopupDataOrderProc(Integer popupSetIdx, Integer popupDataOrder, String orderType, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
Integer popupDataOrderTmp = popupDataOrder;
|
||||
|
||||
if(orderType.equals("up")){
|
||||
popupDataOrder = popupDataOrder - 1;
|
||||
}else{
|
||||
popupDataOrder = popupDataOrder + 1;
|
||||
}
|
||||
|
||||
T_POPUP_DATA tPopupDataOrderDB = popupDataDAO.getPopupDataOrderForm(popupSetIdx, popupDataOrder);
|
||||
T_POPUP_DATA tPopupDataDB = popupDataDAO.getPopupDataOrderForm(popupSetIdx, popupDataOrderTmp);
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupDataOrderDB.settMember(tMember);
|
||||
tPopupDataDB.settMember(tMember);
|
||||
|
||||
tPopupDataOrderDB.setPopupDataOrder(popupDataOrderTmp);
|
||||
tPopupDataDB.setPopupDataOrder(popupDataOrder);
|
||||
|
||||
if(popupDataDAO.setPopupDataModProc(tPopupDataDB)
|
||||
&& popupDataDAO.setPopupDataModProc(tPopupDataOrderDB)){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package seed.manager.popup.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import seed.map.T_POPUP_MANAGER;
|
||||
|
||||
public interface ManagerPopupManagerService {
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean getPopupManagerListGrantCnt(Integer popupSetIdx, Integer memberIdx);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean getPopupManagerListCnt(Integer popupSetIdx, Integer memberIdx);
|
||||
|
||||
//CommonController
|
||||
public Long getPopupManagerListCnt(Integer popupSetIdx, Integer selGroup, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public Long getPopupManagerListCnt(String siteIdx, Integer memberIdx, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public List<T_POPUP_MANAGER> getPopupManagerList(Integer popupSetIdx, int page, int row, String orderColumn, String order, Integer selGroup, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public List<T_POPUP_MANAGER> getPopupManagerList(String siteIdx, Integer memberIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public boolean setPopupManagerRegProc(Integer popupSetIdx, Integer[] idxsc);
|
||||
|
||||
//CommonController
|
||||
public boolean setPopupManagerDelProc(Integer popupManagerIdx);
|
||||
|
||||
//CommonController
|
||||
public boolean setPopupManagerStatusProc(Integer popupManagerIdx, String status);
|
||||
|
||||
//CommonController
|
||||
public boolean setPopupManagerGrantProc(Integer popupManagerIdx, String grant);
|
||||
}
|
||||
@ -0,0 +1,188 @@
|
||||
package seed.manager.popup.service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
import seed.dao.MemberDAO;
|
||||
import seed.dao.PopupManagerDAO;
|
||||
import seed.dao.SiteManager2DAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_POPUP_MANAGER;
|
||||
import seed.map.T_POPUP_SET;
|
||||
|
||||
@Service
|
||||
public class ManagerPopupManagerServiceImpl extends AbstractServiceImpl implements ManagerPopupManagerService{
|
||||
|
||||
@Autowired
|
||||
private PopupManagerDAO popupManagerDAO;
|
||||
|
||||
@Autowired
|
||||
private SiteManager2DAO siteManager2DAO;
|
||||
|
||||
@Autowired
|
||||
private MemberDAO memberDAO;
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean getPopupManagerListGrantCnt(Integer popupSetIdx, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(popupManagerDAO.getPopupManagerListGrantCnt(popupSetIdx, memberIdx) > 0){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean getPopupManagerListCnt(Integer popupSetIdx, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(popupManagerDAO.getPopupManagerListCnt(popupSetIdx, memberIdx) > 0){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getPopupManagerListCnt(Integer popupSetIdx, Integer selGroup, String column, String search){
|
||||
|
||||
return popupManagerDAO.getPopupManagerListCnt(popupSetIdx, selGroup, column, search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getPopupManagerListCnt(String siteIdx, Integer memberIdx, String column, String search){
|
||||
|
||||
return popupManagerDAO.getPopupManagerListCnt(siteIdx, memberIdx, column, search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public List<T_POPUP_MANAGER> getPopupManagerList(Integer popupSetIdx, int page, int row, String orderColumn, String order, Integer selGroup, String column, String search, String[] qryColumns){
|
||||
|
||||
return popupManagerDAO.getPopupManagerList(popupSetIdx, ((page-1) * row), row, orderColumn, order, selGroup, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public List<T_POPUP_MANAGER> getPopupManagerList(String siteIdx, Integer memberIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns){
|
||||
|
||||
return popupManagerDAO.getPopupManagerList(siteIdx, memberIdx, ((page-1) * row), row, orderColumn, order, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setPopupManagerRegProc(Integer popupSetIdx, Integer[] idxsc){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(idxsc.length > 0){
|
||||
|
||||
for(int i=0; i<idxsc.length; i++){
|
||||
|
||||
if(popupManagerDAO.getPopupManagerListCnt(popupSetIdx, idxsc[i]) > 0){
|
||||
success = true;
|
||||
}else{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(idxsc[i]);
|
||||
|
||||
T_POPUP_SET tPopupSet = new T_POPUP_SET();
|
||||
tPopupSet.setPopupSetIdx(popupSetIdx);
|
||||
|
||||
T_POPUP_MANAGER tPopupManager = new T_POPUP_MANAGER();
|
||||
|
||||
tPopupManager.settMember(tMember);
|
||||
tPopupManager.settPopupSet(tPopupSet);
|
||||
tPopupManager.setPopupManagerStatus("U");
|
||||
tPopupManager.setPopupManagerGrant("S");
|
||||
tPopupManager.setPopupManagerRegDate(new Date());
|
||||
|
||||
if(popupManagerDAO.setPopupManagerRegProc(tPopupManager)){
|
||||
success = true;
|
||||
|
||||
T_MEMBER tMemberDB = memberDAO.getMemberForm(idxsc[i]);
|
||||
|
||||
if(!tMemberDB.getMemberGrant().equals("S")){
|
||||
|
||||
if(tMemberDB.getMemberGrant().equals("SM")){
|
||||
tMemberDB.setMemberGrant("SM");
|
||||
}else{
|
||||
tMemberDB.setMemberGrant("M");
|
||||
}
|
||||
|
||||
if(!memberDAO.setMemberModProc(tMemberDB)){
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setPopupManagerDelProc(Integer popupManagerIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
T_POPUP_MANAGER tPopupManagerDB = popupManagerDAO.getPopupManagerForm(popupManagerIdx);
|
||||
|
||||
if(popupManagerDAO.setPopupManagerDelProc(tPopupManagerDB)){
|
||||
|
||||
success = true;
|
||||
|
||||
T_MEMBER tMemberDB = memberDAO.getMemberForm(tPopupManagerDB.gettMember().getMemberIdx());
|
||||
|
||||
if(!tMemberDB.getMemberGrant().equals("S")){
|
||||
|
||||
if(siteManager2DAO.getSiteManagerListCnt(tMemberDB.getMemberIdx()) > 0){
|
||||
tMemberDB.setMemberGrant("SM");
|
||||
}else if((tMemberDB.getMemberGrant().equals("SM") || tMemberDB.getMemberGrant().equals("M"))){
|
||||
tMemberDB.setMemberGrant("M");
|
||||
}else{
|
||||
tMemberDB.setMemberGrant("N");
|
||||
}
|
||||
|
||||
if(!memberDAO.setMemberModProc(tMemberDB)){
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setPopupManagerStatusProc(Integer popupManagerIdx, String status){
|
||||
|
||||
T_POPUP_MANAGER tPopupManagerDB = popupManagerDAO.getPopupManagerForm(popupManagerIdx);
|
||||
|
||||
tPopupManagerDB.setPopupManagerStatus(status);
|
||||
|
||||
return popupManagerDAO.setPopupManagerModProc(tPopupManagerDB);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setPopupManagerGrantProc(Integer popupManagerIdx, String grant){
|
||||
|
||||
T_POPUP_MANAGER tPopupManagerDB = popupManagerDAO.getPopupManagerForm(popupManagerIdx);
|
||||
|
||||
tPopupManagerDB.setPopupManagerGrant(grant);
|
||||
|
||||
return popupManagerDAO.setPopupManagerModProc(tPopupManagerDB);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package seed.manager.popup.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import seed.map.T_POPUP_SET;
|
||||
|
||||
public interface ManagerPopupSetService {
|
||||
|
||||
//ManagerpopupController
|
||||
public T_POPUP_SET getPopupSetForm(Integer popupSetIdx);
|
||||
|
||||
//ManagerpopupController
|
||||
public Long getPopupSetListCnt(String siteIdx, String column, String search);
|
||||
|
||||
//ManagerpopupController
|
||||
public List<T_POPUP_SET> getPopupSetList(String siteIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerpopupController
|
||||
public Integer setPopupSetRegProc(T_POPUP_SET tPopupSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupSetModProc(T_POPUP_SET tPopupSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupSetDelProc(Integer popupSetIdx, String rootPath);
|
||||
|
||||
//ManagerpopupController
|
||||
public boolean setPopupSetStatusProc(Integer popupSetIdx, String status, Integer memberIdx);
|
||||
}
|
||||
@ -0,0 +1,626 @@
|
||||
package seed.manager.popup.service;
|
||||
|
||||
import java.awt.image.BufferedImage;
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import javax.imageio.ImageIO;
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.PopupDataDAO;
|
||||
import seed.dao.PopupSetDAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_POPUP_DATA;
|
||||
import seed.map.T_POPUP_SET;
|
||||
import seed.utils.SeedFtpType;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class ManagerPopupSetServiceImpl extends AbstractServiceImpl implements ManagerPopupSetService{
|
||||
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
@Autowired
|
||||
private PopupSetDAO popupSetDAO;
|
||||
|
||||
@Autowired
|
||||
private PopupDataDAO popupDataDAO;
|
||||
|
||||
//ManagerpopupController
|
||||
public T_POPUP_SET getPopupSetForm(Integer popupSetIdx){
|
||||
|
||||
return popupSetDAO.getPopupSetForm(popupSetIdx);
|
||||
}
|
||||
|
||||
public Long getPopupSetListCnt(String siteIdx, String column, String search){
|
||||
|
||||
return popupSetDAO.getPopupSetListCnt(siteIdx, column, search);
|
||||
}
|
||||
|
||||
public List<T_POPUP_SET> getPopupSetList(String siteIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns){
|
||||
|
||||
return popupSetDAO.getPopupSetList(siteIdx, ((page-1) * row), row, orderColumn, order, column, search, qryColumns);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public Integer setPopupSetRegProc(T_POPUP_SET tPopupSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath){
|
||||
|
||||
Integer popupSetIdx = 0;
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupSet.settMember(tMember);
|
||||
tPopupSet.setPopupSetStatus("U");
|
||||
tPopupSet.setPopupSetRegDate(new Date());
|
||||
tPopupSet.setPopupSetModDate(new Date());
|
||||
|
||||
T_POPUP_SET tPopupSetDB = popupSetDAO.setPopupSetRegProc(tPopupSet);
|
||||
|
||||
if(tPopupSetDB.getPopupSetIdx() > 0){
|
||||
|
||||
T_POPUP_SET tPopupSetTmp = popupSetDAO.getPopupSetForm(tPopupSetDB.getPopupSetIdx());
|
||||
|
||||
try{
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
Iterator<String> iteratorfileNames = multipartHttpServletRequest.getFileNames();
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
while (iteratorfileNames.hasNext()) {
|
||||
|
||||
String fileFormName = (String)iteratorfileNames.next();
|
||||
String fileFormRename = fileFormName.substring(fileFormName.indexOf("file_")+5);
|
||||
|
||||
MultipartFile multipartFile = multipartHttpServletRequest.getFile(fileFormName);
|
||||
|
||||
if(multipartFile != null && !multipartFile.isEmpty()){
|
||||
|
||||
String reFileName = tPopupSetTmp.getPopupSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
multipartFile.transferTo(makeFile);
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
BufferedImage bimg = ImageIO.read(new File(rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf("."))));
|
||||
|
||||
if(bimg != null){
|
||||
|
||||
int bimgWidth = bimg.getWidth();
|
||||
int bimgHeight = bimg.getHeight();
|
||||
|
||||
if(fileFormRename.equals("popupSetChoiceImgOn")){
|
||||
tPopupSetTmp.setPopupSetChoiceImgOn(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetChoiceReImgOn(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetChoiceImgOnWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetChoiceImgOnHeight(bimgHeight);
|
||||
}else if(fileFormRename.equals("popupSetChoiceImgOver")){
|
||||
tPopupSetTmp.setPopupSetChoiceImgOver(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetChoiceReImgOver(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetChoiceImgOverWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetChoiceImgOverHeight(bimgHeight);
|
||||
}else if(fileFormRename.equals("popupSetChoiceImgOff")){
|
||||
tPopupSetTmp.setPopupSetChoiceImgOff(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetChoiceReImgOff(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetChoiceImgOffWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetChoiceImgOffHeight(bimgHeight);
|
||||
}else if(fileFormRename.equals("popupSetPlayImgOn")){
|
||||
tPopupSetTmp.setPopupSetPlayImgOn(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetPlayReImgOn(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetPlayImgOnWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetPlayImgOnHeight(bimgHeight);
|
||||
}else if(fileFormRename.equals("popupSetPlayImgOff")){
|
||||
tPopupSetTmp.setPopupSetPlayImgOff(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetPlayReImgOff(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetPlayImgOffWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetPlayImgOffHeight(bimgHeight);
|
||||
}else if(fileFormRename.equals("popupSetStopImgOn")){
|
||||
tPopupSetTmp.setPopupSetStopImgOn(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetStopReImgOn(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetStopImgOnWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetStopImgOnHeight(bimgHeight);
|
||||
}else if(fileFormRename.equals("popupSetStopImgOff")){
|
||||
tPopupSetTmp.setPopupSetStopImgOff(multipartFile.getOriginalFilename());
|
||||
tPopupSetTmp.setPopupSetStopReImgOff(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetTmp.setPopupSetStopImgOffWidth(bimgWidth);
|
||||
tPopupSetTmp.setPopupSetStopImgOffHeight(bimgHeight);
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String filePath = rootPath.substring(0, rootPath.lastIndexOf("/site"));
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetChoiceImgOn()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_pagination_on.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_pagination_on.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_pagination_on.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetChoiceImgOn("btn_pagination_on.png");
|
||||
tPopupSetTmp.setPopupSetChoiceReImgOn("btn_pagination_on.png");
|
||||
tPopupSetTmp.setPopupSetChoiceImgOnWidth(13);
|
||||
tPopupSetTmp.setPopupSetChoiceImgOnHeight(13);
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetChoiceImgOver()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_pagination_over.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_pagination_over.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_pagination_over.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetChoiceImgOver("btn_pagination_over.png");
|
||||
tPopupSetTmp.setPopupSetChoiceReImgOver("btn_pagination_over.png");
|
||||
tPopupSetTmp.setPopupSetChoiceImgOverWidth(13);
|
||||
tPopupSetTmp.setPopupSetChoiceImgOverHeight(13);
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetChoiceImgOff()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_pagination_off.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_pagination_off.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_pagination_off.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetChoiceImgOff("btn_pagination_off.png");
|
||||
tPopupSetTmp.setPopupSetChoiceReImgOff("btn_pagination_off.png");
|
||||
tPopupSetTmp.setPopupSetChoiceImgOffWidth(13);
|
||||
tPopupSetTmp.setPopupSetChoiceImgOffHeight(13);
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetPlayImgOn()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_play_over.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_play_over.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_play_over.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetPlayImgOn("btn_play_over.png");
|
||||
tPopupSetTmp.setPopupSetPlayReImgOn("btn_play_over.png");
|
||||
tPopupSetTmp.setPopupSetPlayImgOnWidth(16);
|
||||
tPopupSetTmp.setPopupSetPlayImgOnHeight(17);
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetPlayImgOff()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_play.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_play.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_play.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetPlayImgOff("btn_play.png");
|
||||
tPopupSetTmp.setPopupSetPlayReImgOff("btn_play.png");
|
||||
tPopupSetTmp.setPopupSetPlayImgOffWidth(16);
|
||||
tPopupSetTmp.setPopupSetPlayImgOffHeight(18);
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetStopImgOn()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_stop_over.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_stop_over.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_stop_over.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetStopImgOn("btn_stop_over.png");
|
||||
tPopupSetTmp.setPopupSetStopReImgOn("btn_stop_over.png");
|
||||
tPopupSetTmp.setPopupSetStopImgOnWidth(18);
|
||||
tPopupSetTmp.setPopupSetStopImgOnHeight(17);
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tPopupSetTmp.getPopupSetStopImgOff()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/popup/btn_stop.png",
|
||||
rootPath + "/" + tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx() + "/btn_stop.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetTmp.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetTmp.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/popup");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_stop.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetTmp.setPopupSetStopImgOff("btn_stop.png");
|
||||
tPopupSetTmp.setPopupSetStopReImgOff("btn_stop.png");
|
||||
tPopupSetTmp.setPopupSetStopImgOffWidth(18);
|
||||
tPopupSetTmp.setPopupSetStopImgOffHeight(17);
|
||||
}
|
||||
|
||||
if(popupSetDAO.setPopupSetModProc(tPopupSetTmp)){
|
||||
popupSetIdx = tPopupSetTmp.getPopupSetIdx();
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
}
|
||||
|
||||
return popupSetIdx;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setPopupSetModProc(T_POPUP_SET tPopupSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath){
|
||||
|
||||
T_POPUP_SET tPopupSetDB = popupSetDAO.getPopupSetForm(tPopupSet.getPopupSetIdx());
|
||||
|
||||
try{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupSetDB.settMember(tMember);
|
||||
tPopupSetDB.setPopupSetName(tPopupSet.getPopupSetName());
|
||||
tPopupSetDB.setPopupSetType(tPopupSet.getPopupSetType());
|
||||
tPopupSetDB.setPopupSetTime(tPopupSet.getPopupSetTime());
|
||||
tPopupSetDB.setPopupSetWidth(tPopupSet.getPopupSetWidth());
|
||||
tPopupSetDB.setPopupSetHeight(tPopupSet.getPopupSetHeight());
|
||||
tPopupSetDB.setPopupSetSkin(tPopupSet.getPopupSetSkin());
|
||||
tPopupSetDB.setPopupSetChoiceTB(tPopupSet.getPopupSetChoiceTB());
|
||||
tPopupSetDB.setPopupSetChoiceLR(tPopupSet.getPopupSetChoiceLR());
|
||||
tPopupSetDB.setPopupSetChoiceTBPosition(tPopupSet.getPopupSetChoiceTBPosition());
|
||||
tPopupSetDB.setPopupSetChoiceLRPosition(tPopupSet.getPopupSetChoiceLRPosition());
|
||||
tPopupSetDB.setPopupSetPSTB(tPopupSet.getPopupSetPSTB());
|
||||
tPopupSetDB.setPopupSetPSLR(tPopupSet.getPopupSetPSLR());
|
||||
tPopupSetDB.setPopupSetPSTBPosition(tPopupSet.getPopupSetPSTBPosition());
|
||||
tPopupSetDB.setPopupSetPSLRPosition(tPopupSet.getPopupSetPSLRPosition());
|
||||
|
||||
tPopupSetDB.setPopupSetModDate(new Date());
|
||||
|
||||
Iterator<String> iteratorfileNames = multipartHttpServletRequest.getFileNames();
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
while (iteratorfileNames.hasNext()) {
|
||||
|
||||
String fileFormName = (String)iteratorfileNames.next();
|
||||
String fileFormRename = fileFormName.substring(fileFormName.indexOf("file_")+5);
|
||||
|
||||
MultipartFile multipartFile = multipartHttpServletRequest.getFile(fileFormName);
|
||||
|
||||
if(multipartFile != null && !multipartFile.isEmpty()){
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String reFileName = tPopupSetDB.getPopupSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
multipartFile.transferTo(makeFile);
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
BufferedImage bimg = ImageIO.read(new File(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf("."))));
|
||||
|
||||
if(bimg != null){
|
||||
|
||||
int bimgWidth = bimg.getWidth();
|
||||
int bimgHeight = bimg.getHeight();
|
||||
|
||||
if(fileFormRename.equals("popupSetChoiceImgOn")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetChoiceReImgOn());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetChoiceReImgOn());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetChoiceImgOn(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetChoiceReImgOn(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetChoiceImgOnWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetChoiceImgOnHeight(bimgHeight);
|
||||
|
||||
}else if(fileFormRename.equals("popupSetChoiceImgOver")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetChoiceReImgOver());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetChoiceReImgOver());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetChoiceImgOver(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetChoiceReImgOver(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetChoiceImgOverWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetChoiceImgOverHeight(bimgHeight);
|
||||
|
||||
}else if(fileFormRename.equals("popupSetChoiceImgOff")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetChoiceReImgOff());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetChoiceReImgOff());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetChoiceImgOff(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetChoiceReImgOff(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetChoiceImgOffWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetChoiceImgOffHeight(bimgHeight);
|
||||
|
||||
}else if(fileFormRename.equals("popupSetPlayImgOn")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetPlayReImgOn());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetPlayReImgOn());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetPlayImgOn(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetPlayReImgOn(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetPlayImgOnWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetPlayImgOnHeight(bimgHeight);
|
||||
|
||||
}else if(fileFormRename.equals("popupSetPlayImgOff")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetPlayReImgOff());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetPlayReImgOff());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetPlayImgOff(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetPlayReImgOff(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetPlayImgOffWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetPlayImgOffHeight(bimgHeight);
|
||||
|
||||
}else if(fileFormRename.equals("popupSetStopImgOn")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetStopReImgOn());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetStopReImgOn());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetStopImgOn(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetStopReImgOn(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetStopImgOnWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetStopImgOnHeight(bimgHeight);
|
||||
|
||||
}else if(fileFormRename.equals("popupSetStopImgOff")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() + "/" + tPopupSetDB.getPopupSetStopReImgOff());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/upload/popup/" + tPopupSetDB.getPopupSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tPopupSetDB.getPopupSetStopReImgOff());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tPopupSetDB.setPopupSetStopImgOff(multipartFile.getOriginalFilename());
|
||||
tPopupSetDB.setPopupSetStopReImgOff(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
tPopupSetDB.setPopupSetStopImgOffWidth(bimgWidth);
|
||||
tPopupSetDB.setPopupSetStopImgOffHeight(bimgHeight);
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
return popupSetDAO.setPopupSetModProc(tPopupSetDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setPopupSetDelProc(Integer popupSetIdx, String rootPath){
|
||||
|
||||
T_POPUP_SET tPopupSetDB = popupSetDAO.getPopupSetForm(popupSetIdx);
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
SeedUtils.setSeedDeleteFiles(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/popup/" + tPopupSetDB.getPopupSetIdx() , "");
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/popup/popup_" + tPopupSetDB.getPopupSetIdx() +".jsp");
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/popup/css/popup_" + tPopupSetDB.getPopupSetIdx() +".css");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/jsp/popup/css");
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("popup_" + tPopupSetDB.getPopupSetIdx() +".css");
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tPopupSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/popup/js/popup_" + tPopupSetDB.getPopupSetIdx() +".js");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tPopupSetDB.gettSite().getSiteIdx() + "/jsp/popup/js");
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("popup_" + tPopupSetDB.getPopupSetIdx() +".js");
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
return popupSetDAO.setPopupSetDelProc(tPopupSetDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setPopupSetStatusProc(Integer popupSetIdx, String status, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
T_POPUP_SET tPopupSetDB = popupSetDAO.getPopupSetForm(popupSetIdx);
|
||||
Iterator<T_POPUP_DATA> iteratorList = tPopupSetDB.gettPopupDatas().iterator();
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tPopupSetDB.settMember(tMember);
|
||||
tPopupSetDB.setPopupSetModDate(new Date());
|
||||
tPopupSetDB.setPopupSetStatus(status);
|
||||
|
||||
if(popupSetDAO.setPopupSetModProc(tPopupSetDB)){
|
||||
|
||||
success = true;
|
||||
|
||||
while(iteratorList.hasNext()){
|
||||
|
||||
T_POPUP_DATA tPopupDataDB = popupDataDAO.getPopupDataForm(iteratorList.next().getPopupDataIdx());
|
||||
|
||||
tPopupDataDB.settMember(tMember);
|
||||
tPopupDataDB.setPopupDataModDate(new Date());
|
||||
tPopupDataDB.setPopupDataStatus(status);
|
||||
|
||||
if(!popupDataDAO.setPopupDataModProc(tPopupDataDB)){
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,37 @@
|
||||
package seed.manager.quick.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import seed.map.T_QUICK_DATA;
|
||||
|
||||
public interface ManagerQuickDataService {
|
||||
|
||||
//ManagerQuickController
|
||||
public T_QUICK_DATA getQuickDataForm(Integer quickDataIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public Long getQuickDataListCnt(Integer quickSetIdx, String column, String search);
|
||||
|
||||
//ManagerQuickController
|
||||
public List<T_QUICK_DATA> getQuickDataList(Integer quickSetIdx, int page, int row, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerQuickController
|
||||
public List<T_QUICK_DATA> getQuickDataList(Integer quickSetIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public Integer setQuickDataRegProc(T_QUICK_DATA tQuickData, MultipartFile upFile, Integer memberIdx, String rootPath);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickDataModProc(T_QUICK_DATA tQuickData, Integer memberIdx, MultipartFile upFile, String rootPath);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickDataDelProc(Integer quickDataIdx, String rootPath);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickDataStatusProc(Integer quickDataIdx, String status, Integer memberIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickDataOrderProc(Integer quickSetIdx , Integer quickDataOrder, String orderType, Integer memberIdx);
|
||||
}
|
||||
@ -0,0 +1,256 @@
|
||||
package seed.manager.quick.service;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.QuickDataDAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_QUICK_DATA;
|
||||
import seed.utils.SeedFtpType;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class ManagerQuickDataServiceImpl extends AbstractServiceImpl implements ManagerQuickDataService{
|
||||
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
@Autowired
|
||||
private QuickDataDAO quickDataDAO;
|
||||
|
||||
//ManagerQuickController
|
||||
public T_QUICK_DATA getQuickDataForm(Integer quickDataIdx){
|
||||
|
||||
return quickDataDAO.getQuickDataForm(quickDataIdx);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
public Long getQuickDataListCnt(Integer quickSetIdx, String column, String search){
|
||||
|
||||
return quickDataDAO.getQuickDataListCnt(quickSetIdx, column, search);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
public List<T_QUICK_DATA> getQuickDataList(Integer quickSetIdx, int page, int row, String column, String search, String[] qryColumns){
|
||||
|
||||
return quickDataDAO.getQuickDataList(quickSetIdx, ((page-1) * row), row, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
public List<T_QUICK_DATA> getQuickDataList(Integer quickSetIdx){
|
||||
|
||||
return quickDataDAO.getQuickDataList(quickSetIdx);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
@Transactional
|
||||
public Integer setQuickDataRegProc(T_QUICK_DATA tQuickData, MultipartFile upFile, Integer memberIdx, String rootPath){
|
||||
|
||||
Integer quickDataIdx = 0;
|
||||
|
||||
try{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickData.settMember(tMember);
|
||||
|
||||
tQuickData.setQuickDataOrder(quickDataDAO.getQuickDataOrderFormCnt(tQuickData.gettQuickSet().getQuickSetIdx())+1);
|
||||
tQuickData.setQuickDataStatus("U");
|
||||
tQuickData.setQuickDataRegDate(new Date());
|
||||
tQuickData.setQuickDataModDate(new Date());
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String reFileName = tQuickData.gettQuickSet().getQuickSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx()
|
||||
+ "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx() + "/" + reFileName +
|
||||
upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
upFile.transferTo(makeFile);
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tQuickData.setQuickDataFile(upFile.getOriginalFilename());
|
||||
tQuickData.setQuickDataReFile(reFileName+upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
|
||||
T_QUICK_DATA tQuickDataDB = quickDataDAO.setQuickDataRegProc(tQuickData);
|
||||
|
||||
if(tQuickDataDB.getQuickDataIdx() > 0){
|
||||
quickDataIdx = tQuickDataDB.getQuickDataIdx();
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
return quickDataIdx;
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
@Transactional
|
||||
public boolean setQuickDataModProc(T_QUICK_DATA tQuickData, Integer memberIdx, MultipartFile upFile, String rootPath){
|
||||
|
||||
T_QUICK_DATA tQuickDataDB = quickDataDAO.getQuickDataForm(tQuickData.getQuickDataIdx());
|
||||
|
||||
try{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickDataDB.settMember(tMember);
|
||||
tQuickDataDB.setQuickDataTitle(tQuickData.getQuickDataTitle());
|
||||
tQuickDataDB.setQuickDataContent(tQuickData.getQuickDataContent());
|
||||
tQuickDataDB.setQuickDataLink(tQuickData.getQuickDataLink());
|
||||
tQuickDataDB.setQuickDataLinkType(tQuickData.getQuickDataLinkType());
|
||||
tQuickDataDB.setQuickDataModDate(new Date());
|
||||
|
||||
if(upFile != null && upFile.getBytes().length > 0){
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx()
|
||||
+ "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx() + "/" + tQuickDataDB.getQuickDataReFile());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tQuickDataDB.getQuickDataReFile());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String reFileName = tQuickData.gettQuickSet().getQuickSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx()
|
||||
+ "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx() + "/" + reFileName +
|
||||
upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
upFile.transferTo(makeFile);
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tQuickData.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickData.gettQuickSet().getQuickSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tQuickDataDB.setQuickDataFile(upFile.getOriginalFilename());
|
||||
tQuickDataDB.setQuickDataReFile(reFileName+upFile.getOriginalFilename().substring(upFile.getOriginalFilename().lastIndexOf(".")));
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
|
||||
return quickDataDAO.setQuickDataModProc(tQuickDataDB);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
@Transactional
|
||||
public boolean setQuickDataDelProc(Integer quickDataIdx, String rootPath){
|
||||
|
||||
T_QUICK_DATA tQuickDataDB = quickDataDAO.getQuickDataForm(quickDataIdx);
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tQuickDataDB.gettQuickSet().gettSite().getSiteIdx()
|
||||
+ "/upload/quick/" + tQuickDataDB.gettQuickSet().getQuickSetIdx() + "/" + tQuickDataDB.getQuickDataReFile());
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tQuickDataDB.gettQuickSet().gettSite().getSiteIdx() + "/upload/quick/" + tQuickDataDB.gettQuickSet().getQuickSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tQuickDataDB.getQuickDataReFile());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
if(quickDataDAO.getQuickDataListCnt(tQuickDataDB.gettQuickSet().getQuickSetIdx()) > 1){
|
||||
quickDataDAO.setQuickDataOrderProc(tQuickDataDB.gettQuickSet().getQuickSetIdx(), tQuickDataDB.getQuickDataOrder());
|
||||
}
|
||||
|
||||
return quickDataDAO.setQuickDataDelProc(tQuickDataDB);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
@Transactional
|
||||
public boolean setQuickDataStatusProc(Integer quickDataIdx, String status, Integer memberIdx){
|
||||
|
||||
T_QUICK_DATA tQuickDataDB = quickDataDAO.getQuickDataForm(quickDataIdx);
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickDataDB.settMember(tMember);
|
||||
tQuickDataDB.setQuickDataModDate(new Date());
|
||||
tQuickDataDB.setQuickDataStatus(status);
|
||||
|
||||
return quickDataDAO.setQuickDataModProc(tQuickDataDB);
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
@Transactional
|
||||
public boolean setQuickDataOrderProc(Integer quickSetIdx, Integer quickDataOrder, String orderType, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
Integer quickDataOrderTmp = quickDataOrder;
|
||||
|
||||
if(orderType.equals("up")){
|
||||
quickDataOrder = quickDataOrder - 1;
|
||||
}else{
|
||||
quickDataOrder = quickDataOrder + 1;
|
||||
}
|
||||
|
||||
T_QUICK_DATA tQuickDataOrderDB = quickDataDAO.getQuickDataOrderForm(quickSetIdx, quickDataOrder);
|
||||
T_QUICK_DATA tQuickDataDB = quickDataDAO.getQuickDataOrderForm(quickSetIdx, quickDataOrderTmp);
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickDataOrderDB.settMember(tMember);
|
||||
tQuickDataDB.settMember(tMember);
|
||||
|
||||
tQuickDataOrderDB.setQuickDataOrder(quickDataOrderTmp);
|
||||
tQuickDataDB.setQuickDataOrder(quickDataOrder);
|
||||
|
||||
if(quickDataDAO.setQuickDataModProc(tQuickDataDB)
|
||||
&& quickDataDAO.setQuickDataModProc(tQuickDataOrderDB)){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,38 @@
|
||||
package seed.manager.quick.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import seed.map.T_QUICK_MANAGER;
|
||||
|
||||
public interface ManagerQuickManagerService {
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean getQuickManagerListGrantCnt(Integer quickSetIdx, Integer memberIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean getQuickManagerListCnt(Integer quickSetIdx, Integer memberIdx);
|
||||
|
||||
//CommonController
|
||||
public Long getQuickManagerListCnt(Integer quickSetIdx, Integer selGroup, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public Long getQuickManagerListCnt(String siteIdx, Integer memberIdx, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public List<T_QUICK_MANAGER> getQuickManagerList(Integer quickSetIdx, int page, int row, String orderColumn, String order, Integer selGroup, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public List<T_QUICK_MANAGER> getQuickManagerList(String siteIdx, Integer memberIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public boolean setQuickManagerRegProc(Integer quickSetIdx, Integer[] idxsc);
|
||||
|
||||
//CommonController
|
||||
public boolean setQuickManagerDelProc(Integer quickManagerIdx);
|
||||
|
||||
//CommonController
|
||||
public boolean setQuickManagerStatusProc(Integer quickManagerIdx, String status);
|
||||
|
||||
//CommonController
|
||||
public boolean setQuickManagerGrantProc(Integer quickManagerIdx, String grant);
|
||||
}
|
||||
@ -0,0 +1,188 @@
|
||||
package seed.manager.quick.service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
import seed.dao.MemberDAO;
|
||||
import seed.dao.QuickManagerDAO;
|
||||
import seed.dao.SiteManager2DAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_QUICK_MANAGER;
|
||||
import seed.map.T_QUICK_SET;
|
||||
|
||||
@Service
|
||||
public class ManagerQuickManagerServiceImpl extends AbstractServiceImpl implements ManagerQuickManagerService{
|
||||
|
||||
@Autowired
|
||||
private QuickManagerDAO quickManagerDAO;
|
||||
|
||||
@Autowired
|
||||
private SiteManager2DAO siteManager2DAO;
|
||||
|
||||
@Autowired
|
||||
private MemberDAO memberDAO;
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean getQuickManagerListGrantCnt(Integer quickSetIdx, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(quickManagerDAO.getQuickManagerListGrantCnt(quickSetIdx, memberIdx) > 0){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean getQuickManagerListCnt(Integer quickSetIdx, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(quickManagerDAO.getQuickManagerListCnt(quickSetIdx, memberIdx) > 0){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getQuickManagerListCnt(Integer quickSetIdx, Integer selGroup, String column, String search){
|
||||
|
||||
return quickManagerDAO.getQuickManagerListCnt(quickSetIdx, selGroup, column, search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getQuickManagerListCnt(String siteIdx, Integer memberIdx, String column, String search){
|
||||
|
||||
return quickManagerDAO.getQuickManagerListCnt(siteIdx, memberIdx, column, search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public List<T_QUICK_MANAGER> getQuickManagerList(Integer quickSetIdx, int page, int row, String orderColumn, String order, Integer selGroup, String column, String search, String[] qryColumns){
|
||||
|
||||
return quickManagerDAO.getQuickManagerList(quickSetIdx, ((page-1) * row), row, orderColumn, order, selGroup, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public List<T_QUICK_MANAGER> getQuickManagerList(String siteIdx, Integer memberIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns){
|
||||
|
||||
return quickManagerDAO.getQuickManagerList(siteIdx, memberIdx, ((page-1) * row), row, orderColumn, order, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setQuickManagerRegProc(Integer quickSetIdx, Integer[] idxsc){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(idxsc.length > 0){
|
||||
|
||||
for(int i=0; i<idxsc.length; i++){
|
||||
|
||||
if(quickManagerDAO.getQuickManagerListCnt(quickSetIdx, idxsc[i]) > 0){
|
||||
success = true;
|
||||
}else{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(idxsc[i]);
|
||||
|
||||
T_QUICK_SET tQuickSet = new T_QUICK_SET();
|
||||
tQuickSet.setQuickSetIdx(quickSetIdx);
|
||||
|
||||
T_QUICK_MANAGER tQuickManager = new T_QUICK_MANAGER();
|
||||
|
||||
tQuickManager.settMember(tMember);
|
||||
tQuickManager.settQuickSet(tQuickSet);
|
||||
tQuickManager.setQuickManagerStatus("U");
|
||||
tQuickManager.setQuickManagerGrant("S");
|
||||
tQuickManager.setQuickManagerRegDate(new Date());
|
||||
|
||||
if(quickManagerDAO.setQuickManagerRegProc(tQuickManager)){
|
||||
success = true;
|
||||
|
||||
T_MEMBER tMemberDB = memberDAO.getMemberForm(idxsc[i]);
|
||||
|
||||
if(!tMemberDB.getMemberGrant().equals("S")){
|
||||
|
||||
if(tMemberDB.getMemberGrant().equals("SM")){
|
||||
tMemberDB.setMemberGrant("SM");
|
||||
}else{
|
||||
tMemberDB.setMemberGrant("M");
|
||||
}
|
||||
|
||||
if(!memberDAO.setMemberModProc(tMemberDB)){
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setQuickManagerDelProc(Integer quickManagerIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
T_QUICK_MANAGER tQuickManagerDB = quickManagerDAO.getQuickManagerForm(quickManagerIdx);
|
||||
|
||||
if(quickManagerDAO.setQuickManagerDelProc(tQuickManagerDB)){
|
||||
|
||||
success = true;
|
||||
|
||||
T_MEMBER tMemberDB = memberDAO.getMemberForm(tQuickManagerDB.gettMember().getMemberIdx());
|
||||
|
||||
if(!tMemberDB.getMemberGrant().equals("S")){
|
||||
|
||||
if(siteManager2DAO.getSiteManagerListCnt(tMemberDB.getMemberIdx()) > 0){
|
||||
tMemberDB.setMemberGrant("SM");
|
||||
}else if((tMemberDB.getMemberGrant().equals("SM") || tMemberDB.getMemberGrant().equals("M"))){
|
||||
tMemberDB.setMemberGrant("M");
|
||||
}else{
|
||||
tMemberDB.setMemberGrant("N");
|
||||
}
|
||||
|
||||
if(!memberDAO.setMemberModProc(tMemberDB)){
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setQuickManagerStatusProc(Integer quickManagerIdx, String status){
|
||||
|
||||
T_QUICK_MANAGER tQuickManagerDB = quickManagerDAO.getQuickManagerForm(quickManagerIdx);
|
||||
|
||||
tQuickManagerDB.setQuickManagerStatus(status);
|
||||
|
||||
return quickManagerDAO.setQuickManagerModProc(tQuickManagerDB);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setQuickManagerGrantProc(Integer quickManagerIdx, String grant){
|
||||
|
||||
T_QUICK_MANAGER tQuickManagerDB = quickManagerDAO.getQuickManagerForm(quickManagerIdx);
|
||||
|
||||
tQuickManagerDB.setQuickManagerGrant(grant);
|
||||
|
||||
return quickManagerDAO.setQuickManagerModProc(tQuickManagerDB);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,29 @@
|
||||
package seed.manager.quick.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import seed.map.T_QUICK_SET;
|
||||
|
||||
public interface ManagerQuickSetService {
|
||||
|
||||
//ManagerQuickController
|
||||
public T_QUICK_SET getQuickSetForm(Integer quickSetIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public Long getQuickSetListCnt(String siteIdx, String column, String search);
|
||||
|
||||
//ManagerQuickController
|
||||
public List<T_QUICK_SET> getQuickSetList(String siteIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerQuickController
|
||||
public Integer setQuickSetRegProc(T_QUICK_SET tQuickSet, Integer memberIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickSetModProc(T_QUICK_SET tQuickSet, Integer memberIdx);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickSetDelProc(Integer quickSetIdx, String rootPath);
|
||||
|
||||
//ManagerQuickController
|
||||
public boolean setQuickSetStatusProc(Integer quickSetIdx, String status, Integer memberIdx);
|
||||
}
|
||||
@ -0,0 +1,136 @@
|
||||
package seed.manager.quick.service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.QuickDataDAO;
|
||||
import seed.dao.QuickSetDAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_QUICK_DATA;
|
||||
import seed.map.T_QUICK_SET;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class ManagerQuickSetServiceImpl extends AbstractServiceImpl implements ManagerQuickSetService{
|
||||
|
||||
@Autowired
|
||||
private QuickSetDAO quickSetDAO;
|
||||
|
||||
@Autowired
|
||||
private QuickDataDAO quickDataDAO;
|
||||
|
||||
//ManagerQuickController
|
||||
public T_QUICK_SET getQuickSetForm(Integer quickSetIdx){
|
||||
|
||||
return quickSetDAO.getQuickSetForm(quickSetIdx);
|
||||
}
|
||||
|
||||
public Long getQuickSetListCnt(String siteIdx, String column, String search){
|
||||
|
||||
return quickSetDAO.getQuickSetListCnt(siteIdx, column, search);
|
||||
}
|
||||
|
||||
public List<T_QUICK_SET> getQuickSetList(String siteIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns){
|
||||
|
||||
return quickSetDAO.getQuickSetList(siteIdx, ((page-1) * row), row, orderColumn, order, column, search, qryColumns);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public Integer setQuickSetRegProc(T_QUICK_SET tQuickSet, Integer memberIdx){
|
||||
|
||||
Integer quickSetIdx = 0;
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickSet.settMember(tMember);
|
||||
tQuickSet.setQuickSetStatus("U");
|
||||
tQuickSet.setQuickSetRegDate(new Date());
|
||||
tQuickSet.setQuickSetModDate(new Date());
|
||||
|
||||
T_QUICK_SET tQuickSetDB = quickSetDAO.setQuickSetRegProc(tQuickSet);
|
||||
|
||||
if(tQuickSetDB.getQuickSetIdx() > 0){
|
||||
quickSetIdx = tQuickSetDB.getQuickSetIdx();
|
||||
}
|
||||
|
||||
return quickSetIdx;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setQuickSetModProc(T_QUICK_SET tQuickSet, Integer memberIdx){
|
||||
|
||||
T_QUICK_SET tQuickSetDB = quickSetDAO.getQuickSetForm(tQuickSet.getQuickSetIdx());
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickSetDB.settMember(tMember);
|
||||
tQuickSetDB.setQuickSetName(tQuickSet.getQuickSetName());
|
||||
tQuickSetDB.setQuickDataWidth(tQuickSet.getQuickDataWidth());
|
||||
tQuickSetDB.setQuickDataHeight(tQuickSet.getQuickDataHeight());
|
||||
tQuickSetDB.setQuickSetModDate(new Date());
|
||||
|
||||
return quickSetDAO.setQuickSetModProc(tQuickSetDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setQuickSetDelProc(Integer quickSetIdx, String rootPath){
|
||||
|
||||
T_QUICK_SET tQuickSetDB = quickSetDAO.getQuickSetForm(quickSetIdx);
|
||||
|
||||
if(tQuickSetDB.gettQuickDatas().size() > 0){
|
||||
SeedUtils.setSeedDeleteFiles(rootPath + "/" + tQuickSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/quick/" + tQuickSetDB.getQuickSetIdx() , "");
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tQuickSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/quick/quick_" + tQuickSetDB.getQuickSetIdx() +".jsp");
|
||||
}
|
||||
|
||||
return quickSetDAO.setQuickSetDelProc(tQuickSetDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setQuickSetStatusProc(Integer quickSetIdx, String status, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
T_QUICK_SET tQuickSetDB = quickSetDAO.getQuickSetForm(quickSetIdx);
|
||||
Iterator<T_QUICK_DATA> iteratorList = tQuickSetDB.gettQuickDatas().iterator();
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tQuickSetDB.settMember(tMember);
|
||||
tQuickSetDB.setQuickSetModDate(new Date());
|
||||
tQuickSetDB.setQuickSetStatus(status);
|
||||
|
||||
if(quickSetDAO.setQuickSetModProc(tQuickSetDB)){
|
||||
|
||||
success = true;
|
||||
|
||||
while(iteratorList.hasNext()){
|
||||
|
||||
T_QUICK_DATA tQuickDataDB = quickDataDAO.getQuickDataForm(iteratorList.next().getQuickDataIdx());
|
||||
|
||||
tQuickDataDB.settMember(tMember);
|
||||
tQuickDataDB.setQuickDataModDate(new Date());
|
||||
tQuickDataDB.setQuickDataStatus(status);
|
||||
|
||||
if(!quickDataDAO.setQuickDataModProc(tQuickDataDB)){
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,32 @@
|
||||
package seed.manager.smartmenu.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import seed.map.T_SMART_MENU_MANAGER;
|
||||
|
||||
public interface ManagerSmartMenuManagerService {
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public boolean getSmartMenuManagerListCnt(Integer smartMenuSetIdx, Integer memberIdx);
|
||||
|
||||
//CommonController
|
||||
public Long getSmartMenuManagerListCnt(Integer smartMenuSetIdx, Integer selGroup, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public Long getSmartMenuManagerListCnt(String siteIdx, Integer memberIdx, String column, String search);
|
||||
|
||||
//CommonController
|
||||
public List<T_SMART_MENU_MANAGER> getSmartMenuManagerList(Integer smartMenuSetIdx, int page, int row, String orderColumn, String order, Integer selGroup, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public List<T_SMART_MENU_MANAGER> getSmartMenuManagerList(String siteIdx, Integer memberIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns);
|
||||
|
||||
//CommonController
|
||||
public boolean setSmartMenuManagerRegProc(Integer smartMenuSetIdx, Integer[] idxsc);
|
||||
|
||||
//CommonController
|
||||
public boolean setSmartMenuManagerDelProc(Integer smartMenuManagerIdx);
|
||||
|
||||
//CommonController
|
||||
public boolean setSmartMenuManagerStatusProc(Integer smartMenuManagerIdx, String status);
|
||||
}
|
||||
@ -0,0 +1,164 @@
|
||||
package seed.manager.smartmenu.service;
|
||||
|
||||
import java.util.Date;
|
||||
import java.util.List;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
import seed.dao.MemberDAO;
|
||||
import seed.dao.SiteManager2DAO;
|
||||
import seed.dao.SmartMenuManagerDAO;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.map.T_SMART_MENU_MANAGER;
|
||||
import seed.map.T_SMART_MENU_SET;
|
||||
|
||||
@Service
|
||||
public class ManagerSmartMenuManagerServiceImpl extends AbstractServiceImpl implements ManagerSmartMenuManagerService{
|
||||
|
||||
@Autowired
|
||||
private SmartMenuManagerDAO smartMenuManagerDAO;
|
||||
|
||||
@Autowired
|
||||
private SiteManager2DAO siteManager2DAO;
|
||||
|
||||
@Autowired
|
||||
private MemberDAO memberDAO;
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public boolean getSmartMenuManagerListCnt(Integer smartMenuSetIdx, Integer memberIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(smartMenuManagerDAO.getSmartMenuManagerListCnt(smartMenuSetIdx, memberIdx) > 0){
|
||||
success = true;
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getSmartMenuManagerListCnt(Integer smartMenuSetIdx, Integer selGroup, String column, String search){
|
||||
|
||||
return smartMenuManagerDAO.getSmartMenuManagerListCnt(smartMenuSetIdx, selGroup, column, search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public Long getSmartMenuManagerListCnt(String siteIdx, Integer memberIdx, String column, String search){
|
||||
|
||||
return smartMenuManagerDAO.getSmartMenuManagerListCnt(siteIdx, memberIdx, column, search);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public List<T_SMART_MENU_MANAGER> getSmartMenuManagerList(Integer smartMenuSetIdx, int page, int row, String orderColumn, String order, Integer selGroup, String column, String search, String[] qryColumns){
|
||||
|
||||
return smartMenuManagerDAO.getSmartMenuManagerList(smartMenuSetIdx, ((page-1) * row), row, orderColumn, order, selGroup, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
public List<T_SMART_MENU_MANAGER> getSmartMenuManagerList(String siteIdx, Integer memberIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns){
|
||||
|
||||
return smartMenuManagerDAO.getSmartMenuManagerList(siteIdx, memberIdx, ((page-1) * row), row, orderColumn, order, column, search, qryColumns);
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setSmartMenuManagerRegProc(Integer smartMenuSetIdx, Integer[] idxsc){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
if(idxsc.length > 0){
|
||||
|
||||
for(int i=0; i<idxsc.length; i++){
|
||||
|
||||
if(smartMenuManagerDAO.getSmartMenuManagerListCnt(smartMenuSetIdx, idxsc[i]) > 0){
|
||||
success = true;
|
||||
}else{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(idxsc[i]);
|
||||
|
||||
T_SMART_MENU_SET tSmartMenuSet = new T_SMART_MENU_SET();
|
||||
tSmartMenuSet.setSmartMenuSetIdx(smartMenuSetIdx);
|
||||
|
||||
T_SMART_MENU_MANAGER tSmartMenuManager = new T_SMART_MENU_MANAGER();
|
||||
|
||||
tSmartMenuManager.settMember(tMember);
|
||||
tSmartMenuManager.settSmartMenuSet(tSmartMenuSet);
|
||||
tSmartMenuManager.setSmartMenuManagerStatus("U");
|
||||
tSmartMenuManager.setSmartMenuManagerRegDate(new Date());
|
||||
|
||||
if(smartMenuManagerDAO.setSmartMenuManagerRegProc(tSmartMenuManager)){
|
||||
success = true;
|
||||
|
||||
T_MEMBER tMemberDB = memberDAO.getMemberForm(idxsc[i]);
|
||||
|
||||
if(!tMemberDB.getMemberGrant().equals("S")){
|
||||
|
||||
if(tMemberDB.getMemberGrant().equals("SM")){
|
||||
tMemberDB.setMemberGrant("SM");
|
||||
}else{
|
||||
tMemberDB.setMemberGrant("M");
|
||||
}
|
||||
|
||||
if(!memberDAO.setMemberModProc(tMemberDB)){
|
||||
success = false;
|
||||
break;
|
||||
}
|
||||
}
|
||||
}else{
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setSmartMenuManagerDelProc(Integer smartMenuManagerIdx){
|
||||
|
||||
boolean success = false;
|
||||
|
||||
T_SMART_MENU_MANAGER tSmartMenuManagerDB = smartMenuManagerDAO.getSmartMenuManagerForm(smartMenuManagerIdx);
|
||||
|
||||
if(smartMenuManagerDAO.setSmartMenuManagerDelProc(tSmartMenuManagerDB)){
|
||||
|
||||
success = true;
|
||||
|
||||
T_MEMBER tMemberDB = memberDAO.getMemberForm(tSmartMenuManagerDB.gettMember().getMemberIdx());
|
||||
|
||||
if(!tMemberDB.getMemberGrant().equals("S")){
|
||||
|
||||
if(siteManager2DAO.getSiteManagerListCnt(tMemberDB.getMemberIdx()) > 0){
|
||||
tMemberDB.setMemberGrant("SM");
|
||||
}else if((tMemberDB.getMemberGrant().equals("SM") || tMemberDB.getMemberGrant().equals("M"))){
|
||||
tMemberDB.setMemberGrant("M");
|
||||
}else{
|
||||
tMemberDB.setMemberGrant("N");
|
||||
}
|
||||
|
||||
if(!memberDAO.setMemberModProc(tMemberDB)){
|
||||
success = false;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return success;
|
||||
}
|
||||
|
||||
//CommonController
|
||||
@Transactional
|
||||
public boolean setSmartMenuManagerStatusProc(Integer smartMenuManagerIdx, String status){
|
||||
|
||||
T_SMART_MENU_MANAGER tSmartMenuManagerDB = smartMenuManagerDAO.getSmartMenuManagerForm(smartMenuManagerIdx);
|
||||
|
||||
tSmartMenuManagerDB.setSmartMenuManagerStatus(status);
|
||||
|
||||
return smartMenuManagerDAO.setSmartMenuManagerModProc(tSmartMenuManagerDB);
|
||||
}
|
||||
}
|
||||
@ -0,0 +1,33 @@
|
||||
package seed.manager.smartmenu.service;
|
||||
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import seed.map.T_SMART_MENU_SET;
|
||||
|
||||
public interface ManagerSmartMenuSetService {
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public T_SMART_MENU_SET getSmartMenuSetForm(Integer smartMenuSetIdx);
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public Long getSmartMenuSetListCnt(String siteIdx, String column, String search);
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public List<T_SMART_MENU_SET> getSmartMenuSetList(String siteIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns);
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public Integer setSmartMenuSetRegProc(T_SMART_MENU_SET tSmartMenuSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath);
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public boolean setSmartMenuSetModProc(T_SMART_MENU_SET tSmartMenuSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath);
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public boolean setSmartMenuSetDelProc(Integer smartMenuSetIdx, String rootPath);
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public boolean setSmartMenuSetStatusProc(Integer smartMenuSetIdx, String status, Integer memberIdx);
|
||||
}
|
||||
@ -0,0 +1,377 @@
|
||||
package seed.manager.smartmenu.service;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.IOException;
|
||||
import java.text.SimpleDateFormat;
|
||||
import java.util.Date;
|
||||
import java.util.Iterator;
|
||||
import java.util.List;
|
||||
|
||||
import javax.servlet.http.HttpServletRequest;
|
||||
|
||||
import org.apache.log4j.Logger;
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
import org.springframework.transaction.annotation.Transactional;
|
||||
import org.springframework.web.multipart.MultipartFile;
|
||||
import org.springframework.web.multipart.MultipartHttpServletRequest;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.SmartMenuSetDAO;
|
||||
import seed.map.T_SMART_MENU_SET;
|
||||
import seed.map.T_MEMBER;
|
||||
import seed.utils.SeedFtpType;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class ManagerSmartMenuSetServiceImpl extends AbstractServiceImpl implements ManagerSmartMenuSetService{
|
||||
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
@Autowired
|
||||
private SmartMenuSetDAO smartMenuSetDAO;
|
||||
|
||||
//ManagerSmartMenuController
|
||||
public T_SMART_MENU_SET getSmartMenuSetForm(Integer smartMenuSetIdx){
|
||||
|
||||
return smartMenuSetDAO.getSmartMenuSetForm(smartMenuSetIdx);
|
||||
}
|
||||
|
||||
public Long getSmartMenuSetListCnt(String siteIdx, String column, String search){
|
||||
|
||||
return smartMenuSetDAO.getSmartMenuSetListCnt(siteIdx, column, search);
|
||||
}
|
||||
|
||||
public List<T_SMART_MENU_SET> getSmartMenuSetList(String siteIdx, int page, int row, String orderColumn, String order, String column, String search, String[] qryColumns){
|
||||
|
||||
return smartMenuSetDAO.getSmartMenuSetList(siteIdx, ((page-1) * row), row, orderColumn, order, column, search, qryColumns);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public Integer setSmartMenuSetRegProc(T_SMART_MENU_SET tSmartMenuSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath){
|
||||
|
||||
Integer smartMenuSetIdx = 0;
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tSmartMenuSet.settMember(tMember);
|
||||
tSmartMenuSet.setSmartMenuSetStatus("U");
|
||||
tSmartMenuSet.setSmartMenuSetRegDate(new Date());
|
||||
tSmartMenuSet.setSmartMenuSetModDate(new Date());
|
||||
|
||||
T_SMART_MENU_SET tSmartMenuSetDB = smartMenuSetDAO.setSmartMenuSetRegProc(tSmartMenuSet);
|
||||
|
||||
if(tSmartMenuSetDB.getSmartMenuSetIdx() > 0){
|
||||
|
||||
T_SMART_MENU_SET tSmartMenuSetTmp = smartMenuSetDAO.getSmartMenuSetForm(tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
|
||||
try{
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
Iterator<String> iteratorfileNames = multipartHttpServletRequest.getFileNames();
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
while (iteratorfileNames.hasNext()) {
|
||||
|
||||
String fileFormName = (String)iteratorfileNames.next();
|
||||
String fileFormRename = fileFormName.substring(fileFormName.indexOf("file_")+5);
|
||||
|
||||
MultipartFile multipartFile = multipartHttpServletRequest.getFile(fileFormName);
|
||||
|
||||
if(multipartFile != null && !multipartFile.isEmpty()){
|
||||
|
||||
String reFileName = tSmartMenuSetTmp.getSmartMenuSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tSmartMenuSetTmp.gettSite().getSiteIdx()
|
||||
+ "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
multipartFile.transferTo(makeFile);
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
if(fileFormRename.equals("smartMenuSetPreImg")){
|
||||
tSmartMenuSetTmp.setSmartMenuSetPreImg(multipartFile.getOriginalFilename());
|
||||
tSmartMenuSetTmp.setSmartMenuSetPreReImg(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
}else if(fileFormRename.equals("smartMenuSetNextImg")){
|
||||
tSmartMenuSetTmp.setSmartMenuSetNextImg(multipartFile.getOriginalFilename());
|
||||
tSmartMenuSetTmp.setSmartMenuSetNextReImg(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
}else if(fileFormRename.equals("smartMenuSetSetUpImg")){
|
||||
tSmartMenuSetTmp.setSmartMenuSetSetUpImg(multipartFile.getOriginalFilename());
|
||||
tSmartMenuSetTmp.setSmartMenuSetSetUpReImg(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
String filePath = rootPath.substring(0, rootPath.lastIndexOf("/site"));
|
||||
|
||||
if(SeedUtils.setReplaceNull(tSmartMenuSetTmp.getSmartMenuSetPreImg()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/smartmenu/btn_pre.png",
|
||||
rootPath + "/" + tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx() + "/btn_pre.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/smartmenu");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_pre.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tSmartMenuSetTmp.setSmartMenuSetPreImg("btn_pre.png");
|
||||
tSmartMenuSetTmp.setSmartMenuSetPreReImg("btn_pre.png");
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tSmartMenuSetTmp.getSmartMenuSetNextImg()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/smartmenu/btn_next.png",
|
||||
rootPath + "/" + tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx() + "/btn_next.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/smartmenu");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_next.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tSmartMenuSetTmp.setSmartMenuSetNextImg("btn_next.png");
|
||||
tSmartMenuSetTmp.setSmartMenuSetNextReImg("btn_next.png");
|
||||
}
|
||||
|
||||
if(SeedUtils.setReplaceNull(tSmartMenuSetTmp.getSmartMenuSetSetUpImg()).equals("")){
|
||||
|
||||
SeedUtils.setSeedFileCopy(filePath + "/_common/_images/manager/smartmenu/btn_setup.png",
|
||||
rootPath + "/" + tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx() + "/btn_setup.png");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetTmp.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetTmp.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(filePath + "/_common/_images/manager/smartmenu");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("btn_setup.png");
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tSmartMenuSetTmp.setSmartMenuSetSetUpImg("btn_setup.png");
|
||||
tSmartMenuSetTmp.setSmartMenuSetSetUpReImg("btn_setup.png");
|
||||
}
|
||||
|
||||
if(smartMenuSetDAO.setSmartMenuSetModProc(tSmartMenuSetTmp)){
|
||||
smartMenuSetIdx = tSmartMenuSetTmp.getSmartMenuSetIdx();
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
}
|
||||
|
||||
return smartMenuSetIdx;
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setSmartMenuSetModProc(T_SMART_MENU_SET tSmartMenuSet, Integer memberIdx, HttpServletRequest httpServletRequest, MultipartHttpServletRequest multipartHttpServletRequest, String rootPath){
|
||||
|
||||
T_SMART_MENU_SET tSmartMenuSetDB = smartMenuSetDAO.getSmartMenuSetForm(tSmartMenuSet.getSmartMenuSetIdx());
|
||||
|
||||
try{
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tSmartMenuSetDB.settMember(tMember);
|
||||
tSmartMenuSetDB.setSmartMenuSetName(tSmartMenuSet.getSmartMenuSetName());
|
||||
tSmartMenuSetDB.setSmartMenuSetWidth(tSmartMenuSet.getSmartMenuSetWidth());
|
||||
tSmartMenuSetDB.setSmartMenuSetHeight(tSmartMenuSet.getSmartMenuSetHeight());
|
||||
tSmartMenuSetDB.setSmartMenuDataWidth(tSmartMenuSet.getSmartMenuDataWidth());
|
||||
tSmartMenuSetDB.setSmartMenuDataHeight(tSmartMenuSet.getSmartMenuDataHeight());
|
||||
tSmartMenuSetDB.setSmartMenuDataPadding(tSmartMenuSet.getSmartMenuDataPadding());
|
||||
tSmartMenuSetDB.setSmartMenuSetArray(tSmartMenuSet.getSmartMenuSetArray());
|
||||
tSmartMenuSetDB.setSmartMenuSetType(tSmartMenuSet.getSmartMenuSetType());
|
||||
tSmartMenuSetDB.setSmartMenuSetSkin(tSmartMenuSet.getSmartMenuSetSkin());
|
||||
tSmartMenuSetDB.setSmartMenuSetPreTB(tSmartMenuSet.getSmartMenuSetPreTB());
|
||||
tSmartMenuSetDB.setSmartMenuSetPreTBPosition(tSmartMenuSet.getSmartMenuSetPreTBPosition());
|
||||
tSmartMenuSetDB.setSmartMenuSetPreLR(tSmartMenuSet.getSmartMenuSetPreLR());
|
||||
tSmartMenuSetDB.setSmartMenuSetPreLRPosition(tSmartMenuSet.getSmartMenuSetPreLRPosition());
|
||||
tSmartMenuSetDB.setSmartMenuSetNextTB(tSmartMenuSet.getSmartMenuSetNextTB());
|
||||
tSmartMenuSetDB.setSmartMenuSetNextTBPosition(tSmartMenuSet.getSmartMenuSetNextTBPosition());
|
||||
tSmartMenuSetDB.setSmartMenuSetNextLR(tSmartMenuSet.getSmartMenuSetNextLR());
|
||||
tSmartMenuSetDB.setSmartMenuSetNextLRPosition(tSmartMenuSet.getSmartMenuSetNextLRPosition());
|
||||
tSmartMenuSetDB.setSmartMenuSetModDate(new Date());
|
||||
|
||||
Iterator<String> iteratorfileNames = multipartHttpServletRequest.getFileNames();
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
while (iteratorfileNames.hasNext()) {
|
||||
|
||||
String fileFormName = (String)iteratorfileNames.next();
|
||||
String fileFormRename = fileFormName.substring(fileFormName.indexOf("file_")+5);
|
||||
|
||||
MultipartFile multipartFile = multipartHttpServletRequest.getFile(fileFormName);
|
||||
|
||||
if(multipartFile != null && !multipartFile.isEmpty()){
|
||||
|
||||
SeedUtils.setSeedMkDirs(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
String reFileName = tSmartMenuSetDB.getSmartMenuSetIdx() + "_" + sdfFormat.format(new Date()) + "_" + SeedUtils.getSeedMD5Code(String.valueOf(SeedUtils.getRandom(999,1)));
|
||||
|
||||
File makeFile = new File(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx() + "/" + reFileName +
|
||||
multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
multipartFile.transferTo(makeFile);
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetDB.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(reFileName + multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("regFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
if(fileFormRename.equals("smartMenuSetPreImg")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx() + "/" + tSmartMenuSetDB.getSmartMenuSetPreReImg());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetDB.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tSmartMenuSetDB.getSmartMenuSetPreReImg());
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tSmartMenuSetDB.setSmartMenuSetPreImg(multipartFile.getOriginalFilename());
|
||||
tSmartMenuSetDB.setSmartMenuSetPreReImg(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
|
||||
}else if(fileFormRename.equals("smartMenuSetNextImg")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx() + "/" + tSmartMenuSetDB.getSmartMenuSetNextReImg());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetDB.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tSmartMenuSetDB.getSmartMenuSetNextReImg());
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tSmartMenuSetDB.setSmartMenuSetNextImg(multipartFile.getOriginalFilename());
|
||||
tSmartMenuSetDB.setSmartMenuSetNextReImg(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
|
||||
}else if(fileFormRename.equals("smartMenuSetSetUpImg")){
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx() + "/" + tSmartMenuSetDB.getSmartMenuSetSetUpReImg());
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetDB.gettSite().getSiteIdx() + "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx());
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tSmartMenuSetDB.getSmartMenuSetSetUpReImg());
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
tSmartMenuSetDB.setSmartMenuSetSetUpImg(multipartFile.getOriginalFilename());
|
||||
tSmartMenuSetDB.setSmartMenuSetSetUpReImg(reFileName+multipartFile.getOriginalFilename().substring(multipartFile.getOriginalFilename().lastIndexOf(".")));
|
||||
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
}catch(IOException e){
|
||||
log.error("CHECK ERROR:",e);
|
||||
}
|
||||
|
||||
return smartMenuSetDAO.setSmartMenuSetModProc(tSmartMenuSetDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setSmartMenuSetDelProc(Integer smartMenuSetIdx, String rootPath){
|
||||
|
||||
T_SMART_MENU_SET tSmartMenuSetDB = smartMenuSetDAO.getSmartMenuSetForm(smartMenuSetIdx);
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
SeedUtils.setSeedDeleteFiles(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/upload/smartmenu/" + tSmartMenuSetDB.getSmartMenuSetIdx() , "");
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/smartmenu/smartmenu_" + tSmartMenuSetDB.getSmartMenuSetIdx() +".jsp");
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/smartmenu/css/smartmenu_" + tSmartMenuSetDB.getSmartMenuSetIdx() +".css");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetDB.gettSite().getSiteIdx() + "/jsp/smartmenu/css");
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("smartmenu_" + tSmartMenuSetDB.getSmartMenuSetIdx() +".css");
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + tSmartMenuSetDB.gettSite().getSiteIdx()
|
||||
+ "/jsp/smartmenu/js/smartmenu_" + tSmartMenuSetDB.getSmartMenuSetIdx() +".js");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(tSmartMenuSetDB.gettSite().getSiteIdx() + "/jsp/smartmenu/js");
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("smartmenu_" + tSmartMenuSetDB.getSmartMenuSetIdx() +".js");
|
||||
//파일 전송 타입 regFile=파일전송, delFile=파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
return smartMenuSetDAO.setSmartMenuSetDelProc(tSmartMenuSetDB);
|
||||
}
|
||||
|
||||
@Transactional
|
||||
public boolean setSmartMenuSetStatusProc(Integer smartMenuSetIdx, String status, Integer memberIdx){
|
||||
|
||||
T_SMART_MENU_SET tSmartMenuSetDB = smartMenuSetDAO.getSmartMenuSetForm(smartMenuSetIdx);
|
||||
|
||||
T_MEMBER tMember = new T_MEMBER();
|
||||
tMember.setMemberIdx(memberIdx);
|
||||
|
||||
tSmartMenuSetDB.settMember(tMember);
|
||||
tSmartMenuSetDB.setSmartMenuSetModDate(new Date());
|
||||
tSmartMenuSetDB.setSmartMenuSetStatus(status);
|
||||
|
||||
return smartMenuSetDAO.setSmartMenuSetModProc(tSmartMenuSetDB);
|
||||
}
|
||||
}
|
||||
@ -24,6 +24,7 @@ import seed.manager.member.service.ManagerMemberService;
|
||||
import seed.manager.site.service.ManagerSiteManagerService;
|
||||
import seed.manager.site.service.ManagerSiteService;
|
||||
import seed.manager.statistics.service.ManagerStatisticsService;
|
||||
import seed.utils.FairnetUtils;
|
||||
import seed.utils.InterceptorCheck;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@ -102,12 +103,20 @@ public class ManagerStatisticsController {
|
||||
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
|
||||
boolean memberAuth = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
|
||||
|
||||
boolean b_ret = true;
|
||||
b_ret = FairnetUtils.hasAuth(memberIdx, memberGrant, memberAuth, session, map);
|
||||
|
||||
if (!b_ret) {
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
/*
|
||||
if(memberIdx == 0 || (!memberGrant.equals("S") && !memberAuth)){
|
||||
setSessionRemove(session);
|
||||
map.put("url", "/gtm/login.do");
|
||||
map.put("message", "common.message.no.grant");
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
*/
|
||||
|
||||
Date getDate = new Date();
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMdd");
|
||||
@ -153,12 +162,20 @@ public class ManagerStatisticsController {
|
||||
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
|
||||
boolean memberAuth = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
|
||||
|
||||
boolean b_ret = true;
|
||||
b_ret = FairnetUtils.hasAuth(memberIdx, memberGrant, memberAuth, session, map);
|
||||
|
||||
if (!b_ret) {
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
/*
|
||||
if(memberIdx == 0 || (!memberGrant.equals("S") && !memberAuth)){
|
||||
setSessionRemove(session);
|
||||
map.put("url", "/gtm/login.do");
|
||||
map.put("message", "common.message.no.grant");
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
*/
|
||||
|
||||
Date getDate = new Date();
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMdd");
|
||||
@ -234,12 +251,20 @@ public class ManagerStatisticsController {
|
||||
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
|
||||
boolean memberAuth = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
|
||||
|
||||
boolean b_ret = true;
|
||||
b_ret = FairnetUtils.hasAuth(memberIdx, memberGrant, memberAuth, session, map);
|
||||
|
||||
if (!b_ret) {
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
/*
|
||||
if(memberIdx == 0 || (!memberGrant.equals("S") && !memberAuth)){
|
||||
setSessionRemove(session);
|
||||
map.put("url", "/gtm/login.do");
|
||||
map.put("message", "common.message.no.grant");
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
*/
|
||||
|
||||
try {
|
||||
map.put("siteName", managerSiteService.getSiteForm(siteIdx).getSiteName());
|
||||
@ -264,12 +289,20 @@ public class ManagerStatisticsController {
|
||||
String memberGrant = (memberIdx == 0) ? "N" : SeedUtils.setReplaceNull(managerMemberService.getMemberMapForm(memberIdx, new String[] {"memberGrant"}).get("_memberGrant"), "N");
|
||||
boolean memberAuth = managerSiteManagerService.getSiteManagerListCnt(siteIdx, memberIdx);
|
||||
|
||||
boolean b_ret = true;
|
||||
b_ret = FairnetUtils.hasAuth(memberIdx, memberGrant, memberAuth, session, map);
|
||||
|
||||
if (!b_ret) {
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
/*
|
||||
if(memberIdx == 0 || (!memberGrant.equals("S") && !memberAuth)){
|
||||
setSessionRemove(session);
|
||||
map.put("url", "/gtm/login.do");
|
||||
map.put("message", "common.message.no.grant");
|
||||
return new ModelAndView("/_common/jsp/message");
|
||||
}
|
||||
*/
|
||||
|
||||
map.put("siteName", managerSiteService.getSiteForm(siteIdx).getSiteName());
|
||||
map.put("siteMenuStatisticsExcelList", managerStatisticsService.getManagerStatisticsMenuList(siteIdx));
|
||||
|
||||
@ -0,0 +1,9 @@
|
||||
package seed.user.bbs.service;
|
||||
|
||||
import seed.map.T_BBS_AUTH;
|
||||
|
||||
public interface UserBbsAuthService {
|
||||
|
||||
//UserBbsController
|
||||
public T_BBS_AUTH getBbsAuthForm(Integer bbsSetIdx, Integer memberIdx, String bbsSetCertify, String memberCertify);
|
||||
}
|
||||
@ -0,0 +1,88 @@
|
||||
package seed.user.bbs.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.BbsAuthDAO;
|
||||
import seed.map.T_BBS_AUTH;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class UserBbsAuthServiceImpl extends AbstractServiceImpl implements UserBbsAuthService{
|
||||
|
||||
@Autowired
|
||||
private BbsAuthDAO bbsAuthDAO;
|
||||
|
||||
//UserBbsController
|
||||
public T_BBS_AUTH getBbsAuthForm(Integer bbsSetIdx, Integer memberIdx, String bbsSetCertify, String memberCertify){
|
||||
|
||||
T_BBS_AUTH tBbsAuth = new T_BBS_AUTH();
|
||||
|
||||
tBbsAuth.setBbsAuthList("N");
|
||||
tBbsAuth.setBbsAuthContent("N");
|
||||
tBbsAuth.setBbsAuthWrite("N");
|
||||
tBbsAuth.setBbsAuthReply("N");
|
||||
|
||||
List<Map<Object, Object>> tBbsAuthList = bbsAuthDAO.getBbsAuthMapList(bbsSetIdx, memberIdx,
|
||||
new String[] {"tGroup.groupLevel", "bbsAuthCertify", "bbsAuthList", "bbsAuthContent", "bbsAuthWrite", "bbsAuthReply"});
|
||||
|
||||
for(int a=0; a<tBbsAuthList.size(); a++){
|
||||
Map<Object, Object> tBbsAuthDB = tBbsAuthList.get(a);
|
||||
|
||||
if(tBbsAuthDB.get("_bbsAuthList").equals("Y")){
|
||||
if(SeedUtils.setReplaceNull(bbsSetCertify).equals("Y") && SeedUtils.setReplaceNull(tBbsAuthDB.get("_groupLevel")).equals("999")){
|
||||
if(SeedUtils.setReplaceNull(tBbsAuthDB.get("_bbsAuthCertify")).equals("Y")){
|
||||
if(memberCertify.indexOf("seedCertify") > -1 && !memberCertify.equals("")){
|
||||
tBbsAuth.setBbsAuthList("Y");
|
||||
}
|
||||
}else{
|
||||
tBbsAuth.setBbsAuthList("Y");
|
||||
}
|
||||
}else{
|
||||
tBbsAuth.setBbsAuthList("Y");
|
||||
}
|
||||
}
|
||||
|
||||
if(tBbsAuthDB.get("_bbsAuthContent").equals("Y")){
|
||||
if(SeedUtils.setReplaceNull(bbsSetCertify).equals("Y") && SeedUtils.setReplaceNull(tBbsAuthDB.get("_groupLevel")).equals("999")){
|
||||
if(SeedUtils.setReplaceNull(tBbsAuthDB.get("_bbsAuthCertify")).equals("Y")){
|
||||
if(memberCertify.indexOf("seedCertify") > -1 && !memberCertify.equals("")){
|
||||
tBbsAuth.setBbsAuthContent("Y");
|
||||
}
|
||||
}else{
|
||||
tBbsAuth.setBbsAuthContent("Y");
|
||||
}
|
||||
}else{
|
||||
tBbsAuth.setBbsAuthContent("Y");
|
||||
}
|
||||
}
|
||||
|
||||
if(tBbsAuthDB.get("_bbsAuthWrite").equals("Y")){
|
||||
if(SeedUtils.setReplaceNull(bbsSetCertify).equals("Y") && SeedUtils.setReplaceNull(tBbsAuthDB.get("_groupLevel")).equals("999")){
|
||||
if(memberCertify.indexOf("seedCertify") > -1 && !memberCertify.equals("")){
|
||||
tBbsAuth.setBbsAuthWrite("Y");
|
||||
}
|
||||
}else{
|
||||
tBbsAuth.setBbsAuthWrite("Y");
|
||||
}
|
||||
}
|
||||
|
||||
if(tBbsAuthDB.get("_bbsAuthReply").equals("Y")){
|
||||
if(SeedUtils.setReplaceNull(bbsSetCertify).equals("Y") && SeedUtils.setReplaceNull(tBbsAuthDB.get("_groupLevel")).equals("999")){
|
||||
if(memberCertify.indexOf("seedCertify") > -1 && !memberCertify.equals("")){
|
||||
tBbsAuth.setBbsAuthReply("Y");
|
||||
}
|
||||
}else{
|
||||
tBbsAuth.setBbsAuthReply("Y");
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
return tBbsAuth;
|
||||
}
|
||||
}
|
||||
24
src/main/java/seed/user/bbs/service/UserBbsFileService.java
Normal file
24
src/main/java/seed/user/bbs/service/UserBbsFileService.java
Normal file
@ -0,0 +1,24 @@
|
||||
package seed.user.bbs.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import seed.map.T_BBS_FILE;
|
||||
|
||||
public interface UserBbsFileService {
|
||||
|
||||
//CommonController
|
||||
public T_BBS_FILE getBbsFileForm(Integer bbsFileIdx);
|
||||
|
||||
//UserBbsController
|
||||
public List<T_BBS_FILE> getBbsFileList(Integer bbsDataIdx, String[] qryColumns);
|
||||
|
||||
//UserBbsController
|
||||
public List<Map<Object, Object>> getBbsFileListMap(Integer bbsDataIdx, String[] qryColumns);
|
||||
|
||||
//UserBbsController
|
||||
public boolean setBbsFileDel(Integer bbsSetIdx, Integer bbsFileIdx, String siteIdx, String rootPath);
|
||||
|
||||
//UserBbsController
|
||||
public void setBbsFileDownRegProc(T_BBS_FILE tBbsFile);
|
||||
}
|
||||
@ -0,0 +1,94 @@
|
||||
package seed.user.bbs.service;
|
||||
|
||||
import java.util.List;
|
||||
import java.util.Map;
|
||||
|
||||
import org.springframework.beans.factory.annotation.Autowired;
|
||||
import org.springframework.stereotype.Service;
|
||||
|
||||
import egovframework.rte.fdl.cmmn.AbstractServiceImpl;
|
||||
|
||||
import seed.dao.BbsFileDAO;
|
||||
import seed.map.T_BBS_FILE;
|
||||
import seed.utils.SeedFtpType;
|
||||
import seed.utils.SeedUtils;
|
||||
|
||||
@Service
|
||||
public class UserBbsFileServiceImpl extends AbstractServiceImpl implements UserBbsFileService{
|
||||
|
||||
@Autowired
|
||||
private BbsFileDAO bbsFileDAO;
|
||||
|
||||
//CommonController
|
||||
public T_BBS_FILE getBbsFileForm(Integer bbsFileIdx){
|
||||
|
||||
return bbsFileDAO.getBbsFileForm(bbsFileIdx);
|
||||
}
|
||||
|
||||
//UserBbsController
|
||||
public List<T_BBS_FILE> getBbsFileList(Integer bbsDataIdx, String[] qryColumns){
|
||||
|
||||
return bbsFileDAO.getBbsFileList(bbsDataIdx, qryColumns);
|
||||
}
|
||||
|
||||
//UserBbsController
|
||||
public List<Map<Object, Object>> getBbsFileListMap(Integer bbsDataIdx, String[] qryColumns){
|
||||
|
||||
return bbsFileDAO.getBbsFileListMap(bbsDataIdx, qryColumns);
|
||||
}
|
||||
|
||||
public boolean setBbsFileDel(Integer bbsSetIdx, Integer bbsFileIdx, String siteIdx, String rootPath){
|
||||
|
||||
T_BBS_FILE tBbsFileDB = bbsFileDAO.getBbsFileForm(bbsFileIdx);
|
||||
|
||||
//FTP 전송
|
||||
SeedFtpType seedFtpType = new SeedFtpType();
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + siteIdx + "/upload/bbs/" + bbsSetIdx +
|
||||
"/" + tBbsFileDB.getBbsFileReName());
|
||||
|
||||
SeedUtils.setSeedDeleteFiles(rootPath + "/" + siteIdx + "/upload/bbs/" + bbsSetIdx +
|
||||
"/" + tBbsFileDB.getBbsFileReName().substring(0, tBbsFileDB.getBbsFileReName().lastIndexOf(".")), "");
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(siteIdx + "/upload/bbs/" + bbsSetIdx);
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName(tBbsFileDB.getBbsFileReName());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
|
||||
SeedUtils.setSeedDeleteFile(rootPath + "/" + siteIdx + "/upload/bbs/" + bbsSetIdx +
|
||||
"/thumb_" + tBbsFileDB.getBbsFileReName());
|
||||
|
||||
if(tBbsFileDB.getBbsFileType().toLowerCase().equals("jpg") ||
|
||||
tBbsFileDB.getBbsFileType().toLowerCase().equals("jpeg") ||
|
||||
tBbsFileDB.getBbsFileType().toLowerCase().equals("bmp") ||
|
||||
tBbsFileDB.getBbsFileType().toLowerCase().equals("png")){
|
||||
|
||||
//WEB 서버의 경로
|
||||
seedFtpType.setDestFilePath(siteIdx + "/upload/bbs/" + bbsSetIdx);
|
||||
//WAS 서버의 경로
|
||||
seedFtpType.setSrcFilePath("");
|
||||
//WAS 파일명
|
||||
seedFtpType.setFileName("thumb_"+tBbsFileDB.getBbsFileReName());
|
||||
//파일 전송 타입 regFile=WEB 서버에 파일전송, delFile=WEB 서버에 파일삭제
|
||||
seedFtpType.setFtpType("delFile");
|
||||
seedFtpType.setSeedFtp();
|
||||
}
|
||||
|
||||
return bbsFileDAO.setBbsFileDelProc(tBbsFileDB);
|
||||
}
|
||||
|
||||
//UserBbsController
|
||||
public void setBbsFileDownRegProc(T_BBS_FILE tBbsFile){
|
||||
|
||||
Integer bbsFileDownCnt = Integer.parseInt(SeedUtils.setReplaceNull(tBbsFile.getBbsFileDownCnt(), "0"));
|
||||
|
||||
tBbsFile.setBbsFileDownCnt(bbsFileDownCnt+1);
|
||||
|
||||
bbsFileDAO.setBbsFileModProc(tBbsFile);
|
||||
}
|
||||
}
|
||||
210
src/main/java/seed/utils/SeedExcelCreate.java
Normal file
210
src/main/java/seed/utils/SeedExcelCreate.java
Normal file
@ -0,0 +1,210 @@
|
||||
package seed.utils;
|
||||
|
||||
import java.io.File;
|
||||
import java.io.FileOutputStream;
|
||||
import java.util.ArrayList;
|
||||
import java.util.Date;
|
||||
import java.util.HashMap;
|
||||
|
||||
import org.apache.commons.collections4.map.CaseInsensitiveMap;
|
||||
import org.apache.log4j.Logger;
|
||||
import org.apache.poi.hssf.usermodel.HSSFCell;
|
||||
import org.apache.poi.hssf.usermodel.HSSFCellStyle;
|
||||
import org.apache.poi.hssf.usermodel.HSSFRow;
|
||||
import org.apache.poi.hssf.usermodel.HSSFSheet;
|
||||
import org.apache.poi.hssf.usermodel.HSSFWorkbook;
|
||||
|
||||
public class SeedExcelCreate {
|
||||
private Logger log = Logger.getLogger(this.getClass());
|
||||
|
||||
/**
|
||||
* 전달받은 데이터를 excel로 생성하는 메소드 추후 model을 이용한 방식도 추가할 예정 입니다.
|
||||
* @param boolean showRowNumber 행번호 출력 여부를 true/false로 넘겨준다
|
||||
* @param String filepath 엑셀파일을 생성할 경로를 지정한다 마지막 /은 넘기지 않는다 ex> C:\STS_Files\sample_source\WebContent\WEB-INF\views\site
|
||||
* @param String fileName 생성할 엑셀파일 이름
|
||||
* @param ArrayList<HashMap> dataList 데이터리스트 map개열의 정보를 넘겨 줍니다.
|
||||
* @param String[] titleColumn 엑셀파일 상단의 제목을 string배열로 넘겨 줍니다.
|
||||
* @param String[] selectColumn 출력할 데이터의 map key값을 string배열로 넘겨 줍니다.
|
||||
* @param String sheetTitle 엑셀 시트의 제목을 입력 합니다.
|
||||
* */
|
||||
public void createExcelFileFromHashMap(boolean showRowNumber, String filePath, String fileName, ArrayList<HashMap<Object,Object>> dataList,
|
||||
String[] titleColumn, String[] selectColumn, String[] dataType, String sheetTitle){
|
||||
|
||||
HSSFWorkbook workBook = null;
|
||||
HSSFRow row = null;
|
||||
HSSFSheet sheet = null;
|
||||
FileOutputStream stream = null;
|
||||
try{
|
||||
File excelDir = new File(filePath);
|
||||
if(!excelDir.exists()){
|
||||
excelDir.mkdirs();
|
||||
}
|
||||
|
||||
stream = new FileOutputStream(filePath+"/"+fileName);
|
||||
workBook = new HSSFWorkbook();
|
||||
sheet = workBook.createSheet(sheetTitle);
|
||||
row = sheet.createRow(0);
|
||||
|
||||
//행 제목 설정
|
||||
int columnSize = 0 ;
|
||||
if(titleColumn!=null && titleColumn.length>0){
|
||||
int cellNumLoop = titleColumn.length;
|
||||
if(showRowNumber){
|
||||
row.createCell(0).setCellValue("번호");
|
||||
for(int cellNum=1; cellNum<cellNumLoop+1; cellNum++){
|
||||
row.createCell(cellNum).setCellValue(titleColumn[cellNum-1]);
|
||||
}
|
||||
columnSize = cellNumLoop+1;
|
||||
}else{
|
||||
for(int cellNum=0; cellNum<cellNumLoop; cellNum++){
|
||||
row.createCell(cellNum).setCellValue(titleColumn[cellNum]);
|
||||
}
|
||||
columnSize = cellNumLoop;
|
||||
}
|
||||
}
|
||||
//값 설정
|
||||
if(dataList!=null){
|
||||
int rowNumLoop = dataList.size();
|
||||
for(int rowNum=1; rowNum<rowNumLoop+1; rowNum++){
|
||||
row = sheet.createRow(rowNum);
|
||||
HashMap<Object, Object> dataMap = dataList.get(rowNum-1);
|
||||
|
||||
if(selectColumn!=null && selectColumn.length>0){
|
||||
int cellNumLoop = titleColumn.length;
|
||||
if(showRowNumber){
|
||||
row.createCell(0).setCellValue(rowNum);
|
||||
for(int cellNum=1; cellNum<cellNumLoop+1; cellNum++){
|
||||
if("String".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((String)dataMap.get(selectColumn[cellNum-1]));
|
||||
}else if("Integer".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((Integer)dataMap.get(selectColumn[cellNum-1]));
|
||||
}else if("Date".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((Date)dataMap.get(selectColumn[cellNum-1]));
|
||||
}
|
||||
}
|
||||
}else{
|
||||
for(int cellNum=0; cellNum<cellNumLoop; cellNum++){
|
||||
if("String".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((String)dataMap.get(selectColumn[cellNum]));
|
||||
}else if("Integer".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((Integer)dataMap.get(selectColumn[cellNum]));
|
||||
}else if("Date".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((Date)dataMap.get(selectColumn[cellNum]));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for(int i=0; i<columnSize; i++){
|
||||
sheet.autoSizeColumn((short)i);
|
||||
sheet.setColumnWidth(i, (sheet.getColumnWidth(i))+512 );
|
||||
}
|
||||
workBook.write(stream);
|
||||
}catch(Exception e){
|
||||
log.error(e);
|
||||
}finally{
|
||||
if(stream!=null)try{stream.close();}catch(Exception e){}
|
||||
}
|
||||
}
|
||||
|
||||
/**
|
||||
* 전달받은 데이터를 excel로 생성하는 메소드 추후 model을 이용한 방식도 추가할 예정 입니다.
|
||||
* @param boolean showRowNumber 행번호 출력 여부를 true/false로 넘겨준다
|
||||
* @param String filepath 엑셀파일을 생성할 경로를 지정한다 마지막 /은 넘기지 않는다 ex> C:\STS_Files\sample_source\WebContent\WEB-INF\views\site
|
||||
* @param String fileName 생성할 엑셀파일 이름
|
||||
* @param ArrayList<CaseInsensitiveMap> dataList 데이터리스트 map개열의 정보를 넘겨 줍니다.
|
||||
* @param String[] titleColumn 엑셀파일 상단의 제목을 string배열로 넘겨 줍니다.
|
||||
* @param String[] selectColumn 출력할 데이터의 map key값을 string배열로 넘겨 줍니다.
|
||||
* @param String sheetTitle 엑셀 시트의 제목을 입력 합니다.
|
||||
* */
|
||||
@SuppressWarnings("rawtypes")
|
||||
public void createExcelFileFromCaseInsensitiveMap(boolean showRowNumber, String filePath, String fileName, ArrayList<CaseInsensitiveMap> dataList,
|
||||
String[] titleColumn, String[] selectColumn, String[] dataType, String sheetTitle){
|
||||
|
||||
HSSFWorkbook workBook = null;
|
||||
HSSFRow row = null;
|
||||
HSSFSheet sheet = null;
|
||||
FileOutputStream stream = null;
|
||||
HSSFCellStyle cellStyle = null;
|
||||
try{
|
||||
File excelDir = new File(filePath);
|
||||
if(!excelDir.exists()){
|
||||
excelDir.mkdirs();
|
||||
}
|
||||
|
||||
stream = new FileOutputStream(filePath+"/"+fileName);
|
||||
workBook = new HSSFWorkbook();
|
||||
sheet = workBook.createSheet(sheetTitle);
|
||||
row = sheet.createRow(0);
|
||||
cellStyle = workBook.createCellStyle();
|
||||
short df = workBook.createDataFormat().getFormat("yyyy-MM-dd hh:mm:ss");
|
||||
cellStyle.setDataFormat(df);
|
||||
|
||||
//행 제목 설정
|
||||
int columnSize = 0 ;
|
||||
if(titleColumn!=null && titleColumn.length>0){
|
||||
int cellNumLoop = titleColumn.length;
|
||||
if(showRowNumber){
|
||||
row.createCell(0).setCellValue("번호");
|
||||
for(int cellNum=1; cellNum<cellNumLoop+1; cellNum++){
|
||||
row.createCell(cellNum).setCellValue(titleColumn[cellNum-1]);
|
||||
}
|
||||
columnSize = cellNumLoop+1;
|
||||
}else{
|
||||
for(int cellNum=0; cellNum<cellNumLoop; cellNum++){
|
||||
row.createCell(cellNum).setCellValue(titleColumn[cellNum]);
|
||||
}
|
||||
columnSize = cellNumLoop;
|
||||
}
|
||||
}
|
||||
//값 설정
|
||||
if(dataList!=null){
|
||||
int rowNumLoop = dataList.size();
|
||||
for(int rowNum=1; rowNum<rowNumLoop+1; rowNum++){
|
||||
row = sheet.createRow(rowNum);
|
||||
CaseInsensitiveMap dataMap = dataList.get(rowNum-1);
|
||||
|
||||
if(selectColumn!=null && selectColumn.length>0){
|
||||
int cellNumLoop = titleColumn.length;
|
||||
if(showRowNumber){
|
||||
row.createCell(0).setCellValue(rowNum);
|
||||
for(int cellNum=1; cellNum<cellNumLoop+1; cellNum++){
|
||||
if("String".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((String)dataMap.get(selectColumn[cellNum-1]));
|
||||
}else if("Integer".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((Integer)dataMap.get(selectColumn[cellNum-1]));
|
||||
}else if("Date".equals(dataType[cellNum-1])){
|
||||
HSSFCell newCell = row.createCell(cellNum);
|
||||
newCell.setCellStyle(cellStyle);
|
||||
newCell.setCellValue((Date)dataMap.get(selectColumn[cellNum-1]));
|
||||
}
|
||||
}
|
||||
}else{
|
||||
for(int cellNum=0; cellNum<cellNumLoop; cellNum++){
|
||||
if("String".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((String)dataMap.get(selectColumn[cellNum]));
|
||||
}else if("Integer".equals(dataType[cellNum-1])){
|
||||
row.createCell(cellNum).setCellValue((Integer)dataMap.get(selectColumn[cellNum]));
|
||||
}else if("Date".equals(dataType[cellNum-1])){
|
||||
HSSFCell newCell = row.createCell(cellNum);
|
||||
newCell.setCellStyle(cellStyle);
|
||||
newCell.setCellValue((Date)dataMap.get(selectColumn[cellNum]));
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
for(int i=0; i<columnSize; i++){
|
||||
sheet.autoSizeColumn((short)i);
|
||||
sheet.setColumnWidth(i, (sheet.getColumnWidth(i))+512 );
|
||||
}
|
||||
workBook.write(stream);
|
||||
}catch(Exception e){
|
||||
log.error(e);
|
||||
}finally{
|
||||
if(stream!=null)try{stream.close();}catch(Exception e){}
|
||||
}
|
||||
}
|
||||
}
|
||||
@ -85,7 +85,7 @@
|
||||
|
||||
|
||||
<!-- 분쟁조정 서블릿 mapping 경로들 -->
|
||||
<mvc:resources mapping="/img/**" location="/WEB-INF/views/_common/_images/" />
|
||||
<mvc:resources mapping="/img/**" location="/WEB-INF/views/_common/_images/" />
|
||||
<mvc:resources mapping="/site/**" location="/WEB-INF/views/site/" />
|
||||
<mvc:resources mapping="/css/**" location="/WEB-INF/views/_common/_css/" />
|
||||
<mvc:resources mapping="/js/**" location="/WEB-INF/views/_common/_js/" />
|
||||
|
||||
@ -157,7 +157,8 @@
|
||||
<script src="/js/slick.min.js"></script>
|
||||
|
||||
<div class="bannerSetPreview">
|
||||
<div><img src="/img/manager/banner/example-slide-1.jpg" alt="banner1" /></div>
|
||||
<div><img src="/img/manager/banner/example_slide_1.jpg" alt="banner1" /></div>
|
||||
<!-- <div><img src="/img/manager/banner/btn_pre.png" alt="banner1" /></div> -->
|
||||
<div><img src="/img/manager/banner/example-slide-2.jpg" alt="banner2" /></div>
|
||||
<div><img src="/img/manager/banner/example-slide-3.jpg" alt="banner3" /></div>
|
||||
<div><img src="/img/manager/banner/example-slide-1.jpg" alt="banner4" /></div>
|
||||
|
||||
152
src/main/webapp/WEB-INF/jsp/manager/site/siteEdit.jsp
Normal file
152
src/main/webapp/WEB-INF/jsp/manager/site/siteEdit.jsp
Normal file
@ -0,0 +1,152 @@
|
||||
<%@ 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" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="manager.site.siteEdit.title"/></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="manager.site.nav.siteView"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form:form id="frm" name="frm" action="/gtm/proc/siteModProc.do" method="post" >
|
||||
<input type="hidden" name="siteIdx" id="siteIdx" value="<c:out escapeXml='true' value='${tSiteDB.siteIdx}' />" />
|
||||
<fieldset>
|
||||
<legend><s:message code="manager.site.siteEdit.table.caption"/></legend>
|
||||
<div class="bbs-view-layout">
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteEdit.siteName"/></p>
|
||||
<div class="item-box"><input type="text" class="width40 essential" maxlength="100" name="siteName" id="siteName" title="<s:message code="manager.site.siteEdit.siteName"/>" value="<c:out escapeXml='true' value='${tSiteDB.siteName}' />" required /></div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteEdit.siteIdx"/></p>
|
||||
<div class="item-box"><c:out escapeXml='true' value='${tSiteDB.siteIdx}' /></div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteEdit.active.width"/></p>
|
||||
<div class="item-box"><input type="text" class="numOnly width60px" name="siteActiveMenuWidth" id="siteActiveMenuWidth" title="<s:message code="manager.site.siteEdit.active.width"/>" value="<c:out escapeXml='true' value='${tSiteDB.siteActiveMenuWidth}' />" /> px</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteEdit.siteMemberIp"/></p>
|
||||
<div class="item-box">
|
||||
<input type="checkbox" class="checkbox width-none <c:if test="${tSiteDB.siteMemberIp == 'Y'}">checked</c:if>" name="siteMemberIp" id="siteMemberIp" title="<s:message code="manager.site.siteEdit.siteMemberIp"/>" value="Y" <c:if test="${tSiteDB.siteMemberIp == 'Y'}">checked</c:if> />
|
||||
<label for="siteMemberIp"><s:message code="common.message.checkbox.check"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteEdit.siteMenuDepth.top"/></p>
|
||||
<div class="item-box">
|
||||
1 ∼
|
||||
<select name="siteMenuTopDepth" id="siteMenuTopDepth" title="<s:message code="manager.site.siteEdit.siteMenuDepth.top"/>" style="width:50px;" required >
|
||||
<option value="1" <c:if test='${tSiteDB.siteMenuTopDepth == 1}'>selected</c:if>>1</option>
|
||||
<option value="2" <c:if test='${tSiteDB.siteMenuTopDepth == 2}'>selected</c:if>>2</option>
|
||||
<option value="3" <c:if test='${tSiteDB.siteMenuTopDepth == 3}'>selected</c:if>>3</option>
|
||||
<option value="4" <c:if test='${tSiteDB.siteMenuTopDepth == 4}'>selected</c:if>>4</option>
|
||||
<option value="5" <c:if test='${tSiteDB.siteMenuTopDepth == 5}'>selected</c:if>>5</option>
|
||||
<option value="6" <c:if test='${tSiteDB.siteMenuTopDepth == 6}'>selected</c:if>>6</option>
|
||||
<option value="7" <c:if test='${tSiteDB.siteMenuTopDepth == 7}'>selected</c:if>>7</option>
|
||||
<option value="8" <c:if test='${tSiteDB.siteMenuTopDepth == 8}'>selected</c:if>>8</option>
|
||||
<option value="9" <c:if test='${tSiteDB.siteMenuTopDepth == 9}'>selected</c:if>>9</option>
|
||||
<option value="10" <c:if test='${tSiteDB.siteMenuTopDepth == 10}'>selected</c:if>>10</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteEdit.siteMenuDepth.sub"/></p>
|
||||
<div class="item-box">
|
||||
<select name="siteMenuSubSDepth" id="siteMenuSubSDepth" title="<s:message code="manager.site.siteEdit.siteMenuDepth.sub"/>"style="width:50px;" required >
|
||||
<option value="2" <c:if test='${tSiteDB.siteMenuSubSDepth == 2}'>selected</c:if>>2</option>
|
||||
<option value="3" <c:if test='${tSiteDB.siteMenuSubSDepth == 3}'>selected</c:if>>3</option>
|
||||
<option value="4" <c:if test='${tSiteDB.siteMenuSubSDepth == 4}'>selected</c:if>>4</option>
|
||||
<option value="5" <c:if test='${tSiteDB.siteMenuSubSDepth == 5}'>selected</c:if>>5</option>
|
||||
<option value="6" <c:if test='${tSiteDB.siteMenuSubSDepth == 6}'>selected</c:if>>6</option>
|
||||
<option value="7" <c:if test='${tSiteDB.siteMenuSubSDepth == 7}'>selected</c:if>>7</option>
|
||||
<option value="8" <c:if test='${tSiteDB.siteMenuSubSDepth == 8}'>selected</c:if>>8</option>
|
||||
<option value="9" <c:if test='${tSiteDB.siteMenuSubSDepth == 9}'>selected</c:if>>9</option>
|
||||
<option value="10" <c:if test='${tSiteDB.siteMenuSubSDepth == 10}'>selected</c:if>>10</option>
|
||||
</select>
|
||||
~
|
||||
<select name="siteMenuSubEDepth" id="siteMenuSubEDepth" title="<s:message code="manager.site.siteEdit.siteMenuDepth.sub"/>"style="width:50px;" required >
|
||||
<option value="2" <c:if test='${tSiteDB.siteMenuSubEDepth == 2}'>selected</c:if>>2</option>
|
||||
<option value="3" <c:if test='${tSiteDB.siteMenuSubEDepth == 3}'>selected</c:if>>3</option>
|
||||
<option value="4" <c:if test='${tSiteDB.siteMenuSubEDepth == 4}'>selected</c:if>>4</option>
|
||||
<option value="5" <c:if test='${tSiteDB.siteMenuSubEDepth == 5}'>selected</c:if>>5</option>
|
||||
<option value="6" <c:if test='${tSiteDB.siteMenuSubEDepth == 6}'>selected</c:if>>6</option>
|
||||
<option value="7" <c:if test='${tSiteDB.siteMenuSubEDepth == 7}'>selected</c:if>>7</option>
|
||||
<option value="8" <c:if test='${tSiteDB.siteMenuSubEDepth == 8}'>selected</c:if>>8</option>
|
||||
<option value="9" <c:if test='${tSiteDB.siteMenuSubEDepth == 9}'>selected</c:if>>9</option>
|
||||
<option value="10" <c:if test='${tSiteDB.siteMenuSubEDepth == 10}'>selected</c:if>>10</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="common.manager"/></p>
|
||||
<div class="item-box">
|
||||
<c:forEach items="${tSiteDB.tSiteManagers}" var="tSiteManager" varStatus="status">
|
||||
<c:if test='${status.index > 0}'>,</c:if> <c:out escapeXml='true' value='${tSiteManager.tMember.memberName}' />
|
||||
</c:forEach>
|
||||
<a class="btn-sch-item" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/site/<c:out escapeXml='true' value='${siteIdx}' />/gtm/managerList.do" id="managerSearch"><s:message code="common.button.manager"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
|
||||
<div class="btn-area">
|
||||
<button type="submit" class="btn-normal violet"><s:message code="common.button.mod"/></button>
|
||||
<c:if test="${tSiteDB.siteStatus == 'D'}">
|
||||
<a class="btn-normal red dataDel" href="/gtm/proc/siteDelProc/<c:out escapeXml='true' value='${tSiteDB.siteIdx}' />.do"><s:message code="common.button.del"/></a>
|
||||
</c:if>
|
||||
</div>
|
||||
|
||||
</form:form>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".dataDel").click(function(){
|
||||
if(!confirm("<s:message code='common.message.site.confirm.del'/>")){
|
||||
return false;
|
||||
}
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
|
||||
$("#siteName").focus();
|
||||
|
||||
$("#managerSearch").click(function(){
|
||||
var url = $(this).attr("href");
|
||||
window.open(url,"popManagerChk","width=1025, height=768, resizable=no, location=no, toolbar=no, menubar=no, status=no, scrollbars=yes");
|
||||
return false;
|
||||
});
|
||||
|
||||
$("#frm").submit(function(){
|
||||
|
||||
if(!confirm("<s:message code='common.message.site.confirm.mod'/>")){
|
||||
return false;
|
||||
}
|
||||
|
||||
if($("#siteName").val() == ""){
|
||||
alert("<s:message code="manager.site.siteEdit.siteName"/> <s:message code="common.message.essential"/>");
|
||||
$("#siteName").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
189
src/main/webapp/WEB-INF/jsp/manager/site/siteLayOutSet.jsp
Normal file
189
src/main/webapp/WEB-INF/jsp/manager/site/siteLayOutSet.jsp
Normal file
@ -0,0 +1,189 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="manager.site.siteLayOutSet.title"/></title>
|
||||
<script src="/js/lib/base64.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="manager.site.nav.siteLayOutSet"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p>메인, 서브 레이아웃을 수정할 수 있습니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="tab-menu cf">
|
||||
<a <c:if test='${siteLayOutType == "main"}'>class="on" </c:if> href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteLayOutSet.do?siteLayOutType=main"><s:message code="manager.site.tab.siteLayOut.main"/></a>
|
||||
<a <c:if test='${siteLayOutType == "sub"}'>class="on" </c:if>href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteLayOutSet.do?siteLayOutType=sub"><s:message code="manager.site.tab.siteLayOut.sub"/></a>
|
||||
</div>
|
||||
|
||||
<div class="layout-content">
|
||||
<div class="layout-title skinTabs">
|
||||
<button type="button" class="on" id="header"><div class="header-box"><span class="active-span"></span><span></span><span></span></div>Header</button>
|
||||
<button type="button" id="body"><div class="body-box"><span></span><span class="active-span"></span><span></span></div>Body</button>
|
||||
<button type="button" id="footer"><div class="footer-box"><span></span><span></span><span class="active-span"></span></div>Footer</button>
|
||||
<div class="editor-util-btn">
|
||||
<button type="button" class="editor-full-btn">에디터 전체화면</button>
|
||||
|
||||
<div class="bookmark-list-pc member li-pos">
|
||||
<button type="button">북마크 버튼</button>
|
||||
<ul>
|
||||
<li><a href="#" onclick="javascript:jf_GETCODE('<c:out value='${siteIdx}' />', '/<c:out value='${siteIdx}' />/<c:out value='${siteLayOutType}' />/top/menu.do', 'gtm');"><img src="<s:message code="manager.site.button.topMenu"/>" alt="<s:message code="manager.site.button.topMenu.alt"/>"><s:message code="manager.site.button.topMenu.alt"/></a></li>
|
||||
|
||||
<c:if test='${siteLayOutType == "sub"}'>
|
||||
<li><a href="#" onclick="javascript:jf_GETCODE('<c:out value='${siteIdx}' />', '/<c:out value='${siteIdx}' />/<c:out value='${siteLayOutType}' />/sub/menu.do?siteMenuIdx1=@seed:menuDepth:@seed', 'gtm');"><img src="<s:message code="manager.site.button.subMenu"/>" alt="<s:message code="manager.site.button.subMenu.alt"/>"><s:message code="manager.site.button.subMenu.alt"/></a></li>
|
||||
<li><a href="#" onclick="javascript:jf_GETCODE('<c:out value='${siteIdx}' />', '@seed:siteMenuName:@seed', 'gtm');"><img src="<s:message code="manager.site.button.contentsTit"/>" alt="<s:message code="manager.site.button.contentsTit.alt"/>"><s:message code="manager.site.button.contentsTit.alt"/></a></li>
|
||||
<li><a href="#" onclick="javascript:jf_GETCODE('<c:out value='${siteIdx}' />', '/common/navigation/<c:out value='${siteIdx}' />/@seed:siteMenuIdx:@seed.do', 'gtm');"><img src="<s:message code="manager.site.button.navigation"/>" alt="<s:message code="manager.site.button.navigation.alt"/>"><s:message code="manager.site.button.navigation.alt"/></a></li>
|
||||
</c:if>
|
||||
|
||||
<c:forEach items="${menuAuthList}" var="menuAuthList">
|
||||
<c:if test='${menuAuthList._menuType == "A" || menuAuthList._menuType == "M"}'>
|
||||
<li>
|
||||
<a href="#" onclick="javascript:jf_GETCODEList('<c:out value='${siteIdx}' />', '<c:out value='${menuAuthList._menuCode}' />', 'gtm');"><img src="<s:message code="manager.site.button.${menuAuthList._menuCode}"/>" alt="<c:out value='${menuAuthList._menuName}' />"/><c:out value='${menuAuthList._menuName}' /></a>
|
||||
</li>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="editor">
|
||||
<span class="rolling"></span>
|
||||
<iframe class="iframe" src="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteLayOutSetHtml.do?siteLayOutType=<c:out escapeXml='true' value='${siteLayOutType}' />&siteLayOutPosition=header" id="siteLayOutHtmlHeader" name="siteLayOutHtmlHeader"></iframe>
|
||||
<iframe class="iframe" src="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteLayOutSetHtml.do?siteLayOutType=<c:out escapeXml='true' value='${siteLayOutType}' />&siteLayOutPosition=sub" id="siteLayOutHtmlBody" name="siteLayOutHtmlBody"></iframe>
|
||||
<iframe class="iframe" src="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteLayOutSetHtml.do?siteLayOutType=<c:out escapeXml='true' value='${siteLayOutType}' />&siteLayOutPosition=footer" id="siteLayOutHtmlFooter" name="siteLayOutHtmlFooter"></iframe>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn-area">
|
||||
<button type="button" class="btn-normal lightgray" id="btnPreview"><s:message code="common.button.preview"/></button>
|
||||
<button type="button" class="btn-normal lightgray" id="btnHistory"><s:message code="common.button.history"/></button>
|
||||
<button type="button" class="btn-normal violet" id="btnHeader"><s:message code="common.button.mod"/></button>
|
||||
<button type="button" class="btn-normal violet DSP-NONE" id="btnBody"><s:message code="common.button.mod"/></button>
|
||||
<button type="button" class="btn-normal violet DSP-NONE" id="btnFooter"><s:message code="common.button.mod"/></button>
|
||||
</div>
|
||||
|
||||
<form id="frmPreview" name="frmPreview">
|
||||
<input type="hidden" name="siteLayOutType" id="siteLayOutType" value="<c:out escapeXml='true' value='${siteLayOutType}' />" />
|
||||
<input type="hidden" name="siteLayOutPosition" id="siteLayOutPosition" value="" />
|
||||
<textarea name="siteLayOutHtml" id="siteLayOutHtml" style="display: none;"></textarea>
|
||||
</form>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
var layOutSubType = "header";
|
||||
|
||||
$("#btnHeader").click(function(){
|
||||
$("#siteLayOutHtmlHeader")[0].contentWindow.jf_submit();
|
||||
});
|
||||
|
||||
$("#btnBody").click(function(){
|
||||
$("#siteLayOutHtmlBody")[0].contentWindow.jf_submit();
|
||||
});
|
||||
|
||||
$("#btnFooter").click(function(){
|
||||
$("#siteLayOutHtmlFooter")[0].contentWindow.jf_submit();
|
||||
});
|
||||
|
||||
$("#header").click(function(){
|
||||
layOutSubType = "header";
|
||||
|
||||
$("#header").addClass("on");
|
||||
$("#body").removeClass("on");
|
||||
$("#footer").removeClass("on");
|
||||
|
||||
$("#btnHeader").show();
|
||||
$("#btnBody").hide();
|
||||
$("#btnFooter").hide();
|
||||
|
||||
$("#siteLayOutHtmlHeader").show();
|
||||
$("#siteLayOutHtmlBody").hide();
|
||||
$("#siteLayOutHtmlFooter").hide();
|
||||
});
|
||||
|
||||
$("#body").click(function(){
|
||||
layOutSubType = "sub";
|
||||
|
||||
$("#header").removeClass("on");
|
||||
$("#body").addClass("on");
|
||||
$("#footer").removeClass("on");
|
||||
|
||||
$("#btnHeader").hide();
|
||||
$("#btnBody").show();
|
||||
$("#btnFooter").hide();
|
||||
|
||||
$("#siteLayOutHtmlHeader").hide();
|
||||
$("#siteLayOutHtmlBody").show();
|
||||
$("#siteLayOutHtmlFooter").hide();
|
||||
});
|
||||
|
||||
$("#footer").click(function(){
|
||||
layOutSubType = "footer";
|
||||
|
||||
$("#header").removeClass("on");
|
||||
$("#body").removeClass("on");
|
||||
$("#footer").addClass("on");
|
||||
|
||||
$("#btnHeader").hide();
|
||||
$("#btnBody").hide();
|
||||
$("#btnFooter").show();
|
||||
|
||||
$("#siteLayOutHtmlHeader").hide();
|
||||
$("#siteLayOutHtmlBody").hide();
|
||||
$("#siteLayOutHtmlFooter").show();
|
||||
});
|
||||
|
||||
$("#btnHistory").click(function(){
|
||||
|
||||
if(layOutSubType == "header"){
|
||||
$("#siteLayOutHtmlHeader")[0].contentWindow.jf_codeSubmit();
|
||||
}else if(layOutSubType == "sub"){
|
||||
$("#siteLayOutHtmlBody")[0].contentWindow.jf_codeSubmit();
|
||||
}else if(layOutSubType == "footer"){
|
||||
$("#siteLayOutHtmlFooter")[0].contentWindow.jf_codeSubmit();
|
||||
}
|
||||
|
||||
jf_GETCODE("<c:out escapeXml='true' value='${siteIdx}' />", "/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteAttrLayOutHistory/<c:out escapeXml='true' value='${siteLayOutType}' />/"+layOutSubType+".do", "history");
|
||||
});
|
||||
|
||||
$("#btnPreview").click(function(){
|
||||
|
||||
var frm = document.frmPreview;
|
||||
|
||||
if(layOutSubType == "header"){
|
||||
$("#siteLayOutHtmlHeader")[0].contentWindow.jf_codeSubmit();
|
||||
$("#siteLayOutHtml").val($("#siteLayOutHtml", parent.siteLayOutHtmlHeader.document).val());
|
||||
}else if(layOutSubType == "sub"){
|
||||
$("#siteLayOutHtmlBody")[0].contentWindow.jf_codeSubmit();
|
||||
$("#siteLayOutHtml").val($("#siteLayOutHtml", parent.siteLayOutHtmlBody.document).val());
|
||||
}else if(layOutSubType == "footer"){
|
||||
$("#siteLayOutHtmlFooter")[0].contentWindow.jf_codeSubmit();
|
||||
$("#siteLayOutHtml").val($("#siteLayOutHtml", parent.siteLayOutHtmlFooter.document).val());
|
||||
}
|
||||
|
||||
frm.siteLayOutPosition.value = layOutSubType;
|
||||
frm.method = "post";
|
||||
frm.target = "PreViewHtml";
|
||||
frm.action = "/common/<c:out escapeXml='true' value='${siteIdx}' />/preViewHtml.do";
|
||||
|
||||
var popup = window.open("", "PreViewHtml", "width=1024px, height=768px, scrollbars=yes, resizable=yes");
|
||||
|
||||
popup.focus();
|
||||
frm.submit();
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
</body>
|
||||
</html>
|
||||
275
src/main/webapp/WEB-INF/jsp/manager/site/siteLayOutSetHtml.jsp
Normal file
275
src/main/webapp/WEB-INF/jsp/manager/site/siteLayOutSetHtml.jsp
Normal file
@ -0,0 +1,275 @@
|
||||
<%@ 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" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="manager.site.siteLayOutHtml.title"/></title>
|
||||
<link rel="stylesheet" href="/codemirror/lib/codemirror.css">
|
||||
<link rel="stylesheet" href="/codemirror/addon/dialog/dialog.css">
|
||||
<link rel="stylesheet" href="/codemirror/addon/hint/show-hint.css">
|
||||
<link rel="stylesheet" href="/codemirror/addon/display/fullscreen.css">
|
||||
<link rel="stylesheet" href="//fonts.googleapis.com/earlyaccess/notosanskr.css">
|
||||
<style>
|
||||
<!--
|
||||
body { margin:0; padding:0; }
|
||||
textarea { border:1px solid #ddd; border-radius:5px; vertical-align:0;font-family:"돋움", "dotum"; font-size:12px;}
|
||||
.CodeMirror {
|
||||
height : 466px;
|
||||
}
|
||||
.CodeMirror-matchingtag { background: rgba(255, 150, 0, .3); }
|
||||
.cm-tab {
|
||||
background: url(data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAADAAAAAMCAYAAAAkuj5RAAAAAXNSR0IArs4c6QAAAGFJREFUSMft1LsRQFAQheHPowAKoACx3IgEKtaEHujDjORSgWTH/ZOdnZOcM/sgk/kFFWY0qV8foQwS4MKBCS3qR6ixBJvElOobYAtivseIE120FaowJPN75GMu8j/LfMwNjh4HUpwg4LUAAAAASUVORK5CYII=);
|
||||
background-position: right;
|
||||
background-repeat: no-repeat;
|
||||
}
|
||||
-->
|
||||
</style>
|
||||
|
||||
<!-- theme css -->
|
||||
<link rel="stylesheet" href="/codemirror/theme/3024-day.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/3024-night.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/ambiance.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/base16-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/base16-light.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/blackboard.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/cobalt.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/eclipse.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/elegant.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/erlang-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/lesser-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/mbo.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/midnight.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/monokai.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/neat.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/night.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/paraiso-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/paraiso-light.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/rubyblue.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/solarized.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/the-matrix.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/tomorrow-night-eighties.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/twilight.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/vibrant-ink.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/xq-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/xq-light.css">
|
||||
<!-- theme css -->
|
||||
|
||||
<script src="/codemirror/lib/codemirror.js"></script>
|
||||
<script src="/codemirror/mode/xml/xml.js"></script>
|
||||
<script src="/codemirror/addon/dialog/dialog.js"></script>
|
||||
<script src="/codemirror/addon/search/searchcursor.js"></script>
|
||||
<script src="/codemirror/addon/search/search.js"></script>
|
||||
<script src="/codemirror/addon/fold/xml-fold.js"></script>
|
||||
<script src="/codemirror/addon/edit/matchtags.js"></script>
|
||||
<script src="/codemirror/addon/edit/closetag.js"></script>
|
||||
<script src="/codemirror/addon/hint/show-hint.js"></script>
|
||||
<script src="/codemirror/addon/hint/xml-hint.js"></script>
|
||||
<script src="/codemirror/addon/hint/html-hint.js"></script>
|
||||
<script src="/codemirror/mode/javascript/javascript.js"></script>
|
||||
<script src="/codemirror/mode/css/css.js"></script>
|
||||
<script src="/codemirror/mode/htmlmixed/htmlmixed.js"></script>
|
||||
<script src="/codemirror/addon/display/fullscreen.js"></script>
|
||||
<script src="/codemirror/mode/clike/clike.js"></script>
|
||||
<script src="/codemirror/keymap/extra.js"></script>
|
||||
<script src="/codemirror/addon/selection/active-line.js"></script>
|
||||
<script src="/codemirror/addon/edit/matchbrackets.js"></script>
|
||||
<script src="/codemirror/addon/zen/zen_codemirror.min.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
|
||||
<style>
|
||||
html{overflow:hidden;}
|
||||
body{background:#fff;}
|
||||
</style>
|
||||
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<form:form name="frm" id="frm" method="post" action="/gtm/proc/${siteIdx}/siteLayOutSetHtml.do">
|
||||
<input type="hidden" name="siteLayOutType" id="siteLayOutType" value="<c:out escapeXml='true' value='${siteLayOutType}' />"/>
|
||||
<input type="hidden" name="siteLayOutPosition" id="siteLayOutPosition" value="<c:out escapeXml='true' value='${siteLayOutPosition}' />"/>
|
||||
<textarea name="siteLayOutHtml" id="siteLayOutHtml" style="display:none; "><c:out escapeXml='true' value='${siteLayOutHtml}' /></textarea>
|
||||
<textarea name="codeTextArea" id="codeTextArea" rows="" cols="" style="height:500px; width:99%;"><c:out escapeXml='true' value='${siteLayOutHtml}' /></textarea>
|
||||
|
||||
<div class="layout-footer">
|
||||
<div class="skin-list-box">
|
||||
<label for="layout-skin-list" class="hidden">레이아웃 스킨 선택</label>
|
||||
<select onchange="selectTheme()" id="select" class="layout-skin-list">
|
||||
<option selected>default</option>
|
||||
<option>3024-day</option>
|
||||
<option>3024-night</option>
|
||||
<option>ambiance</option>
|
||||
<option>base16-dark</option>
|
||||
<option>base16-light</option>
|
||||
<option>blackboard</option>
|
||||
<option>cobalt</option>
|
||||
<option>eclipse</option>
|
||||
<option>elegant</option>
|
||||
<option>erlang-dark</option>
|
||||
<option>lesser-dark</option>
|
||||
<option>mbo</option>
|
||||
<option>midnight</option>
|
||||
<option>monokai</option>
|
||||
<option>neat</option>
|
||||
<option>night</option>
|
||||
<option>paraiso-dark</option>
|
||||
<option>paraiso-light</option>
|
||||
<option>rubyblue</option>
|
||||
<option>solarized dark</option>
|
||||
<option>solarized light</option>
|
||||
<option>the-matrix</option>
|
||||
<option>tomorrow-night-eighties</option>
|
||||
<option>twilight</option>
|
||||
<option>vibrant-ink</option>
|
||||
<option>xq-dark</option>
|
||||
<option>xq-light</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<!--
|
||||
|
||||
///////////////
|
||||
Crtl-E
|
||||
toMatchingTag
|
||||
Ctrl-Space
|
||||
autocomplete
|
||||
///////////////
|
||||
|
||||
/////////////// Search /////////////////
|
||||
Ctrl-F / Cmd-F
|
||||
Start searching
|
||||
Ctrl-G / Cmd-G
|
||||
Find next
|
||||
Shift-Ctrl-G / Shift-Cmd-G
|
||||
Find previous
|
||||
Shift-Ctrl-F / Cmd-Option-F
|
||||
Replace
|
||||
Shift-Ctrl-R / Shift-Cmd-Option-F
|
||||
Replace all
|
||||
/////////////// Search /////////////////
|
||||
|
||||
|
||||
/////////////// Full Screen ////////////
|
||||
F11
|
||||
Full Size
|
||||
ESC
|
||||
Full Not Size
|
||||
/////////////// Full Screen ////////////
|
||||
|
||||
|
||||
/////////// TAB Zen Coding/////////
|
||||
http://docs.emmet.io/abbreviations/syntax/
|
||||
/////////// TAB Zen Coding /////////
|
||||
|
||||
-->
|
||||
</form:form>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$("#frm").submit(function(){
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
|
||||
var F11key = false;
|
||||
|
||||
$(".CodeMirror").keyup(function(e) {
|
||||
if(e.keyCode == "122" || e.keyCode == "27"){
|
||||
if(F11key == false){
|
||||
if(e.keyCode == "122"){ //F11
|
||||
parent.jf_eventF11('${siteLayOutPosition}');
|
||||
F11key = true;
|
||||
}else if(e.keyCode == "27"){ //ESC
|
||||
parent.jf_eventEsc('${siteLayOutPosition}');
|
||||
}
|
||||
}else{
|
||||
parent.jf_eventEsc('${siteLayOutPosition}');
|
||||
F11key = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
|
||||
CodeMirror.commands.autocomplete = function(cm) {
|
||||
CodeMirror.showHint(cm, CodeMirror.hint.javascript);
|
||||
};
|
||||
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("codeTextArea"), {
|
||||
value: "<html>\n " + document.documentElement.innerHTML + "\n</html>",
|
||||
mode: "text/html",
|
||||
lineNumbers: true,
|
||||
lines : true,
|
||||
matchTags: {bothTags: true},
|
||||
extraKeys: {
|
||||
"Ctrl-E": "toMatchingTag",
|
||||
"Ctrl-Space": "autocomplete",
|
||||
"F11": function(cm) {
|
||||
if (cm.getOption("fullScreen")) {
|
||||
cm.setOption("fullScreen", false);
|
||||
window.parent.jf_eventEsc();
|
||||
return;
|
||||
}
|
||||
cm.setOption("fullScreen", !cm.getOption("fullScreen"));
|
||||
window.parent.jf_eventF11();
|
||||
},
|
||||
"Esc": function(cm) {
|
||||
if (cm.getOption("fullScreen")) {
|
||||
cm.setOption("fullScreen", false);
|
||||
window.parent.jf_eventEsc();
|
||||
}
|
||||
}
|
||||
},
|
||||
autoCloseTags: true,
|
||||
styleActiveLine: true,
|
||||
matchBrackets: true,
|
||||
syntax: 'html', /* define Zen Coding syntax */
|
||||
profile: 'xhtml', /* define Zen Coding output profile */
|
||||
|
||||
// send all key events to Zen Coding
|
||||
onKeyEvent: function() {
|
||||
return zen_editor.handleKeyEvent.apply(zen_editor, arguments);
|
||||
}
|
||||
});
|
||||
|
||||
if( typeof window.parent.isFullScreen === 'function' && window.parent.isFullScreen() ){
|
||||
window.parent.jf_eventF11('reload');
|
||||
}
|
||||
|
||||
|
||||
var input = document.getElementById("select");
|
||||
|
||||
function selectTheme() {
|
||||
var theme = input.options[input.selectedIndex].innerHTML;
|
||||
editor.setOption("theme", theme);
|
||||
jf_setCookie("selectTheme", theme);
|
||||
}
|
||||
|
||||
var choice = jf_getCookie("selectTheme");
|
||||
|
||||
if (choice != "") {
|
||||
input.value = choice;
|
||||
editor.setOption("theme", choice);
|
||||
$("#select").val(choice).attr("selected", "selected");
|
||||
}
|
||||
|
||||
function jf_submit(){
|
||||
$("#siteLayOutHtml").val(editor.getValue());
|
||||
$("#frm").submit();
|
||||
}
|
||||
|
||||
function jf_codeSubmit(){
|
||||
$("#siteLayOutHtml").val(editor.getValue());
|
||||
}
|
||||
|
||||
function jf_codeSetSubmit(){
|
||||
editor.setValue($("#siteLayOutHtml").val());
|
||||
}
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
|
||||
</html>
|
||||
427
src/main/webapp/WEB-INF/jsp/manager/site/siteManagerList.jsp
Normal file
427
src/main/webapp/WEB-INF/jsp/manager/site/siteManagerList.jsp
Normal file
@ -0,0 +1,427 @@
|
||||
<%@ 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/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="common.manager.title"/></title>
|
||||
<link rel="stylesheet" href="/css/space.css">
|
||||
<script src="/js/seed.app.js"></script>
|
||||
<script src="/js/lib/jquery.bxslider.min.js"></script>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="seed-popup-wrap">
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="common.manager.nav.managerList"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sch-content-wrap clear">
|
||||
<form:form name="frmSearch" id="frmSearch" method="post" action="/common/${siteIdx}/${funcType}/${funcIdx}/${pageType}/managerList.do">
|
||||
<input type="hidden" name="page" value="1" />
|
||||
<input type="hidden" name="row" value="<c:out escapeXml='true' value='${row}' />" />
|
||||
<input type="hidden" name="orderColumn" value="<c:out escapeXml='true' value='${orderColumn}' />" />
|
||||
<input type="hidden" name="order" value="<c:out escapeXml='true' value='${order}' />" />
|
||||
<input type="hidden" name="pagec" value="<c:out escapeXml='true' value='${pagec}' />" />
|
||||
<input type="hidden" name="rowc" value="<c:out escapeXml='true' value='${rowc}' />" />
|
||||
<input type="hidden" name="orderColumnc" value="<c:out escapeXml='true' value='${orderColumnc}' />" />
|
||||
<input type="hidden" name="orderc" value="<c:out escapeXml='true' value='${orderc}' />" />
|
||||
<input type="hidden" name="selGroupc" value="<c:out escapeXml='true' value='${selGroupc}' />" />
|
||||
<input type="hidden" name="columnc" value="<c:out escapeXml='true' value='${columnc}' />" />
|
||||
<input type="hidden" name="searchc" value="<c:out escapeXml='true' value='${searchc}' />" />
|
||||
|
||||
<fieldset>
|
||||
<legend>검색 폼</legend>
|
||||
|
||||
<select name="selGroup" id="selGroup" title="<s:message code="common.select.option.value"/>" class="sch-select">
|
||||
<option value="0" <c:if test="${selGroup == 0}">selected="selected"</c:if>><s:message code="common.select.option.value.all"/></option>
|
||||
<c:forEach items="${groupList}" var="groupList" varStatus="status">
|
||||
<c:if test='${groupList._groupLevel != 999}'>
|
||||
<option value="<c:out escapeXml='true' value='${groupList._groupIdx}' />" <c:if test="${groupList._groupIdx == selGroup}">selected="selected"</c:if>>${groupList._groupName}</option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</select>
|
||||
|
||||
<select name="column" id="column" title="<s:message code="common.select.option.value"/>" class="sch-select">
|
||||
<option value="A" <c:if test="${column == 'A'}">selected="selected"</c:if>><s:message code="common.select.option.value.all"/></option>
|
||||
<option value="tMember.memberId" <c:if test="${column == 'tMember.memberId'}">selected="selected"</c:if>><s:message code="common.memberId"/></option>
|
||||
<option value="tMember.memberName" <c:if test="${column == 'tMember.memberName'}">selected="selected"</c:if>><s:message code="common.memberName"/></option>
|
||||
</select>
|
||||
<input type="search" name="search" id="search" value="<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.search.value"/>" class="sch-text">
|
||||
<button type="submit" class="btn-page-sch"><s:message code="common.button.search"/></button>
|
||||
</fieldset>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form:form name="frm" id="frm" method="post" action="/common/proc/${siteIdx}/${funcType}/${funcIdx}/${pageType}/managerStatusProc.do">
|
||||
<input type="hidden" name="page" value="<c:out escapeXml='true' value='${page}' />" />
|
||||
<input type="hidden" name="row" value="<c:out escapeXml='true' value='${row}' />" />
|
||||
<input type="hidden" name="orderColumn" value="<c:out escapeXml='true' value='${orderColumn}' />" />
|
||||
<input type="hidden" name="order" value="<c:out escapeXml='true' value='${order}' />" />
|
||||
<input type="hidden" name="selGroup" value="<c:out escapeXml='true' value='${selGroup}' />" />
|
||||
<input type="hidden" name="column" value="<c:out escapeXml='true' value='${column}' />" />
|
||||
<input type="hidden" name="search" value="<c:out escapeXml='true' value='${search}' />" />
|
||||
<input type="hidden" name="pagec" value="<c:out escapeXml='true' value='${pagec}' />" />
|
||||
<input type="hidden" name="rowc" value="<c:out escapeXml='true' value='${rowc}' />" />
|
||||
<input type="hidden" name="orderColumnc" value="<c:out escapeXml='true' value='${orderColumnc}' />" />
|
||||
<input type="hidden" name="orderc" value="<c:out escapeXml='true' value='${orderc}' />" />
|
||||
<input type="hidden" name="selGroupc" value="<c:out escapeXml='true' value='${selGroupc}' />" />
|
||||
<input type="hidden" name="columnc" value="<c:out escapeXml='true' value='${columnc}' />" />
|
||||
<input type="hidden" name="searchc" value="<c:out escapeXml='true' value='${searchc}' />" />
|
||||
|
||||
<div class="more-btn-box">
|
||||
<button type="button" id="moreTableItem" class="more-table-item">칼럼 더보기</button>
|
||||
</div>
|
||||
|
||||
<div class="form-wrap">
|
||||
<div class="table-layout br-none">
|
||||
<table>
|
||||
<caption><s:message code="common.manager.table.caption"/></caption>
|
||||
<colgroup>
|
||||
<col class="small_checkbox">
|
||||
<col class="title">
|
||||
<col>
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-mobile-hidden">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" class="checkbox check-all" name="allcheck" id="allcheck" title="<s:message code="common.message.allCheck"/>" /><label for="allcheck"></label></th>
|
||||
<th scope="col" ><s:message code="common.memberId"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberId&order=ASC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&pagec=<c:out escapeXml='true' value='${pagec}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberId&order=DESC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col"><s:message code="common.memberName"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberName&order=ASC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&row=<c:out escapeXml='true' value='${row}' />&page=<c:out escapeXml='true' value='${page}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&pagec=<c:out escapeXml='true' value='${pagec}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberName&order=DESC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.memberDept"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberDept&order=ASC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&pagec=<c:out escapeXml='true' value='${pagec}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberDept&order=DESC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.memberPosition"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberPosition&order=ASC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&pagec=<c:out escapeXml='true' value='${pagec}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=tMember.memberPosition&order=DESC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.regDate"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=siteManagerRegDate&order=ASC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&row=<c:out escapeXml='true' value='${row}' />&page=<c:out escapeXml='true' value='${page}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&pagec=<c:out escapeXml='true' value='${pagec}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=siteManagerRegDate&order=DESC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="common.status"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=siteManagerStatus&order=ASC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&row=<c:out escapeXml='true' value='${row}' />&page=<c:out escapeXml='true' value='${page}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&pagec=<c:out escapeXml='true' value='${pagec}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=siteManagerStatus&order=DESC&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<c:choose>
|
||||
<c:when test="${!empty managerList}">
|
||||
<c:forEach items="${managerList}" var="managerList" varStatus="status">
|
||||
<tr>
|
||||
<td><input type="checkbox" class="checkbox check-base" name="idxs" id="manager_${managerList._siteManagerIdx}" value="<c:out escapeXml='true' value='${managerList._siteManagerIdx}' />" /><label for="manager_${managerList._siteManagerIdx}"></label> <c:out escapeXml='true' value='${managerListCnt - (page-1)*row - status.index}' /></td>
|
||||
<td><c:out escapeXml='true' value='${managerList._memberId}' /></td>
|
||||
<td><c:out escapeXml='true' value='${managerList._memberName}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${managerList._memberDept}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${managerList._memberPosition}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${fn:substring(managerList._siteManagerRegDate, 0, 10)}' /></td>
|
||||
<c:choose>
|
||||
<c:when test="${managerList._siteManagerStatus == 'U'}">
|
||||
<td class="item-mobile-hidden skin-default"><s:message code="common.use"/></td>
|
||||
</c:when>
|
||||
<c:when test="${managerList._siteManagerStatus == 'S'}">
|
||||
<td class="item-mobile-hidden"><s:message code="common.stop"/></td>
|
||||
</c:when>
|
||||
<c:when test="${managerList._siteManagerStatus == 'D'}">
|
||||
<td class="item-mobile-hidden">
|
||||
<a class="dataDel" href="/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerDelProc/<c:out escapeXml='true' value='${managerList._siteManagerIdx}' />.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&row=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />"><s:message code="common.button.del"/></a>
|
||||
</td>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td class="no-data-colspan"><s:message code="common.message.no.data"/></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="change-state-area">
|
||||
<label for="selStatus"><s:message code="common.manager.status.select"/></label>
|
||||
<select name="selStatus" id="selStatus" title="<s:message code="common.select.option.value"/>" class="change-list" required>
|
||||
<option value=""><s:message code="common.select.option.value"/></option>
|
||||
<option value="U"><s:message code="common.select.option.value.use"/></option>
|
||||
<option value="S"><s:message code="common.select.option.value.stop"/></option>
|
||||
<option value="D"><s:message code="common.select.option.value.delete"/></option>
|
||||
</select>
|
||||
<button type="submit" class="btn-change-state"><s:message code="common.button.status"/></button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form:form>
|
||||
|
||||
<div class="pagination-container">
|
||||
<div class="pagination-inner clear">
|
||||
<div class="pagination-control prev clear">
|
||||
<a class="first-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=1&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.first"/>" ><s:message code="common.page.first"/></a>
|
||||
<c:choose>
|
||||
<c:when test="${block > 1}">
|
||||
<a class="prev-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${fPage-1}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.prev"/>" ><s:message code="common.page.prev"/></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a class="prev-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.prev"/>" ><s:message code="common.page.prev"/></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<ul class="pagination clear">
|
||||
<c:forEach begin="0" end="${lPage-fPage}" var="index" >
|
||||
<c:choose>
|
||||
<c:when test="${index+fPage==page}">
|
||||
<li><a class="on" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.now"/>" ><c:out escapeXml='true' value='${page}' /></a></li>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<li><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${index+fPage}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<c:out escapeXml='true' value='${index+fPage}' /> <s:message code="common.page.page"/>" ><c:out escapeXml='true' value='${index+fPage}' /></a></li>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<div class="pagination-control next clear">
|
||||
<c:choose>
|
||||
<c:when test="${block < blocks}">
|
||||
<a class="next-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${lPage+1}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.next"/>" ><s:message code="common.page.next"/></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a class="next-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.next"/>" ><s:message code="common.page.next"/></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<a class="last-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?page=<c:out escapeXml='true' value='${pages}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />&pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.page.last"/>" ><s:message code="common.page.last"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<hr/>
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="manager.member.nav.memberList"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sch-content-wrap clear">
|
||||
<form:form name="frmSearchc" id="frmSearchc" method="post" action="/common/${siteIdx}/${funcType}/${funcIdx}/${pageType}/managerList.do">
|
||||
<input type="hidden" name="page" value="<c:out escapeXml='true' value='${page}' />" />
|
||||
<input type="hidden" name="row" value="<c:out escapeXml='true' value='${row}' />" />
|
||||
<input type="hidden" name="orderColumn" value="<c:out escapeXml='true' value='${orderColumn}' />" />
|
||||
<input type="hidden" name="order" value="<c:out escapeXml='true' value='${order}' />" />
|
||||
<input type="hidden" name="selGroup" value="<c:out escapeXml='true' value='${selGroup}' />" />
|
||||
<input type="hidden" name="column" value="<c:out escapeXml='true' value='${column}' />" />
|
||||
<input type="hidden" name="search" value="<c:out escapeXml='true' value='${search}' />" />
|
||||
<input type="hidden" name="pagec" value="1" />
|
||||
<input type="hidden" name="rowc" value="<c:out escapeXml='true' value='${rowc}' />" />
|
||||
<input type="hidden" name="orderColumnc" value="<c:out escapeXml='true' value='${orderColumnc}' />" />
|
||||
<input type="hidden" name="orderc" value="<c:out escapeXml='true' value='${orderc}' />" />
|
||||
|
||||
<fieldset>
|
||||
<legend>검색 폼</legend>
|
||||
|
||||
<select name="selGroup" id="selGroup" title="<s:message code="common.select.option.value"/>" class="sch-select">
|
||||
<option value="0" <c:if test="${selGroup == 0}">selected="selected"</c:if>><s:message code="common.select.option.value.all"/></option>
|
||||
<c:forEach items="${groupList}" var="groupList" varStatus="status">
|
||||
<c:if test='${groupList._groupLevel != 999}'>
|
||||
<option value="<c:out escapeXml='true' value='${groupList._groupIdx}' />" <c:if test="${groupList._groupIdx == selGroup}">selected="selected"</c:if>>${groupList._groupName}</option>
|
||||
</c:if>
|
||||
</c:forEach>
|
||||
</select>
|
||||
|
||||
<select name="columnc" id="columnc" title="<s:message code="common.select.option.value"/>" class="sch-select">
|
||||
<option value="A" <c:if test="${columnc == 'A'}">selected="selected"</c:if>><s:message code="common.select.option.value.all"/></option>
|
||||
<option value="memberId" <c:if test="${columnc == 'memberId'}">selected="selected"</c:if>><s:message code="common.memberId"/></option>
|
||||
<option value="memberName" <c:if test="${columnc == 'memberName'}">selected="selected"</c:if>><s:message code="common.memberName"/></option>
|
||||
</select>
|
||||
<input type="search" name="searchc" id="searchc" value="<c:out escapeXml='true' value='${searchc}' />" title="<s:message code="common.search.value"/>" class="sch-text">
|
||||
<button type="submit" class="btn-page-sch"><s:message code="common.button.search"/></button>
|
||||
</fieldset>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<form:form name="frmc" id="frmc" method="post" action="/common/proc/${siteIdx}/${funcType}/${funcIdx}/${pageType}/managerRegProc.do">
|
||||
<input type="hidden" name="page" value="<c:out escapeXml='true' value='${page}' />" />
|
||||
<input type="hidden" name="row" value="<c:out escapeXml='true' value='${row}' />" />
|
||||
<input type="hidden" name="orderColumn" value="<c:out escapeXml='true' value='${orderColumn}' />" />
|
||||
<input type="hidden" name="order" value="<c:out escapeXml='true' value='${order}' />" />
|
||||
<input type="hidden" name="selGroup" value="<c:out escapeXml='true' value='${selGroup}' />" />
|
||||
<input type="hidden" name="column" value="<c:out escapeXml='true' value='${column}' />" />
|
||||
<input type="hidden" name="search" value="<c:out escapeXml='true' value='${search}' />" />
|
||||
<input type="hidden" name="pagec" value="<c:out escapeXml='true' value='${pagec}' />" />
|
||||
<input type="hidden" name="rowc" value="<c:out escapeXml='true' value='${rowc}' />" />
|
||||
<input type="hidden" name="orderColumnc" value="<c:out escapeXml='true' value='${orderColumnc}' />" />
|
||||
<input type="hidden" name="orderc" value="<c:out escapeXml='true' value='${orderc}' />" />
|
||||
<input type="hidden" name="selGroupc" value="<c:out escapeXml='true' value='${selGroupc}' />" />
|
||||
<input type="hidden" name="columnc" value="<c:out escapeXml='true' value='${columnc}' />" />
|
||||
<input type="hidden" name="searchc" value="<c:out escapeXml='true' value='${searchc}' />" />
|
||||
|
||||
<div class="more-btn-box">
|
||||
<button type="button" id="moreTableItem" class="more-table-item">칼럼 더보기</button>
|
||||
</div>
|
||||
|
||||
<div class="form-wrap">
|
||||
<div class="table-layout br-none">
|
||||
<table>
|
||||
<caption><s:message code="common.member.table.caption"/></caption>
|
||||
<colgroup>
|
||||
<col class="small_checkbox">
|
||||
<col class="title">
|
||||
<col>
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-mobile-hidden">
|
||||
<col class="item-mobile-hidden">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><input type="checkbox" class="checkbox check-all" name="allcheckc" id="allcheckc" title="<s:message code="common.message.allCheck"/>" /><label for="allcheckc"></label></th>
|
||||
<th scope="col"><s:message code="common.memberId"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberId&orderc=ASC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberId&orderc=DESC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col"><s:message code="common.memberName"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberName&orderc=ASC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberName&orderc=DESC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.memberDept"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberDept&orderc=ASC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberDept&orderc=DESC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.memberPosition"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberPosition&orderc=ASC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberPosition&orderc=DESC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="common.regDate"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberRegDate&orderc=ASC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberRegDate&orderc=DESC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="common.status"/> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberStatus&orderc=ASC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.up"/>" width="7" height="10" alt="<s:message code="common.move.up"/>" /></a></span> <span><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=memberStatus&orderc=DESC&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />"><img src="<s:message code="common.column.down"/>" width="7" height="10" alt="<s:message code="common.move.down"/>" /></a></span></th>
|
||||
</tr>
|
||||
<tbody>
|
||||
<c:choose>
|
||||
<c:when test="${!empty memberList}">
|
||||
<c:forEach items="${memberList}" var="memberList" varStatus="status">
|
||||
<tr>
|
||||
<td><c:if test='${memberList._memberGrant != "S"}'><input type="checkbox" class="checkbox check-base" name="idxsc" id="member_${memberList._memberIdx}" value="<c:out escapeXml='true' value='${memberList._memberIdx}' />" /></c:if><label for="member_${memberList._memberIdx}"></label> ${memberListCnt - (pagec-1)*rowc - status.index}</td>
|
||||
<td><c:out escapeXml='true' value='${memberList._memberId}' /></td>
|
||||
<td><c:out escapeXml='true' value='${memberList._memberName}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${memberList._memberDept}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${memberList._memberPosition}' /></td>
|
||||
<td class="item-mobile-hidden"><c:out escapeXml='true' value='${fn:substring(memberList._memberRegDate, 0, 10)}' /></td>
|
||||
<c:choose>
|
||||
<c:when test="${memberList._memberStatus == 'U'}">
|
||||
<td class="item-mobile-hidden skin-default"><s:message code="common.use"/></td>
|
||||
</c:when>
|
||||
<c:when test="${memberList._memberStatus == 'S'}">
|
||||
<td class="item-mobile-hidden"><s:message code="common.stop"/></td>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td class="no-data-colspan"><s:message code="common.message.no.data"/></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="change-state-area">
|
||||
<label for="selStatus"><s:message code="common.manager.statusc.select"/></label>
|
||||
<button type="submit" class="btn-change-state"><s:message code="common.button.add"/></button>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
</form:form>
|
||||
|
||||
<div class="pagination-container">
|
||||
<div class="pagination-inner clear">
|
||||
<div class="pagination-control prev clear">
|
||||
<a class="first-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=1&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.first"/>" ><s:message code="common.page.first"/></a>
|
||||
<c:choose>
|
||||
<c:when test="${blockc > 1}">
|
||||
<a class="prev-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${fPagec-1}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.prev"/>" ><s:message code="common.page.prev"/></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a class="prev-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${fPagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.prev"/>" ><s:message code="common.page.prev"/></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</div>
|
||||
<ul class="pagination clear">
|
||||
<c:forEach begin="0" end="${lPagec-fPagec}" var="indexc" >
|
||||
<c:choose>
|
||||
<c:when test="${indexc+fPagec==pagec}">
|
||||
<li><a class="on" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.now"/>" ><c:out escapeXml='true' value='${pagec}' /></a></li>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<li><a href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${indexc+fPagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<c:out escapeXml='true' value='${indexc+fPagec}' /> <s:message code="common.page.page"/>" ><c:out escapeXml='true' value='${indexc+fPagec}' /></a></li>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</c:forEach>
|
||||
</ul>
|
||||
<div class="pagination-control next clear">
|
||||
<c:choose>
|
||||
<c:when test="${blockc < blocksc}">
|
||||
<a class="next-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${lPagec+1}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.next"/>" ><s:message code="common.page.next"/></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<a class="next-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${lPagec}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.next"/>" ><s:message code="common.page.next"/></a>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<a class="last-btn" href="/common/<c:out escapeXml='true' value='${siteIdx}' />/<c:out escapeXml='true' value='${funcType}' />/<c:out escapeXml='true' value='${funcIdx}' />/<c:out escapeXml='true' value='${pageType}' />/managerList.do?pagec=<c:out escapeXml='true' value='${pagesc}' />&rowc=<c:out escapeXml='true' value='${rowc}' />&orderColumnc=<c:out escapeXml='true' value='${orderColumnc}' />&orderc=<c:out escapeXml='true' value='${orderc}' />&selGroupc=<c:out escapeXml='true' value='${selGroupc}' />&columnc=<c:out escapeXml='true' value='${columnc}' />&searchc=<c:out escapeXml='true' value='${searchc}' />&page=<c:out escapeXml='true' value='${page}' />&row=<c:out escapeXml='true' value='${row}' />&orderColumn=<c:out escapeXml='true' value='${orderColumn}' />&order=<c:out escapeXml='true' value='${order}' />&selGroup=<c:out escapeXml='true' value='${selGroup}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" title="<s:message code="common.page.last"/>" ><s:message code="common.page.last"/></a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="btn-area mb5">
|
||||
<a href="javascript:window.close();" class="btn-normal violet"><s:message code="common.button.close"/></a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$(".dataDel").click(function(){
|
||||
if(!confirm("<s:message code='common.message.manager.confirm.del'/>")){
|
||||
return false;
|
||||
}
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
|
||||
$("#selGroup").change(function(){
|
||||
$("#frmSearch").submit();
|
||||
});
|
||||
|
||||
$("#selGroupc").change(function(){
|
||||
$("#frmSearchc").submit();
|
||||
});
|
||||
|
||||
$("#frm").submit(function(){
|
||||
|
||||
if(!$('input:checkbox[name="idxs"]').is(":checked")){
|
||||
alert("<s:message code="common.message.no.check"/>");
|
||||
return false;
|
||||
}
|
||||
|
||||
if($("#selStatus option:selected").val() == ""){
|
||||
alert("<s:message code="common.message.no.select"/>");
|
||||
$("#selStatus").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
$.blockUI({ message : '<h1 style="font-size: 14px;"><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
|
||||
$("#frmc").submit(function(){
|
||||
|
||||
if(!$('input:checkbox[name="idxsc"]').is(":checked")){
|
||||
alert("<s:message code="common.message.no.check"/>");
|
||||
return false;
|
||||
}
|
||||
|
||||
$.blockUI({ message : '<h1 style="font-size: 14px;"><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
674
src/main/webapp/WEB-INF/jsp/manager/site/siteMenuForm.jsp
Normal file
674
src/main/webapp/WEB-INF/jsp/manager/site/siteMenuForm.jsp
Normal file
@ -0,0 +1,674 @@
|
||||
<%@ 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" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="manager.site.siteMenuForm.title"/></title>
|
||||
<link rel="stylesheet" href="/codemirror/lib/codemirror.css">
|
||||
<link rel="stylesheet" href="/codemirror/addon/dialog/dialog.css">
|
||||
<link rel="stylesheet" href="/codemirror/addon/hint/show-hint.css">
|
||||
<link rel="stylesheet" href="/codemirror/addon/display/fullscreen.css">
|
||||
|
||||
<!-- theme css -->
|
||||
<link rel="stylesheet" href="/codemirror/theme/3024-day.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/3024-night.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/ambiance.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/base16-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/base16-light.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/blackboard.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/cobalt.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/eclipse.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/elegant.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/erlang-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/lesser-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/mbo.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/midnight.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/monokai.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/neat.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/night.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/paraiso-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/paraiso-light.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/rubyblue.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/solarized.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/the-matrix.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/tomorrow-night-eighties.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/twilight.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/vibrant-ink.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/xq-dark.css">
|
||||
<link rel="stylesheet" href="/codemirror/theme/xq-light.css">
|
||||
<!-- theme css -->
|
||||
|
||||
<script src="/codemirror/lib/codemirror.js"></script>
|
||||
<script src="/codemirror/mode/xml/xml.js"></script>
|
||||
<script src="/codemirror/addon/dialog/dialog.js"></script>
|
||||
<script src="/codemirror/addon/search/searchcursor.js"></script>
|
||||
<script src="/codemirror/addon/search/search.js"></script>
|
||||
<script src="/codemirror/addon/fold/xml-fold.js"></script>
|
||||
<script src="/codemirror/addon/edit/matchtags.js"></script>
|
||||
<script src="/codemirror/addon/edit/closetag.js"></script>
|
||||
<script src="/codemirror/addon/hint/show-hint.js"></script>
|
||||
<script src="/codemirror/addon/hint/xml-hint.js"></script>
|
||||
<script src="/codemirror/addon/hint/html-hint.js"></script>
|
||||
<script src="/codemirror/mode/javascript/javascript.js"></script>
|
||||
<script src="/codemirror/mode/css/css.js"></script>
|
||||
<script src="/codemirror/mode/htmlmixed/htmlmixed.js"></script>
|
||||
<script src="/codemirror/addon/display/fullscreen.js"></script>
|
||||
<script src="/codemirror/mode/clike/clike.js"></script>
|
||||
<script src="/codemirror/keymap/extra.js"></script>
|
||||
<script src="/codemirror/addon/selection/active-line.js"></script>
|
||||
<script src="/codemirror/addon/edit/matchbrackets.js"></script>
|
||||
<script src="/codemirror/addon/zen/zen_codemirror.min.js"></script>
|
||||
<script src="/js/cookie.js"></script>
|
||||
<script src="/editor/webnote.js"></script>
|
||||
|
||||
</head>
|
||||
<body>
|
||||
<div class="page-title-wrap clear">
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="manager.site.nav.siteMenuView"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p></p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<form:form id="frm" name="frm" action="/gtm/proc/${siteIdx}/siteMenuRegProc.do" method="post" enctype="multipart/form-data">
|
||||
<input type="hidden" name="tSite.siteIdx" id="siteIdx" value="<c:out escapeXml='true' value='${siteIdx}' />"/>
|
||||
<input type="hidden" name="siteMenuParentIdx" id="siteMenuParentIdx" value="<c:out escapeXml='true' value='${siteMenuParentIdx}' />"/>
|
||||
<input type="hidden" name="listType" id="listType" value="<c:out escapeXml='true' value='${listType}' />"/>
|
||||
<fieldset>
|
||||
<legend><s:message code="manager.site.siteMenuForm.table.caption"/></legend>
|
||||
<div class="bbs-view-layout">
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteParentMenu"/></p>
|
||||
<div class="item-box"><c:out escapeXml='true' value='${siteMenuParentName}' /></div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuNameType"/></p>
|
||||
<div class="item-box">
|
||||
<input type="radio" name="siteMenuNameType" id="siteMenuNameTypeT" value="T" checked class="radio checked"/><label for="siteMenuNameTypeT"><s:message code="manager.site.siteMenuForm.siteMenuNameType.T"/></label>
|
||||
<input type="radio" name="siteMenuNameType" id="siteMenuNameTypeI" value="I" class="radio"/><label for="siteMenuNameTypeI"><s:message code="manager.site.siteMenuForm.siteMenuNameType.I"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuName"/></p>
|
||||
<div class="item-box">
|
||||
<input type="text" maxlength="100" name="siteMenuName" id="siteMenuName" title="<s:message code="manager.site.siteMenuForm.siteMenuName"/>" value="" required class="width50" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuTitle"/></p>
|
||||
<div class="item-box">
|
||||
<input type="text" maxlength="255" name="siteMenuTitle" id="siteMenuTitle" title="<s:message code='manager.site.siteMenuForm.siteMenuTitle'/>" value="" />
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="common.use.nouse"/></p>
|
||||
<div class="item-box">
|
||||
<input type="radio" name="siteMenuStatus" id="siteMenuStatusU" class="radio checked" value="U" checked/><label for="siteMenuStatusU"><s:message code="common.use"/></label>
|
||||
<input type="radio" name="siteMenuStatus" id="siteMenuStatusS" class="radio" value="S" /><label for="siteMenuStatusS"><s:message code="common.nouse"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuParentTitle"/></p>
|
||||
<div class="item-box">
|
||||
<input type="checkbox" name="siteMenuParentTitle" id="siteMenuParentTitle" value="Y" class="checkbox width-none"/><label for="siteMenuParentTitle"><s:message code="common.message.checkbox.check"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuSNS"/></p>
|
||||
<div class="item-box">
|
||||
<input type="checkbox" name="siteMenuSNS" id="siteMenuSNS" value="Y" class="checkbox width-none" /><label for="siteMenuSNS"><s:message code="common.message.checkbox.check"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuSmart"/></p>
|
||||
<div class="item-box">
|
||||
<input type="checkbox" name="siteMenuSmart" id="siteMenuSmart" class="checkbox width-none" value="Y" /><label for="siteMenuSmart"><s:message code="common.message.checkbox.check"/></label>
|
||||
<input type="checkbox" name="siteMenuSmartDefault" id="siteMenuSmartDefault" class="checkbox width-none" value="Y" /><label for="siteMenuSmartDefault"><s:message code="common.default"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item" id="divSiteMenuSmartImg">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuSmartImg"/></p>
|
||||
<div class="item-box">
|
||||
<input type="file" name="upIconFile" id="siteMenuSmartImg" value="" /><label for="siteMenuSmartImg"><s:message code="manager.site.siteMenuForm.siteMenuSmartImg"/></label><span class="file-info"><s:message code="admin.site.siteMenuForm.siteMenuSmartImg"/></span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuType"/></p>
|
||||
<div class="item-box">
|
||||
<input type="radio" name="siteMenuType" id="siteMenuTypeH" class="radio checked" value="H" checked/><label for="siteMenuTypeH"><s:message code="manager.site.siteMenuForm.siteMenuType.H"/></label>
|
||||
<input type="radio" name="siteMenuType" id="siteMenuTypeC" class="radio" value="C" /><label for="siteMenuTypeC"><s:message code="manager.site.siteMenuForm.siteMenuType.C"/></label>
|
||||
<input type="radio" name="siteMenuType" id="siteMenuTypeL" class="radio" value="L" /><label for="siteMenuTypeL"><s:message code="manager.site.siteMenuForm.siteMenuType.L"/></label>
|
||||
<input type="radio" name="siteMenuType" id="siteMenuTypeS" class="radio" value="S" /><label for="siteMenuTypeS"><s:message code="manager.site.siteMenuForm.siteMenuType.S"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item" id="divSiteMenuLinkType">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuLinkType"/></p>
|
||||
<div class="item-box">
|
||||
<input type="radio" name="siteMenuLink" id="siteMenuLinkA" class="radio checked" value="A" checked/><label for="siteMenuLinkA"><s:message code="manager.site.siteMenuForm.siteMenuLinkType.A"/></label>
|
||||
<input type="radio" name="siteMenuLink" id="siteMenuLinkB" class="radio" value="B" /><label for="siteMenuLinkB"><s:message code="manager.site.siteMenuForm.siteMenuLinkType.B"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item" id="divSiteMenuLinkUrl">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuLinkUrl"/></p>
|
||||
<div class="item-box">
|
||||
<input type="text" maxlength="200" name="siteMenuLinkUrl" id="siteMenuLinkUrl" title="<s:message code="manager.site.siteMenuForm.siteMenuLinkUrl"/>" value="" style="width:500px;"/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuSatisfaction"/></p>
|
||||
<div class="item-box">
|
||||
<input type="checkbox" name="siteMenuSatisfaction" id="siteMenuSatisfaction" class="checkbox width-none" value="Y" /><label for="siteMenuSatisfaction"><s:message code="common.message.checkbox.check"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuCharge"/></p>
|
||||
<div class="item-box">
|
||||
<input type="checkbox" name="siteMenuCharge" id="siteMenuCharge" class="checkbox width-none" value="Y" /><label for="siteMenuCharge"><s:message code="common.message.checkbox.check"/></label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteTabNavi"/></p>
|
||||
<div class="item-box">
|
||||
<a href="#" onclick="javascript:jf_GETCODE('<c:out escapeXml='true' value='${siteIdx}' />', '/common/tabNavigation/{siteIdx}/{siteMenuIdx}/{tSiteMenuDB._siteMenuDepth}/{tSiteMenuDB._siteMenuIdxs}.do', 'gtm');" id="tabNavi" class="btn-sch-item"><s:message code="common.button.get"/></a>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item webnote-area" id="divSiteMenuContent">
|
||||
<div class="item-box width100" >
|
||||
<textarea id="siteMenuContent" name="siteMenuContent" cols="75" rows="14" editor="webnote" tools="deny:images,emoticon,special_chars"></textarea>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item" id="divSiteMenuTHtml">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuTHtml"/></p>
|
||||
<div class="item-box" style="overflow:hidden;">
|
||||
<textarea name="siteMenuTHtml" style="width:100%;" id="siteMenuTHtml"></textarea>
|
||||
<div class="skin-list-box">
|
||||
<label for="layout-skin-list" class="hidden">레이아웃 스킨 선택</label>
|
||||
<select onchange="selectTheme1()" id="select1" class="layout-skin-list">
|
||||
<option selected>default</option>
|
||||
<option>3024-day</option>
|
||||
<option>3024-night</option>
|
||||
<option>ambiance</option>
|
||||
<option>base16-dark</option>
|
||||
<option>base16-light</option>
|
||||
<option>blackboard</option>
|
||||
<option>cobalt</option>
|
||||
<option>eclipse</option>
|
||||
<option>elegant</option>
|
||||
<option>erlang-dark</option>
|
||||
<option>lesser-dark</option>
|
||||
<option>mbo</option>
|
||||
<option>midnight</option>
|
||||
<option>monokai</option>
|
||||
<option>neat</option>
|
||||
<option>night</option>
|
||||
<option>paraiso-dark</option>
|
||||
<option>paraiso-light</option>
|
||||
<option>rubyblue</option>
|
||||
<option>solarized dark</option>
|
||||
<option>solarized light</option>
|
||||
<option>the-matrix</option>
|
||||
<option>tomorrow-night-eighties</option>
|
||||
<option>twilight</option>
|
||||
<option>vibrant-ink</option>
|
||||
<option>xq-dark</option>
|
||||
<option>xq-light</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item" id="divSiteMenuCode">
|
||||
<div class="item-box width100">
|
||||
<div class="item-box" style="overflow:hidden;">
|
||||
<textarea name="siteMenuCode" id="siteMenuCode" rows="" cols="" ></textarea>
|
||||
<div class="skin-list-box">
|
||||
<label for="layout-skin-list" class="hidden">레이아웃 스킨 선택</label>
|
||||
<select onchange="selectTheme()" id="select" class="layout-skin-list">
|
||||
<option selected>default</option>
|
||||
<option>3024-day</option>
|
||||
<option>3024-night</option>
|
||||
<option>ambiance</option>
|
||||
<option>base16-dark</option>
|
||||
<option>base16-light</option>
|
||||
<option>blackboard</option>
|
||||
<option>cobalt</option>
|
||||
<option>eclipse</option>
|
||||
<option>elegant</option>
|
||||
<option>erlang-dark</option>
|
||||
<option>lesser-dark</option>
|
||||
<option>mbo</option>
|
||||
<option>midnight</option>
|
||||
<option>monokai</option>
|
||||
<option>neat</option>
|
||||
<option>night</option>
|
||||
<option>paraiso-dark</option>
|
||||
<option>paraiso-light</option>
|
||||
<option>rubyblue</option>
|
||||
<option>solarized dark</option>
|
||||
<option>solarized light</option>
|
||||
<option>the-matrix</option>
|
||||
<option>tomorrow-night-eighties</option>
|
||||
<option>twilight</option>
|
||||
<option>vibrant-ink</option>
|
||||
<option>xq-dark</option>
|
||||
<option>xq-light</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="bbs-view-item" id="divSiteMenuFHtml">
|
||||
<p class="item-title"><s:message code="manager.site.siteMenuForm.siteMenuFHtml"/></p>
|
||||
<div class="item-box" style="overflow:hidden;">
|
||||
<textarea name="siteMenuFHtml" style="width:100%;" id="siteMenuFHtml"></textarea>
|
||||
<div class="skin-list-box">
|
||||
<label for="layout-skin-list" class="hidden">레이아웃 스킨 선택</label>
|
||||
<select onchange="selectTheme2()" id="select2" class="layout-skin-list">
|
||||
<option selected>default</option>
|
||||
<option>3024-day</option>
|
||||
<option>3024-night</option>
|
||||
<option>ambiance</option>
|
||||
<option>base16-dark</option>
|
||||
<option>base16-light</option>
|
||||
<option>blackboard</option>
|
||||
<option>cobalt</option>
|
||||
<option>eclipse</option>
|
||||
<option>elegant</option>
|
||||
<option>erlang-dark</option>
|
||||
<option>lesser-dark</option>
|
||||
<option>mbo</option>
|
||||
<option>midnight</option>
|
||||
<option>monokai</option>
|
||||
<option>neat</option>
|
||||
<option>night</option>
|
||||
<option>paraiso-dark</option>
|
||||
<option>paraiso-light</option>
|
||||
<option>rubyblue</option>
|
||||
<option>solarized dark</option>
|
||||
<option>solarized light</option>
|
||||
<option>the-matrix</option>
|
||||
<option>tomorrow-night-eighties</option>
|
||||
<option>twilight</option>
|
||||
<option>vibrant-ink</option>
|
||||
<option>xq-dark</option>
|
||||
<option>xq-light</option>
|
||||
</select>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
</fieldset>
|
||||
<div class="btn-area">
|
||||
<button type="button" class="btn-normal lightgray" id="previewBtn"><s:message code="common.button.preview"/></button>
|
||||
<button type="submit" class="btn-normal violet"><s:message code="common.button.save"/></button>
|
||||
<a class="btn-normal lightgray" href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuList.do?listType=<c:out escapeXml='true' value='${listType}'/>#<c:out escapeXml='true' value='${siteMenuParentIdx}' />"><s:message code="common.button.list"/></a>
|
||||
</div>
|
||||
</form:form>
|
||||
<form:form id="frmPreview" name="frmPreview">
|
||||
<input type="hidden" name="siteLayOutType" id="siteLayOutType" value="sub" />
|
||||
<input type="hidden" name="siteLayOutPosition" id="siteLayOutPosition" value="content" />
|
||||
<textarea name="siteLayOutHtml" id="siteLayOutHtml" style="display: none;"></textarea>
|
||||
</form:form>
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
$("#siteMenuName").focus();
|
||||
|
||||
$("#divSiteMenuTHtml").hide();
|
||||
$("#divSiteMenuFHtml").hide();
|
||||
|
||||
$("input[name=siteMenuType]").change(function() {
|
||||
|
||||
if($('input:radio[name="siteMenuType"]:checked').val() == "H"){
|
||||
$("#divSiteMenuContent").show();
|
||||
$("#divSiteMenuCode").hide();
|
||||
$("#divSiteMenuLinkType").hide();
|
||||
$("#divSiteMenuLinkType").hide();
|
||||
$("#siteMenuLinkUrl").val("");
|
||||
$("#previewBtn").show();
|
||||
$("#divSiteMenuTHtml").hide();
|
||||
$("#divSiteMenuFHtml").hide();
|
||||
}else if($('input:radio[name="siteMenuType"]:checked').val() == "C"){
|
||||
$("#divSiteMenuContent").hide();
|
||||
$("#divSiteMenuCode").show();
|
||||
$("#divSiteMenuLinkType").hide();
|
||||
$("#divSiteMenuLinkType").hide();
|
||||
$("#siteMenuLinkUrl").val("");
|
||||
$("#previewBtn").show();
|
||||
$("#divSiteMenuTHtml").show();
|
||||
$("#divSiteMenuFHtml").show();
|
||||
}else if($('input:radio[name="siteMenuType"]:checked').val() == "L" || $('input:radio[name="siteMenuType"]:checked').val() == "S"){
|
||||
$("#divSiteMenuContent").hide();
|
||||
$("#divSiteMenuCode").hide();
|
||||
$("#divSiteMenuLinkType").show();
|
||||
$("#divSiteMenuLinkType").show();
|
||||
$("#siteMenuLinkUrl").val("");
|
||||
$("#previewBtn").hide();
|
||||
$("#divSiteMenuTHtml").hide();
|
||||
$("#divSiteMenuFHtml").hide();
|
||||
if($('input:radio[name="siteMenuType"]:checked').val() == "S"){
|
||||
$("#divSiteMenuTHtml").show();
|
||||
$("#divSiteMenuFHtml").show();
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
$("input:checkbox[id='siteMenuSmart']").click(function() {
|
||||
|
||||
if($("input:checkbox[id='siteMenuSmart']").is(":checked")){
|
||||
$("#divSiteMenuSmartImg").show();
|
||||
}else{
|
||||
$("#divSiteMenuSmartImg").hide();
|
||||
}
|
||||
});
|
||||
|
||||
$("#previewBtn").click(function(){
|
||||
|
||||
var frm = document.frmPreview;
|
||||
|
||||
frm.method = "post";
|
||||
frm.target = "PreViewHtml";
|
||||
frm.action = "/common/<c:out escapeXml='true' value='${siteIdx}' />/preViewHtml.do";
|
||||
|
||||
if($('input:radio[name="siteMenuType"]:checked').val() == "H"){
|
||||
$("#siteLayOutHtml").val($("textarea[name='siteMenuContent']").val());
|
||||
}else if($('input:radio[name="siteMenuType"]:checked').val() == "C"){
|
||||
$("#siteLayOutHtml").val(editor.getValue());
|
||||
}
|
||||
|
||||
var popup = window.open("", "PreViewHtml", "width=1024px, height=768px, scrollbars=yes, resizable=yes");
|
||||
|
||||
popup.focus();
|
||||
frm.submit();
|
||||
|
||||
});
|
||||
|
||||
var F11key = false;
|
||||
|
||||
$(".CodeMirror").keyup(function(e) {
|
||||
|
||||
if(e.keyCode == "122" || e.keyCode == "27"){
|
||||
if(F11key == false){
|
||||
if(e.keyCode == "122"){ //F11
|
||||
F11key = true;
|
||||
}else if(e.keyCode == "27"){ //ESC
|
||||
}
|
||||
}else{
|
||||
F11key = false;
|
||||
}
|
||||
}
|
||||
});
|
||||
|
||||
webnote.setConfig({
|
||||
auto_start: false, //페이지로딩시 페이지에 웹노트 에디터를 자동으로 생성할것인지(true: 자동생성, false: 생성안함)
|
||||
lang: "ko", //언어셋(lang 디렉토리내에 언어셋.txt 파일이 있어야 함(ex: ko.txt)
|
||||
base_dir: "/editor", //웹노트 설치디렉토리를 직접 지정
|
||||
css_url: "/editor/webnote.css", //기본 css 파일을 직접 지정
|
||||
icon_dir: "/editor/icon", //기본 아이콘 디렉토리를 직접 지정
|
||||
emoticon_dir: "/editor/emoticon", //기본 이모티콘 디렉토리를 직접 지정
|
||||
attach_proc: "/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/editor/editorFileReg.do", //에디터에 이미지 즉시 업로드를 처리하는 서버스크립트를 직접 지정
|
||||
delete_proc: "/common/proc/<c:out escapeXml='true' value='${siteIdx}' />/editor/editorFileDel.do", //에디터에 즉시 업로드된 이미지 삭제를 처리하는 서버스크립트를 직접 지정(attach_proc 과 같을경우 설정 불필요)
|
||||
use_blind: true, //팝업메뉴 출력 시 반투명 배경 스크린 사용여부(true:사용(기본), false: 미사용)
|
||||
allow_dndupload: false, //드래그&드롭을 통한 이미지 파일 업로드 허용 여부
|
||||
allow_dndresize: false, //드래그&드롭을 통한 에디터 사이즈(높이) 조절 허용 여부
|
||||
//fonts: ["굴림체","궁서체"], //선택할 수 있는 폰트종류를 직접 정의
|
||||
//fontsizes: ["9pt","10pt"], //선택할 수 있는 폰트사이즈를 직접 정의(단위포함)
|
||||
lineheights: ["120%","150%","180%"], //선택할 수 있는 줄간격을 직접 정의(단위포함)
|
||||
//emoticons: ["Nerd"], //선택할 수 있는 이모티콘들을 직접 정의(png파일은 확장자 생략 가능하며, 그외에는 확장자까지 입력 : PNG, GIF, JPG 만 가능)
|
||||
//specialchars: ["§","☆"], //선택할 수 있는 특수문자를 직접 정의
|
||||
code_highlight: true,
|
||||
fade_popup: true, //팝업 열리기/닫히기 시 fade in/out 기능 적용 여부(사용pc 사용이 낮은경우 false로 )
|
||||
attach_list_view: false
|
||||
});
|
||||
|
||||
webnote.initialize();
|
||||
|
||||
$(window).load(function(){
|
||||
$("#idx_toolbar_webnote_siteMenuContent_imagecenter").hide();
|
||||
|
||||
$("#idx_toolbarcontainer_webnote_siteMenuContent img").each(function(index, item) {
|
||||
if($(item).attr("class") != "webnote_seperator"){
|
||||
var event = $(item).attr("onclick");
|
||||
$(item).wrap(
|
||||
$('<a></a>').attr({ href: 'javascript:;', onClick: event })
|
||||
.keydown(function(e){
|
||||
e = e || window.e;
|
||||
var self = this;
|
||||
if( e.which == 13 || e.keyCode == 13 ) {
|
||||
setTimeout(function(){
|
||||
$('#idx_webnote_popup')
|
||||
.css({ left: $(self).offset().left, top: $(self).offset().top })
|
||||
.find('*')
|
||||
.attr('tabIndex', 0)
|
||||
.end()
|
||||
.children()
|
||||
.first()
|
||||
.focus()
|
||||
;
|
||||
}, 0);
|
||||
}
|
||||
|
||||
})
|
||||
);
|
||||
$(item).attr("onclick", "");
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
CodeMirror.commands.autocomplete = function(cm) {
|
||||
CodeMirror.showHint(cm, CodeMirror.hint.javascript);
|
||||
};
|
||||
|
||||
var editor = CodeMirror.fromTextArea(document.getElementById("siteMenuCode"), {
|
||||
value: "<html>\n " + document.documentElement.innerHTML + "\n</html>",
|
||||
mode: "text/html",
|
||||
lineNumbers: true,
|
||||
matchTags: {bothTags: true},
|
||||
extraKeys: {
|
||||
"Ctrl-E": "toMatchingTag",
|
||||
"Ctrl-Space": "autocomplete",
|
||||
"F11": function(cm) {
|
||||
cm.setOption("fullScreen", !cm.getOption("fullScreen"));
|
||||
},
|
||||
"Esc": function(cm) {
|
||||
if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false);
|
||||
}
|
||||
},
|
||||
autoCloseTags: true,
|
||||
styleActiveLine: true,
|
||||
matchBrackets: true,
|
||||
syntax: 'html', /* define Zen Coding syntax */
|
||||
profile: 'xhtml', /* define Zen Coding output profile */
|
||||
|
||||
// send all key events to Zen Coding
|
||||
onKeyEvent: function() {
|
||||
return zen_editor.handleKeyEvent.apply(zen_editor, arguments);
|
||||
}
|
||||
});
|
||||
|
||||
var editor1 = CodeMirror.fromTextArea(document.getElementById("siteMenuTHtml"), {
|
||||
value: "<html>\n " + document.documentElement.innerHTML + "\n</html>",
|
||||
mode: "text/html",
|
||||
lineNumbers: true,
|
||||
matchTags: {bothTags: true},
|
||||
extraKeys: {
|
||||
"Ctrl-E": "toMatchingTag",
|
||||
"Ctrl-Space": "autocomplete",
|
||||
"F11": function(cm) {
|
||||
cm.setOption("fullScreen", !cm.getOption("fullScreen"));
|
||||
},
|
||||
"Esc": function(cm) {
|
||||
if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false);
|
||||
}
|
||||
},
|
||||
autoCloseTags: true,
|
||||
styleActiveLine: true,
|
||||
matchBrackets: true,
|
||||
syntax: 'html', /* define Zen Coding syntax */
|
||||
profile: 'xhtml', /* define Zen Coding output profile */
|
||||
|
||||
// send all key events to Zen Coding
|
||||
onKeyEvent: function() {
|
||||
return zen_editor.handleKeyEvent.apply(zen_editor, arguments);
|
||||
}
|
||||
});
|
||||
|
||||
var editor2 = CodeMirror.fromTextArea(document.getElementById("siteMenuFHtml"), {
|
||||
value: "<html>\n " + document.documentElement.innerHTML + "\n</html>",
|
||||
mode: "text/html",
|
||||
lineNumbers: true,
|
||||
matchTags: {bothTags: true},
|
||||
extraKeys: {
|
||||
"Ctrl-E": "toMatchingTag",
|
||||
"Ctrl-Space": "autocomplete",
|
||||
"F11": function(cm) {
|
||||
cm.setOption("fullScreen", !cm.getOption("fullScreen"));
|
||||
},
|
||||
"Esc": function(cm) {
|
||||
if (cm.getOption("fullScreen")) cm.setOption("fullScreen", false);
|
||||
}
|
||||
},
|
||||
autoCloseTags: true,
|
||||
styleActiveLine: true,
|
||||
matchBrackets: true,
|
||||
syntax: 'html', /* define Zen Coding syntax */
|
||||
profile: 'xhtml', /* define Zen Coding output profile */
|
||||
|
||||
// send all key events to Zen Coding
|
||||
onKeyEvent: function() {
|
||||
return zen_editor.handleKeyEvent.apply(zen_editor, arguments);
|
||||
}
|
||||
});
|
||||
|
||||
$("#divSiteMenuLinkType").hide();
|
||||
$("#divSiteMenuLinkType").hide();
|
||||
$("#divSiteMenuCode").hide();
|
||||
$("#divSiteMenuSmartImg").hide();
|
||||
|
||||
var input = document.getElementById("select");
|
||||
var input1 = document.getElementById("select1");
|
||||
var input2 = document.getElementById("select2");
|
||||
|
||||
function selectTheme() {
|
||||
var theme = input.options[input.selectedIndex].innerHTML;
|
||||
editor.setOption("theme", theme);
|
||||
jf_setCookie("selectTheme", theme);
|
||||
}
|
||||
|
||||
function selectTheme1() {
|
||||
var theme = input1.options[input1.selectedIndex].innerHTML;
|
||||
editor1.setOption("theme", theme);
|
||||
jf_setCookie("selectTheme1", theme);
|
||||
}
|
||||
|
||||
function selectTheme2() {
|
||||
var theme = input2.options[input2.selectedIndex].innerHTML;
|
||||
editor2.setOption("theme", theme);
|
||||
jf_setCookie("selectTheme2", theme);
|
||||
}
|
||||
|
||||
var choice = jf_getCookie("selectTheme");
|
||||
var choice1 = jf_getCookie("selectTheme1");
|
||||
var choice2 = jf_getCookie("selectTheme2");
|
||||
|
||||
if (choice != "") {
|
||||
if( input ){
|
||||
input.value = choice;
|
||||
}
|
||||
editor.setOption("theme", choice);
|
||||
$("#select").val(choice).attr("selected", "selected");
|
||||
}
|
||||
|
||||
if (choice1 != "") {
|
||||
if( input1 ){
|
||||
input1.value = choice1;
|
||||
}
|
||||
editor1.setOption("theme", choice1);
|
||||
$("#select1").val(choice1).attr("selected", "selected");
|
||||
}
|
||||
|
||||
if (choice2 != "") {
|
||||
if( input2 ){
|
||||
input2.value = choice2;
|
||||
}
|
||||
editor2.setOption("theme", choice2);
|
||||
$("#select2").val(choice2).attr("selected", "selected");
|
||||
}
|
||||
|
||||
$("#frm").submit(function(){
|
||||
|
||||
$("#siteMenuTHtml").val(editor1.getValue());
|
||||
$("#siteMenuFHtml").val(editor2.getValue());
|
||||
|
||||
if($('input:radio[name="siteMenuType"]:checked').val() == "C"){
|
||||
$("textarea[name='siteMenuContent']").val(editor.getValue());
|
||||
}
|
||||
|
||||
if($("#siteMenuName").val() == ""){
|
||||
alert("<s:message code="manager.site.siteMenuForm.siteMenuName"/> <s:message code="common.message.essential"/>");
|
||||
$("#siteMenuName").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if($('input:radio[name="siteMenuType"]:checked').val() == "L" || $('input:radio[name="siteMenuType"]:checked').val() == "S"){
|
||||
if(!$('input:radio[name="siteMenuLink"]').is(":checked")){
|
||||
alert("<s:message code="manager.site.siteMenuForm.siteMenuLinkType"/> <s:message code="common.message.essential"/>");
|
||||
$("#siteMenuLink").focus();
|
||||
return false;
|
||||
}else if($("#siteMenuLinkUrl").val() == ""){
|
||||
alert("<s:message code="manager.site.siteMenuForm.siteMenuLinkUrl"/> <s:message code="common.message.essential"/>");
|
||||
$("#siteMenuLinkUrl").focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if($("input:checkbox[id='siteMenuSmart']").is(":checked")){
|
||||
if($("#siteMenuSmartImg").val() == ""){
|
||||
alert("<s:message code="manager.site.siteMenuForm.siteMenuSmartImg"/> <s:message code="common.message.essential"/>");
|
||||
$("#siteMenuSmartImg").focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
if($("#siteMenuSmartImg").val() != ""){
|
||||
|
||||
var val = $("#siteMenuSmartImg").val().split("\\");
|
||||
var fileName = val[val.length-1]; //마지막 화일명
|
||||
var fileType = fileName.substring(fileName.lastIndexOf("."));//확장자빼오기
|
||||
|
||||
var extArray = new Array("txt","jpeg","jpg","png","gif","bmp","mp3","mp4","hwp","doc","docx","xls","xlsx","ppt","pptx","pdf","zip","alz");
|
||||
|
||||
var extChk = false;
|
||||
|
||||
for(var f=0; f<extArray.length; f++){
|
||||
if("."+extArray[f] == fileType.toLowerCase()){
|
||||
extChk = true;
|
||||
break;
|
||||
}
|
||||
}
|
||||
|
||||
if(!extChk){
|
||||
alert("<s:message code="common.fileupload.message.no.upload"/>");
|
||||
return false;
|
||||
}
|
||||
|
||||
if(fileType.toLowerCase() != '.jpg' && fileType.toLowerCase() != '.gif' &&
|
||||
fileType.toLowerCase() != '.bmp' && fileType.toLowerCase() != '.png'){//허용 확장자 비교
|
||||
alert("<s:message code="common.fileupload.message.image.upload"/>");
|
||||
$("#siteMenuSmartImg").focus();
|
||||
return false;
|
||||
}
|
||||
}
|
||||
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
295
src/main/webapp/WEB-INF/jsp/manager/site/siteMenuList.jsp
Normal file
295
src/main/webapp/WEB-INF/jsp/manager/site/siteMenuList.jsp
Normal file
@ -0,0 +1,295 @@
|
||||
<%@ 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/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
<head>
|
||||
<title><s:message code="manager.site.siteMenuList.title"/></title>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<div class="page-title-wrap clear">
|
||||
<div class="page-title-inner">
|
||||
<h3 class="page-title"><s:message code="manager.site.nav.siteMenuList"/></h3>
|
||||
<div class="tooltipBox type01">
|
||||
<button type="button" class="page-tip">페이지안내</button>
|
||||
<div class="tooltipText">
|
||||
<p>메뉴명, 메뉴설정, 메뉴타입, 담당자, 메뉴순서를 변경 할 수 있는 페이지입니다.</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="sch-content-wrap clear">
|
||||
<form:form name="frmSearch" id="frmSearch" action="/gtm/${siteIdx}/siteMenuList.do" method="post">
|
||||
<fieldset>
|
||||
<legend>검색 폼</legend>
|
||||
|
||||
<select name="listType" id="listType" title="<s:message code="common.select.option.value"/>" class="sch-select">
|
||||
<option value="charge" <c:if test="${listType == 'charge'}">selected="selected"</c:if>><s:message code="manager.site.siteMenuList.charge"/></option>
|
||||
<option value="menu" <c:if test="${listType == 'menu'}">selected="selected"</c:if>><s:message code="manager.site.siteMenuList.list"/></option>
|
||||
</select>
|
||||
|
||||
<select name="column" id="column" title="<s:message code="common.select.option.value"/>" class="sch-select">
|
||||
<option value="A" <c:if test="${column == 'A'}">selected="selected"</c:if>><s:message code="common.select.option.value.all"/></option>
|
||||
<option value="siteMenuIdxs" <c:if test="${column == 'siteMenuIdxs'}">selected="selected"</c:if>><s:message code="manager.site.siteMenuList.siteMenuIdx"/></option>
|
||||
<option value="siteMenuName" <c:if test="${column == 'siteMenuName'}">selected="selected"</c:if>><s:message code="manager.site.siteMenuList.siteMenuName"/></option>
|
||||
<option value="memberName" <c:if test="${column == 'memberName'}">selected="selected"</c:if>><s:message code="common.memberName"/></option>
|
||||
</select>
|
||||
|
||||
<input type="search" name="search" title="<s:message code="common.search.value"/>" value="<c:out escapeXml='true' value='${search}' />" class="sch-text">
|
||||
<button type="submit" class="btn-page-sch"><s:message code="common.button.search"/></button>
|
||||
</fieldset>
|
||||
</form:form>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="more-btn-box">
|
||||
<button type="button" id="moreTableItem" class="more-table-item">칼럼 더보기</button>
|
||||
</div>
|
||||
|
||||
<div class="table-layout inner-br-none siteMenuList">
|
||||
<table>
|
||||
<caption><s:message code="manager.site.siteMenuList.table.caption"/></caption>
|
||||
<colgroup>
|
||||
<col class="title">
|
||||
<col>
|
||||
<col class="item-mobile-hidden">
|
||||
<col class="item-tablet-hidden">
|
||||
<c:choose>
|
||||
<c:when test='${listType == "menu"}'>
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-tablet-hidden" style="width:45px">
|
||||
<col class="item-tablet-hidden" style="width:45px">
|
||||
<col class="item-tablet-hidden" style="width:45px">
|
||||
<col class="item-tablet-hidden" style="width:45px">
|
||||
<col class="item-tablet-hidden" style="width:45px">
|
||||
<col class="item-tablet-hidden">
|
||||
<col class="item-tablet-hidden">
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<col class="item-mobile-hidden">
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<col class="item-mobile-hidden">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col"><s:message code="manager.site.siteMenuList.siteMenuName"/></th>
|
||||
<th scope="col"><s:message code="manager.site.siteMenuList.siteMenuLink"/></th>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="manager.site.siteMenuList.siteMenuStatus"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteMenuType"/></th>
|
||||
<c:choose>
|
||||
<c:when test='${listType == "menu"}'>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteMenuIdx"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteSatisfactionStatus1"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteSatisfactionStatus2"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteSatisfactionStatus3"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteSatisfactionStatus4"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="manager.site.siteMenuList.siteSatisfactionStatus5"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.memberName"/></th>
|
||||
<th scope="col" class="item-tablet-hidden"><s:message code="common.regDate"/></th>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="common.manager"/></th>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<th scope="col" class="item-mobile-hidden"><s:message code="manager.site.siteMenuList.siteMenuOrder"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="no-data-colspan" onclick="javascript:jf_menuClick('0', '0', '0');"><strong><c:out escapeXml='true' value='${siteName}' /></strong></td>
|
||||
</tr>
|
||||
<c:forEach items="${siteMenuList}" var="siteMenuList" varStatus="status">
|
||||
<tr onclick="javascript:jf_menuClick('<c:out escapeXml='true' value='${siteMenuList._siteMenuIdxs}' />', '<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />');">
|
||||
<td class="al">
|
||||
<c:choose>
|
||||
<c:when test='${siteMenuList._siteMenuNameType == "T"}'>
|
||||
<a class="hover-link depth-<c:out escapeXml='true' value='${siteMenuList._siteMenuDepth}' />" href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuEdit/<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />.do?listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" id="<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />"><span><c:out escapeXml='true' value='${siteMenuList._siteMenuName}' /></span></a>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<div>
|
||||
<a class="hover-link depth-<c:out escapeXml='true' value='${siteMenuList._siteMenuDepth}' />" href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuEdit/<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />.do?listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" id="<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />">
|
||||
<span><img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/images/menu/topMenu_<c:out escapeXml='true' value='${siteMenuList._siteMenuIdxs}' />_off.gif" alt="<c:out escapeXml='true' value='${siteMenuList._siteMenuName}' />" width="150px" height="40px" /></span>
|
||||
<br/>
|
||||
<span><img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/images/menu/topMenu_<c:out escapeXml='true' value='${siteMenuList._siteMenuIdxs}' />_on.gif" alt="<c:out escapeXml='true' value='${siteMenuList._siteMenuName}' />" width="150px" height="40px" /></span>
|
||||
<c:if test='${siteMenuList._siteMenuDepth > 1}'>
|
||||
<br/>
|
||||
<span><img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/images/menu/subMenu_<c:out escapeXml='true' value='${siteMenuList._siteMenuIdxs}' />_off.gif" alt="<c:out escapeXml='true' value='${siteMenuList._siteMenuName}' />" width="150px" height="40px" /></span>
|
||||
<br/>
|
||||
<span><img src="/site/<c:out escapeXml='true' value='${siteIdx}' />/images/menu/subMenu_<c:out escapeXml='true' value='${siteMenuList._siteMenuIdxs}' />_on.gif" alt="<c:out escapeXml='true' value='${siteMenuList._siteMenuName}' />" width="150px" height="40px" /></span>
|
||||
</c:if>
|
||||
</a>
|
||||
</div>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td><a class="menu-barogagi" href="<c:out escapeXml='true' value='${siteMenuList._siteMenuLinkUrl}' />" target="_blank"><span><img src="/img/icon-go.png" alt="메뉴 바로가기" class="go-btn">GO</span></a></td>
|
||||
<td class="item-mobile-hidden">
|
||||
<c:choose>
|
||||
<c:when test="${siteMenuList._siteMenuStatus == 'U'}">
|
||||
<p class="menu-visible on"><a href="/gtm/proc/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuStatusProc/<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />.do?status=S&listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" >ON</a></p>
|
||||
</c:when>
|
||||
<c:when test="${siteMenuList._siteMenuStatus == 'S'}">
|
||||
<p class="menu-visible off"><a href="/gtm/proc/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuStatusProc/<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />.do?status=U&listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />" >OFF</a></p>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td class="item-tablet-hidden">
|
||||
<c:choose>
|
||||
<c:when test='${siteMenuList._siteMenuType == "H"}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.html"/>
|
||||
</c:when>
|
||||
<c:when test='${siteMenuList._siteMenuType == "C"}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.code"/>
|
||||
</c:when>
|
||||
<c:when test='${siteMenuList._siteMenuType == "F"}'>
|
||||
<c:choose>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "mypage") > 0 && fn:indexOf(siteMenuList._siteMenuLinkUrl, "bbs") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.mypage.bbs"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "mypage") > 0 && fn:indexOf(siteMenuList._siteMenuLinkUrl, "formbuilder") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.mypage.formbuilder"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "mypage") > 0 && fn:indexOf(siteMenuList._siteMenuLinkUrl, "memberAuth") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.mypage.memberAuth"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "bbs") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.bbs"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "formbuilder") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.formbuilder"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "survey") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.survey"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "login") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.login"/>
|
||||
</c:when>
|
||||
<c:when test='${fn:indexOf(siteMenuList._siteMenuLinkUrl, "member") > 0}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.member"/>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</c:when>
|
||||
<c:when test='${siteMenuList._siteMenuType == "L"}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.link"/>
|
||||
</c:when>
|
||||
<c:when test='${siteMenuList._siteMenuType == "S"}'>
|
||||
<s:message code="manager.site.siteMenuList.siteMenuType.si.link"/>
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<c:choose>
|
||||
<c:when test='${listType == "menu"}'>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._siteMenuIdxs}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._siteSatisfaction1}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._siteSatisfaction2}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._siteSatisfaction3}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._siteSatisfaction4}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._siteSatisfaction5}' /></td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${siteMenuList._memberName}' />(<c:out escapeXml='true' value='${siteMenuList._memberId}' />)</td>
|
||||
<td class="item-tablet-hidden"><c:out escapeXml='true' value='${fn:substring(siteMenuList._siteMenuRegDate, 0, 10)}' /></td>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<td class="item-mobile-hidden"><c:out escapeXml='true' value='${siteMenuList._memberName}' /></td>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
<td class="item-mobile-hidden">
|
||||
<span>
|
||||
<c:if test='${siteMenuList._siteMenuUp > 0}'>
|
||||
<a class="level-change" href="javascript:jf_siteMenuOrder('/gtm/proc/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuOrderProc/<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />.do?orderType=up&listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />');"><img src="/img/common/list_up_bt.gif" alt="<s:message code="common.move.up"/>"></a>
|
||||
</c:if>
|
||||
<c:if test='${siteMenuList._siteMenuDown > 0}'>
|
||||
<a class="level-change" href="javascript:jf_siteMenuOrder('/gtm/proc/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuOrderProc/<c:out escapeXml='true' value='${siteMenuList._siteMenuIdx}' />.do?orderType=down&listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />');"><img src="/img/common/list_down_bt.gif" alt="<s:message code="common.move.down"/>"></a>
|
||||
</c:if>
|
||||
</span>
|
||||
</td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="bookmark-list-pc menu-manage downNupType02 site-menu">
|
||||
<button type="button">북마크 버튼</button>
|
||||
<ul>
|
||||
<li><a href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuForm/0.do" id="siteMenuForm"><img src="<s:message code="manager.site.button.menu.add"/>" alt="<s:message code="manager.site.button.menu.add.alt"/>"><s:message code="manager.site.button.menu.add.alt"/></a></li>
|
||||
<li id="siteMenuDelLi"><a href="javascript:void(0);" id="siteMenuDel"><img src="<s:message code="manager.site.button.menu.del"/>" alt="<s:message code="manager.site.button.menu.del.alt"/>"><s:message code="manager.site.button.menu.del.alt"/></a></li>
|
||||
<c:if test='${fn:length(siteMenuList) == 0}'>
|
||||
<li><a href="#" onclick="javascript:jf_GETCODE('<c:out escapeXml='true' value='${siteIdx}' />', '/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuExcelChk.do', '');"><img src="<s:message code="manager.site.button.menu.excel.up"/>" alt="<s:message code="manager.site.button.menu.excel.up.alt"/>"><s:message code="manager.site.button.menu.excel.up.alt"/></a></li>
|
||||
<li><a href="/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuExcel.do"><img src="<s:message code="manager.site.button.menu.excel.down"/>" alt="<s:message code="manager.site.button.menu.excel.down.alt"/>"><s:message code="manager.site.button.menu.excel.down.alt"/></a></li>
|
||||
</c:if>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<script>
|
||||
/* <![CDATA[ */
|
||||
|
||||
$("#listType").change(function(){
|
||||
$("#frmSearch").submit();
|
||||
});
|
||||
|
||||
$("#siteMenuDelLi").hide();
|
||||
|
||||
$("#siteMenuDel").click(function(){
|
||||
if(!confirm("<s:message code='manager.siteMenu.message.confirm.menuDel'/>")){
|
||||
return false;
|
||||
}
|
||||
$.blockUI({ message : '<h1><img src="/img/blockbusy.gif" /> <s:message code="common.message.ajaxwait"/></h1>' });
|
||||
});
|
||||
|
||||
function jf_menuClick(siteMenuIdxs, siteMenuIdx){
|
||||
if(siteMenuIdxs == "0"){
|
||||
$("#siteMenuDelLi").hide();
|
||||
}else{
|
||||
$("#siteMenuDelLi").show();
|
||||
}
|
||||
$("#siteMenuForm").attr("href", "/gtm/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuForm/"+siteMenuIdxs+".do");
|
||||
$("#siteMenuDel").attr("href", "/gtm/proc/<c:out escapeXml='true' value='${siteIdx}' />/siteMenuDelProc/"+siteMenuIdx+".do?listType=<c:out escapeXml='true' value='${listType}' />&column=<c:out escapeXml='true' value='${column}' />&search=<c:out escapeXml='true' value='${search}' />");
|
||||
}
|
||||
|
||||
var siteMenuOrderChk = false;
|
||||
|
||||
function jf_siteMenuOrder(url){
|
||||
|
||||
if(confirm("<s:message code='manager.siteMenu.message.confirm.menuOrder'/>")){
|
||||
if(!siteMenuOrderChk){
|
||||
siteMenuOrderChk = true;
|
||||
location.replace(url);
|
||||
}else{
|
||||
alert('<s:message code="common.message.ajaxwait"/>');
|
||||
}
|
||||
}else{
|
||||
siteMenuOrderChk = false;
|
||||
}
|
||||
}
|
||||
//colspan 조절
|
||||
$(window).on('resize',function(){
|
||||
var colspan;
|
||||
if( window.innerWidth <= 1024 && window.innerWidth > 768 ){
|
||||
<c:choose>
|
||||
<c:when test='${listType == "menu"}'>
|
||||
colspan = 4;
|
||||
</c:when>
|
||||
<c:when test='${listType == "charge"}'>
|
||||
colspan = 5;
|
||||
</c:when>
|
||||
</c:choose>
|
||||
}else if( window.innerWidth <= 768 ) {
|
||||
colspan = 2;
|
||||
}else {
|
||||
colspan = $(".table-layout.siteMenuList thead th").length ;
|
||||
}
|
||||
$(".table-layout.siteMenuList tbody tr").eq(0).children('td').attr('colspan', colspan );
|
||||
|
||||
}).resize();
|
||||
|
||||
/* ]]> */
|
||||
</script>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
@ -0,0 +1,123 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="java.util.Date"%>
|
||||
<%@ page import="java.text.SimpleDateFormat"%>
|
||||
<%@ page import="java.net.URLEncoder" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
|
||||
<%
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
String fileName = "메뉴별_통계_"+sdfFormat.format(new Date()).substring(0, 14)+".xls";
|
||||
|
||||
if(this.getBrowser(request).equals("MSIE") || this.getBrowser(request).equals("Chrome")){
|
||||
fileName = URLEncoder.encode(fileName, "UTF-8").replaceAll("\\+", "%20");
|
||||
}else if(this.getBrowser(request).equals("Firefox")){
|
||||
fileName = new String(fileName.getBytes("UTF-8"), "8859_1").replaceAll("\\+", "%20");
|
||||
}else if(this.getBrowser(request).equals("Opera")){
|
||||
fileName = new String(fileName.getBytes("UTF-8"), "8859_1").replaceAll("\\+", "%20");
|
||||
}
|
||||
|
||||
response.setHeader("Content-Type", "application/vnd.ms-excel;charset=utf-8");
|
||||
response.setHeader("Content-Disposition", "attachment;filename="+fileName);
|
||||
response.setHeader("Content-Description", "JSP Generated Data");
|
||||
%>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body{
|
||||
background-color: #FAFFFF;
|
||||
}
|
||||
talbe{
|
||||
border-top: 5px solid #000;border-collapse: collapse;border-spacing: 0;;font-size: 12px;margin: 5px 0 15px; word-break: break-all;
|
||||
}
|
||||
table th{
|
||||
background-color: #EAEAEA; border-bottom: 1px solid #000; border-right: 1px solid #d6d6d6; font-weight: 600; height: 35px;
|
||||
}
|
||||
table td{
|
||||
text-align: center; border-bottom: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; height: 30px; padding: 2px 10px;
|
||||
}
|
||||
.subj{
|
||||
text-align: left; border-bottom: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; height: 30px; padding: 2px 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" colspan="4"><c:out escapeXml='true' value='${siteName}' /> 메뉴별 통계</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col"><s:message code="manager.site.siteMenuList.siteMenuName"/></th>
|
||||
<%-- <th scope="col"><s:message code="manager.site.siteMenuList.siteMenuLink"/></th> --%>
|
||||
<th scope="col"><s:message code="manager.site.siteMenuList.siteMenuStatus"/></th>
|
||||
<th scope="col"><s:message code="common.regDate"/></th>
|
||||
<th scope="col"><s:message code="manager.statistics.statisticsList.cnt"/></th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${!empty siteMenuStatisticsExcelList}">
|
||||
<c:forEach items="${siteMenuStatisticsExcelList}" var="siteMenuStatisticsExcelList" varStatus="status">
|
||||
<tr>
|
||||
<td style="text-align: left; mso-number-format:\@; ">
|
||||
<c:forEach begin="1" end="${siteMenuStatisticsExcelList._siteMenuDepth}" step="1">
|
||||
|
||||
</c:forEach>
|
||||
<c:out escapeXml='true' value='${siteMenuStatisticsExcelList._siteMenuName}' />
|
||||
</td>
|
||||
<%-- <td><a href="<c:out escapeXml='true' value='${siteMenuStatisticsExcelList._siteMenuLinkUrl}' />" target="_blank">GO</a></td> --%>
|
||||
<td>
|
||||
<c:choose>
|
||||
<c:when test="${siteMenuStatisticsExcelList._siteMenuStatus == 'U'}">
|
||||
ON
|
||||
</c:when>
|
||||
<c:when test="${siteMenuStatisticsExcelList._siteMenuStatus == 'S'}">
|
||||
OFF
|
||||
</c:when>
|
||||
</c:choose>
|
||||
</td>
|
||||
<td><c:out escapeXml='true' value='${fn:substring(siteMenuStatisticsExcelList._siteMenuRegDate, 0, 10)}' /></td>
|
||||
<td><c:out escapeXml='true' value='${siteMenuStatisticsExcelList._accessCount}' /></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="100%" ><s:message code="common.message.no.data"/></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%!
|
||||
private String getBrowser(HttpServletRequest request){
|
||||
String header = request.getHeader("User-Agent").toLowerCase();
|
||||
|
||||
if(header.indexOf("msie") > -1){
|
||||
return "MSIE";
|
||||
}else if(header.indexOf("trident/") > -1){
|
||||
return "MSIE";
|
||||
}else if(header.indexOf("chrome") > -1){
|
||||
return "Chrome";
|
||||
}else if(header.indexOf("opera") > -1){
|
||||
return "Opera";
|
||||
}
|
||||
return "Firefox";
|
||||
}
|
||||
%>
|
||||
@ -0,0 +1,103 @@
|
||||
<%@ page contentType="text/html;charset=utf-8" %>
|
||||
<%@ page import="java.util.Date"%>
|
||||
<%@ page import="java.text.SimpleDateFormat"%>
|
||||
<%@ page import="java.net.URLEncoder" %>
|
||||
<%@ taglib uri="http://www.springframework.org/tags" prefix="s"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
|
||||
<%@ taglib uri="http://java.sun.com/jsp/jstl/core" prefix="c" %>
|
||||
<%@ page import="seed.utils.SeedUtils"%>
|
||||
|
||||
<%
|
||||
SimpleDateFormat sdfFormat = new SimpleDateFormat("yyyyMMddHHmmss");
|
||||
|
||||
String fileName = "날짜별_통계_"+sdfFormat.format(new Date()).substring(0, 14)+".xls";
|
||||
|
||||
if(this.getBrowser(request).equals("MSIE") || this.getBrowser(request).equals("Chrome")){
|
||||
fileName = URLEncoder.encode(fileName, "UTF-8").replaceAll("\\+", "%20");
|
||||
}else if(this.getBrowser(request).equals("Firefox")){
|
||||
fileName = new String(fileName.getBytes("UTF-8"), "8859_1").replaceAll("\\+", "%20");
|
||||
}else if(this.getBrowser(request).equals("Opera")){
|
||||
fileName = new String(fileName.getBytes("UTF-8"), "8859_1").replaceAll("\\+", "%20");
|
||||
}
|
||||
|
||||
response.setHeader("Content-Type", "application/vnd.ms-excel;charset=utf-8");
|
||||
response.setHeader("Content-Disposition", "attachment;filename="+fileName);
|
||||
response.setHeader("Content-Description", "JSP Generated Data");
|
||||
%>
|
||||
|
||||
<!doctype html>
|
||||
<html lang="ko">
|
||||
|
||||
<head>
|
||||
<meta charset="utf-8">
|
||||
<style>
|
||||
body{
|
||||
background-color: #FAFFFF;
|
||||
}
|
||||
talbe{
|
||||
border-top: 5px solid #000;border-collapse: collapse;border-spacing: 0;;font-size: 12px;margin: 5px 0 15px; word-break: break-all;
|
||||
}
|
||||
table th{
|
||||
background-color: #EAEAEA; border-bottom: 1px solid #000; border-right: 1px solid #d6d6d6; font-weight: 600; height: 35px;
|
||||
}
|
||||
table td{
|
||||
text-align: center; border-bottom: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; height: 30px; padding: 2px 10px;
|
||||
}
|
||||
.subj{
|
||||
text-align: left; border-bottom: 1px solid #d6d6d6; border-right: 1px solid #d6d6d6; height: 30px; padding: 2px 10px;
|
||||
}
|
||||
</style>
|
||||
</head>
|
||||
|
||||
<body>
|
||||
|
||||
<table style="width: 100%">
|
||||
<thead>
|
||||
<tr>
|
||||
<th scope="col" colspan="2"><c:out escapeXml='true' value='${siteName}' /> 날짜별 통계</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="col" >날짜</th>
|
||||
<th scope="col" >접속자수</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
|
||||
<c:choose>
|
||||
<c:when test="${!empty siteStatisticsExcelArrayList}">
|
||||
<c:forEach items="${siteStatisticsExcelArrayList}" var="siteStatisticsExcelArrayList" varStatus="status">
|
||||
<tr>
|
||||
<td><c:out escapeXml='true' value="${siteStatisticsExcelArrayList._date}"/></td>
|
||||
<td><c:out escapeXml='true' value="${siteStatisticsExcelArrayList._cnt}"/></td>
|
||||
</tr>
|
||||
</c:forEach>
|
||||
</c:when>
|
||||
<c:otherwise>
|
||||
<tr>
|
||||
<td colspan="100%" ><s:message code="common.message.no.data"/></td>
|
||||
</tr>
|
||||
</c:otherwise>
|
||||
</c:choose>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
|
||||
</body>
|
||||
</html>
|
||||
|
||||
<%!
|
||||
private String getBrowser(HttpServletRequest request){
|
||||
String header = request.getHeader("User-Agent").toLowerCase();
|
||||
|
||||
if(header.indexOf("msie") > -1){
|
||||
return "MSIE";
|
||||
}else if(header.indexOf("trident/") > -1){
|
||||
return "MSIE";
|
||||
}else if(header.indexOf("chrome") > -1){
|
||||
return "Chrome";
|
||||
}else if(header.indexOf("opera") > -1){
|
||||
return "Opera";
|
||||
}
|
||||
return "Firefox";
|
||||
}
|
||||
%>
|
||||
@ -0,0 +1 @@
|
||||
분쟁조정 안내
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
분쟁조정 안내
|
||||
@ -0,0 +1 @@
|
||||
분쟁조정 안내
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
분쟁조정 안내
|
||||
@ -0,0 +1,254 @@
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정제도</h3><span>분쟁조정제도에 대하여 알려드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
|
||||
<div class="mgt30 tab_wrap TabThickHeight">
|
||||
<div class="tab2 TAP2_1 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2 tab_on"><a href="#1">공정거래<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 tab_top64">
|
||||
<strong class="tit2">공정거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">공정거래분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">공정거래분쟁조정협의회는 불공정거래행위로 발생한 사업자간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 BC1년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">공정거래분쟁조정협의회 구성</h5>
|
||||
<p class="indent">공정거래분쟁조정협의회는 교수, 법조인 등 공정거래 분야의 전문가로서 공정거래위원회 위원장이 임명 또는 위촉한 7인의 위원으로 구성되고, 위원의 임기는 3년이며 연임할 수 있습니다. </p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">공정거래분쟁조정협의회의 분쟁조정 대상은 사업자 간에 발생한 분쟁 중 공정거래법 제23조(불공정거래행위의 금지) 제1항을 위반한 혐의가 있는 행위로서, ① 단독의 거래거절, ② 차별적 취급, ③ 경쟁사업자 배제, ④ 부당한 고객유인, ⑤ 거래강제, ⑥ 거래상 지위의 남용, ⑦ 구속조건부거래, ⑧ 사업활동 방해 등에 해당하는 행위입니다.</p>
|
||||
<p class="inbox">
|
||||
※ 불공정거래행위 중 조정신청 제외 대상 다음 행위는 행위의 내용ㆍ성격 및 정도 등을 고려할 때 공정거래위원회에서 시정조치 또는 시정권고를 통하여 처리하는 것이 적합하므로 공정거래분쟁조정협의회의 분쟁조정신청 대상에서 제외되어 있습니다. <br />
|
||||
- 부당한 지원 행위<br />
|
||||
- 공동의 거래거절 행위<br />
|
||||
- 계열회사를 위한 차별 행위<br />
|
||||
- 집단적 차별 행위<br />
|
||||
- 계속적 부당 염매로 인한 경쟁사업자 배제 행위
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_2 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1" class="long">가맹사업거래<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">가맹사업거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">가맹사업거래분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">가맹사업거래분쟁조정협의회는 불공정거래행위로 발생한 가맹본부와 가맹사업자간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2008년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">가맹사업거래분쟁조정협의회 구성</h5>
|
||||
<p class="indent">가맹사업거래분쟁조정협의회는 공익을 대표하는 위원 3명과 가맹본부의 이익을 대표하는 위원 3명, 가맹점사업자의
|
||||
이익을 대표하는 위원 3명 등 모두 9명으로 구성되고, 위원은 조정원의 장이 추천하고 공정거래위원회 위원장이 임명
|
||||
또는 위촉합니다. 위원의 임기는 3년이며 협의회 위원장은 공익을 대표하는 위원 중에서 공정거래위원회 위원장이 위촉합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">가맹본부의 허위 과장된 정보제공, 부당한 계약해지 및 종료, 영업지역의 침해 등 가맹사업과 관련한 분쟁</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_3 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1">하도급거래<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">하도급거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">하도급거래분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">하도급거래분쟁조정협의회는 불공정거래행위로 발생한 원사업자와 수급사업자간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2011년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">하도급거래분쟁조정협의회 구성</h5>
|
||||
<p class="indent">하도급거래분쟁조정협의회는 공익을 대표하는 위원 3명, 원사업자를 대표하는 위원 3명, 수급사업자를 대표하는 위원 3명 등 모두 9명으로 구성되어 있으며, 위원은 공정거래위원회 위원장이 위촉하며, 임기는 2년입니다. 협의회 위원장은 공익을 대표하는 위원 중에서 협의회가 선출합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">하도급대금 미지급, 부당감액, 어음할인료 미지급, 부당한 발주취소, 수령거부 등 하도급거래에서 발생한 분쟁</p>
|
||||
</li>
|
||||
<li><h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent" style="line-height: 18.5714px;">하도급대금 미지급, 부당감액, 어음할인료 미지급, 부당한 발주취소, 수령거부 등 하도급거래에서 발생한 분쟁</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_4 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1" class="long">대규모유통업거래분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">대규모유통업거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">대규모유통업거래 분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">대규모유통업거래 분쟁조정협의회는 불공정거래행위로 발생한 대규모유통업자와 납품업자 등 사이의 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2012년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">대규모유통업거래 분쟁조정협의회 구성</h5>
|
||||
<p class="indent">대규모유통업거래 분쟁조정협의회는 공익을 대표하는 위원 3명, 대규모유통업자를 대표하는 위원 3명, 납품업자를 대표하는 위원 3명 등 모두 9명으로 구성되고, 위원 및 위원장은 공정거래위원회 위원장이 임명 또는 위촉합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">서면 계약서 미교부, 상품대금의 미지급, 판촉비용 부담의 전가, 계약기간 중 계약조건의 변경 등 대규모유통업자와 납품업자등 사이의 분쟁</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_5 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1">약관<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">약관분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">약관분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">약관 분쟁조정협의회는 불공정약관으로 발생한 사업자와 고객(소비자기본법에 따른 소비자 제외) 사이의 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2012년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">약관분쟁조정협의회 구성</h5>
|
||||
<p class="indent">약관 분쟁조정협의회는 교수, 법조인 등 약관규제 및 소비자 분야의 전문가로서 공정거래위원회 위원장이 위촉하는 9인의 위원으로 구성되고, 위원의 임기는 3년이며 연임할 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">고객의 해제권을 배제·제한하는 등 약관의 내용이 약관규제법 제17조를 위반한 약관 또는 이와 법률상 쟁점에 있어 공통되는 약관으로 인한 분쟁</p>
|
||||
<ul class="inbox indent li_gap2">
|
||||
<li>※ 조정신청 제외 대상</li>
|
||||
<li>- 조정신청이 있기 전에 공정거래위원회가 조사 중인 사건</li>
|
||||
<li>- 조정신청의 내용이 약관의 해석이나 그 이행을 요구하는 사건</li>
|
||||
<li>- 약관의 무효판정을 요구하는 사건</li>
|
||||
<li>- 해당 분쟁조정사항에 대하여 법원에 소를 제기한 사건</li>
|
||||
<li>- 분쟁해결이나 피해보상에 관한 합의가 이루어진 사건</li>
|
||||
<li>- 「중재법」에 따라 중재가 진행 중이거나 신청된 사건</li>
|
||||
<li>- 불공정 약관으로 피해를 입은 고객이 '소비자기본법'에 따른 소비자인 사건</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">집단분쟁조정 절차</h5>
|
||||
<p class="indent">불공정약관으로 인한 피해가 같거나 비슷한 유형으로 발생한 고객(「소비자기본법」에 따른 소비자는 제외)의 수가 20명 이상일 경우, 협의회는 효과적인 피해구제를 위하여 집단분쟁조정을 실시할 수 있습니다.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tab2 TAP2_6 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1">대리점<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">대리점 분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">대리점분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">대리점분쟁조정협의회는 불공정거래행위로 발생한 공급업자와 대리점간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2017년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">대리점분쟁조정협의회 구성</h5>
|
||||
<p class="indent">대리점분쟁조정협의회는 공익을 대표하는 위원 3명과 공급업자의 이익을 대표하는 위원 3명, 대리점의 이익을 대표하는 위원 3명 등 모두 9명으로 구성되고, 위원은 조정원의 장이 추천하고 공정거래위원회 위원장이 임명 또는 위촉합니다. 위원의 임기는 3년이며 협의회 위원장은 공익을 대표하는 위원 중에서 공정거래위원회 위원장이 임명 또는 위촉합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">대리점거래 계약서 미제공 구입 강제, 경제상 이익 제공 강요, 판매목표 강제, 경영활동 간섭, 주문내역의 확인요청 거부 또는 회피 등 대리점거래에서 발생한 분쟁</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
[분쟁조정 신청]
|
||||
|
||||
<p><span style="font-family: 함초롬바탕;">?</span> 대리점 분쟁조정 대상이 되는 거래 유형</p>
|
||||
<p><span style="font-family: 함초롬바탕;">?</span> 대리점거래의 분쟁에 관한 사항</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="color: rgb(189, 61, 61); font-family: 함초롬바탕;">? </span>대리점 거래</p>
|
||||
<p class="indent">공급업자와 대리점 사이에 상품 또는 용역의 재판매 또는 위탁판매를 위하여 행하여지는 거래로서 일정 기간 지속되는 계약을 체결하여 반복적으로 행하여지는 거래</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="color: rgb(189, 61, 61); font-family: 함초롬바탕;">? </span>공급업자</p>
|
||||
<p class="indent">생산 또는 구매한 상품 또는 용역을 대리점에게 공급하는 사업자</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="color: rgb(189, 61, 61); font-family: 함초롬바탕;">? </span>대리점</p>
|
||||
<p class="indent">공급업자로부터 상품 또는 용역을 공급받아 불특정다수의 소매업자 또는 소비자에게 재판매 또는 위탁판매 하는 사업자</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="font-family: 함초롬바탕;">?</span> 적용제외</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>공급업자가 중소기업자(「중소기업기본법」 제2조제1항 또는 제3항에 따른 자를 말하며, 「중소기업협동조합법」 제3조제1항에 따른 중소기업협동조합을 포함한다. 이하 같다)에 해당하는 경우</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>대리점이 중소기업자에 해당하지 아니하는 경우
|
||||
</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>공급업자가 대리점에 대하여 거래상 우월한 지위를 가지고 있다고 인정되지 아니하는 경우
|
||||
</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>다음 각 호의 어느 하나에 해당하는 거래</p></li>
|
||||
<li>
|
||||
<p class="indent">
|
||||
-「가맹사업거래의 공정화에 관한 법률」 제2조 제1호에서 정하는 가맹사업에 해당하는 거래
|
||||
</p>
|
||||
<p class="indent">
|
||||
-「자본시장과 금융투자업에 관한 법률」 제6조 제1항에서 정하는 금융투자업에 해당하는 거래.
|
||||
</p>
|
||||
<p class="indent">
|
||||
-「대규모유통업에서의 거래 공정화에 관한 법률」 제2호에서 정하는 대규모유통업자와 납품업 자 등 사이의 거래
|
||||
</p>
|
||||
<p class="indent">
|
||||
- 그 밖에 거래의 성격 및 대리점의 보호 필요성 등을 고려하여 대리점거래에서 제외할 필요 가 있는 것으로서 대통령령으로 정하는 거래
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>? 분쟁조정 대상이 되는 공급업자의 행위</p>
|
||||
<p class="indent">? 대리점과 계약을 체결한 즉시 공급업자가 대리점계약서를 제공하지 않은 경우
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점이 구입할 의사가 없는 상품 또는 용역을 구입하도록 강제하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점에게 자기를 위하여 금전ㆍ물품ㆍ용역, 그 밖의 경제상 이익을 제공하도록 강요하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 자기가 공급하는 상품 또는 용역과 관련하여 대리점에게 거래에 관한 목표를 제시하고 이를 달성하도록 강제하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 위에 해당하는 행위 외의 방법으로 대리점에게 불이익이 되도록 거래조건을 설정 또는 변경하거나 그 이행과정에서 불이익을 주는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점의 경영활동을 간섭하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점이 청약 또는 구입의사를 표시한 제품, 수량 등 주문내역의 정당한 확인요청에 대하여 이를 거부 또는 회피하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 분쟁조정신청, 공정거래위원회 신고 등의 행위를 한 대리점에게 그 행위를 한 것을 이유로 거래의 정지 또는 물량의 축소, 그 밖에 불이익을 주는 행위
|
||||
</p>
|
||||
<br />
|
||||
<p>[분쟁조정신청서 작성 방법 중 대리점거래 해당 유형]
|
||||
</p>
|
||||
<br />
|
||||
<p class="indent">? 대리점거래 계약서 미제공 구입 강제, 경제상 이익 제공 강요, 판매목표 강제, 경영활동 간섭, 주문내역의 확인요청 거부 또는 회피 등 대리점거래에서 발생한 분쟁
|
||||
</p>
|
||||
<p class="indent">? 적용제외: 공급업자가 중소기업자에 해당하거나 대리점이 중소기업자에 해당하지 아니하는 경우, 공급업자가 대리점에 대하여 거래상 우월한 지위를 가지고 있다고 인정되지 아니하는 경우, 가맹사업ㆍ금융투자업ㆍ대규모유통업에 해당하는 거래 등은 제외
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,258 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정제도</h3><span>분쟁조정제도에 대하여 알려드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
|
||||
<div class="mgt30 tab_wrap TabThickHeight">
|
||||
<div class="tab2 TAP2_1 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2 tab_on"><a href="#1">공정거래<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 tab_top64">
|
||||
<strong class="tit2">공정거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">공정거래분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">공정거래분쟁조정협의회는 불공정거래행위로 발생한 사업자간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 BC1년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">공정거래분쟁조정협의회 구성</h5>
|
||||
<p class="indent">공정거래분쟁조정협의회는 교수, 법조인 등 공정거래 분야의 전문가로서 공정거래위원회 위원장이 임명 또는 위촉한 7인의 위원으로 구성되고, 위원의 임기는 3년이며 연임할 수 있습니다. </p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">공정거래분쟁조정협의회의 분쟁조정 대상은 사업자 간에 발생한 분쟁 중 공정거래법 제23조(불공정거래행위의 금지) 제1항을 위반한 혐의가 있는 행위로서, ① 단독의 거래거절, ② 차별적 취급, ③ 경쟁사업자 배제, ④ 부당한 고객유인, ⑤ 거래강제, ⑥ 거래상 지위의 남용, ⑦ 구속조건부거래, ⑧ 사업활동 방해 등에 해당하는 행위입니다.</p>
|
||||
<p class="inbox">
|
||||
※ 불공정거래행위 중 조정신청 제외 대상 다음 행위는 행위의 내용ㆍ성격 및 정도 등을 고려할 때 공정거래위원회에서 시정조치 또는 시정권고를 통하여 처리하는 것이 적합하므로 공정거래분쟁조정협의회의 분쟁조정신청 대상에서 제외되어 있습니다. <br />
|
||||
- 부당한 지원 행위<br />
|
||||
- 공동의 거래거절 행위<br />
|
||||
- 계열회사를 위한 차별 행위<br />
|
||||
- 집단적 차별 행위<br />
|
||||
- 계속적 부당 염매로 인한 경쟁사업자 배제 행위
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_2 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1" class="long">가맹사업거래<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">가맹사업거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">가맹사업거래분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">가맹사업거래분쟁조정협의회는 불공정거래행위로 발생한 가맹본부와 가맹사업자간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2008년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">가맹사업거래분쟁조정협의회 구성</h5>
|
||||
<p class="indent">가맹사업거래분쟁조정협의회는 공익을 대표하는 위원 3명과 가맹본부의 이익을 대표하는 위원 3명, 가맹점사업자의
|
||||
이익을 대표하는 위원 3명 등 모두 9명으로 구성되고, 위원은 조정원의 장이 추천하고 공정거래위원회 위원장이 임명
|
||||
또는 위촉합니다. 위원의 임기는 3년이며 협의회 위원장은 공익을 대표하는 위원 중에서 공정거래위원회 위원장이 위촉합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">가맹본부의 허위 과장된 정보제공, 부당한 계약해지 및 종료, 영업지역의 침해 등 가맹사업과 관련한 분쟁</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_3 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1">하도급거래<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">하도급거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">하도급거래분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">하도급거래분쟁조정협의회는 불공정거래행위로 발생한 원사업자와 수급사업자간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2011년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">하도급거래분쟁조정협의회 구성</h5>
|
||||
<p class="indent">하도급거래분쟁조정협의회는 공익을 대표하는 위원 3명, 원사업자를 대표하는 위원 3명, 수급사업자를 대표하는 위원 3명 등 모두 9명으로 구성되어 있으며, 위원은 공정거래위원회 위원장이 위촉하며, 임기는 2년입니다. 협의회 위원장은 공익을 대표하는 위원 중에서 협의회가 선출합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">하도급대금 미지급, 부당감액, 어음할인료 미지급, 부당한 발주취소, 수령거부 등 하도급거래에서 발생한 분쟁</p>
|
||||
</li>
|
||||
<li><h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent" style="line-height: 18.5714px;">하도급대금 미지급, 부당감액, 어음할인료 미지급, 부당한 발주취소, 수령거부 등 하도급거래에서 발생한 분쟁</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_4 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1" class="long">대규모유통업거래분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">대규모유통업거래분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">대규모유통업거래 분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">대규모유통업거래 분쟁조정협의회는 불공정거래행위로 발생한 대규모유통업자와 납품업자 등 사이의 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2012년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">대규모유통업거래 분쟁조정협의회 구성</h5>
|
||||
<p class="indent">대규모유통업거래 분쟁조정협의회는 공익을 대표하는 위원 3명, 대규모유통업자를 대표하는 위원 3명, 납품업자를 대표하는 위원 3명 등 모두 9명으로 구성되고, 위원 및 위원장은 공정거래위원회 위원장이 임명 또는 위촉합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">서면 계약서 미교부, 상품대금의 미지급, 판촉비용 부담의 전가, 계약기간 중 계약조건의 변경 등 대규모유통업자와 납품업자등 사이의 분쟁</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="tab2 TAP2_5 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1">약관<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">약관분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">약관분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">약관 분쟁조정협의회는 불공정약관으로 발생한 사업자와 고객(소비자기본법에 따른 소비자 제외) 사이의 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2012년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">약관분쟁조정협의회 구성</h5>
|
||||
<p class="indent">약관 분쟁조정협의회는 교수, 법조인 등 약관규제 및 소비자 분야의 전문가로서 공정거래위원회 위원장이 위촉하는 9인의 위원으로 구성되고, 위원의 임기는 3년이며 연임할 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">고객의 해제권을 배제·제한하는 등 약관의 내용이 약관규제법 제17조를 위반한 약관 또는 이와 법률상 쟁점에 있어 공통되는 약관으로 인한 분쟁</p>
|
||||
<ul class="inbox indent li_gap2">
|
||||
<li>※ 조정신청 제외 대상</li>
|
||||
<li>- 조정신청이 있기 전에 공정거래위원회가 조사 중인 사건</li>
|
||||
<li>- 조정신청의 내용이 약관의 해석이나 그 이행을 요구하는 사건</li>
|
||||
<li>- 약관의 무효판정을 요구하는 사건</li>
|
||||
<li>- 해당 분쟁조정사항에 대하여 법원에 소를 제기한 사건</li>
|
||||
<li>- 분쟁해결이나 피해보상에 관한 합의가 이루어진 사건</li>
|
||||
<li>- 「중재법」에 따라 중재가 진행 중이거나 신청된 사건</li>
|
||||
<li>- 불공정 약관으로 피해를 입은 고객이 '소비자기본법'에 따른 소비자인 사건</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">집단분쟁조정 절차</h5>
|
||||
<p class="indent">불공정약관으로 인한 피해가 같거나 비슷한 유형으로 발생한 고객(「소비자기본법」에 따른 소비자는 제외)의 수가 20명 이상일 경우, 협의회는 효과적인 피해구제를 위하여 집단분쟁조정을 실시할 수 있습니다.</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
<div class="tab2 TAP2_6 tab20per_to_50per">
|
||||
<strong class="tab2Tit inblock indent disc2"><a href="#1">대리점<br />분쟁조정</a></strong>
|
||||
</div>
|
||||
<div class="tbl4 border_t tab2Con tab2Con1 dis_none tab_top64">
|
||||
<strong class="tit2">대리점 분쟁조정</strong>
|
||||
<ul class="indent li_gap">
|
||||
<li>
|
||||
<h5 class="tit3">대리점분쟁조정협의회 설치이유</h5>
|
||||
<p class="indent">대리점분쟁조정협의회는 불공정거래행위로 발생한 공급업자와 대리점간 분쟁을 조정하기 위하여 설치되었으며, 우리 원은 2017년부터 이를 운영하고 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">대리점분쟁조정협의회 구성</h5>
|
||||
<p class="indent">대리점분쟁조정협의회는 공익을 대표하는 위원 3명과 공급업자의 이익을 대표하는 위원 3명, 대리점의 이익을 대표하는 위원 3명 등 모두 9명으로 구성되고, 위원은 조정원의 장이 추천하고 공정거래위원회 위원장이 임명 또는 위촉합니다. 위원의 임기는 3년이며 협의회 위원장은 공익을 대표하는 위원 중에서 공정거래위원회 위원장이 임명 또는 위촉합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<h5 class="tit3">조정의 대상</h5>
|
||||
<p class="indent">대리점거래 계약서 미제공 구입 강제, 경제상 이익 제공 강요, 판매목표 강제, 경영활동 간섭, 주문내역의 확인요청 거부 또는 회피 등 대리점거래에서 발생한 분쟁</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
[분쟁조정 신청]
|
||||
|
||||
<p><span style="font-family: 함초롬바탕;">?</span> 대리점 분쟁조정 대상이 되는 거래 유형</p>
|
||||
<p><span style="font-family: 함초롬바탕;">?</span> 대리점거래의 분쟁에 관한 사항</p>
|
||||
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="color: rgb(189, 61, 61); font-family: 함초롬바탕;">? </span>대리점 거래</p>
|
||||
<p class="indent">공급업자와 대리점 사이에 상품 또는 용역의 재판매 또는 위탁판매를 위하여 행하여지는 거래로서 일정 기간 지속되는 계약을 체결하여 반복적으로 행하여지는 거래</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="color: rgb(189, 61, 61); font-family: 함초롬바탕;">? </span>공급업자</p>
|
||||
<p class="indent">생산 또는 구매한 상품 또는 용역을 대리점에게 공급하는 사업자</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="color: rgb(189, 61, 61); font-family: 함초롬바탕;">? </span>대리점</p>
|
||||
<p class="indent">공급업자로부터 상품 또는 용역을 공급받아 불특정다수의 소매업자 또는 소비자에게 재판매 또는 위탁판매 하는 사업자</p>
|
||||
</li>
|
||||
<li>
|
||||
<p><span style="font-family: 함초롬바탕;">?</span> 적용제외</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>공급업자가 중소기업자(「중소기업기본법」 제2조제1항 또는 제3항에 따른 자를 말하며, 「중소기업협동조합법」 제3조제1항에 따른 중소기업협동조합을 포함한다. 이하 같다)에 해당하는 경우</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>대리점이 중소기업자에 해당하지 아니하는 경우
|
||||
</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>공급업자가 대리점에 대하여 거래상 우월한 지위를 가지고 있다고 인정되지 아니하는 경우
|
||||
</p>
|
||||
<p class="indent"><span style="font-family: 함초롬바탕;">?</span>다음 각 호의 어느 하나에 해당하는 거래</p></li>
|
||||
<li>
|
||||
<p class="indent">
|
||||
-「가맹사업거래의 공정화에 관한 법률」 제2조 제1호에서 정하는 가맹사업에 해당하는 거래
|
||||
</p>
|
||||
<p class="indent">
|
||||
-「자본시장과 금융투자업에 관한 법률」 제6조 제1항에서 정하는 금융투자업에 해당하는 거래.
|
||||
</p>
|
||||
<p class="indent">
|
||||
-「대규모유통업에서의 거래 공정화에 관한 법률」 제2호에서 정하는 대규모유통업자와 납품업 자 등 사이의 거래
|
||||
</p>
|
||||
<p class="indent">
|
||||
- 그 밖에 거래의 성격 및 대리점의 보호 필요성 등을 고려하여 대리점거래에서 제외할 필요 가 있는 것으로서 대통령령으로 정하는 거래
|
||||
</p>
|
||||
</li>
|
||||
|
||||
<li>
|
||||
<p>? 분쟁조정 대상이 되는 공급업자의 행위</p>
|
||||
<p class="indent">? 대리점과 계약을 체결한 즉시 공급업자가 대리점계약서를 제공하지 않은 경우
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점이 구입할 의사가 없는 상품 또는 용역을 구입하도록 강제하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점에게 자기를 위하여 금전ㆍ물품ㆍ용역, 그 밖의 경제상 이익을 제공하도록 강요하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 자기가 공급하는 상품 또는 용역과 관련하여 대리점에게 거래에 관한 목표를 제시하고 이를 달성하도록 강제하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 위에 해당하는 행위 외의 방법으로 대리점에게 불이익이 되도록 거래조건을 설정 또는 변경하거나 그 이행과정에서 불이익을 주는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점의 경영활동을 간섭하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 자기의 거래상의 지위를 부당하게 이용하여 대리점이 청약 또는 구입의사를 표시한 제품, 수량 등 주문내역의 정당한 확인요청에 대하여 이를 거부 또는 회피하는 행위
|
||||
</p>
|
||||
<p class="indent">? 공급업자가 분쟁조정신청, 공정거래위원회 신고 등의 행위를 한 대리점에게 그 행위를 한 것을 이유로 거래의 정지 또는 물량의 축소, 그 밖에 불이익을 주는 행위
|
||||
</p>
|
||||
<br />
|
||||
<p>[분쟁조정신청서 작성 방법 중 대리점거래 해당 유형]
|
||||
</p>
|
||||
<br />
|
||||
<p class="indent">? 대리점거래 계약서 미제공 구입 강제, 경제상 이익 제공 강요, 판매목표 강제, 경영활동 간섭, 주문내역의 확인요청 거부 또는 회피 등 대리점거래에서 발생한 분쟁
|
||||
</p>
|
||||
<p class="indent">? 적용제외: 공급업자가 중소기업자에 해당하거나 대리점이 중소기업자에 해당하지 아니하는 경우, 공급업자가 대리점에 대하여 거래상 우월한 지위를 가지고 있다고 인정되지 아니하는 경우, 가맹사업ㆍ금융투자업ㆍ대규모유통업에 해당하는 거래 등은 제외
|
||||
</p>
|
||||
|
||||
|
||||
|
||||
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
|
||||
|
||||
@ -0,0 +1,94 @@
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정제도</h3><span class="mgb10">분쟁조정제도에 대하여 알려드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
<div class="tal_c">
|
||||
<img alt="분쟁조정안내도표. 자세한 구조는 바로 아래에서 확인할 수 있습니다" src="/site/case/images/policy_tree.png" />
|
||||
</div>
|
||||
<div class="request blind">
|
||||
<ul>
|
||||
<li>조정신청(신청인)/조정의뢰(공정위)
|
||||
<ul>
|
||||
<li>한국공정거래조정원
|
||||
<ul>
|
||||
<li>사실관계조사
|
||||
<ul>
|
||||
<li>신청취하 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>분쟁조정협의회
|
||||
<ul>
|
||||
<li>조정안제시의결
|
||||
<ul>
|
||||
<li>(수락) 조정성립 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>(불수락) 조정불성립 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>조정절차종료의결 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>소제기 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>소재불명 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>조정거부 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="notibox_wrap mgt30">
|
||||
<div class="tal_c noti_tit"><h4 class="tit7">분쟁조정 단계별 절차 안내</h4></div>
|
||||
|
||||
<div class="noti_con">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>1. 신청서 접수</strong>
|
||||
<p>우리 원은 온라인 분쟁조정시스템을 통해 조정신청을 접수합니다.<br />
|
||||
(다만 시스템 이용에 어려움이 있어 방문접수 또는 우편접수를 원하시는 경우 우리 원 대표번호(1588-1490)로 문의하여 주시기 바랍니다.)
|
||||
</p></li>
|
||||
<li>
|
||||
<p class="c_blue noti_con_emp">
|
||||
<strong class="c_blue">신청서 작성 시 유의사항</strong>
|
||||
<span>- 양 당사자 연락처를 정확히 기재바랍니다.</span>
|
||||
<span>- 사안이 다양할 경우 피해금액이 큰 주장 위주로 작성해 주시기 바랍니다.</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>2. 양당사자 접수통지</strong>
|
||||
<p>사건 접수 후 담당 조사관이 등기우편으로 양 당사자에게 접수사실 및 자료 요청을 공문으로 통지해 드립니다. 단, 접수과정에서 우리 원의 조정대상에 해당하지 않는 경우 조정절차가 종료될 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>3. 자료제출</strong>
|
||||
<p>양당사자는 기한 내에 분쟁 관련 자료(보완서, 답변서, 일반현황표)를 제출해야 하며, 당사자가 2회 이상 자료제출 요청에 불응하면 분쟁조정 절차가 중지될 수 있습니다. <span class="c_blue">(일반현황표는 양당사자의 거래관계 및 분쟁조정 대상 여부검토에 활용됩니다.)</span></p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>4. 사실관계 조사</strong>
|
||||
<p>양 당사자가 제출한 자료들의 검토를 검쳐 본격적인 조정절차가 진행됩니다. 필요한 경우 당사자들에게 출석을 요구할 수 있으며, 조정절차 중 당사자가 직접 합의하여 조정이 종료될 수 있습니다. 반면 자료제출 또는 출석요구 등 조사과정에 2회 이상 참여하지 않는 경우 조정절차가 중지될 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>5. 협의회 개최 및 의결 </strong>
|
||||
<p>사실관계 조사 등을 거친 모든 분쟁사건은 분쟁조정협의회에 상정되어 심의절차를 거치게 됩니다. 이 과정에서 필요한 경우 분쟁조정협의회에 분쟁당사자가 참여하여 의견을 진술하는 경우도 있으며, 분쟁조정협의회의 심의를 통해 조정절차 종료 등 여부를 최종 의결하면 사실상 조정절차가 종료됩니다. (협의회 의결 후 분쟁당사자 분들에게 종료 여부 등이 통지되며, 본 시스템 등을 통해 확인하실 수 있습니다.)
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,98 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정제도</h3><span class="mgb10">분쟁조정제도에 대하여 알려드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
<div class="tal_c">
|
||||
<img alt="분쟁조정안내도표. 자세한 구조는 바로 아래에서 확인할 수 있습니다" src="/site/case/images/policy_tree.png" />
|
||||
</div>
|
||||
<div class="request blind">
|
||||
<ul>
|
||||
<li>조정신청(신청인)/조정의뢰(공정위)
|
||||
<ul>
|
||||
<li>한국공정거래조정원
|
||||
<ul>
|
||||
<li>사실관계조사
|
||||
<ul>
|
||||
<li>신청취하 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>분쟁조정협의회
|
||||
<ul>
|
||||
<li>조정안제시의결
|
||||
<ul>
|
||||
<li>(수락) 조정성립 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>(불수락) 조정불성립 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>조정절차종료의결 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
</ul>
|
||||
</li>
|
||||
<li>소제기 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>소재불명 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
<li>조정거부 -> 분쟁조정 종류 -> 공정거래 위원회</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="notibox_wrap mgt30">
|
||||
<div class="tal_c noti_tit"><h4 class="tit7">분쟁조정 단계별 절차 안내</h4></div>
|
||||
|
||||
<div class="noti_con">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>1. 신청서 접수</strong>
|
||||
<p>우리 원은 온라인 분쟁조정시스템을 통해 조정신청을 접수합니다.<br />
|
||||
(다만 시스템 이용에 어려움이 있어 방문접수 또는 우편접수를 원하시는 경우 우리 원 대표번호(1588-1490)로 문의하여 주시기 바랍니다.)
|
||||
</p></li>
|
||||
<li>
|
||||
<p class="c_blue noti_con_emp">
|
||||
<strong class="c_blue">신청서 작성 시 유의사항</strong>
|
||||
<span>- 양 당사자 연락처를 정확히 기재바랍니다.</span>
|
||||
<span>- 사안이 다양할 경우 피해금액이 큰 주장 위주로 작성해 주시기 바랍니다.</span>
|
||||
</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>2. 양당사자 접수통지</strong>
|
||||
<p>사건 접수 후 담당 조사관이 등기우편으로 양 당사자에게 접수사실 및 자료 요청을 공문으로 통지해 드립니다. 단, 접수과정에서 우리 원의 조정대상에 해당하지 않는 경우 조정절차가 종료될 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>3. 자료제출</strong>
|
||||
<p>양당사자는 기한 내에 분쟁 관련 자료(보완서, 답변서, 일반현황표)를 제출해야 하며, 당사자가 2회 이상 자료제출 요청에 불응하면 분쟁조정 절차가 중지될 수 있습니다. <span class="c_blue">(일반현황표는 양당사자의 거래관계 및 분쟁조정 대상 여부검토에 활용됩니다.)</span></p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>4. 사실관계 조사</strong>
|
||||
<p>양 당사자가 제출한 자료들의 검토를 검쳐 본격적인 조정절차가 진행됩니다. 필요한 경우 당사자들에게 출석을 요구할 수 있으며, 조정절차 중 당사자가 직접 합의하여 조정이 종료될 수 있습니다. 반면 자료제출 또는 출석요구 등 조사과정에 2회 이상 참여하지 않는 경우 조정절차가 중지될 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>5. 협의회 개최 및 의결 </strong>
|
||||
<p>사실관계 조사 등을 거친 모든 분쟁사건은 분쟁조정협의회에 상정되어 심의절차를 거치게 됩니다. 이 과정에서 필요한 경우 분쟁조정협의회에 분쟁당사자가 참여하여 의견을 진술하는 경우도 있으며, 분쟁조정협의회의 심의를 통해 조정절차 종료 등 여부를 최종 의결하면 사실상 조정절차가 종료됩니다. (협의회 의결 후 분쟁당사자 분들에게 종료 여부 등이 통지되며, 본 시스템 등을 통해 확인하실 수 있습니다.)
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,183 @@
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 관련서식</h3><span class="mgb10">분쟁조정 신청서, 위임장 등 분쟁조정 관련 서식을 제공하고 있습니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
<div class="tbl_abv_wrap clear">
|
||||
|
||||
<div class="tbl_abv_l">
|
||||
총 <span class="c_sky">234</span> 건 (<span class="c_sky">1/25</span> page)
|
||||
</div>
|
||||
<div class="tbl_abv_r">
|
||||
<select name="" id="" class="sel_default">
|
||||
<option value="제목">제목</option>
|
||||
<option value="글쓴이">글쓴이</option>
|
||||
<option value="내용">내용</option>
|
||||
</select>
|
||||
<input type="text" class="inp_default">
|
||||
<input type="button" value="검색" class="btn_default">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="resp_li3_2 mgt10">
|
||||
<li class="resp_li_tit">
|
||||
<span>번호</span><!--
|
||||
--><span class="tal_c_i">제목</span><!--
|
||||
--><span>조회수</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="bold">공지</span><!--
|
||||
--><span class="bold"><a href="#">[약관분쟁조정협의회] 참가신청서</a></span><!--
|
||||
--><span>102303</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>9</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>8</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>7</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>6</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>5</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>4</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>3</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>2</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>1</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="pager tal_c mgt30">
|
||||
<a href="#" class="pre2">처음페이지</a>
|
||||
<a href="#" class="pre1">이전페이지</a>
|
||||
<a href="#" class="p_num p_num_on">1</a>
|
||||
<a href="#" class="p_num">2</a>
|
||||
<a href="#" class="p_num">3</a>
|
||||
<a href="#" class="p_num">4</a>
|
||||
<a href="#" class="p_num">5</a>
|
||||
<a href="#" class="post1">다음페이지</a>
|
||||
<a href="#" class="post2">마지막페이지</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 관련서식</h3><span class="mgb10">분쟁조정 신청서, 위임장 등 분쟁조정 관련 서식을 제공하고 있습니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tbl5 mgt70">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>신청현황 검색폼 : 등록일시, 조정유형, 제목, 처리상태</caption>
|
||||
<colgroup>
|
||||
<col style="width:20%">
|
||||
<col style="width:80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">번호</th>
|
||||
<td>[약관분쟁조정협의회] 참가신청서 [약관분쟁조정협의회] 참가신청서</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">작성자</th>
|
||||
<td>KOFAIR</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">첨부자료</th>
|
||||
<td><a href="#1" class="file_ico">약관집단분쟁조정참가신청서.hwp [14633 byte]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p>삼성전자가 최근 배터리 이상 문제로 논란을 빚었던 ‘갤럭시노트7’을 전량 리콜(recall)할 방침을 세운 것으로 1일 확인됐다.<br>
|
||||
|
||||
지난달 19일 출시된 갤럭시노트7이 국내에 판매, 개통된 물량은 총 40만대가량으로 추산된다. 삼성전자는 충전 중 폭발했다는 국내외 소비자들의 제보가 잇따르자 지난 31일 국내 통신3사에 제품 공급을 일시 중단했다.<br>
|
||||
|
||||
삼성은 국내에서 갤럭시노트7을 구매한 소비자 전원에게 배터리 교환 등 무상수리를 제공할 계획이다. 환불이나 신제품 교환은 불가능하다.<br>
|
||||
|
||||
유튜브를 통해 미국에서도 폭발 사례가 보고된만큼 해외에서도 해당 배터리를 사용한 제품에 대해선 동일한 조치를 취할 계획이다. 삼성 내부에서는 ‘원인이 제품 불량으로 밝혀진만큼 확실하게 소비자 사과와 보상을 마무리짓고 다시 신뢰를 쌓는 쪽으로 가야한다’는 분위기인 것으로 알려졌다.<br>
|
||||
|
||||
|
||||
[출처] 본 기사는 조선닷컴에서 작성된 기사 입니다</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="fl_r mgt20">
|
||||
<a href="#" class="btn_next">목록</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,187 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 관련서식</h3><span class="mgb10">분쟁조정 신청서, 위임장 등 분쟁조정 관련 서식을 제공하고 있습니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
<div class="tbl_abv_wrap clear">
|
||||
|
||||
<div class="tbl_abv_l">
|
||||
총 <span class="c_sky">234</span> 건 (<span class="c_sky">1/25</span> page)
|
||||
</div>
|
||||
<div class="tbl_abv_r">
|
||||
<select name="" id="" class="sel_default">
|
||||
<option value="제목">제목</option>
|
||||
<option value="글쓴이">글쓴이</option>
|
||||
<option value="내용">내용</option>
|
||||
</select>
|
||||
<input type="text" class="inp_default">
|
||||
<input type="button" value="검색" class="btn_default">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="resp_li3_2 mgt10">
|
||||
<li class="resp_li_tit">
|
||||
<span>번호</span><!--
|
||||
--><span class="tal_c_i">제목</span><!--
|
||||
--><span>조회수</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="bold">공지</span><!--
|
||||
--><span class="bold"><a href="#">[약관분쟁조정협의회] 참가신청서</a></span><!--
|
||||
--><span>102303</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>9</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>8</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>7</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>6</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>5</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>4</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>3</span><!--
|
||||
--><span><a href="#">[약관분쟁조정협의회] 약관집단분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>2</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>1</span><!--
|
||||
--><span><a href="#">[대규모유통업거래분쟁조정협의회] 대규모유통업거래분쟁조정신청서</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
</ul>
|
||||
|
||||
<div class="pager tal_c mgt30">
|
||||
<a href="#" class="pre2">처음페이지</a>
|
||||
<a href="#" class="pre1">이전페이지</a>
|
||||
<a href="#" class="p_num p_num_on">1</a>
|
||||
<a href="#" class="p_num">2</a>
|
||||
<a href="#" class="p_num">3</a>
|
||||
<a href="#" class="p_num">4</a>
|
||||
<a href="#" class="p_num">5</a>
|
||||
<a href="#" class="post1">다음페이지</a>
|
||||
<a href="#" class="post2">마지막페이지</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 관련서식</h3><span class="mgb10">분쟁조정 신청서, 위임장 등 분쟁조정 관련 서식을 제공하고 있습니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tbl5 mgt70">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>신청현황 검색폼 : 등록일시, 조정유형, 제목, 처리상태</caption>
|
||||
<colgroup>
|
||||
<col style="width:20%">
|
||||
<col style="width:80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">번호</th>
|
||||
<td>[약관분쟁조정협의회] 참가신청서 [약관분쟁조정협의회] 참가신청서</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">작성자</th>
|
||||
<td>KOFAIR</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">첨부자료</th>
|
||||
<td><a href="#1" class="file_ico">약관집단분쟁조정참가신청서.hwp [14633 byte]</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p>삼성전자가 최근 배터리 이상 문제로 논란을 빚었던 ‘갤럭시노트7’을 전량 리콜(recall)할 방침을 세운 것으로 1일 확인됐다.<br>
|
||||
|
||||
지난달 19일 출시된 갤럭시노트7이 국내에 판매, 개통된 물량은 총 40만대가량으로 추산된다. 삼성전자는 충전 중 폭발했다는 국내외 소비자들의 제보가 잇따르자 지난 31일 국내 통신3사에 제품 공급을 일시 중단했다.<br>
|
||||
|
||||
삼성은 국내에서 갤럭시노트7을 구매한 소비자 전원에게 배터리 교환 등 무상수리를 제공할 계획이다. 환불이나 신제품 교환은 불가능하다.<br>
|
||||
|
||||
유튜브를 통해 미국에서도 폭발 사례가 보고된만큼 해외에서도 해당 배터리를 사용한 제품에 대해선 동일한 조치를 취할 계획이다. 삼성 내부에서는 ‘원인이 제품 불량으로 밝혀진만큼 확실하게 소비자 사과와 보상을 마무리짓고 다시 신뢰를 쌓는 쪽으로 가야한다’는 분위기인 것으로 알려졌다.<br>
|
||||
|
||||
|
||||
[출처] 본 기사는 조선닷컴에서 작성된 기사 입니다</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="fl_r mgt20">
|
||||
<a href="#" class="btn_next">목록</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,4 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
@ -0,0 +1,75 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">약관분쟁조정처리 절차</h3><span class="mgb10">약관분쟁조정 절차에 대해 안내해 드립니다</span></div>
|
||||
<div class="sub_con">
|
||||
<div class="notibox_wrap mgt30">
|
||||
<div class="tal_c noti_tit" style="background-color:white; "><h4 class="tit7" style="background : none;">약관 집단 분쟁조정</h4> <br/>
|
||||
<p style="text-align: left; font-size:12px;">공정거래위원회, 고객 또는 사업자는 「약관의 규제에 따른 법률(이하, ‘약관법’이라 합니다)」
|
||||
제28조에 따라, 조정이 성립된 사항과 같거나 비슷한 유형의 피해가 다수 고객에게 발생할 가능성이 높다고 판단한 경우로서,
|
||||
대통령령으로 정하는 사건에 대하여는 약관분쟁조정협의회에 일괄적인 분쟁조정을 의뢰하거나 신청할 수 있습니다(약관법 제28조의2).</p></div>
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
<div class="tal_c">
|
||||
<img alt="약관분쟁조정 처리절차 도표" src="/site/case/images/policy_tree2.png" width="690" height="550" align="bottom" /><br /></div>
|
||||
<div class="request blind">
|
||||
<ul>
|
||||
<li><br /><ul>
|
||||
<li><ul>
|
||||
<li><ul>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
<div class="notibox_wrap mgt30">
|
||||
<div class="tal_c noti_tit"><h4 class="tit7">약관분쟁조정처리 절차 - 분쟁조정 주요 절차 안내</h4></div>
|
||||
|
||||
<div class="noti_con">
|
||||
<ul>
|
||||
<li>
|
||||
<strong>1. 집단분쟁조정 신청(약관법 제28조의2 제1항)</strong>
|
||||
<p>공정거래위원회, 고객(「소비자기본법」 제2조 제1호에 따른 소비자 제외), 사업자는 약관분쟁조정협의회에 서면으로 집단분쟁조정을 의뢰 또는 신청할 수 있습니다. <br />
|
||||
</p></li>
|
||||
<li>
|
||||
<strong>2. 분쟁조정협의회 개시의결 및 공고(약관법 제28조의2 제2항)</strong>
|
||||
<p>집단분쟁조정을 의뢰받거나 신청받은 협의회는 협의회의 의결로서 집단분쟁조정 절차를 개시할 수 있습니다. 이 경우 협의회는 우리 원 홈페이지 및 일간신문에 14일 이상 그 절차의 개시를 공고합니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>3. 추가당사자 접수(약관법 제28조의 제3항)</strong>
|
||||
<p>협의회는 집단분쟁조정의 당사자가 아닌 고객으로부터 그 분쟁조정의 당사자에 추가로 포함될 수 있도록 개시공고기간 내 서면을 통해 신청 받을 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>4. 대표당사자 선임(약관법 제28조의 2 제4항)</strong>
|
||||
<p>협의회는 의결을 통하여 신청인 중 공동의 이익을 대표하기에 가장 적합한 1인 또는 수인을 대표당사자로 선임할 수 있습니다.</p>
|
||||
</li>
|
||||
<li>
|
||||
<strong>5. 보상권고(약관법 제28조의2 제5항) </strong>
|
||||
<p>협의회는 사업자가 협의회의 집단분쟁조정 내용을 수락한 경우, 집단분쟁조정의 당사자가 아닌 자로서 피해를 입은 고객에 대한 보상계획서를 작성·제출할 것을 권고할 수 있습니다.
|
||||
</p>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1 @@
|
||||
조정신청, 절차진행, 절차종료, 기타<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
조정신청, 절차진행, 절차종료, 기타<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,58 @@
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">조정신청</h3><span class="mgb10">조정신청에 대한 궁금증을 풀어드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tbl5 mgt70">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>조정신청 게시글 상세페이지 : 제목, 작성자, 작성일, 답변내용</caption>
|
||||
<colgroup>
|
||||
<col style="width:20%">
|
||||
<col style="width:80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">제목</th>
|
||||
<td>구두계약을 체결하였는데 조정대상 계약서 등 서면을 첨부하지 않고 조정신청을 할 수 있습니까?</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">작성자</th>
|
||||
<td>관리자</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">작성일</th>
|
||||
<td>2015-10-13 08:55:58</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" colspan="2">답변내용</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p>계약서가 없어도 조정신청은 가능하나, 계약사실을 별도로 증명하지 못하실 경우에는 조정절차가 중단될 수 있습니다.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="fl_r mgt20">
|
||||
<a href="#" class="btn_noti">삭제</a>
|
||||
<a href="#" class="btn_del">수정</a>
|
||||
<a href="#" class="btn_next">목록</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
@ -0,0 +1,62 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">조정신청</h3><span class="mgb10">조정신청에 대한 궁금증을 풀어드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="tbl5 mgt70">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>조정신청 게시글 상세페이지 : 제목, 작성자, 작성일, 답변내용</caption>
|
||||
<colgroup>
|
||||
<col style="width:20%">
|
||||
<col style="width:80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">제목</th>
|
||||
<td>구두계약을 체결하였는데 조정대상 계약서 등 서면을 첨부하지 않고 조정신청을 할 수 있습니까?</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">작성자</th>
|
||||
<td>관리자</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">작성일</th>
|
||||
<td>2015-10-13 08:55:58</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row" colspan="2">답변내용</th>
|
||||
</tr>
|
||||
<tr>
|
||||
<td colspan="2">
|
||||
<p>계약서가 없어도 조정신청은 가능하나, 계약사실을 별도로 증명하지 못하실 경우에는 조정절차가 중단될 수 있습니다.</p>
|
||||
</td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="fl_r mgt20">
|
||||
<a href="#" class="btn_noti">삭제</a>
|
||||
<a href="#" class="btn_del">수정</a>
|
||||
<a href="#" class="btn_next">목록</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
@ -0,0 +1,117 @@
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">절차진행</h3><span class="mgb10">절차진행에 대한 궁금증을 풀어드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
<div class="tbl_abv_wrap clear">
|
||||
|
||||
<div class="tbl_abv_l">
|
||||
총 <span class="c_sky">234</span> 건 (<span class="c_sky">1/25</span> page)
|
||||
</div>
|
||||
<div class="tbl_abv_r">
|
||||
<select name="" id="" class="sel_default">
|
||||
<option value="제목">제목</option>
|
||||
<option value="글쓴이">글쓴이</option>
|
||||
<option value="내용">내용</option>
|
||||
</select>
|
||||
<input type="text" class="inp_default">
|
||||
<input type="button" value="검색" class="btn_default">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="resp_li3_2 mgt10">
|
||||
<li class="resp_li_tit">
|
||||
<span>번호</span><!--
|
||||
--><span class="tal_c_i">제목</span><!--
|
||||
--><span>조회수</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="bold">공지</span><!--
|
||||
--><span class="bold"><a href="#">[약관분쟁조정협의회] 참가신청서</a></span><!--
|
||||
--><span>102303</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>14</span><!--
|
||||
--><span><a href="#">조정 신청비용은 얼마입니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>13</span><!--
|
||||
--><span><a href="#">조정원은 무엇을 근거로 조정을 담당하고, 진행되는 저정절차는 전문성과 공정성을 어떻게 담보할 수 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>12</span><!--
|
||||
--><span><a href="#">구두계약을 체결하였는데 조정대상 계약서 등 서면을 첨부하지 않고 조정신청을 할 수 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>11</span><!--
|
||||
--><span><a href="#">반드시 본인의 회사(사업장)와 관련된 거래에 대해서만 조정신청을 할 수 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>10</span><!--
|
||||
--><span><a href="#">조정원은 불공정거래 피해자임을 주장하는 신청인 측에만 유리한 기관 아닙니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>9</span><!--
|
||||
--><span><a href="#">불공정거래에 관여된 업체가 둘 이상인 경우 누구를 상대로 조정을 신청해야 합니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>8</span><!--
|
||||
--><span><a href="#">조정원에 조정을 신청하고 동시에 같은 이유로 민사소송 또는 중재신청을 제기할 수는 없습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>7</span><!--
|
||||
--><span><a href="#">지방 거주자를 위해 지방에도 조정신청 접수를 받는 곳이 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>6</span><!--
|
||||
--><span><a href="#">조정원에 조정신청을 할 수 있는 기간은 분쟁이 발생한 날로부터 언제까지 입니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>5</span><!--
|
||||
--><span><a href="#">조정원에 조정을 신청하는 것은 공정거래위원회에 신고를 하는것과 어떻게 다릅니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tal_r mgt20">
|
||||
<a href="#" class="btn_next">글쓰기</a>
|
||||
</div>
|
||||
|
||||
<div class="pager tal_c mgt30">
|
||||
<a href="#" class="pre2">처음페이지</a>
|
||||
<a href="#" class="pre1">이전페이지</a>
|
||||
<a href="#" class="p_num p_num_on">1</a>
|
||||
<a href="#" class="p_num">2</a>
|
||||
<a href="#" class="p_num">3</a>
|
||||
<a href="#" class="p_num">4</a>
|
||||
<a href="#" class="p_num">5</a>
|
||||
<a href="#" class="post1">다음페이지</a>
|
||||
<a href="#" class="post2">마지막페이지</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
@ -0,0 +1,121 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">절차진행</h3><span class="mgb10">절차진행에 대한 궁금증을 풀어드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
<div class="tbl_abv_wrap clear">
|
||||
|
||||
<div class="tbl_abv_l">
|
||||
총 <span class="c_sky">234</span> 건 (<span class="c_sky">1/25</span> page)
|
||||
</div>
|
||||
<div class="tbl_abv_r">
|
||||
<select name="" id="" class="sel_default">
|
||||
<option value="제목">제목</option>
|
||||
<option value="글쓴이">글쓴이</option>
|
||||
<option value="내용">내용</option>
|
||||
</select>
|
||||
<input type="text" class="inp_default">
|
||||
<input type="button" value="검색" class="btn_default">
|
||||
</div>
|
||||
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<ul class="resp_li3_2 mgt10">
|
||||
<li class="resp_li_tit">
|
||||
<span>번호</span><!--
|
||||
--><span class="tal_c_i">제목</span><!--
|
||||
--><span>조회수</span>
|
||||
</li>
|
||||
<li>
|
||||
<span class="bold">공지</span><!--
|
||||
--><span class="bold"><a href="#">[약관분쟁조정협의회] 참가신청서</a></span><!--
|
||||
--><span>102303</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>14</span><!--
|
||||
--><span><a href="#">조정 신청비용은 얼마입니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>13</span><!--
|
||||
--><span><a href="#">조정원은 무엇을 근거로 조정을 담당하고, 진행되는 저정절차는 전문성과 공정성을 어떻게 담보할 수 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>12</span><!--
|
||||
--><span><a href="#">구두계약을 체결하였는데 조정대상 계약서 등 서면을 첨부하지 않고 조정신청을 할 수 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>11</span><!--
|
||||
--><span><a href="#">반드시 본인의 회사(사업장)와 관련된 거래에 대해서만 조정신청을 할 수 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>10</span><!--
|
||||
--><span><a href="#">조정원은 불공정거래 피해자임을 주장하는 신청인 측에만 유리한 기관 아닙니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>9</span><!--
|
||||
--><span><a href="#">불공정거래에 관여된 업체가 둘 이상인 경우 누구를 상대로 조정을 신청해야 합니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>8</span><!--
|
||||
--><span><a href="#">조정원에 조정을 신청하고 동시에 같은 이유로 민사소송 또는 중재신청을 제기할 수는 없습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>7</span><!--
|
||||
--><span><a href="#">지방 거주자를 위해 지방에도 조정신청 접수를 받는 곳이 있습니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>6</span><!--
|
||||
--><span><a href="#">조정원에 조정신청을 할 수 있는 기간은 분쟁이 발생한 날로부터 언제까지 입니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>5</span><!--
|
||||
--><span><a href="#">조정원에 조정을 신청하는 것은 공정거래위원회에 신고를 하는것과 어떻게 다릅니까?</a></span><!--
|
||||
--><span>56569</span>
|
||||
</li>
|
||||
</ul>
|
||||
<div class="tal_r mgt20">
|
||||
<a href="#" class="btn_next">글쓰기</a>
|
||||
</div>
|
||||
|
||||
<div class="pager tal_c mgt30">
|
||||
<a href="#" class="pre2">처음페이지</a>
|
||||
<a href="#" class="pre1">이전페이지</a>
|
||||
<a href="#" class="p_num p_num_on">1</a>
|
||||
<a href="#" class="p_num">2</a>
|
||||
<a href="#" class="p_num">3</a>
|
||||
<a href="#" class="p_num">4</a>
|
||||
<a href="#" class="p_num">5</a>
|
||||
<a href="#" class="post1">다음페이지</a>
|
||||
<a href="#" class="post2">마지막페이지</a>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
@ -0,0 +1 @@
|
||||
조정신청, 절차진행, 절차종료, 기타<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
조정신청, 절차진행, 절차종료, 기타<div>list, view, write 공통</div>
|
||||
@ -0,0 +1 @@
|
||||
조정신청, 절차진행, 절차종료, 기타<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
조정신청, 절차진행, 절차종료, 기타<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,86 @@
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap m_pd_10">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">오시는 길</h3><span class="mgb10">한국공정거래조정원의 위치 및 오시는 길을 알려드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="mgt30 map_wrap1">
|
||||
<!-- * Daum 지도 -->
|
||||
<!-- 1. 지도 노드 -->
|
||||
<div id="daumRoughmapContainer1472776991323" class="root_daum_roughmap root_daum_roughmap_landing"></div>
|
||||
<!-- 2. 설치 스크립트 -->
|
||||
<script charset="UTF-8" class="daum_roughmap_loader_script" src="http://dmaps.daum.net/map_js_init/roughmapLoader.js"></script>
|
||||
<!-- 3. 실행 스크립트 -->
|
||||
<script charset="UTF-8">
|
||||
var MYMAP;
|
||||
$(document).ready(function(){
|
||||
$(window).resize(function(){
|
||||
clearTimeout(MYMAP);
|
||||
MYMAP = setTimeout(rszWin,500);
|
||||
});
|
||||
rszWin();
|
||||
});
|
||||
var rszWin = function(){
|
||||
$('#daumRoughmapContainer1472776991323').empty();
|
||||
mapLoading();
|
||||
}
|
||||
var mapLoading = function(){
|
||||
new daum.roughmap.Lander({
|
||||
"timestamp" : "1472776991323",
|
||||
"key" : "ctqo",
|
||||
"mapWidth" : "600",
|
||||
"mapHeight" : "300"
|
||||
}).render();
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="map_wrap2 clear">
|
||||
<div class="map_l">
|
||||
<h4 class="mgb10 inblock indent tit3">지하철 이용 시</h4>
|
||||
<ul class="disc8">
|
||||
<li>지하철 1호선 서울역 3번 출구 YTN 방향 도보 5분</li>
|
||||
<li>지하철 2호선 시청역 9번 출구 삼성본관방향 도보 5분</li>
|
||||
<li>지하철 4호선 회현역 5번 출구 숭례문방향 도보 5분</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="map_r">
|
||||
<h4 class="mgb10 inblock indent tit3">버스 이용 시</h4>
|
||||
<ul class="disc8">
|
||||
<li>
|
||||
<p>서울역 YTN 빌딩 앞</p>
|
||||
<span class="busnum">149, 151, 152, 162, 202, 500, 501, 502, 503, 505, 056, 701, 702, 703</span>
|
||||
</li>
|
||||
<li>
|
||||
<p>염천교</p>
|
||||
<span class="busnum">163, 261, 262, 263, 604, 7017</span>
|
||||
</li>
|
||||
<li>
|
||||
<p>시청앞</p>
|
||||
<span class="busnum">150, 1711, 406, 408, 421, 504, 507, 603, 700, 7019, 7011, 7022</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,90 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap m_pd_10">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">오시는 길</h3><span class="mgb10">한국공정거래조정원의 위치 및 오시는 길을 알려드립니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="mgt30 map_wrap1">
|
||||
<!-- * Daum 지도 -->
|
||||
<!-- 1. 지도 노드 -->
|
||||
<div id="daumRoughmapContainer1472776991323" class="root_daum_roughmap root_daum_roughmap_landing"></div>
|
||||
<!-- 2. 설치 스크립트 -->
|
||||
<script charset="UTF-8" class="daum_roughmap_loader_script" src="http://dmaps.daum.net/map_js_init/roughmapLoader.js"></script>
|
||||
<!-- 3. 실행 스크립트 -->
|
||||
<script charset="UTF-8">
|
||||
var MYMAP;
|
||||
$(document).ready(function(){
|
||||
$(window).resize(function(){
|
||||
clearTimeout(MYMAP);
|
||||
MYMAP = setTimeout(rszWin,500);
|
||||
});
|
||||
rszWin();
|
||||
});
|
||||
var rszWin = function(){
|
||||
$('#daumRoughmapContainer1472776991323').empty();
|
||||
mapLoading();
|
||||
}
|
||||
var mapLoading = function(){
|
||||
new daum.roughmap.Lander({
|
||||
"timestamp" : "1472776991323",
|
||||
"key" : "ctqo",
|
||||
"mapWidth" : "600",
|
||||
"mapHeight" : "300"
|
||||
}).render();
|
||||
}
|
||||
</script>
|
||||
</div>
|
||||
|
||||
<div class="map_wrap2 clear">
|
||||
<div class="map_l">
|
||||
<h4 class="mgb10 inblock indent tit3">지하철 이용 시</h4>
|
||||
<ul class="disc8">
|
||||
<li>지하철 1호선 서울역 3번 출구 YTN 방향 도보 5분</li>
|
||||
<li>지하철 2호선 시청역 9번 출구 삼성본관방향 도보 5분</li>
|
||||
<li>지하철 4호선 회현역 5번 출구 숭례문방향 도보 5분</li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="map_r">
|
||||
<h4 class="mgb10 inblock indent tit3">버스 이용 시</h4>
|
||||
<ul class="disc8">
|
||||
<li>
|
||||
<p>서울역 YTN 빌딩 앞</p>
|
||||
<span class="busnum">149, 151, 152, 162, 202, 500, 501, 502, 503, 505, 056, 701, 702, 703</span>
|
||||
</li>
|
||||
<li>
|
||||
<p>염천교</p>
|
||||
<span class="busnum">163, 261, 262, 263, 604, 7017</span>
|
||||
</li>
|
||||
<li>
|
||||
<p>시청앞</p>
|
||||
<span class="busnum">150, 1711, 406, 408, 421, 504, 507, 603, 700, 7019, 7011, 7022</span>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1 @@
|
||||
공지사항<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
공지사항<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,298 @@
|
||||
<%@ 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" %>
|
||||
|
||||
|
||||
<script type="text/javascript">
|
||||
function email_change(){
|
||||
if(document.regForm.clientEmail2.options[document.regForm.clientEmail2.selectedIndex].value == '0'){
|
||||
document.regForm.hidEmail2.style.display="inline-block";
|
||||
document.regForm.hidEmail2.value = "";
|
||||
setTimeout(function () {
|
||||
document.regForm.hidEmail2.focus();
|
||||
}, 0);
|
||||
document.regForm.hidEmail2.readOnly = false;
|
||||
}
|
||||
else{
|
||||
document.regForm.hidEmail2.value = document.regForm.clientEmail2.options[document.regForm.clientEmail2.selectedIndex].value;
|
||||
document.regForm.hidEmail2.readOnly = true;
|
||||
}
|
||||
}
|
||||
|
||||
function email_change2(){
|
||||
if(document.regForm2.clientEmail2.options[document.regForm2.clientEmail2.selectedIndex].value == '0'){
|
||||
document.regForm2.hidEmail2.style.display="inline-block";
|
||||
document.regForm2.hidEmail2.value = "";
|
||||
setTimeout(function () {
|
||||
document.regForm2.hidEmail2.focus();
|
||||
}, 0);
|
||||
document.regForm2.hidEmail2.readOnly = false;
|
||||
}
|
||||
else{
|
||||
document.regForm2.hidEmail2.value = document.regForm2.clientEmail2.options[document.regForm2.clientEmail2.selectedIndex].value;
|
||||
document.regForm2.hidEmail2.readOnly = true;
|
||||
}
|
||||
}
|
||||
|
||||
function layerOpen(){
|
||||
|
||||
if(!$("#_clientName").val()){
|
||||
alert("신청인 성명을 입력해주세요.");
|
||||
$("#_clientName").focus();
|
||||
return false;
|
||||
}
|
||||
if(!$("#_clientEmail1").val()){
|
||||
alert("신청인 이메일을 입력해주세요.");
|
||||
$("#_clientEmail1").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!$("#_hidEmail2").val()){
|
||||
alert("신청인 이메일주소를 입력해주세요.");
|
||||
$("#_hidEmail2").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 검증에 사용할 정규식 변수 regExp에 저장
|
||||
var regExp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/i;
|
||||
if(!regExp.test($("#_hidEmail2").val())){
|
||||
alert("입력된 주소를 확인해주세요.");
|
||||
$("#_hidEmail2").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!$("#_agreeCheck").is(":checked")){
|
||||
alert("위 약관에 동의 해주세요.");
|
||||
$("#_agreeCheck").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
$("#_layerPop").show();
|
||||
}
|
||||
|
||||
function email_change2(){
|
||||
if(document.regForm2.clientEmail2.options[document.regForm2.clientEmail2.selectedIndex].value == '0'){
|
||||
document.regForm2.hidEmail2.style.display="inline-block";
|
||||
document.regForm2.hidEmail2.value = "";
|
||||
setTimeout(function () {
|
||||
document.regForm2.hidEmail2.focus();
|
||||
}, 0);
|
||||
document.regForm2.hidEmail2.readOnly = false;
|
||||
}
|
||||
else{
|
||||
document.regForm2.hidEmail2.value = document.regForm2.clientEmail2.options[document.regForm2.clientEmail2.selectedIndex].value;
|
||||
document.regForm2.hidEmail2.readOnly = true;
|
||||
}
|
||||
}
|
||||
|
||||
function layerOpen2(){
|
||||
|
||||
if(!$("#_clientName2").val()){
|
||||
alert("신청인 성명을 입력해주세요.");
|
||||
$("#_clientName2").focus();
|
||||
return false;
|
||||
}
|
||||
if(!$("#_clientEmail12").val()){
|
||||
alert("신청인 이메일을 입력해주세요.");
|
||||
$("#_clientEmail12").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
if(!$("#_hidEmail22").val()){
|
||||
alert("신청인 이메일주소를 입력해주세요.");
|
||||
$("#_hidEmail22").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
// 검증에 사용할 정규식 변수 regExp에 저장
|
||||
var regExp = /^[0-9a-zA-Z]([-_\.]?[0-9a-zA-Z])*\.[a-zA-Z]{2,3}$/i;
|
||||
if(!regExp.test($("#_hidEmail22").val())){
|
||||
alert("입력된 주소를 확인해주세요.");
|
||||
$("#_hidEmail22").focus();
|
||||
return false;
|
||||
}
|
||||
|
||||
|
||||
$("#_layerPop2").show();
|
||||
}
|
||||
|
||||
function layerClose(){
|
||||
$("#_layerPop").hide();
|
||||
}
|
||||
|
||||
$(document).ready(function(){
|
||||
$('input[type="text"]').keydown(function() {
|
||||
if (event.keyCode === 13) {
|
||||
event.preventDefault();
|
||||
}
|
||||
});
|
||||
});
|
||||
|
||||
</script>
|
||||
|
||||
<form:form id="_regForm" name="regForm" method="post" action="/user/news/${siteIdx}/01/${siteMenuIdx}/regReq.do">
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
|
||||
<div class="sub_tit">
|
||||
<h3 class="tit1">뉴스레터 신청</h3>
|
||||
</div>
|
||||
<div class="sub_con">
|
||||
|
||||
<h4 class="tit4">뉴스레터 신청이 가능합니다.</h4>
|
||||
<span class="tit3"> 뉴스레터 신청하기</span>
|
||||
<p class="indent">
|
||||
조정원에서 정기적으로 발행하는 뉴스레터 등 다양한 정책 정보를 받기를
|
||||
원하시는 고객님들은 아래와 같은 입력 사항을 입력하신 후
|
||||
등록해주시면 정지적으로 뉴스레터가 발송합니다.
|
||||
</p>
|
||||
<div style="text-align: center; margin: 10px 0;">
|
||||
<label for="iclientName">이름 : </label>
|
||||
<input type="text" class="inp_default" name="clientName" id="_clientName" value="" maxlength="100">
|
||||
<label for="iclientEmail1">이메일 : </label>
|
||||
<input type="text" class="inp_default" name="clientEmail1" id="_clientEmail1" value="" maxlength="25">
|
||||
<label> @ </label>
|
||||
<input type="text" class="inp_default" name="hidEmail2" id="_hidEmail2" value="" maxlength="23">
|
||||
<select name="clientEmail2" id="_clientEmail2" class="sel_default" onchange="email_change();">
|
||||
<option value="0">직접입력</option>
|
||||
<option value="chol.com">chol.com</option>
|
||||
<option value="daum.net">daum.net</option>
|
||||
<option value="dreamwiz.com">dreamwiz.com</option>
|
||||
<option value="empal.com">empal.com</option>
|
||||
<option value="freechal.com">freechal.com</option>
|
||||
<option value="gmail.com">gmail.com</option>
|
||||
<option value="hanafos.com">hanafos.com</option>
|
||||
<option value="hanmir.com">hanmir.com</option>
|
||||
<option value="hitel.com">hitel.com</option>
|
||||
<option value="hotmail.com">hotmail.com</option>
|
||||
<option value="korea.com">korea.com</option>
|
||||
<option value="lycos.co.kr">lycos.co.kr</option>
|
||||
<option value="nate.com">nate.com</option>
|
||||
<option value="naver.com">naver.com</option>
|
||||
<option value="netian.com">netian.com</option>
|
||||
<option value="paran.com">paran.com</option>
|
||||
<option value="yahoo.com">yahoo.com</option>
|
||||
<option value="yahoo.co.kr">yahoo.co.kr</option>
|
||||
</select>
|
||||
</div>
|
||||
<div>
|
||||
<p class="indent">- 개인정보 수집·이용 동의(필수)</p>
|
||||
<textarea cols="30" rows="10" class="txta_full" maxlength="1300" readOnly>1. 개인정보의 수집 및 이용 목적
|
||||
조정원에서 정기적으로 발행하는 뉴스레터 등 다양한 정책정보 수신을 위한 정책고객 가입하기는 관계법령 등에서
|
||||
정하는 소관 업무의 수행을 위하여 다음과 같이 개인정보를 수집 및 이용합니다. 수집된 개인정보는 정해진 목적 이외
|
||||
의 용도로는 이용되지 않으며, 수집 목적이 변경될 경우 사전에 알리고 동의를 받을 예정입니다.
|
||||
|
||||
2. 수집하는 개인정보의 항목
|
||||
가. 필수항목 : 신청인 성명, 연락처
|
||||
나. 선택항목 : 이메일 등
|
||||
다. 자동수집항목 : IP(Internet Protocol)주소 - 부정한 방법으로 타인명의를 사용하는 경우에 대비하기 위해 정보이용내
|
||||
역 등을 자동 수집합니다.
|
||||
</textarea>
|
||||
<div style="text-align: center; margin: 10px 0;">
|
||||
<input type="checkbox" id="_agreeCheck" name="agreeCheck">
|
||||
<label for="_agreeCheck"> 위 약관에 동의합니다.</label>
|
||||
</div>
|
||||
<input type="button" value="뉴스레터 신청하기" class="btn_default" name="regBtn" onclick="layerOpen();" style="float: right;">
|
||||
</div>
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
<div id="_layerPop" style="position: absolute; top: 0; left:0; width:100%; height:100%; z-index: 101; display:none;">
|
||||
|
||||
<div id="_layerBox" style="position: absolute; width: 300px; height:125px; background: #e2e2e2; top:50%; left:50%; margin-top: -62.5px; margin-left: -150px; z-index:102; text-align: center;">
|
||||
<div id="_layerHeader" style="width: 100%; height:20px; background: #f1f1f1;"></div>
|
||||
<div id="_layerBody">
|
||||
<p>뉴스레터를 신청하시겠습니까?</p>
|
||||
<input type="button" value="취소" class="btn_default" id="_cancelBtn" onclick="layerClose();">
|
||||
<!-- <input type="button" value="확인" class="btn_default" id="_submitBtn" onclick="layerSubmit();"> -->
|
||||
<input type="submit" value="확인" class="btn_default">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div id="layerBg" style="width: 100%; height:100%; background:rgba(97, 97, 97, 0.68); "></div> -->
|
||||
</div>
|
||||
|
||||
</form:form>
|
||||
|
||||
|
||||
<form:form id="_regForm2" name="regForm2" method="post" action="/user/news/${siteIdx}/01/${siteMenuIdx}/delReq.do">
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
|
||||
<div class="sub_tit">
|
||||
<h3 class="tit1">뉴스레터 해지</h3>
|
||||
</div>
|
||||
<div class="sub_con">
|
||||
<h4 class="tit4">뉴스레터 해지가 가능합니다.</h4>
|
||||
<span class="tit3"> 뉴스레터 해지하기</span>
|
||||
<p class="indent">
|
||||
조정원에서 정기적으로 발행하는 뉴스레터 해지를 원하시는 고객님께서는 정보를 입력해 주세요.
|
||||
</p>
|
||||
<div style="margin:10px 0; text-align: center;">
|
||||
<label for="_clientName">이름 : </label>
|
||||
<input type="text" class="inp_default" name="clientName" id="_clientName2" value="" maxlength="100">
|
||||
<label for="_clientEmail1">이메일 : </label>
|
||||
<input type="text" class="inp_default" name="clientEmail1" id="_clientEmail12" value="" maxlength="25">
|
||||
<label> @ </label>
|
||||
<input type="text" class="inp_default" name="hidEmail2" id="_hidEmail22" value="" maxlength="23">
|
||||
<select name="clientEmail2" id="_clientEmail22" class="sel_default" onchange="email_change2();">
|
||||
<option value="0">직접입력</option>
|
||||
<option value="chol.com">chol.com</option>
|
||||
<option value="daum.net">daum.net</option>
|
||||
<option value="dreamwiz.com">dreamwiz.com</option>
|
||||
<option value="empal.com">empal.com</option>
|
||||
<option value="freechal.com">freechal.com</option>
|
||||
<option value="gmail.com">gmail.com</option>
|
||||
<option value="hanafos.com">hanafos.com</option>
|
||||
<option value="hanmir.com">hanmir.com</option>
|
||||
<option value="hitel.com">hitel.com</option>
|
||||
<option value="hotmail.com">hotmail.com</option>
|
||||
<option value="korea.com">korea.com</option>
|
||||
<option value="lycos.co.kr">lycos.co.kr</option>
|
||||
<option value="nate.com">nate.com</option>
|
||||
<option value="naver.com">naver.com</option>
|
||||
<option value="netian.com">netian.com</option>
|
||||
<option value="paran.com">paran.com</option>
|
||||
<option value="yahoo.com">yahoo.com</option>
|
||||
<option value="yahoo.co.kr">yahoo.co.kr</option>
|
||||
</select>
|
||||
</div>
|
||||
<div style="margin:30px 0; text-align: right;">
|
||||
<input type="button" value="뉴스레터 해지하기" class="btn_default" name="regBtn" onclick="layerOpen2();">
|
||||
</div>
|
||||
</div>
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
<div id="_layerPop" style="position: absolute; top: 0; left:0; width:100%; height:100%; z-index: 101; display:none;">
|
||||
|
||||
<div id="_layerBox" style="position: absolute; width: 300px; height:125px; background: #e2e2e2; top:50%; left:50%; margin-top: -62.5px; margin-left: -150px; z-index:102; text-align: center;">
|
||||
<div id="_layerHeader" style="width: 100%; height:20px; background: #f1f1f1;"></div>
|
||||
<div id="_layerBody">
|
||||
<p>뉴스레터를 해지하시겠습니까?</p>
|
||||
<input type="button" value="취소" class="btn_default" id="_cancelBtn" onclick="layerClose();">
|
||||
<!-- <input type="button" value="확인" class="btn_default" id="_submitBtn" onclick="layerSubmit();"> -->
|
||||
<input type="submit" value="확인" class="btn_default">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div id="layerBg" style="width: 100%; height:100%; background:rgba(97, 97, 97, 0.68); "></div> -->
|
||||
</div>
|
||||
<div id="_layerPop2" style="position: absolute; top: 0; left:0; width:100%; height:100%; z-index: 101; display:none;">
|
||||
|
||||
<div id="_layerBox" style="position: absolute; width: 300px; height:125px; background: #e2e2e2; top:50%; left:50%; margin-top: -62.5px; margin-left: -150px; z-index:102; text-align: center;">
|
||||
<div id="_layerHeader" style="width: 100%; height:20px; background: #f1f1f1;"></div>
|
||||
<div id="_layerBody">
|
||||
<p>뉴스레터를 해지하시겠습니까?</p>
|
||||
<input type="button" value="취소" class="btn_default" id="_cancelBtn" onclick="layerClose();">
|
||||
<!-- <input type="button" value="확인" class="btn_default" id="_submitBtn" onclick="layerSubmit();"> -->
|
||||
<input type="submit" value="확인" class="btn_default">
|
||||
</div>
|
||||
</div>
|
||||
<!-- <div id="layerBg" style="width: 100%; height:100%; background:rgba(97, 97, 97, 0.68); "></div> -->
|
||||
</div>
|
||||
</form:form>
|
||||
@ -0,0 +1 @@
|
||||
분쟁조정 신청
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
분쟁조정 신청
|
||||
File diff suppressed because it is too large
Load Diff
File diff suppressed because it is too large
Load Diff
@ -0,0 +1,47 @@
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 사건조회</h3><span class="mgb10">조정절차가 진행 중인 사건 관련 각종 정보를 확인하고 관련 자료를 제출하실 수 있습니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
<div class="inbox4 mgt20 m_bgclr_none">
|
||||
<p class="pal160 m_pd_0">
|
||||
-한국공정거래조정원에서 조정절차 개시 통지를 받으신 후에는 사건번호와 비밀번호를 활용하면 본 화면에서 분쟁조정 사건에 관한 자료를 파일로 직접 제출하거나 진행상황 등을 확인하실 수 있습니다. <br />
|
||||
<span class="f_sz09">(※절차 진행 관련 보다 자세한 사항이 궁금하신 경우 담당조사관에게 별도로 문의하시기 바랍니다.)</span><br />
|
||||
- 다만 이 시스템을 통해 제공되는 정보는 참고자료로만 활용하시고 제공된 정보에 대해서는 어떠한 <span class="c_red">법적인 효력이 없음</span>을 알려드립니다.</p>
|
||||
</div>
|
||||
<div class="inbox5">
|
||||
<div class="login_wrap">
|
||||
<fieldset>
|
||||
<legend class="blind">사건조회 폼</legend>
|
||||
<div class="id_wrap">
|
||||
<label for="01" class="disc7">사건번호</label>
|
||||
<input type="text" id="01" class="inp_label lg_r" />
|
||||
</div>
|
||||
<div class="id_wrap">
|
||||
<label for="02" class="disc7">비밀번호</label>
|
||||
<input type="text" id="02" class="inp_label lg_r" />
|
||||
</div>
|
||||
<div class="id_wrap mgt20">
|
||||
<input type="button" value="조회" class="btn_login" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mgt30 m_pdlr_15">※ 본 메뉴는 조정절차가 진행 중인 사건에 대한 화면으로, 분쟁조정 신청 접수상황, 민원상담 신청 처리현황을 확인하실 경우 본 홈페이지의 ‘마이페이지’를 이용하여 주시기 바랍니다.
|
||||
</p>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,51 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 사건조회</h3><span class="mgb10">조정절차가 진행 중인 사건 관련 각종 정보를 확인하고 관련 자료를 제출하실 수 있습니다.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
<div class="inbox4 mgt20 m_bgclr_none">
|
||||
<p class="pal160 m_pd_0">
|
||||
-한국공정거래조정원에서 조정절차 개시 통지를 받으신 후에는 사건번호와 비밀번호를 활용하면 본 화면에서 분쟁조정 사건에 관한 자료를 파일로 직접 제출하거나 진행상황 등을 확인하실 수 있습니다. <br />
|
||||
<span class="f_sz09">(※절차 진행 관련 보다 자세한 사항이 궁금하신 경우 담당조사관에게 별도로 문의하시기 바랍니다.)</span><br />
|
||||
- 다만 이 시스템을 통해 제공되는 정보는 참고자료로만 활용하시고 제공된 정보에 대해서는 어떠한 <span class="c_red">법적인 효력이 없음</span>을 알려드립니다.</p>
|
||||
</div>
|
||||
<div class="inbox5">
|
||||
<div class="login_wrap">
|
||||
<fieldset>
|
||||
<legend class="blind">사건조회 폼</legend>
|
||||
<div class="id_wrap">
|
||||
<label for="01" class="disc7">사건번호</label>
|
||||
<input type="text" id="01" class="inp_label lg_r" />
|
||||
</div>
|
||||
<div class="id_wrap">
|
||||
<label for="02" class="disc7">비밀번호</label>
|
||||
<input type="text" id="02" class="inp_label lg_r" />
|
||||
</div>
|
||||
<div class="id_wrap mgt20">
|
||||
<input type="button" value="조회" class="btn_login" />
|
||||
</div>
|
||||
</fieldset>
|
||||
</div>
|
||||
</div>
|
||||
<p class="mgt30 m_pdlr_15">※ 본 메뉴는 조정절차가 진행 중인 사건에 대한 화면으로, 분쟁조정 신청 접수상황, 민원상담 신청 처리현황을 확인하실 경우 본 홈페이지의 ‘마이페이지’를 이용하여 주시기 바랍니다.
|
||||
</p>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1 @@
|
||||
분쟁조정 상담
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
분쟁조정 상담
|
||||
@ -0,0 +1 @@
|
||||
상담신청
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
상담신청
|
||||
@ -0,0 +1,214 @@
|
||||
|
||||
<!------------------------------------------------------------------------------------>
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">온라인 분쟁조정 상담</h3><span class="mgb10">온라인분쟁조정상담....</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="indent">
|
||||
<h4 class="mgb10 inblock indent disc2">본인인증</h4>
|
||||
<ul class="indent">
|
||||
<li class="indent2 disc3 mgt10"><p>「개인정보 보호법」개정시행(2014.8.7)에 따라 분쟁조정 신청단계에서는 고유식별정보(주민등록번호)를 수집하지 아니하고 '휴대폰 인증‘ 및 ‘아이핀(I-Pin)’으로 고유식별정보를 대체합니다.</p></li>
|
||||
<li class="indent2 disc3 mgt20"><p>다만, 「전자문서 및 전자거래 기본법」 시행령 제22조의 3에 해당하는 경우에는 「개인정보 보호법」 시행령 제 19조 제 1호에 따른 주민등록번호가 포함된 자료를 처리할 수 있습니다.</p></li>
|
||||
<li class="indent2 disc3 mgt20"><p>한국공정거래조정원에서는 보다 깨끗하고 안정적인 서비스를 제공하기 위해 아이핀(I-Pin) 및 휴대폰인증을 통한 본인확인제를 실시하고 있습니다.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="certify_btn_wrap clear mgt50">
|
||||
<span class="certify certify1"><a href="#" class="certify_btn_1">휴대폰 인증하기</a></span>
|
||||
<span class="certify certify2"><a href="#" class="certify_btn_2">아이핀 인증하기</a></span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="indent2">
|
||||
<p class="indent2 tit5 mgt50 disc1">본인인증은 본인 명의의 휴대폰 인증을 통해서만 가능합니다.</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
<!------------------------------------------------------------------------------------>
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">온라인 분쟁조정 상담</h3><span class="mgb10">온라인분쟁조정상담....</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="indent mgt30 agree_wrap">
|
||||
<h4 class="mgb10 inblock indent disc2">개인정보처리 방침</h4>
|
||||
<div class="text_box2 indent">
|
||||
<strong class="">한국공정거래조정원 개인정보보호처리방침</strong>
|
||||
<p>한국공정거래조정원에서 처리하는 모든 개인정보는 개인정보보호법 등 관련 법령상의 개인정보보호 규정을 준수하여 수집•보유•처리되고 있습니다.</p>
|
||||
</div>
|
||||
<p class="indent tit5 mgt10">분쟁조정서비스 제공을 위한 필수사항으로 동의하지 않을 경우 분쟁조정을 신청할 수 없습니다. <br>위 사항에 동의하십니까?</p>
|
||||
<div class="agree_check_wrap">
|
||||
<input type='checkbox' id='agree1'>
|
||||
<label for='agree1'>동의합니다.</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="indent mgt50 agree_wrap">
|
||||
<h4 class="mgb10 inblock indent disc2">개인정보 수집 • 이용 • 제공 동의서</h4>
|
||||
<div class="text_box2 indent">
|
||||
<p>본인은 다음의 목적을 위하여 한국공정거래조정원이 본인에 대한 아래의 개인정보를 수집․이용․제3자에게 제공하는 경우「개인정보 보호법」에 따라 동의합니다.</p>
|
||||
</div>
|
||||
<p class="indent tit5 mgt10">분쟁조정서비스 제공을 위한 필수사항으로 동의하지 않을 경우 분쟁조정을 신청할 수 없습니다. <br>위 사항에 동의하십니까?</p>
|
||||
<div class="agree_check_wrap">
|
||||
<input type='checkbox' id='agree2'>
|
||||
<label for='agree2'>동의합니다.</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="indent mgt50 agree_wrap">
|
||||
<h4 class="mgb10 inblock indent disc2">고유식별정보 수집 및 제공 동의서</h4>
|
||||
<div class="text_box2 indent">
|
||||
<strong class="">공정거래분쟁조정신청서 작성 안내</strong>
|
||||
<p>본인은 다음의 목적을 위하여 한국공정거래조정원 사무국(이하 ‘위원회’이라 함)이 본인에 대한 아래의 고유식별정보를 수집 • 이용 • 제3자에게 제공하는 경우「개인정보 보호법」에 따라 동의합니다.</p>
|
||||
</div>
|
||||
<p class="indent tit5 mgt10">분쟁조정서비스 제공을 위한 필수사항으로 동의하지 않을 경우 분쟁조정을 신청할 수 없습니다. <br>위 사항에 동의하십니까?</p>
|
||||
<div class="agree_check_wrap">
|
||||
<input type='checkbox' id='agree3'>
|
||||
<label for='agree3'>동의합니다.</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="indent2 tit5 mgt50 disc1">전자문서•전자거래분쟁조정위원회에서는 신청인의 개인정보 보호에 만전을 기할 것을 약속드리며, 개인정보 수집•이용•제공등과 관련하여 문의사항이 있는 경우 1588-1490번으로 연락바랍니다.</p>
|
||||
|
||||
<div class="btn_wrap mgb20 mgt50">
|
||||
<a href="#" class="btn_next">다음</a>
|
||||
<a href="#" class="btn_cancle">취소</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
<!------------------------------------------------------------------------------------>
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 상담</h3><span class="mgb10">분쟁조정상담 내용을 입력해주세요.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
<div class="mgt30 tab_wrap">
|
||||
|
||||
<div class="pat30">
|
||||
<div class="tbl4 mgl13 pc">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>분쟁조정상담 입력폼 : 조정유형, 분쟁유형, 성명, 상담제목, 상담내용, 첨부파일, 첨부자료</caption>
|
||||
<colgroup>
|
||||
<col style="width:20%">
|
||||
<col style="width:80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="01">조정유형</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="01" class="sel_full2">
|
||||
<option value="선택">공정거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="02">분쟁유형</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="02" class="sel_full2">
|
||||
<option value="선택">[101011] 기타의 거래거절</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">성명</th>
|
||||
<td class="tal_l_i pal5i">관리자</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="03">상담제목</label>
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" id="03" class="inp_ful" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="04">상담내용<br>(1300자)<br>현재 <span class="c_red">0</span> 자</label>
|
||||
</th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<textarea name="" id="04" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">첨부파일</th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<button type="button" class="btn_in_tbl">찾아보기</button>
|
||||
<ul class="mgt10">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="mobile">
|
||||
<ul class="m_ul2">
|
||||
<li><label for="05" class="m_ul_tit">조정유형</label>
|
||||
<select id="05" class="sel_full m_mgl_to_0">
|
||||
<option value="선택">공정거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><label for="06" class="m_ul_tit">분쟁유형</label>
|
||||
<select id="06" class="sel_full m_mgl_to_0">
|
||||
<option value="선택">[101011] 기타의 거래거절</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><span class="m_ul_tit">성명</span>관리자</li>
|
||||
<li><label for="07" class="m_ul_tit">상담제목</label>
|
||||
<input type="text" id="07" class="inp_ful m_mgl_to_0 mgt5" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</li>
|
||||
<li><label for="08" class="m_ul_tit">상담내용(1300자) 현재 <span class="c_red">0</span> 자</label>
|
||||
<textarea name="" id="08" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</li>
|
||||
<li><span class="m_ul_tit">첨부파일</span>
|
||||
<button type="button" class="btn_in_tbl mgt5">찾아보기</button>
|
||||
<ul class="mgt5">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear mgt20 mgb50">
|
||||
<div class="fl_r m_mgr_to_10">
|
||||
<a href="#" class="btn_next">신청</a>
|
||||
<a href="#" class="btn_noti">이전</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
@ -0,0 +1,218 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
|
||||
<!------------------------------------------------------------------------------------>
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">온라인 분쟁조정 상담</h3><span class="mgb10">온라인분쟁조정상담....</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="indent">
|
||||
<h4 class="mgb10 inblock indent disc2">본인인증</h4>
|
||||
<ul class="indent">
|
||||
<li class="indent2 disc3 mgt10"><p>「개인정보 보호법」개정시행(2014.8.7)에 따라 분쟁조정 신청단계에서는 고유식별정보(주민등록번호)를 수집하지 아니하고 '휴대폰 인증‘ 및 ‘아이핀(I-Pin)’으로 고유식별정보를 대체합니다.</p></li>
|
||||
<li class="indent2 disc3 mgt20"><p>다만, 「전자문서 및 전자거래 기본법」 시행령 제22조의 3에 해당하는 경우에는 「개인정보 보호법」 시행령 제 19조 제 1호에 따른 주민등록번호가 포함된 자료를 처리할 수 있습니다.</p></li>
|
||||
<li class="indent2 disc3 mgt20"><p>한국공정거래조정원에서는 보다 깨끗하고 안정적인 서비스를 제공하기 위해 아이핀(I-Pin) 및 휴대폰인증을 통한 본인확인제를 실시하고 있습니다.</p></li>
|
||||
</ul>
|
||||
</div>
|
||||
<div class="certify_btn_wrap clear mgt50">
|
||||
<span class="certify certify1"><a href="#" class="certify_btn_1">휴대폰 인증하기</a></span>
|
||||
<span class="certify certify2"><a href="#" class="certify_btn_2">아이핀 인증하기</a></span>
|
||||
</div>
|
||||
<div class="clear"></div>
|
||||
<div class="indent2">
|
||||
<p class="indent2 tit5 mgt50 disc1">본인인증은 본인 명의의 휴대폰 인증을 통해서만 가능합니다.</p>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
<!------------------------------------------------------------------------------------>
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">온라인 분쟁조정 상담</h3><span class="mgb10">온라인분쟁조정상담....</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="indent mgt30 agree_wrap">
|
||||
<h4 class="mgb10 inblock indent disc2">개인정보처리 방침</h4>
|
||||
<div class="text_box2 indent">
|
||||
<strong class="">한국공정거래조정원 개인정보보호처리방침</strong>
|
||||
<p>한국공정거래조정원에서 처리하는 모든 개인정보는 개인정보보호법 등 관련 법령상의 개인정보보호 규정을 준수하여 수집•보유•처리되고 있습니다.</p>
|
||||
</div>
|
||||
<p class="indent tit5 mgt10">분쟁조정서비스 제공을 위한 필수사항으로 동의하지 않을 경우 분쟁조정을 신청할 수 없습니다. <br>위 사항에 동의하십니까?</p>
|
||||
<div class="agree_check_wrap">
|
||||
<input type='checkbox' id='agree1'>
|
||||
<label for='agree1'>동의합니다.</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="indent mgt50 agree_wrap">
|
||||
<h4 class="mgb10 inblock indent disc2">개인정보 수집 • 이용 • 제공 동의서</h4>
|
||||
<div class="text_box2 indent">
|
||||
<p>본인은 다음의 목적을 위하여 한국공정거래조정원이 본인에 대한 아래의 개인정보를 수집․이용․제3자에게 제공하는 경우「개인정보 보호법」에 따라 동의합니다.</p>
|
||||
</div>
|
||||
<p class="indent tit5 mgt10">분쟁조정서비스 제공을 위한 필수사항으로 동의하지 않을 경우 분쟁조정을 신청할 수 없습니다. <br>위 사항에 동의하십니까?</p>
|
||||
<div class="agree_check_wrap">
|
||||
<input type='checkbox' id='agree2'>
|
||||
<label for='agree2'>동의합니다.</label>
|
||||
</div>
|
||||
</div>
|
||||
<div class="indent mgt50 agree_wrap">
|
||||
<h4 class="mgb10 inblock indent disc2">고유식별정보 수집 및 제공 동의서</h4>
|
||||
<div class="text_box2 indent">
|
||||
<strong class="">공정거래분쟁조정신청서 작성 안내</strong>
|
||||
<p>본인은 다음의 목적을 위하여 한국공정거래조정원 사무국(이하 ‘위원회’이라 함)이 본인에 대한 아래의 고유식별정보를 수집 • 이용 • 제3자에게 제공하는 경우「개인정보 보호법」에 따라 동의합니다.</p>
|
||||
</div>
|
||||
<p class="indent tit5 mgt10">분쟁조정서비스 제공을 위한 필수사항으로 동의하지 않을 경우 분쟁조정을 신청할 수 없습니다. <br>위 사항에 동의하십니까?</p>
|
||||
<div class="agree_check_wrap">
|
||||
<input type='checkbox' id='agree3'>
|
||||
<label for='agree3'>동의합니다.</label>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<p class="indent2 tit5 mgt50 disc1">전자문서•전자거래분쟁조정위원회에서는 신청인의 개인정보 보호에 만전을 기할 것을 약속드리며, 개인정보 수집•이용•제공등과 관련하여 문의사항이 있는 경우 1588-1490번으로 연락바랍니다.</p>
|
||||
|
||||
<div class="btn_wrap mgb20 mgt50">
|
||||
<a href="#" class="btn_next">다음</a>
|
||||
<a href="#" class="btn_cancle">취소</a>
|
||||
</div>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
<!------------------------------------------------------------------------------------>
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 상담</h3><span class="mgb10">분쟁조정상담 내용을 입력해주세요.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
<div class="mgt30 tab_wrap">
|
||||
|
||||
<div class="pat30">
|
||||
<div class="tbl4 mgl13 pc">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>분쟁조정상담 입력폼 : 조정유형, 분쟁유형, 성명, 상담제목, 상담내용, 첨부파일, 첨부자료</caption>
|
||||
<colgroup>
|
||||
<col style="width:20%">
|
||||
<col style="width:80%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row"><label for="01">조정유형</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="01" class="sel_full2">
|
||||
<option value="선택">공정거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><label for="02">분쟁유형</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="02" class="sel_full2">
|
||||
<option value="선택">[101011] 기타의 거래거절</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">성명</th>
|
||||
<td class="tal_l_i pal5i">관리자</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="03">상담제목</label>
|
||||
</th>
|
||||
<td>
|
||||
<input type="text" id="03" class="inp_ful" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="04">상담내용<br>(1300자)<br>현재 <span class="c_red">0</span> 자</label>
|
||||
</th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<textarea name="" id="04" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">첨부파일</th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<button type="button" class="btn_in_tbl">찾아보기</button>
|
||||
<ul class="mgt10">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="mobile">
|
||||
<ul class="m_ul2">
|
||||
<li><label for="05" class="m_ul_tit">조정유형</label>
|
||||
<select id="05" class="sel_full m_mgl_to_0">
|
||||
<option value="선택">공정거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><label for="06" class="m_ul_tit">분쟁유형</label>
|
||||
<select id="06" class="sel_full m_mgl_to_0">
|
||||
<option value="선택">[101011] 기타의 거래거절</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><span class="m_ul_tit">성명</span>관리자</li>
|
||||
<li><label for="07" class="m_ul_tit">상담제목</label>
|
||||
<input type="text" id="07" class="inp_ful m_mgl_to_0 mgt5" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</li>
|
||||
<li><label for="08" class="m_ul_tit">상담내용(1300자) 현재 <span class="c_red">0</span> 자</label>
|
||||
<textarea name="" id="08" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</li>
|
||||
<li><span class="m_ul_tit">첨부파일</span>
|
||||
<button type="button" class="btn_in_tbl mgt5">찾아보기</button>
|
||||
<ul class="mgt5">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear mgt20 mgb50">
|
||||
<div class="fl_r m_mgr_to_10">
|
||||
<a href="#" class="btn_next">신청</a>
|
||||
<a href="#" class="btn_noti">이전</a>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
@ -0,0 +1,273 @@
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 상담</h3><span class="mgb10">분쟁조정상담 내용을 입력해주세요.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
<div class="li_gap clear">
|
||||
<h5 class="tit3">한국공정거래조정원은 사상공인 및 중소기업의 권익 보호를 위하여 변호사 및 관련 전문가와의 상담 서비스를 실시하고 있습니다.</h5>
|
||||
<ul class="resp_li3 mgt20">
|
||||
<li class="resp_li_tit">
|
||||
<span>분야</span><!--
|
||||
--><span>구분</span><!--
|
||||
--><span>상담시간</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>공정거래</span><!--
|
||||
--><span>변호사 및 조사관</span><!--
|
||||
--><span>매주 월요일 14시 ~ 16시</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>가맹사업거래</span><!--
|
||||
--><span>변호사 및 조사관</span><!--
|
||||
--><span>매주 월요일 14시 ~ 16시</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>하도급거래</span><!--
|
||||
--><span>변호사 및 조사관</span><!--
|
||||
--><span>매주 월요일 14시 ~ 16시</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="inbox3 mgt20 m_bgclr_none">
|
||||
<p class="pal120 m_pd_0">
|
||||
- 무료법률상담 예약은 본인인증 후 이용하실 수 있습니다.<br>
|
||||
- 하도급거래의 경우 특히 기술유용, 부당 대금결정, 부당한 위탁취소와 반품, 부당한 납품 단가 감액 등의 3배 손해배상 청구가 가능한 사건에 대해서도 무료 법률 상담을 받으실 수 있습니다.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear mgt20 mgb50">
|
||||
<div class="fl_r m_mgr_to_10">
|
||||
<a href="#" class="btn_next">상담신청</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">무료법률 상담</h3></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
|
||||
<div class="mgt30 tab_wrap">
|
||||
<h4 class="mgb10 inblock indent tit3">한국공정거래조정원은 소상공인 및 중소기업의 권익 보호를 위하여 변호사 및 관련 전문가와의 상담 서비스를 실시하고 있습니다.</h4>
|
||||
|
||||
<div class="pat20 tbl4 td_p_12">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>전문가 상담서비스 폼 : 분야, 구분, 상담시간</caption>
|
||||
<colgroup>
|
||||
<col style="width:30%">
|
||||
<col style="width:30%">
|
||||
<col style="width:40%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<th>구분</th>
|
||||
<th>상담시간</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td rowspan="2">공정거래</td>
|
||||
<td>변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="4">공정거래</td>
|
||||
<td>가맹거래사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">가맹거래사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>하도급거래</td>
|
||||
<td>가맹거래사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="pat30 tbl4 pc">
|
||||
<div class="fl_r mgb5 m_mgr_to_10">
|
||||
<span class="f_sz09"><span class="c_red">*</span> 표기는 필수 입력사항</span>
|
||||
</div>
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>무료법률 상담 폼 : 성명, 핸드폰, 조정유형, 사무실, 상담제목, 상담내용, 첨부파일, 첨부자료</caption>
|
||||
<colgroup>
|
||||
<col style="width:15%">
|
||||
<col style="width:35%">
|
||||
<col style="width:15%">
|
||||
<col style="width:35%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">성명</th>
|
||||
<td class="tal_l_i pal5i">20160910</td>
|
||||
<th scope="row"><span class="blind">필수입력</span><label for="01" class="must">핸드폰</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="01" class="sel_phone" title="휴대폰 앞번호">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="휴대폰 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="휴대폰 끝번호" maxlength="4">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><span class="blind">필수입력</span><label for="02" class="must">조정유형</label></th>
|
||||
<td class="tal_l_i">
|
||||
<select id="02" class="sel_full">
|
||||
<option value="선택">가맹사업거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</td>
|
||||
<th scope="row"><span class="blind">필수입력</span><label for="03" class="must">사무실</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="03" class="sel_phone" title="사무실 앞번호">
|
||||
<option value="070">070</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="사무실 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="사무실 끝번호" maxlength="4">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<span class="blind">필수입력</span><label for="04" class="must">상담제목</label>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="04" class="inp_ful m_mgl_to_0 mgt5" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="05">상담내용<br>(1300자)<br>현재 <span class="c_red">0</span> 자</label>
|
||||
</th>
|
||||
<td colspan="3" class="tal_l_i pal5i">
|
||||
<textarea name="" id="05" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">첨부파일</th>
|
||||
<td colspan="3" class="tal_l_i pal5i">
|
||||
<button type="button" class="btn_in_tbl">찾아보기</button>
|
||||
<ul class="mgt10">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="mgt50 clear">
|
||||
<div class="fl_r mgb5 m_mgr_to_10 ">
|
||||
<span class="f_sz09"><span class="c_red">*</span> 표기는 필수 입력사항</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mobile">
|
||||
<ul class="m_ul2">
|
||||
<li><span class="m_ul_tit">성명</span>홍길동</li>
|
||||
<li><span class="m_ul_tit"><label for="06">핸드폰</label></span>
|
||||
<select id="06" class="sel_phone" title="휴대폰 앞번호">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="휴대폰 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="휴대폰 끝번호" maxlength="4">
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="07">조정유형</label></span>
|
||||
<select id="07" class="sel_full m_mgl_to_0">
|
||||
<option value="선택">가맹사업거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="08">사무실</label></span>
|
||||
<select id="08" class="sel_phone" title="사무실 앞번호">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="사무실 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="사무실 끝번호" maxlength="4">
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="09">상담제목</label></span>
|
||||
<input type="text" id="09" class="inp_ful m_mgl_to_0 mgt5" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="10">상담내용(1300자)</label> 현재 <span class="c_red">0</span> 자</span>
|
||||
<textarea name="" id="10" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</li>
|
||||
<li><span class="m_ul_tit">첨부파일</span>
|
||||
<button type="button" class="btn_in_tbl mgt5">찾아보기</button>
|
||||
<ul class="mgt5">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="tit5 mgt10">※ 위 신청 내용에 따라 상담센터에서 유선으로 일정을 문의드릴 수 있으며, 이후 확정된 상담일자는 마이페이지 메뉴에서 확인하시기 바랍니다.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear mgt20 mgb50">
|
||||
<div class="fl_r m_mgr_to_10">
|
||||
<a href="#" class="btn_next">신청</a>
|
||||
<a href="#" class="btn_noti">이전</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1,277 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">분쟁조정 상담</h3><span class="mgb10">분쟁조정상담 내용을 입력해주세요.</span></div>
|
||||
<div class="sub_con">
|
||||
|
||||
<article>
|
||||
|
||||
<div class="li_gap clear">
|
||||
<h5 class="tit3">한국공정거래조정원은 사상공인 및 중소기업의 권익 보호를 위하여 변호사 및 관련 전문가와의 상담 서비스를 실시하고 있습니다.</h5>
|
||||
<ul class="resp_li3 mgt20">
|
||||
<li class="resp_li_tit">
|
||||
<span>분야</span><!--
|
||||
--><span>구분</span><!--
|
||||
--><span>상담시간</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>공정거래</span><!--
|
||||
--><span>변호사 및 조사관</span><!--
|
||||
--><span>매주 월요일 14시 ~ 16시</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>가맹사업거래</span><!--
|
||||
--><span>변호사 및 조사관</span><!--
|
||||
--><span>매주 월요일 14시 ~ 16시</span>
|
||||
</li>
|
||||
<li>
|
||||
<span>하도급거래</span><!--
|
||||
--><span>변호사 및 조사관</span><!--
|
||||
--><span>매주 월요일 14시 ~ 16시</span>
|
||||
</li>
|
||||
|
||||
</ul>
|
||||
|
||||
</div>
|
||||
|
||||
<div class="inbox3 mgt20 m_bgclr_none">
|
||||
<p class="pal120 m_pd_0">
|
||||
- 무료법률상담 예약은 본인인증 후 이용하실 수 있습니다.<br>
|
||||
- 하도급거래의 경우 특히 기술유용, 부당 대금결정, 부당한 위탁취소와 반품, 부당한 납품 단가 감액 등의 3배 손해배상 청구가 가능한 사건에 대해서도 무료 법률 상담을 받으실 수 있습니다.
|
||||
</p>
|
||||
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear mgt20 mgb50">
|
||||
<div class="fl_r m_mgr_to_10">
|
||||
<a href="#" class="btn_next">상담신청</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
|
||||
|
||||
<article class="sub_con_wrap">
|
||||
<div class="sub_con_wrap_inner">
|
||||
<h2 class="blind">본문</h2>
|
||||
<div class="sub_tit"><h3 class="tit1">무료법률 상담</h3></div>
|
||||
<div class="sub_con">
|
||||
|
||||
|
||||
|
||||
|
||||
<article>
|
||||
|
||||
<div class="mgt30 tab_wrap">
|
||||
<h4 class="mgb10 inblock indent tit3">한국공정거래조정원은 소상공인 및 중소기업의 권익 보호를 위하여 변호사 및 관련 전문가와의 상담 서비스를 실시하고 있습니다.</h4>
|
||||
|
||||
<div class="pat20 tbl4 td_p_12">
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>전문가 상담서비스 폼 : 분야, 구분, 상담시간</caption>
|
||||
<colgroup>
|
||||
<col style="width:30%">
|
||||
<col style="width:30%">
|
||||
<col style="width:40%">
|
||||
</colgroup>
|
||||
<thead>
|
||||
<tr>
|
||||
<th>분야</th>
|
||||
<th>구분</th>
|
||||
<th>상담시간</th>
|
||||
</tr>
|
||||
</thead>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td rowspan="2">공정거래</td>
|
||||
<td>변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td rowspan="4">공정거래</td>
|
||||
<td>가맹거래사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">가맹거래사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="bdl2">변호사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td>하도급거래</td>
|
||||
<td>가맹거래사</td>
|
||||
<td>매주 월요일 10시 ~ 12시</td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="pat30 tbl4 pc">
|
||||
<div class="fl_r mgb5 m_mgr_to_10">
|
||||
<span class="f_sz09"><span class="c_red">*</span> 표기는 필수 입력사항</span>
|
||||
</div>
|
||||
<table cellspacing="0" cellpadding="0" class="">
|
||||
<caption>무료법률 상담 폼 : 성명, 핸드폰, 조정유형, 사무실, 상담제목, 상담내용, 첨부파일, 첨부자료</caption>
|
||||
<colgroup>
|
||||
<col style="width:15%">
|
||||
<col style="width:35%">
|
||||
<col style="width:15%">
|
||||
<col style="width:35%">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<th scope="row">성명</th>
|
||||
<td class="tal_l_i pal5i">20160910</td>
|
||||
<th scope="row"><span class="blind">필수입력</span><label for="01" class="must">핸드폰</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="01" class="sel_phone" title="휴대폰 앞번호">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="휴대폰 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="휴대폰 끝번호" maxlength="4">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row"><span class="blind">필수입력</span><label for="02" class="must">조정유형</label></th>
|
||||
<td class="tal_l_i">
|
||||
<select id="02" class="sel_full">
|
||||
<option value="선택">가맹사업거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</td>
|
||||
<th scope="row"><span class="blind">필수입력</span><label for="03" class="must">사무실</label></th>
|
||||
<td class="tal_l_i pal5i">
|
||||
<select id="03" class="sel_phone" title="사무실 앞번호">
|
||||
<option value="070">070</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="사무실 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="사무실 끝번호" maxlength="4">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<span class="blind">필수입력</span><label for="04" class="must">상담제목</label>
|
||||
</th>
|
||||
<td colspan="3">
|
||||
<input type="text" id="04" class="inp_ful m_mgl_to_0 mgt5" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">
|
||||
<label for="05">상담내용<br>(1300자)<br>현재 <span class="c_red">0</span> 자</label>
|
||||
</th>
|
||||
<td colspan="3" class="tal_l_i pal5i">
|
||||
<textarea name="" id="05" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<th scope="row">첨부파일</th>
|
||||
<td colspan="3" class="tal_l_i pal5i">
|
||||
<button type="button" class="btn_in_tbl">찾아보기</button>
|
||||
<ul class="mgt10">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
<div class="mgt50 clear">
|
||||
<div class="fl_r mgb5 m_mgr_to_10 ">
|
||||
<span class="f_sz09"><span class="c_red">*</span> 표기는 필수 입력사항</span>
|
||||
</div>
|
||||
</div>
|
||||
<div class="mobile">
|
||||
<ul class="m_ul2">
|
||||
<li><span class="m_ul_tit">성명</span>홍길동</li>
|
||||
<li><span class="m_ul_tit"><label for="06">핸드폰</label></span>
|
||||
<select id="06" class="sel_phone" title="휴대폰 앞번호">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="휴대폰 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="휴대폰 끝번호" maxlength="4">
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="07">조정유형</label></span>
|
||||
<select id="07" class="sel_full m_mgl_to_0">
|
||||
<option value="선택">가맹사업거래</option>
|
||||
<option value="">ㅅㅅ</option>
|
||||
</select>
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="08">사무실</label></span>
|
||||
<select id="08" class="sel_phone" title="사무실 앞번호">
|
||||
<option value="010">010</option>
|
||||
<option value="011">011</option>
|
||||
</select> - <input type="text" id="" class="inp_phone2" title="사무실 중간번호" maxlength="4"> - <input type="text" id="" class="inp_phone2" title="사무실 끝번호" maxlength="4">
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="09">상담제목</label></span>
|
||||
<input type="text" id="09" class="inp_ful m_mgl_to_0 mgt5" placeholder="ex) 가맹사업거래 상담 신청합니다.">
|
||||
</li>
|
||||
<li><span class="m_ul_tit"><label for="10">상담내용(1300자)</label> 현재 <span class="c_red">0</span> 자</span>
|
||||
<textarea name="" id="10" cols="40" rows="10" placeholder="내용을 입력해 주세요." class="txta_full2"></textarea>
|
||||
</li>
|
||||
<li><span class="m_ul_tit">첨부파일</span>
|
||||
<button type="button" class="btn_in_tbl mgt5">찾아보기</button>
|
||||
<ul class="mgt5">
|
||||
<li>약관집단분쟁조정참가신청서.hwp [14432 byte]</li>
|
||||
<li>aaaa.hwp [14432 byte]</li>
|
||||
</ul>
|
||||
</li>
|
||||
</ul>
|
||||
</div>
|
||||
<p class="tit5 mgt10">※ 위 신청 내용에 따라 상담센터에서 유선으로 일정을 문의드릴 수 있으며, 이후 확정된 상담일자는 마이페이지 메뉴에서 확인하시기 바랍니다.</p>
|
||||
</div>
|
||||
|
||||
|
||||
<div class="clear mgt20 mgb50">
|
||||
<div class="fl_r m_mgr_to_10">
|
||||
<a href="#" class="btn_next">신청</a>
|
||||
<a href="#" class="btn_noti">이전</a>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
</article>
|
||||
|
||||
|
||||
</div><!-- E : sub_con -->
|
||||
</div><!-- E : sub_con_wrap_inner -->
|
||||
</article><!-- E : sub_con_wrap -->
|
||||
|
||||
|
||||
<!-------------------------------------------------->
|
||||
@ -0,0 +1 @@
|
||||
실시간 상담
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
실시간 상담
|
||||
@ -0,0 +1 @@
|
||||
<div>list, view, write 공통</div>
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
<div>list, view, write 공통</div>
|
||||
@ -0,0 +1 @@
|
||||
list, view, write 공통
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
list, view, write 공통
|
||||
@ -0,0 +1 @@
|
||||
ㄷ합니당ㄹㅈㄷㄱ
|
||||
@ -0,0 +1,3 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
@ -0,0 +1 @@
|
||||
list, view, write 공통
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
list, view, write 공통
|
||||
@ -0,0 +1 @@
|
||||
list, view, write 공통
|
||||
@ -0,0 +1,5 @@
|
||||
<%@ page language='java' contentType='text/html; charset=UTF-8'%>
|
||||
<%@ taglib uri='http://java.sun.com/jsp/jstl/core' prefix='c' %>
|
||||
<%@ taglib uri='http://www.springframework.org/tags/form' prefix='form'%>
|
||||
|
||||
list, view, write 공통
|
||||
@ -0,0 +1 @@
|
||||
list, view, write 공통
|
||||
Some files were not shown because too many files have changed in this diff Show More
Loading…
Reference in New Issue
Block a user