first commit

This commit is contained in:
revlis44
2025-12-03 10:41:27 +09:00
commit a6b37aa445
2430 changed files with 175919 additions and 0 deletions

View File

@@ -0,0 +1,3 @@
Manifest-Version: 1.0
Class-Path:

View File

@@ -0,0 +1,77 @@
<beans xmlns="http://www.springframework.org/schema/beans" xmlns:context="http://www.springframework.org/schema/context" xmlns:mvc="http://www.springframework.org/schema/mvc" xmlns:p="http://www.springframework.org/schema/p" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.springframework.org/schema/beans http://www.springframework.org/schema/beans/spring-beans-3.0.xsd http://www.springframework.org/schema/context http://www.springframework.org/schema/context/spring-context-3.0.xsd http://www.springframework.org/schema/mvc http://www.springframework.org/schema/mvc/spring-mvc-3.0.xsd">
<context:component-scan base-package="egovframework">
<context:include-filter expression="org.springframework.stereotype.Controller" type="annotation"/>
<context:exclude-filter expression="org.springframework.stereotype.Service" type="annotation"/>
<context:exclude-filter expression="org.springframework.stereotype.Repository" type="annotation"/>
</context:component-scan>
<!-- For Pagination Tag -->
<bean class="egovframework.common.pagination.EdosiPaginationRenderer" id="imageRenderer"/>
<bean class="egovframework.common.pagination.EdosiMobilePaginationRenderer" id="imageMobileRenderer"/>
<bean class="egovframework.rte.ptl.mvc.tags.ui.pagination.DefaultPaginationManager" id="paginationManager">
<property name="rendererType">
<map>
<entry key="image" value-ref="imageRenderer"/>
<entry key="mobile" value-ref="imageMobileRenderer"/>
</map>
</property>
</bean>
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerAdapter">
<property name="webBindingInitializer">
<bean class="egovframework.com.cmm.web.EgovBindingInitializer"/>
</property>
</bean>
<bean class="org.springframework.web.servlet.mvc.method.annotation.RequestMappingHandlerMapping"/>
<!-- IP 정보 기록 및 로그인 체크가 필요한 URL과 로그인 여부를 체크해줄 인터셉터를 등록한다. -->
<!-- <mvc:interceptors>
<bean class="egovframework.com.cmm.interceptor.IpObtainInterceptor" />
<mvc:interceptor>
<mvc:mapping path="/**/*.do" />
<mvc:exclude-mapping path="/uat/uia/**" />
<mvc:exclude-mapping path="/index.do" />
<mvc:exclude-mapping path="/EgovLeft.do" />
<mvc:exclude-mapping path="/EgovContent.do" />
<mvc:exclude-mapping path="/EgovTop.do" />
<mvc:exclude-mapping path="/EgovBottom.do" />
<mvc:exclude-mapping path="/uat/uia/egovLoginUsr.do" />
<mvc:exclude-mapping path="/uat/uia/actionLogin.do" />
<bean class="egovframework.com.cmm.interceptor.AuthenticInterceptor" />
</mvc:interceptor>
</mvc:interceptors> -->
<mvc:interceptors>
<bean class="egovframework.com.cmm.interceptor.IpObtainInterceptor" />
<mvc:interceptor>
<mvc:mapping path="/**/*.do" />
<mvc:mapping path="/*.do" />
<mvc:mapping path="/sys/**" />
<mvc:mapping path="/dms/**" />
<mvc:mapping path="/cms/**" />
<!-- <mvc:exclude-mapping path="/login.do" /> -->
<bean class="egovframework.com.cmm.interceptor.AuthenticInterceptor" />
</mvc:interceptor>
</mvc:interceptors>
<bean class="org.springframework.web.servlet.handler.SimpleMappingExceptionResolver">
<property name="defaultErrorView" value="egovframework/com/cmm/error/egovError"/>
<property name="exceptionMappings">
<props>
<prop key="org.springframework.dao.DataAccessException">egovframework/com/cmm/error/dataAccessFailure</prop>
<prop key="org.springframework.transaction.TransactionException">egovframework/com/cmm/error/dataAccessFailure</prop>
<prop key="egovframework.rte.fdl.cmmn.exception.EgovBizException">egovframework/com/cmm/error/egovBizException</prop>
<prop key="org.springframework.web.HttpSessionRequiredException">egovframework/com/uat/uia/EgovLoginUsr</prop>
</props>
</property>
</bean>
<!-- for JFile -->
<!--
<bean class="org.springframework.web.servlet.view.BeanNameViewResolver" p:order="0"/>
<bean class="org.springframework.web.servlet.view.UrlBasedViewResolver" p:order="1" p:prefix="/WEB-INF/jsp/" p:suffix=".jsp" p:viewClass="org.springframework.web.servlet.view.JstlView"/>
-->
</beans>

View File

@@ -0,0 +1,39 @@
<?xml version="1.0" encoding="UTF-8"?>
<beans xmlns="http://www.springframework.org/schema/beans"
xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
xmlns:p="http://www.springframework.org/schema/p"
xmlns:mvc="http://www.springframework.org/schema/mvc"
xsi:schemaLocation="http://www.springframework.org/schema/beans
http://www.springframework.org/schema/beans/spring-beans.xsd
http://www.springframework.org/schema/mvc
http://www.springframework.org/schema/mvc/spring-mvc.xsd">
<bean id="resourceBundleViewResolver"
class="org.springframework.web.servlet.view.ResourceBundleViewResolver">
<property name="basename" value="views"/>
<property name="order" value="1"/>
</bean>
<bean id="tilesViewResolver" class="org.springframework.web.servlet.view.UrlBasedViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.tiles2.TilesView" />
<property name="order" value="2" />
</bean>
<bean id="viewResolver" class="org.springframework.web.servlet.view.InternalResourceViewResolver">
<property name="viewClass" value="org.springframework.web.servlet.view.JstlView" />
<property name="prefix" value="/WEB-INF/jsp/" />
<property name="suffix" value=".jsp" />
<property name="order" value="3" />
</bean>
<bean id="tilesConfigurer" class="org.springframework.web.servlet.view.tiles2.TilesConfigurer">
<property name="definitions">
<list>
<value>/WEB-INF/tiles-defs/templates.xml</value>
</list>
</property>
</bean>
</beans>

View File

@@ -0,0 +1,21 @@
<?xml version="1.0" encoding="UTF-8"?>
<!DOCTYPE dwr PUBLIC "-//GetAhead Limited//DTD Direct Web Remoting 2.0//EN" "http://www.getahead.ltd.uk/dwr/dwr20.dtd">
<dwr>
<allow>
<convert converter="bean" match="egovframework.com.cmm.service.FileVO"/>
<create creator="spring" javascript="EgovFileMngDwr">
<param name="beanName" value="EgovFileMngService"/>
</create>
<!-- 내부정보시스템 공통 -->
<!--
<convert converter="bean" match="egovframework.rte.psl.dataaccess.util.EgovMap"/>
-->
<convert converter="bean" match="egovframework.cms.dept.vo.HmsDeptVO"/>
<convert converter="bean" match="egovframework.com.cmm.service.CmmnDetailCode"/>
<create creator="spring" javascript="DwrCommonService">
<param name="beanName" value="dwrCommonService"/>
</create>
</allow>
</dwr>

View File

@@ -0,0 +1,69 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : ComtccmmndetailcodeDetail.jsp
* @Description : Comtccmmndetailcode Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2012.08.16
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/comtccmmndetailcode.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="code" />
<form:hidden path="codeId"/>
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">상위코드</th>
<td colspan="3" class="left">${comtccmmncode.codeIdNm}</td>
</tr>
<tr>
<th scope="row">코드번호</th>
<td colspan="3" class="left">${comtccmmndetailcodeVO.code}</td>
</tr>
<tr>
<th scope="row">코드명</th>
<td colspan="3" class="left">${comtccmmndetailcodeVO.codeNm}</td>
</tr>
<tr>
<th scope="row">사용여부</th>
<td colspan="3" class="left">${comtccmmndetailcodeVO.useAt eq 'Y'?'사용':'미사용' }</td>
</tr>
<tr>
<th scope="row">비고</th>
<td colspan="3" class="left"><edosiFmt:formatHtml value="${comtccmmndetailcodeVO.codeDc}"/></td>
</tr>
<tr>
<th scope="row">순서</th>
<td colspan="3" class="left">${comtccmmndetailcodeVO.sort}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,82 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : ComtccmmndetailcodeList.jsp
* @Description : Comtccmmndetailcode List 화면
* @Modification Information
*
* @author 최석희
* @since 2013.03.26
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/comtccmmndetailcode.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="code" />
<form:hidden path="codeId" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">코드분류</form:option>
<form:option value="2">코드명</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th>코드명</th>
<th>코드</th>
<th>코드분류</th>
<th>사용여부</th>
<th>순서</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="6">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.codeId}','${list.code}')">${list.codeNm}</a></td>
<td>${list.code}</td>
<td>${list.codeIdNm}</td>
<td>${list.useAt eq 'Y'?'사용':'미사용'}</td>
<td>${list.sort}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,93 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : ComtccmmndetailcodeRegister.jsp
* @Description : Comtccmmndetailcode Register 화면
* @Modification Information
*
* @author 최석희
* @since 2013.03.27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/comtccmmndetailcode.js"></script>
<form:form commandName="comtccmmndetailcodeVO" id="detailForm" action="${searchVO.parentUrl}" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<c:if test="${!empty comtccmmndetailcodeVO.code}">
<form:hidden path="codeId" />
<form:hidden path="code" />
</c:if>
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="codeId">상위코드</label></th>
<td colspan="3" class="left">
<c:if test="${empty comtccmmndetailcodeVO.code }">
<form:select path="codeId" onchange="changeSort(this.value);">
<c:forEach items="${comtccmmncode}" var="list">
<form:option value="${list.codeId}">${list.codeIdNm}</form:option>
</c:forEach>
</form:select>
</c:if>
<c:if test="${!empty comtccmmndetailcodeVO.code}">
${comtccmmncode.codeIdNm}
</c:if>
</td>
</tr>
<c:if test="${!empty comtccmmndetailcodeVO.code}">
<tr>
<th scope="row">코드번호</th>
<td colspan="3" class="left">${comtccmmndetailcodeVO.code}</td>
</tr>
</c:if>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="codeNm">코드명</label></th>
<td colspan="3" class="left"><form:input path="codeNm" /></td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="useAt1">사용여부</label></th>
<td colspan="3" class="left">
<form:radiobutton path="useAt" value="Y" label="사용" />
<form:radiobutton path="useAt" value="N" label="미사용" />
</td>
</tr>
<tr>
<th scope="row"><label for="codeDc">비고</label></th>
<td colspan="3" class="left"><form:textarea path="codeDc" title="비고" rows="3" /></td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="sort">정렬순서</label></th>
<td colspan="3" class="left">
<form:input path="sort" cssStyle="ime-mode:Disabled;" onkeypress="isNumber()" /><br />
(※ 숫자형으로 입력해주세요.)
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty comtccmmndetailcodeVO.code}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty comtccmmndetailcodeVO.code}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,66 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsAuthGroupDetail.jsp
* @Description : HmsAuthGroup Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2015-03-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsAuthGroup.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="authGroupSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>권한목록 상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">권한그룹명</th>
<td colspan="3" class="left">${hmsAuthGroupVO.authGroupNm}</td>
</tr>
<tr>
<th scope="row">권한그룹 상세설명</th>
<td colspan="3" class="left"><edosiFmt:formatHtml value="${hmsAuthGroupVO.authGroupDetail}"/></td>
</tr>
<tr>
<th scope="row">권한설정</th>
<td colspan="3" class="left">
<c:forEach items="${authList}" var="list">
<div>
<form:checkbox path="hmsAuthGroupVO.authList" value="${list.authorCode}" disabled="true" /> <span style="font-weight:bold;">${list.authorNm}</span>
<br />
<div style="margin-left:25px;">${list.authorDc}</div>
</div>
</c:forEach>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,76 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsAuthGroupList.jsp
* @Description : HmsAuthGroup List 화면
* @Modification Information 권한그룹관리
*
* @author 최석희
* @since 2015-03-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsAuthGroup.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="authGroupSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">권한그룹명</form:option>
<form:option value="2">권한그룹설명</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>알림마당 목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">권한그룹명</th>
<th scope="col">권한그룹설명</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="3">등록된 자료가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${status.count}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.authGroupSeq}')">${list.authGroupNm}</a></td>
<td class="left">${list.authGroupDetail}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_AUTH}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,203 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsAuthGroupListB.jsp
* @Description : HmsAuthGroup List 화면
* @Modification Information 권한그룹별 사용자관리
*
* @author 최석희
* @since 2015-03-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsAuthGroup.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/select.js"></script>
<script type="text/javascript">
function findUserByName() {
var form = $('#searchForm')[0];
if(form.searchName.value == '') {
alert('검색할 사용자명을 입력해주세요.');
return false;
}
var type = $('#type').val();
if(type == '1') {
DwrCommonService.dwrUserList("1", form.searchName.value, 'name_asc', function(data) {
var src = '';
if(data.length > 0) {
for(var i=0; i<data.length; i++) {
data[i].positionNm = data[i].positionNm == null ? '' : data[i].positionNm;
src += '<tr><td><input type="checkbox" id="name'+i+'" onclick="return selectUser(\''+data[i].userId+':user\', \''+data[i].deptNm+' '+data[i].userNm+' '+data[i].positionNm+'\');"></td>';
src += '<td class="brnone"><label for="name'+i+'">'+data[i].deptNm+' '+data[i].userNm+' '+data[i].positionNm+'</label></td></tr>';
}
} else {
src += '<tr><td colspan="2">검색된 사용자가 없습니다.</td></tr>';
}
$('#userResultArea').html(src);
});
} else {
DwrCommonService.dwrDeptList("1", form.searchName.value, null, function(data) {
var src = '';
if(data.length > 0) {
for(var i=0; i<data.length; i++) {
data[i].positionNm = data[i].positionNm == null ? '' : data[i].positionNm;
src += '<tr><td><input type="checkbox" id="name'+i+'" onclick="return selectUser(\''+data[i].deptCd+':dept\', \'*'+data[i].deptFullNm+'\');"></td>';
src += '<td class="brnone"><label for="name'+i+'">*'+data[i].deptFullNm+'</label></td></tr>';
}
} else {
src += '<tr><td colspan="2">검색된 사용자가 없습니다.</td></tr>';
}
$('#userResultArea').html(src);
});
}
return false;
}
function selectUser(id, text) {
var form = $('#detailForm')[0];
var sel = form.authUser;
var opt = sel.options;
if(form.authGroupSeq.selectedIndex < 1) {
alert('권한그룹을 먼저 선택하세요.');
return false;
}
var exists = false;
for(var i=0; i<opt.length; i++) {
var val = opt[i].value;
if(id == val) {
exists = true;
break;
}
}
if(!exists) {
if(opt[0].value == '') {
opt[0] = new Option(text, id);
} else {
opt[opt.length] = new Option(text, id);
}
}
return true;
}
function loadAuthGroupUser() {
var form = $('#detailForm')[0];
if(form.authGroupSeq.selectedIndex > 0) {
DwrCommonService.dwrAuthGroupRelUserList(form.authGroupSeq.value, function(data) {
var src = '';
if(data.length > 0) {
for(var i=0; i<data.length; i++) {
if(data[i].gubun == 'user') {
data[i].positionNm = data[i].positionNm == null ? '' : data[i].positionNm;
src += '<option value="'+data[i].userId+':user">'+data[i].deptNm+' '+data[i].userNm+' '+data[i].positionNm+'</option>';
} else if(data[i].gubun == 'dept') {
src += '<option value="'+data[i].deptCd+':dept">*'+data[i].deptFullNm+'</option>';
}
}
} else {
src = '<option value="">등록된 사용자가 업습니다.</option>';
}
form.authUser.options.length = 0;
$('#authUser').html(src);
});
}
}
function fn_egov_apply() {
var form = $('#detailForm')[0];
if(form.authGroupSeq.selectedIndex < 1) {
alert('권한그룹을 먼저 선택하세요.');
return false;
}
var opt = form.authUser.options;
for(var i=0; i<opt.length; i++) {
opt[i].selected=true;
}
form.action = G_CONTEXT_PATH + '/hms/hmsAuthGroup/applyHmsAuthGroupUser.do?parentUrl=${searchVO.parentUrl}';
form.submit();
return false;
}
</script>
<div class="contents">
<div style="overflow:hidden;">
<div class="group_area_01">
<h4>이름검색</h4>
<div class="group_area_01_01">
<form id="searchForm" method="post" action="${searchVO.parentUrl}" onsubmit="return findUserByName();">
<div class="group_search_wrap">
<div class="group_search">
<select name="type" id="type" style="width:30%; height:30px;">
<option value="1">이름</option>
<option value="2">부서명</option>
</select>
<input type="text" name="searchName" id="searchName" class="fleft" style="width:65%;" />
</div>
<span class="group_search_btn"><a class="btn_blue" href="#search" onclick="return findUserByName();">찾기</a></span>
</div>
<div class="group_area_table">
<table class="tbl_basic_04">
<colgroup>
<col style="width:20%" />
<col style="width:80%" />
</colgroup>
<thead>
<tr>
<th>선택</th>
<th>이름</th>
</tr>
</thead>
<tbody id="userResultArea">
<tr><td colspan="2" class="brnone"><div style="text-align:center !important;">검색된 사용자가 없습니다.</div></td></tr>
</tbody>
</table>
</div>
</form>
</div>
</div>
<div class="group_area_02">
<h4 class="ml60">권한그룹선택</h4>
<div class="group_area_02_01">
<form id="detailForm" method="post" action="${searchVO.parentUrl}">
<select name="authGroupSeq" id="authGroupSeq" onchange="loadAuthGroupUser();" style="width:100%;">
<option value="">선택하세요.</option>
<c:forEach items="${resultList}" var="list">
<option value="${list.authGroupSeq}" <c:if test="${param.authGroupSeq == list.authGroupSeq}">selected="selected"</c:if>>${list.authGroupNm}</option>
</c:forEach>
</select>
<div class="marg_t_10" id="authUserResultArea">
<select name="authUser" id="authUser" multiple="multiple" size="10" class="mt10" style="width:100%; height:330px;" ondblclick="DelOption('authUser');">
<option value="">등록된 사용자가 업습니다.</option>
</select>
</div>
</form>
</div>
</div>
</div>
<div class="clear mt20 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue" ><a href="#apply" onclick="return fn_egov_apply();">적용</a></span>
</c:if>
</div>
</div>
<script>
var authGroupSeq = '${param.authGroupSeq}';
if(authGroupSeq != '') {
loadAuthGroupUser();
}
</script>

View File

@@ -0,0 +1,67 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsAuthGroupRegist.jsp
* @Description : HmsAuthGroup Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2015-03-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsAuthGroup.js"></script>
<form:form commandName="hmsAuthGroupVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>알림마당 글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="authGroupNm">권한그룹명</label></th>
<td colspan="3" class="left"><form:input path="authGroupNm" /></td>
</tr>
<tr>
<th scope="row"><label for="authGroupNm">권한그룹 상세설명</label></th>
<td colspan="3" class="left"><form:input path="authGroupDetail" cssStyle="width:80%;"/></td>
</tr>
<tr>
<th scope="row"><label for="authList1">권한설정</label></th>
<td colspan="3" class="left">
<c:forEach items="${authList}" var="list">
<div class="mt5 pb5" style="border-bottom:1px dotted #ccc;">
<form:checkbox path="authList" value="${list.authorCode}" /> <span style="font-weight:bold;">${list.authorNm}</span>
<br />
<div style="margin-left:20px;">${list.authorDc}</div>
</div>
</c:forEach>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsAuthGroupVO.authGroupSeq}">
<span class="btn_type_blue"><a href="add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsAuthGroupVO.authGroupSeq}">
<span class="btn_type_blue"><a href="modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,58 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdCateDetail.jsp
* @Description : HmsBrdCate Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-23
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdCate.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="cateSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
<form:hidden path="searchCateMastSeq" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">카테고리명</th>
<td colspan="3" class="left"><strong>${hmsBrdCateMastVO.cateMastNm}</strong></td>
</tr>
<tr>
<th scope="row">항목명</th>
<td colspan="3" class="left">${hmsBrdCateVO.cateNm}</td>
</tr>
<tr>
<th scope="row">순서</th>
<td colspan="3" class="left">${hmsBrdCateVO.cateSort}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,76 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdCateList.jsp
* @Description : HmsBrdCate List 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-23
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdCate.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="cateSeq" />
<form:hidden path="searchCateMastSeq" />
<input type="hidden" name="nextSortNum" value="${nextSortNum}" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">카테고리명</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">&nbsp;</span>
</div>
</div>
</form:form>
[${hmsBrdCateMastVO.cateMastNm}]
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">항목명</th>
<th scope="col">순서</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="3">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${status.count}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.cateSeq}')">${list.cateNm}</a></td>
<td>${list.cateSort}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination">&nbsp;</div>
<div class="tR">
<span class="btn_type_blue"><a href="#category" onclick="return fn_egov_categoryView();">카테고리관리</a></span>
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_addView();">등록</a></span>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,57 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdCateRegist.jsp
* @Description : HmsBrdCate Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-23
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdCate.js"></script>
<form:form commandName="hmsBrdCateVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<input type="hidden" name="cateMastSeq" value="${hmsBrdCateMastVO.cateMastSeq}" />
<input type="hidden" name="tmp" />
[카테고리명 : ${hmsBrdCateMastVO.cateMastNm}]
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="cateNm">항목명</label></th>
<td colspan="3" class="left"><form:input path="cateNm" /></td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="cateSort">순서</label></th>
<td colspan="3" class="left"><form:input path="cateSort" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsBrdCateVO.cateSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsBrdCateVO.cateSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,50 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdCateMastDetail.jsp
* @Description : HmsBrdCateMast Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-23
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdCateMast.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="cateMastSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">카테고리명</th>
<td colspan="3" class="left">${hmsBrdCateMastVO.cateMastNm}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="/cms/contents/cms/brd/03/cate.02.001.motion?searchCateMastSeq=${hmsBrdCateMastVO.cateMastSeq}">항목관리</a></span>
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,72 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdCateMastList.jsp
* @Description : HmsBrdCateMast List 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-23
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdCateMast.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="cateMastSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">카테고리명</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">카테고리명</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="2">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.cateMastSeq}')">${list.cateMastNm}</a></td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_BOARD}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,50 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdCateMastRegist.jsp
* @Description : HmsBrdCateMast Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-23
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdCateMast.js"></script>
<form:form commandName="hmsBrdCateMastVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="cateMastNm">카테고리명</label></th>
<td colspan="3" class="left"><form:input path="cateMastNm" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsBrdCateMastVO.cateMastSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsBrdCateMastVO.cateMastSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,105 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdMngDetail.jsp
* @Description : HmsBrdMng Detail 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-11-01
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdMng.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="brdMngSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">게시판번호</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdMngSeq}</td>
</tr>
<tr>
<th scope="row">게시판이름</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdNm}</td>
</tr>
<tr>
<th scope="row">게시판타입</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdType}</td>
</tr>
<tr>
<th scope="row">생성자이름</th>
<td colspan="3" class="left">${hmsBrdMngVO.writerNm}</td>
</tr>
<tr>
<th scope="row">생성일</th>
<td colspan="3" class="left">${hmsBrdMngVO.createDate}</td>
</tr>
<tr>
<th scope="row">게시판스킨</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdSkin}</td>
</tr>
<tr>
<th scope="row">에디터사용여부</th>
<td colspan="3" class="left">${hmsBrdMngVO.editorFlag == 'Y' ? '사용' : '사용안함'}</td>
</tr>
<tr>
<th scope="row">새글표시기간</th>
<td colspan="3" class="left">${hmsBrdMngVO.showNewPost}일</td>
</tr>
<tr>
<th scope="row">최근게시물 표시여부</th>
<td colspan="3" class="left"><c:if test="${hmsBrdMngVO.addNewPost == 'on'}">표시함</c:if><c:if test="${hmsBrdMngVO.addNewPost != 'on'}">표시안함</c:if></td>
</tr>
<tr>
<th scope="row">작성시간표시</th>
<td colspan="3" class="left"><c:if test="${hmsBrdMngVO.showWriteTime == 'on'}">표시함</c:if><c:if test="${hmsBrdMngVO.showWriteTime != 'on'}">표시안함</c:if></td>
</tr>
<tr>
<th scope="row">게시판관리자(아이디)</th>
<td colspan="3" class="left">${hmsBrdMngVO.manager}</td>
</tr>
<tr>
<th scope="row">제목길이</th>
<td colspan="3" class="left">${hmsBrdMngVO.titleLength}</td>
</tr>
<tr>
<th scope="row">카테고리</th>
<td colspan="3" class="left">${hmsBrdCateMastVO.cateMastNm}</td>
</tr>
<tr>
<th scope="row">첨부파일갯수</th>
<td colspan="3" class="left">${hmsBrdMngVO.atchCnt}</td>
</tr>
<tr>
<th scope="row">첨부파일 확장자</th>
<td colspan="3" class="left">${hmsBrdMngVO.atchWhite}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,80 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdMngList.jsp
* @Description : HmsBrdMng List 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-11-01
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdMng.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="brdMngSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">게시판이름</form:option>
<form:option value="2">게시판타입</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th>번호</th>
<th>게시판이름</th>
<th>게시판번호</th>
<th>게시판타입</th>
<th>생성자</th>
<th>생성일자</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="6">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.brdMngSeq}')">${list.brdNm}</a></td>
<td>${list.brdMngSeq}</td>
<td>${list.brdType}</td>
<td>${list.writerNm}</td>
<td>${list.createDate}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_BOARD}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,121 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdMngRegister.jsp
* @Description : HmsBrdMng Register 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-11-01
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdMng.js"></script>
<form:form commandName="hmsBrdMngVO" id="detailForm" action="${searchVO.parentUrl}" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<input type="hidden" name="brdMngSeq" value="${searchVO.brdMngSeq}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="brdNm">게시판 이름</label></th>
<td colspan="3" class="left"><form:input path="brdNm" /></td>
</tr>
<tr>
<th scope="row"><label for="brdType">게시판 타입</label></th>
<td colspan="3" class="left">
<form:select path="brdType">
<form:option value="notice">일반형</form:option>
<form:option value="reply">답글형</form:option>
<form:option value="qna">답변형</form:option>
<form:option value="guest">방명록형</form:option>
</form:select>
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="brdSkin">게시판 스킨</label></th>
<td colspan="3" class="left"><form:input path="brdSkin" /></td>
</tr>
<tr>
<th scope="row"><label for="editorFlag">에디터 사용 여부</label></th>
<td colspan="3" class="left"><form:checkbox path="editorFlag" value="Y" />사용</td>
</tr>
<tr>
<th scope="row"><label for="showNewPost">새글표시기간</label></th>
<td colspan="3" class="left">
<form:select path="showNewPost">
<form:option value="0">0</form:option>
<form:option value="1">1</form:option>
<form:option value="2">2</form:option>
<form:option value="3">3</form:option>
<form:option value="4">4</form:option>
<form:option value="5">5</form:option>
</form:select>일
</td>
</tr>
<tr>
<th scope="row"><label for="addNewPost">최근게시물 표시여부</label></th>
<td colspan="3" class="left"><form:checkbox path="addNewPost" value="on" />표시</td>
</tr>
<tr>
<th scope="row"><label for="showWriteTime">작성시간 표시여부</label></th>
<td colspan="3" class="left"><form:checkbox path="showWriteTime" value="on" /> 표시 (금일 작성된 게시물의 날짜가 시간으로 표시됩니다.)</td>
</tr>
<tr>
<th scope="row"><label for="manager">관리자 아이디 등록</label></th>
<td colspan="3" class="left"><form:input path="manager" />(아이디를 입력해주세요.)</td>
</tr>
<tr>
<th scope="row"><label for="titleLength">제목길이</label></th>
<td colspan="3" class="left"><form:input path="titleLength" />(숫자로 입력해주세요. '0' 이상인 경우 제목길이 후 '...'로 표시됩니다.)</td>
</tr>
<tr>
<th scope="row"><label for="cateMastSeq">카테고리</label></th>
<td colspan="3" class="left">
<form:select path="cateMastSeq">
<form:option value="">없음</form:option>
<c:forEach items="${hmsBrdCateMastList}" var="list">
<form:option value="${list.cateMastSeq}">${list.cateMastNm}</form:option>
</c:forEach>
</form:select>
</td>
</tr>
<tr>
<th scope="row"><label for="atchCnt">첨부파일갯수</label></th>
<td colspan="3" class="left"><form:input path="atchCnt" maxlength="3" />개</td>
</tr>
<tr>
<th scope="row"><label for="manager">첨부파일 확장자</label></th>
<td colspan="3" class="left">
<form:textarea path="atchWhite" cssStyle="width:70%;height:50px;"/>
<input type="button" class="btn btn-success btn-sm" onclick="dwrGetBrdAtchWhiteList()" value="초기화" />
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsBrdMngVO.brdMngSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsBrdMngVO.brdMngSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,119 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdNewPostList.jsp
* @Description : HmsBrdNewPost List 화면
* @Modification Information
*
* @author 최석희
* @since 2015-4-7
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdPost.js"></script>
<div class="table_wrap_02">
<div id="table_util">
<div id="table_util_01">
Total:${paginationInfo.totalRecordCount} | Page:${paginationInfo.currentPageNo}/${paginationInfo.totalPageCount}
</div>
<div id="table_util_02">
<div class="table_util_pers_02">
<form:form commandName="searchVO" name="searchForm" id="searchForm" action="${searchVO.parentUrl}" methodParam="post">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="brdPostSeq" />
<form:hidden path="brdMngSeq" />
<div class="fleft">
<form:select path="searchCondition" cssClass="st01" title="구분">
<form:option value="1">제목</form:option>
<form:option value="2">이름</form:option>
</form:select>
</div>
<div class="fleft padd_r_5">
<form:input path="searchKeyword" cssStyle="width:100px;" cssClass="fleft" />
<a class="board_sbutton_bg search_icon" href="#search" onclick="return fn_egov_searchSelectList();"><span class="icons_sset"><span>검색</span></span></a>
</div>
</form:form>
</div>
</div>
</div>
<table class="table_a01" width="100%" border="1">
<caption></caption>
<colgroup>
<col style="width:7%">
<col style="width:">
<col style="width:12%">
<col style="width:12%">
<col style="width:12%">
<col style="width:12%">
<col style="width:12%">
</colgroup>
<thead>
<tr>
<th>번호</th>
<th>제목</th>
<th>게시판명</th>
<th>작성자</th>
<th>첨부파일</th>
<th>등록일</th>
<th>조회수</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="7" class="center">등록된 자료가 없습니다.</td>
</tr>
</c:if>
<c:if test="${empty resultList && !empty searchVO.searchKeyword}">
<tr>
<td colspan="7" class="center"><span class="ftc_f08800">'${searchVO.searchKeyword }'</span>으로 검색된 자료가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td align="center">${number - status.index}</td>
<td style="text-align:left;padding-left:10px;">
<c:forEach begin="1" end="${list.brdDepth}">&nbsp;&nbsp;</c:forEach>
<c:choose>
<c:when test="${list.openIschk != 'N' || list.userId == loginVO.id}">
<a href="#view" onclick="return fn_egov_newboard_select('${list.brdMngSeq}', '${list.brdPostSeq}')" title="${list.titleAlt}">
<c:if test="${list.brdDepth != 0 }">re:</c:if>
${list.title}
<c:if test="${list.commentCnt != 0}">(${list.commentCnt})</c:if>
</a>
</c:when>
<c:otherwise>
비공개글입니다.
</c:otherwise>
</c:choose>
<c:if test="${!empty list.newPost}"> <span style="color:red;">(new)</span></c:if>
</td>
<td align="center">${list.brdNm}</td>
<td align="center">${list.userNm}</td>
<td align="center"><c:if test="${!empty list.atchSeq}"><span class="file">첨부</span></c:if></td>
<td align="center">${list.createDate}</td>
<td align="center">${list.viewCnt}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div id="boardpaging">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" />
</div>
<div id="full_division">
<div class="right">
<c:if test="${!empty searchVO.searchKeyword}">
<a class="board_button_bg list_icon" href="#list" onclick="return fn_egov_searchSelectList('init');"><span class="icons_set"><span>목록</span></span></a>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,143 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdPostDetail.jsp
* @Description : HmsBrdPost Detail 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-10-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdPost.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="brdPostSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
<form:hidden path="searchCateSeq" />
<form:hidden path="pageUnit" />
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">제목</th>
<td colspan="3" class="left">${hmsBrdPostVO.title}</td>
</tr>
<tr>
<th scope="row">작성자</th>
<td colspan="3" class="left">${hmsBrdPostVO.userNm}</td>
</tr>
<c:if test="${!empty hmsBrdCateVO}">
<tr>
<th scope="row">카테고리</th>
<td colspan="3" class="left">${hmsBrdCateVO.cateNm}</td>
</tr>
</c:if>
<tr>
<th scope="row">작성일</th>
<td colspan="3" class="left">${hmsBrdPostVO.createDate}</td>
</tr>
<tr>
<th scope="row">아이피</th>
<td colspan="3" class="left">${hmsBrdPostVO.ip}</td>
</tr>
<tr>
<th scope="row">첨부파일</th>
<td colspan="3" class="left">
<c:import url="/common/fms/selectFileInfs.do" charEncoding="utf-8"
><c:param name="param_atchFileId" value="${hmsBrdPostVO.atchSeq}"
/></c:import>
</td>
</tr>
<tr>
<th scope="row">내용</th>
<td colspan="3" class="left">
<c:if test="${hmsBrdPostVO.editorFlag != 'Y'}"><edosiFmt:formatHtml value="${hmsBrdPostVO.contents}"/></c:if>
<c:if test="${hmsBrdPostVO.editorFlag == 'Y'}">${hmsBrdPostVO.contents}</c:if>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<c:if test="${hmsBrdMngVO.brdType == 'reply'}">
<span class="btn_type_blue"><a href="#reply" onclick="return fn_egov_replyView();">답글달기</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</form:form>
<h3>댓글작성</h3>
<form:form commandName="commentVO" id="commentForm" action="${commentVO.parentUrl}">
<form:hidden path="brdPostSeq" />
<form:hidden path="brdReplySeq" />
<form:hidden path="brdMngSeq" />
<input type="hidden" name="bmode" />
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">작성자</th>
<td colspan="3" class="left"> ${loginVO.name}</td>
</tr>
<tr>
<th scope="row">작성자</th>
<td colspan="4" class="left"><form:textarea path="contents" rows="5" cssStyle="width:99%;" title="댓글내용" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<span class="btn_type_blue"><a href="#comment" onclick="return fn_egov_comment_add(document.getElementById('commentForm'), '${commentVO.parentUrl}');">등록</a></span>
</div>
</form:form>
<h3>댓글목록</h3>
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<c:forEach var="list" items="${commentList }">
<tr>
<th class="left" colspan="3">
등록자 : ${list.userNm } | 등록일시 : <fmt:formatDate value="${list.createDate }" pattern="yyyy.MM.dd hh:mm"/>
<c:if test="${loginVO.name eq list.userNm }">&nbsp;<a href="#" onclick="fn_egov_comment_delete('${list.brdReplySeq }', '${commentVO.parentUrl}');">[삭제]</a> </c:if>
</th>
</tr>
<tr>
<td class="left" colspan="3"><edosiFmt:formatHtml value="${list.contents }"/></td>
</tr>
</c:forEach>
</tbody>
</table>
</div>

View File

@@ -0,0 +1,118 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdManagerList.jsp
* @Description : HmsBrdManager List 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-10-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdPost.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="brdPostSeq" />
<div class="boardHead">
<label for="pageUnit" class="labHide">검색목록 갯수 선택</label>
<form:select path="pageUnit" title="검색목록 갯수 선택">
<form:option value="10">10개씩</form:option>
<form:option value="20">20개씩</form:option>
<form:option value="50">50개씩</form:option>
<form:option value="100">100개씩</form:option>
</form:select>
<c:if test="${!empty cateList}">
<label for="searchCateSeq" class="labHide">검색항목 선택</label>
<form:select path="searchCateSeq" title="검색분류">
<form:option value="">없음</form:option>
<c:forEach items="${cateList}" var="list">
<form:option value="${list.cateSeq}">${list.cateNm}</form:option>
</c:forEach>
</form:select>
</c:if>
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">제목</form:option>
<form:option value="2">작성자</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<c:set var="columnCnt" value="6"/><c:if test="${!empty hmsBrdMngVO.cateMastSeq}"><c:set var="columnCnt" value="${columnCnt + 1}" /></c:if>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup></colgroup>
<thead>
<tr>
<th>번호</th>
<c:if test="${!empty hmsBrdMngVO.cateMastSeq}"><th>카테고리</th></c:if>
<th>제목</th>
<th>작성자</th>
<th>첨부파일</th>
<th>등록일</th>
<th>조회수</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="${columnCnt}">조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:if test="${empty resultList && !empty searchVO.searchKeyword}">
<tr>
<td colspan="${columnCnt}"><mark>'${searchVO.searchKeyword}'</mark>으로 조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<c:if test="${!empty hmsBrdMngVO.cateMastSeq}"><td>${list.cateNm}</td></c:if>
<td class="left">
<c:forEach begin="1" end="${list.brdDepth}">&nbsp;&nbsp;</c:forEach>
<c:choose>
<c:when test="${list.openIschk != 'N' || list.userId == loginVO.id}">
<a href="#view" onclick="return fn_egov_select('${list.brdPostSeq}')" title="${list.titleAlt}">
<c:if test="${list.brdDepth != 0 }">re:</c:if>
${list.title}
<c:if test="${list.commentCnt != 0}">(${list.commentCnt})</c:if>
</a>
</c:when>
<c:otherwise>
비공개글입니다.
</c:otherwise>
</c:choose>
<c:if test="${!empty list.newPost}"> <span style="color:red;">(new)</span></c:if>
</td>
<td>${list.userNm}</td>
<td><c:if test="${!empty list.atchSeq}"><img src="/images/admin/board/icon_file.png" alt="첨부파일" /></c:if></td>
<td>${list.createDate}</td>
<td>${list.viewCnt}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,112 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdPostRegister.jsp
* @Description : HmsBrdPost Register 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-10-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdPost.js"></script>
<script type="text/javascript" src="/js/common/EgovMultiFile.js"></script>
<c:if test="${hmsBrdMngVO.editorFlag == 'Y'}"><script type="text/javascript" src="/ckeditor/ckeditor.js"></script></c:if>
<form:form commandName="hmsBrdPostVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<input type="hidden" name="brdPostSeq" value="${searchVO.brdPostSeq}" />
<input type="hidden" name="editorFlag" value="${hmsBrdMngVO.editorFlag}" />
<input type="hidden" name="pageUnit" value="${searchVO.pageUnit}" />
<form:hidden path="brdSort" />
<form:hidden path="brdGroup" />
<form:hidden path="brdDepth" />
<input type="hidden" name="brdMngSeq" value="${searchVO.brdMngSeq}"/>
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="title">제목</label></th>
<td colspan="3" class="left">
<form:input path="title" cssStyle="width:70%;" />
<form:checkbox path="noticeIschk" value="Y" /> 공지글
<form:checkbox path="openIschk" value="N" /> 비밀글
</td>
</tr>
<c:if test="${!empty cateList}">
<tr>
<th scope="row"><span class="fCred">*</span> <label for="cateSeq">카테고리</label></th>
<td colspan="3" class="left">
<form:select path="cateSeq">
<c:forEach items="${cateList}" var="list">
<form:option value="${list.cateSeq}">${list.cateNm}</form:option>
</c:forEach>
</form:select>
</td>
</tr>
</c:if>
<tr>
<th scope="row"><label for="contents">내용</label></th>
<td colspan="3" class="left"><form:textarea path="contents" rows="15" cssStyle="width:95%;" /></td>
</tr>
<c:if test="${hmsBrdMngVO.atchCnt > 0}">
<tr>
<th scope="row"><label for="title">첨부파일</label></th>
<td colspan="3" class="left">
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8"
><c:param name="param_atchFileId" value="${hmsBrdPostVO.atchSeq}"
/></c:import>
<div><input name="file_1" id="egovComFileUploader" type="file" /></div>
<div id="egovComFileList"></div>
</td>
</tr>
</c:if>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsBrdPostVO.brdPostSeq}">
<c:if test="${searchVO.bmode == 'add'}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${searchVO.bmode == 'reply'}">
<span class="btn_type_blue"><a href="#reply" onclick="return fn_egov_reply('${searchVO.parentUrl}');">저장</a></span>
</c:if>
</c:if>
<c:if test="${!empty hmsBrdPostVO.brdPostSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>
<c:if test="${hmsBrdMngVO.atchCnt > 0}">
<script type="text/javascript">
//<![CDATA[
var maxFileNum = ${hmsBrdMngVO.atchCnt};
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
//]]>
</script>
</c:if>
<c:if test="${hmsBrdMngVO.editorFlag == 'Y'}">
<script>
CKEDITOR.replace('contents', {
'filebrowserUploadUrl':'/ckeditor/upload.jsp'
});
</script>
</c:if>

View File

@@ -0,0 +1,60 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsContentDetail.jsp
* @Description : HmsContent Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsContent.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="contentSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">제목</th>
<td colspan="3" class="left">${hmsContentVO.title}</td>
</tr>
<tr>
<th scope="row">사용유무</th>
<td colspan="3" class="left"><edosiFmt:codeResource items="${show}" code="${hmsContentVO.show}"/></td>
</tr>
<tr>
<th scope="row">URL</th>
<td colspan="3" class="left"><a href="${hmsContentVO.url}" target="_blank">${hmsContentVO.url}</a></td>
</tr>
<tr>
<td colspan="4" class="left">${hmsContentVO.contents}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,78 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsContentList.jsp
* @Description : HmsContent List 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsContent.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="contentSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">제목</form:option>
<form:option value="2">내용</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">제목</th>
<th scope="col">담당자</th>
<th scope="col">수정일</th>
<th scope="col">사용유무</th>
<th scope="col">조회수</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="6">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.contentSeq}')" class="a_01">${list.title}</a></td>
<td>${list.managerNm}</td>
<td>${list.updateDate}</td>
<td><edosiFmt:codeResource items="${show}" code="${list.show}"/></td>
<td>${list.viewCnt}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,75 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsContentRegist.jsp
* @Description : HmsContent Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2015-04-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsContent.js"></script>
<script type="text/javascript" src="/ckeditor/ckeditor.js"></script>
<form:form commandName="hmsContentVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="title">제목</label></th>
<td colspan="3" class="left"><form:input path="title" cssStyle="width:98%" /></td>
</tr>
<tr>
<th width="20%">사용유무</th>
<td width="30%" class="left">
<c:forEach items="${show}" var="list" varStatus="status">
<form:radiobutton path="show" value="${list.code}"/><label for="show${status.count}">${list.codeNm}</label>
</c:forEach>
</td>
<th width="20%">템플릿</th>
<td width="30%" class="left"><form:select path="template">
<c:forEach items="${templateList}" var="list">
<form:option value="${list}">${list}</form:option>
</c:forEach>
</form:select>
</td>
</tr>
<tr>
<td colspan="4"><form:textarea path="contents" cssStyle="width:100%;height:800px;" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsContentVO.contentSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsContentVO.contentSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>
<script>
CKEDITOR.replace('contents', {
'filebrowserUploadUrl':'/ckeditor/upload.jsp'
});
</script>

View File

@@ -0,0 +1,62 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsDeptAdminDetail.jsp
* @Description : HmsDeptAdmin Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2016-09-09
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsDeptAdmin.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="deptSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_USER%></h3><span></span></div>
<span class="loccation"><a href="/main.do" title="홈으로이동"><img src="/images/admin/loccation_home.png" alt="홈" /></a> > <strong><%=MainGlobals.MENU_USER%></strong></span>
</div>
<div class="contents">
<!--
<div class="boardHead">
<div class="fR">
<input id="searchWrd" name="searchWrd" title="검색" type="text" placeholder="이름을 검색하세요" value=""/>
<a href="#" class="btn_search_gray">검색</a>
</div>
</div>
-->
<h4 class="mb10">${hmsDeptVO.deptNm}</h4>
<table class="tbl_basic">
<caption>성명, 전화번호, 직책, 담당업무를 나타낸표</caption>
<colgroup></colgroup>
<thead>
<tr>
<th scope="col">성명</th>
<th scope="col">전화번호</th>
<th scope="col">담당업무</th>
</tr>
</thead>
<tbody>
<c:forEach items="${resultList}" var="list">
<tr>
<td width="100">${list.userNm}</td>
<td width="100">${list.tel}</td>
<td class="left">${list.jobTitle}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>

View File

@@ -0,0 +1,158 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsDeptAdminList.jsp
* @Description : HmsDeptAdmin List 화면
* @Modification Information
*
* @author 최석희
* @since 2016-09-09
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsDeptAdmin.js"></script>
<script src="/js/common/jstree/jstree.js"></script>
<link rel="stylesheet" href="/css/common/jstree/themes/default/style.min.css" />
<div class="contents">
<div class="jstree_demo_box">
<div id="jstree_demo" class="mt20 pl20 pr20 pb20">
<ul>
<li data-jstree="{ 'opened' : true }">Root node 1
<ul>
<li data-jstree='{ "selected" : true }'>Child node 1</li>
<li><a href="#">Child node 2</a></li>
</ul>
</li>
</ul>
</div>
</div>
<div class="jstree_demo_box_r_box">
<div class="jstree_demo_box_r">
<h5>신규부서 등록</h5>
<form id="detailForm" action="${searchVO.parentUrl}" method="post" enctype="multipart/form-data">
<input type="hidden" name="bmode" id="bmode" />
<input type="hidden" name="deptDepth" id="deptDepth" />
<input type="hidden" name="deptSeq" id="deptSeq" />
<table class="tbl_basic_view">
<colgroup>
<col style="width:25%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">부서명</th>
<td class="left"><input type="text" name="newDeptNm" id="newDeptNm" style="width:150px;" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<input type="button" value="등록" class="btn_search_lightgray" onclick="fn_egov_add('${searchVO.parentUrl}');" />
</div>
<h5>수정 및 삭제</h5>
<table class="tbl_basic_view">
<colgroup>
<col style="width:25%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">키</th>
<td class="left" id="key"></td>
</tr>
<tr>
<th scope="row">부모키</th>
<td class="left"><input type="text" name="parentDeptCd" id="parentDeptCd" style="width:200px;" /></td>
</tr>
<tr>
<th scope="row">부서명</th>
<td class="left"><input type="text" name="deptNm" id="deptNm" style="width:150px;" /></td>
</tr>
<tr>
<th scope="row">부서코드</th>
<td class="left"><input type="text" name="deptCd" id="deptCd" style="width:200px;" /></td>
</tr>
<tr>
<th scope="row">정렬순서</th>
<td class="left"><input type="text" name="deptRank" id="deptRank" style="width:50px;" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<input type="button" value="수정" class="btn_search_lightgray" onclick="fn_egov_update('${searchVO.parentUrl}');" />
<input type="button" value="삭제" class="btn_search_lightgray" onclick="fn_egov_delete('${searchVO.parentUrl}');" />
</div>
</form>
</div>
</div>
</div>
<script>
$(function () {
var data = ${orgJSON};
$('#jstree_demo').jstree({
"core" : {
"multiple" : false,
"animation" : 0,
"check_callback" : true,
"themes" : { "stripes" : true },
'data' : data
},
"types" : {
"#" : {
"max_children" : 1,
"max_depth" : 4,
"valid_children" : ["root"]
},
"root" : {
// "icon" : "/images/cn_logo.png",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "/images/admin/loccation_home.png",
"valid_children" : ["default","file"]
}
},
"plugins" : [
"state", "types", "wholerow", "search"
//"types", "wholerow"
]
});
});
$('#jstree_demo').on("changed.jstree", function (e, data) {
var node = data.instance.get_node(data.selected[0]);
if(node.a_attr == undefined) {
}else {
DwrCommonService.dwrDeptInfo(node.id, function(result) {
if(result != null) {
$('#deptNm').val(result.deptNm);
$('#deptRank').val(result.deptRank);
$('#key').html(result.deptSeq);
$('#deptCd').val(result.deptCd);
$('#parentDeptCd').val(result.parentDeptCd);
$('#deptDepth').val(result.deptDepth);
$('#deptSeq').val(result.deptSeq);
} else {
$('#deptNm').val('');
$('#deptRank').val('');
$('#key').html('');
$('#deptCd').val('');
$('#parentDeptCd').val('');
$('#deptDepth').val('');
$('#deptSeq').val('');
}
});
}
});
</script>

View File

@@ -0,0 +1,49 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsDutyDetail.jsp
* @Description : HmsDuty Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2015-11-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsDuty.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="dutySeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">직책명</th>
<td colspan="3" class="left">${hmsDutyVO.dutyNm}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,74 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsDutyList.jsp
* @Description : HmsDuty List 화면
* @Modification Information
*
* @author 최석희
* @since 2015-11-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsDuty.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="dutySeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">직책명</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">직책명</th>
<th scope="col">등록일</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="3">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.dutySeq}')">${list.dutyNm}</a></td>
<td>${list.createDate}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_USER}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,50 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsDutyRegist.jsp
* @Description : HmsDuty Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2015-11-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsDuty.js"></script>
<form:form commandName="hmsDutyVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="dutyNm">직책명</label></th>
<td colspan="3" class="left"><form:input path="dutyNm" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsDutyVO.dutySeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsDutyVO.dutySeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,56 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsEnvDetail.jsp
* @Description : HmsEnv Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2016-02-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsEnv.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="logoImage" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>환경설정 목록</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">관리자 로고 이미지</th>
<td colspan="3" class="left"><img src="/cmm/fms/getImage.do?atchFileId=${data.CUS001001}&fileSn=0" alt="" /></td>
</tr>
<tr>
<th scope="row">사용자 로고 이미지</th>
<td colspan="3" class="left"><img src="/cmm/fms/getImage.do?atchFileId=${data.CUS001002}&fileSn=0" alt="" /></td>
</tr>
<tr>
<th scope="row">하단 텍스트</th>
<td colspan="3" class="left"><edosiFmt:formatHtml value="${data.CUS001003}"/></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,58 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsEnvRegist.jsp
* @Description : HmsEnv Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2016-02-17
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsEnv.js"></script>
<form:form commandName="hmsEnvVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>환경설정</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">관리자 로고 이미지</th>
<td class="left" colspan="3" style="width:70%"><input type="file" name="file_1" />(130px X 30px)</td>
</tr>
<tr>
<th scope="row">사용자 로고 이미지</th>
<td class="left" colspan="3" style="width:70%"><input type="file" name="file_2" />(130px X 30px)</td>
</tr>
<tr>
<th scope="row">하단 텍스트</th>
<td class="left" colspan="3"><textarea name="footerText" id="footerText" rows="5" style="width:80%">${data.CUS001003}</textarea></td>
</tr>
<%--
<tr>
<th scope="row">비사용자 아이디</th>
<td class="left" colspan="3"><textarea name="notUserIds" id="notUserIds" rows="5" style="width:80%">${data.CUS001003}</textarea></td>
</tr>
--%>
</tbody>
</table>
<div class="mt10 tR">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,105 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdMngDetail.jsp
* @Description : HmsBrdMng Detail 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-11-01
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdMng.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="brdMngSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">게시판번호</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdMngSeq}</td>
</tr>
<tr>
<th scope="row">게시판이름</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdNm}</td>
</tr>
<tr>
<th scope="row">게시판타입</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdType}</td>
</tr>
<tr>
<th scope="row">생성자이름</th>
<td colspan="3" class="left">${hmsBrdMngVO.writerNm}</td>
</tr>
<tr>
<th scope="row">생성일</th>
<td colspan="3" class="left">${hmsBrdMngVO.createDate}</td>
</tr>
<tr>
<th scope="row">게시판스킨</th>
<td colspan="3" class="left">${hmsBrdMngVO.brdSkin}</td>
</tr>
<tr>
<th scope="row">에디터사용여부</th>
<td colspan="3" class="left">${hmsBrdMngVO.editorFlag == 'Y' ? '사용' : '사용안함'}</td>
</tr>
<tr>
<th scope="row">새글표시기간</th>
<td colspan="3" class="left">${hmsBrdMngVO.showNewPost}일</td>
</tr>
<tr>
<th scope="row">최근게시물 표시여부</th>
<td colspan="3" class="left"><c:if test="${hmsBrdMngVO.addNewPost == 'on'}">표시함</c:if><c:if test="${hmsBrdMngVO.addNewPost != 'on'}">표시안함</c:if></td>
</tr>
<tr>
<th scope="row">작성시간표시</th>
<td colspan="3" class="left"><c:if test="${hmsBrdMngVO.showWriteTime == 'on'}">표시함</c:if><c:if test="${hmsBrdMngVO.showWriteTime != 'on'}">표시안함</c:if></td>
</tr>
<tr>
<th scope="row">게시판관리자(아이디)</th>
<td colspan="3" class="left">${hmsBrdMngVO.manager}</td>
</tr>
<tr>
<th scope="row">제목길이</th>
<td colspan="3" class="left">${hmsBrdMngVO.titleLength}</td>
</tr>
<tr>
<th scope="row">카테고리</th>
<td colspan="3" class="left">${hmsBrdCateMastVO.cateMastNm}</td>
</tr>
<tr>
<th scope="row">첨부파일갯수</th>
<td colspan="3" class="left">${hmsBrdMngVO.atchCnt}</td>
</tr>
<tr>
<th scope="row">첨부파일 확장자</th>
<td colspan="3" class="left">${hmsBrdMngVO.atchWhite}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,79 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdMngList.jsp
* @Description : HmsBrdMng List 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-11-01
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsLog.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="logSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">Status</form:option>
<form:option value="2">Object</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th>번호</th>
<th>Object</th>
<th>Status</th>
<th>Message</th>
<th>Ip</th>
<th>date</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="6">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left">${list.logObject}</td>
<td>${list.logStatusType}</td>
<td>${list.logMessage}</td>
<td>${list.ip}</td>
<td>${list.createDate}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${checkWriteAuth}">
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,121 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsBrdMngRegister.jsp
* @Description : HmsBrdMng Register 화면
* @Modification Information
*
* @author 유병욱
* @since 2013-11-01
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsBrdMng.js"></script>
<form:form commandName="hmsBrdMngVO" id="detailForm" action="${searchVO.parentUrl}" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<input type="hidden" name="brdMngSeq" value="${searchVO.brdMngSeq}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="brdNm">게시판 이름</label></th>
<td colspan="3" class="left"><form:input path="brdNm" /></td>
</tr>
<tr>
<th scope="row"><label for="brdType">게시판 타입</label></th>
<td colspan="3" class="left">
<form:select path="brdType">
<form:option value="notice">일반형</form:option>
<form:option value="reply">답글형</form:option>
<form:option value="qna">답변형</form:option>
<form:option value="guest">방명록형</form:option>
</form:select>
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="brdSkin">게시판 스킨</label></th>
<td colspan="3" class="left"><form:input path="brdSkin" /></td>
</tr>
<tr>
<th scope="row"><label for="editorFlag">에디터 사용 여부</label></th>
<td colspan="3" class="left"><form:checkbox path="editorFlag" value="Y" />사용</td>
</tr>
<tr>
<th scope="row"><label for="showNewPost">새글표시기간</label></th>
<td colspan="3" class="left">
<form:select path="showNewPost">
<form:option value="0">0</form:option>
<form:option value="1">1</form:option>
<form:option value="2">2</form:option>
<form:option value="3">3</form:option>
<form:option value="4">4</form:option>
<form:option value="5">5</form:option>
</form:select>일
</td>
</tr>
<tr>
<th scope="row"><label for="addNewPost">최근게시물 표시여부</label></th>
<td colspan="3" class="left"><form:checkbox path="addNewPost" value="on" />표시</td>
</tr>
<tr>
<th scope="row"><label for="showWriteTime">작성시간 표시여부</label></th>
<td colspan="3" class="left"><form:checkbox path="showWriteTime" value="on" /> 표시 (금일 작성된 게시물의 날짜가 시간으로 표시됩니다.)</td>
</tr>
<tr>
<th scope="row"><label for="manager">관리자 아이디 등록</label></th>
<td colspan="3" class="left"><form:input path="manager" />(아이디를 입력해주세요.)</td>
</tr>
<tr>
<th scope="row"><label for="titleLength">제목길이</label></th>
<td colspan="3" class="left"><form:input path="titleLength" />(숫자로 입력해주세요. '0' 이상인 경우 제목길이 후 '...'로 표시됩니다.)</td>
</tr>
<tr>
<th scope="row"><label for="cateMastSeq">카테고리</label></th>
<td colspan="3" class="left">
<form:select path="cateMastSeq">
<form:option value="">없음</form:option>
<c:forEach items="${hmsBrdCateMastList}" var="list">
<form:option value="${list.cateMastSeq}">${list.cateMastNm}</form:option>
</c:forEach>
</form:select>
</td>
</tr>
<tr>
<th scope="row"><label for="atchCnt">첨부파일갯수</label></th>
<td colspan="3" class="left"><form:input path="atchCnt" maxlength="3" />개</td>
</tr>
<tr>
<th scope="row"><label for="manager">첨부파일 확장자</label></th>
<td colspan="3" class="left">
<form:textarea path="atchWhite" cssStyle="width:70%;height:50px;"/>
<input type="button" class="btn btn-success btn-sm" onclick="dwrGetBrdAtchWhiteList()" value="초기화" />
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsBrdMngVO.brdMngSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsBrdMngVO.brdMngSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,53 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsPositionDetail.jsp
* @Description : HmsPosition Detail 화면
* @Modification Information
*
* @author 최석희
* @since 2015-11-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsPosition.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="positionSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">직급명</th>
<td colspan="3" class="left">${hmsPositionVO.positionNm}</td>
</tr>
<tr>
<th scope="row">순위</th>
<td colspan="3" class="left">${hmsPositionVO.rnk}</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,76 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsPositionList.jsp
* @Description : HmsPosition List 화면
* @Modification Information
*
* @author 최석희
* @since 2015-11-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsPosition.js"></script>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="positionSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">직급명</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">직급명</th>
<th scope="col">순서</th>
<th scope="col">등록일</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="4">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td class="left"><a href="#view" onclick="return fn_egov_select('${list.positionSeq}')">${list.positionNm}</a></td>
<td>${list.rnk}</td>
<td>${list.createDate}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_USER}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,54 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : HmsPositionRegist.jsp
* @Description : HmsPosition Regist 화면
* @Modification Information
*
* @author 최석희
* @since 2015-11-27
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsPosition.js"></script>
<form:form commandName="hmsPositionVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="positionNm">직급명</label></th>
<td colspan="3" class="left"><form:input path="positionNm" /></td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="rnk">순서</label></th>
<td colspan="3" class="left"><form:input path="rnk" maxLength="4" /></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty hmsPositionVO.positionSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsPositionVO.positionSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,88 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsUserAdminDetail.jsp
* @Description : HmsUserAdmin Detail 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-15
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsUserAdmin.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="userSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_USER%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_USER%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">아이디</th>
<td class="left">${hmsUserVO.userId}</td>
<th scope="row">이름</th>
<td class="left">${hmsUserVO.userNm}</td>
</tr>
<tr>
<th scope="row">소속</th>
<td class="left">${hmsUserVO.deptNm}</td>
<th scope="row">직급</th>
<td class="left">${hmsUserVO.positionNm}</td>
</tr>
<tr>
<th scope="row">이메일</th>
<td class="left">${hmsUserVO.email}</td>
<th scope="row">전화번호</th>
<td class="left">${hmsUserVO.tel}</td>
</tr>
<tr>
<th scope="row">권한</th>
<td class="left" colspan="3">
<c:if test="${hmsUserVO.userType eq 'EMP'}">
작업자
</c:if>
<c:if test="${hmsUserVO.userType eq 'CUS'}">
공무원
</c:if>
</td>
</tr>
<tr>
<th scope="row">담당프로젝트</th>
<td class="left" colspan="3">
<c:forEach items="${prjList }" var="list">
<div>${list.prjNm }</div>
</c:forEach>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,91 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsUserAdminList.jsp
* @Description : HmsUserAdmin List 화면
* @Modification Information
*
* @author aaa
* @since 2016-08-30
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/cms/hmsUserAdmin.js"></script>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_USER%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_USER%></strong></span>
</div>
<div class="contents">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" methodParam="post" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="userSeq" />
<div class="boardHead">
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">이름</form:option>
<form:option value="2">아이디</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</div>
</form:form>
<table class="tbl_basic">
<caption>목록</caption>
<colgroup>
<col style="width:*">
<col style="width:*">
<col style="width:*">
<col style="width:*">
<col style="width:*">
<col style="width:*">
</colgroup>
<thead>
<tr>
<th scope="col">번호</th>
<th scope="col">이름(아이디)</th>
<th scope="col">전화번호</th>
<th scope="col">소속</th>
<th scope="col">등록일</th>
<th scope="col">비고</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="6">등록된 데이터가 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td><a href="#view" onclick="return fn_egov_select('${list.userSeq}')">${list.userNm} (${list.userId})</a></td>
<td>${list.tel}</td>
<td>${list.deptNm}</td>
<td><fmt:formatDate value="${list.createDate }" pattern="yyyy-MM-dd" /></td>
<td>${list.userType}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_USER}">
<span class="btn_type_blue"><a href="#" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,155 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsUserAdminRegist.jsp
* @Description : HmsUserAdmin Regist 화면
* @Modification Information
*
* @author aaa
* @since 2016-08-30
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/cms/hmsUserAdmin.js"></script>
<form:form commandName="hmsUserVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<input type="hidden" name="prjChkId" id="prjChkId"/>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_USER%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_USER%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userId">아이디</label></th>
<td class="left">
<c:if test="${empty hmsUserVO.userId}">
<form:input path="userId" /><input type="button" value="중복확인" onclick="checkUserIdDup();">
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<span>${hmsUserVO.userId }</span>
</c:if>
</td>
<th scope="row"><span class="fCred">*</span> <label for="userNm">이름</label></th>
<td class="left"><form:input path="userNm" /></td>
</tr>
<tr>
<c:if test="${empty hmsUserVO.userId}">
<th scope="row"><span class="fCred">*</span> <label for="passwd">비밀번호</label></th>
<td class="left"><form:password path="passwd" /></td>
<th scope="row"><span class="fCred">*</span> <label for="passwd1">비밀번호확인</label></th>
<td class="left"><input type="password" name="passwd1" id="passwd1" /></td>
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<th scope="row"><span class="fCred">*</span> <label for="passwd">비밀번호</label></th>
<td class="left"><form:input path="passwd" /></td>
<th scope="row"><span class="fCred">*</span> <label for="passwd1">비밀번호확인</label></th>
<td class="left"><input type="password" name="passwd1" id="passwd1" value="${hmsUserVO.passwd }"/></td>
</c:if>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="deptNm">소속</label></th>
<td class="left">
<form:select path="deptCd">
<c:forEach items="${deptAllList }" var="deptList">
<c:if test="${empty hmsUserVO.userId}">
<option value="${deptList.deptCd}">${deptList.deptNm }</option>
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<option value="${deptList.deptCd}" <c:if test="${hmsUserVO.deptCd eq deptList.deptCd}"> selected="selected" </c:if>>${deptList.deptNm }</option>
</c:if>
</c:forEach>
</form:select>
</td>
<th scope="row"><label for="positionNm">직급</label></th>
<td class="left"><form:input path="positionNm" /></td>
</tr>
<tr>
<th scope="row"><label for="email">이메일</label></th>
<td class="left"><form:input path="email" /></td>
<th scope="row"><span class="fCred">*</span><label for="tel">전화번호</label></th>
<td class="left">
<form:input path="tel" /><br/>
<span class="fCred">* 업무시 문자 연락가니 정확히 입력해주세요.</span>
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userType">유저권한</label></th>
<td colspan="3" class="left">
<script>
$(function (){
var radioChk = "${hmsUserVO.userType}";
if(radioChk == ''){
$("input:radio[id='EMP']").attr("checked", true);
}else{
$("#"+radioChk).attr("checked", true);
}
});
</script>
<input TYPE='radio' id='EMP' name='group1' value='EMP'/>
<label for='EMP'>작업자</label>
<input TYPE='radio' id='CUS' name='group1' value='CUS' />
<label for='CUS'>공무원</label>
</td>
</tr>
</tbody>
</table>
<div>
<h3>담당 프로젝트</h3>
<input type="checkbox" id="allChk" onclick="allCheck()">전체선택
<c:forEach items="${prjList }" var="prjList" >
<div>
<input type="checkbox" name="prjChk" id="${prjList.prjSeq }">${prjList.prjNm }
</div>
</c:forEach>
</div>
<div class="mt10 tR">
<c:if test="${empty hmsUserVO.userId}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>
<script type="text/javascript">
if("${prjId}" != ''){
var prjId = "${prjId}";
var prjSplit = prjId.split(",");
for (var i = 0; i < prjSplit.length; i++) {
$("input:checkbox[id="+prjSplit[i]+"]").prop("checked",true);
}
}
function allCheck(){
if($("input:checkbox[id='allChk']").prop("checked")){
$("input:checkbox[name='prjChk']").prop("checked",true);
}else{
$("input:checkbox[name='prjChk']").prop("checked",false);
}
}
</script>

View File

@@ -0,0 +1,107 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : EgovFileList.jsp
* @Description : 파일 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ---------- ------ ---------------------------
* @ 2009.03.26 이삼섭 최초 생성
* @ 2011.07.20 옥찬우 <Input> Tag id속성 추가( Line : 68 )
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.26
* @version 1.0
* @see
*
*/
%>
<script type="text/javascript">
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
return false;
}
function fn_egov_deleteFile(atchFileId, fileSn) {
forms = document.getElementsByTagName("form");
for (var i = 0; i < forms.length; i++) {
if (typeof(forms[i].atchFileId) != "undefined" &&
typeof(forms[i].fileSn) != "undefined" &&
typeof(forms[i].fileListCnt) != "undefined") {
form = forms[i];
}
}
//form = document.forms[0];
form.atchFileId.value = atchFileId;
form.fileSn.value = fileSn;
form.action = "<c:url value='/common/fms/deleteFileInfs.do'/>";
form.submit();
}
function fn_egov_check_file(flag) {
if (flag=="Y") {
document.getElementById('file_upload_posbl').style.display = "block";
document.getElementById('file_upload_imposbl').style.display = "none";
} else {
document.getElementById('file_upload_posbl').style.display = "none";
document.getElementById('file_upload_imposbl').style.display = "block";
}
}
</script>
<input type="hidden" name="fileSn" >
<input type="hidden" name="fileListCnt" id="fileListCnt" value="${fileListCnt}">
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<c:choose>
<c:when test="${updateFlag=='Y'}"><c:if test="${!status.first}"><br /></c:if>
<img src="/images/admin/board/icon_file.png" alt="" />
<a href="#" onclick="return fn_egov_downFile('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>');">
${fileVO.orignlFileNm}
<c:if test="${fileVO.fileMg > 0}">
<c:choose>
<c:when test="${fileVO.fileMg < 1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg}"/>byte]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / 1024}"/>KB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024)}"/>MB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024*1024)}"/>GB]
</c:when>
</c:choose>
</c:if>
</a>
(삭제 <input type="checkbox" name="delCheck" value="${fileVO.atchFileId }|${fileVO.fileSn}" />)
</c:when>
<c:otherwise><c:if test="${!status.first}"><br /></c:if>
<img src="/images/admin/board/icon_file.png" alt="" />
<a href="#down" onclick="return fn_egov_downFile('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
<c:out value="${fileVO.orignlFileNm}"/>
<c:if test="${fileVO.fileMg > 0}">
<c:choose>
<c:when test="${fileVO.fileMg < 1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg}"/>byte]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / 1024}"/>KB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024)}"/>MB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024*1024)}"/>GB]
</c:when>
</c:choose>
</c:if>
</a>
</c:otherwise>
</c:choose>
</c:forEach>

View File

@@ -0,0 +1,142 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : EgovFileList.jsp
* @Description : 파일 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ---------- ------ ---------------------------
* @ 2009.03.26 이삼섭 최초 생성
* @ 2011.07.20 옥찬우 <Input> Tag id속성 추가( Line : 68 )
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.26
* @version 1.0
* @see
*
*/
%>
<%
String browser = request.getHeader("User-Agent").toLowerCase();
System.out.println(browser);
out.println("<br>");
if ( browser != null && browser.indexOf("MSIE") != -1) {
out.println("MSIE 입니다.");
}
if( browser != null && browser.indexOf("Firefox/") != -1 ){
out.println("Firefox 입니다.");
}
%>
<script type="text/javascript">
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
}
function fn_egov_deleteFile(atchFileId, fileSn) {
forms = document.getElementsByTagName("form");
for (var i = 0; i < forms.length; i++) {
if (typeof(forms[i].atchFileId) != "undefined" &&
typeof(forms[i].fileSn) != "undefined" &&
typeof(forms[i].fileListCnt) != "undefined") {
form = forms[i];
}
}
//form = document.forms[0];
form.atchFileId.value = atchFileId;
form.fileSn.value = fileSn;
form.action = "<c:url value='/common/fms/deleteFileInfs.do'/>";
form.submit();
}
function fn_egov_check_file(flag) {
if (flag=="Y") {
document.getElementById('file_upload_posbl').style.display = "block";
document.getElementById('file_upload_imposbl').style.display = "none";
} else {
document.getElementById('file_upload_posbl').style.display = "none";
document.getElementById('file_upload_imposbl').style.display = "block";
}
}
function iview(filename, filepath, ext) {
var useragent = '<%= browser %>'
if(useragent.indexOf("iphone") > -1 || useragent.indexOf("ipod") > -1 || useragent.indexOf("ipad") > -1){
var tempFilePath = "";
var tempFilePathSn = "";
if(filepath.indexOf("&") > -1){
tempFilePath = filepath.split("&")[0];
tempFilePathSn = filepath.split("&")[1];
}
window.location="myschema://openViewer://"+filename+"://"+tempFilePath+"://"+tempFilePathSn+"://"+ext;
}else{
MainActivity.viewImage(filename, filepath, ext);
}
return false;
}
</script>
<input type="hidden" name="fileSn" >
<input type="hidden" name="fileListCnt" id="fileListCnt" value="${fileListCnt}">
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<c:choose>
<c:when test="${updateFlag=='Y'}">
<li><img src="/images/admin/board/icon_file.png" alt="" />
<a href="#" onclick="fn_egov_downFile('${fileVO.atchFileId}','${fileVO.fileSn}'); return false;">
${fileVO.orignlFileNm}
<c:if test="${fileVO.fileMg > 0}">
<c:choose>
<c:when test="${fileVO.fileMg < 1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg}"/>byte]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / 1024}"/>KB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024)}"/>MB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024*1024)}"/>GB]
</c:when>
</c:choose>
</c:if>
</a></li>
(삭제 <input type="checkbox" name="delcheck" value="${fileVO.atchFileId }|${fileVO.fileSn}" />)
</c:when>
<c:otherwise>
<li>
<c:if test="${checkUser == 'Y' }">
<%-- <a href="#view" onclick="return iview('${fn:replace(fileVO.orignlFileNm, '\'', '')}', '/cmm/fms/FileDown.do?atchFileId=${fileVO.atchFileId}&fileSn=${fileVO.fileSn}', '${fileVO.fileExtsn}');"> --%>
</c:if>
<c:if test="${checkUser != 'Y' }"><a href="#download" onclick="fn_egov_downFile('${fileVO.atchFileId}','${fileVO.fileSn}');"></c:if>
<c:out value="${fileVO.orignlFileNm}"/>
<c:if test="${fileVO.fileMg > 0}">
<c:choose>
<c:when test="${fileVO.fileMg < 1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg}"/>byte]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / 1024}"/>KB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024)}"/>MB]
</c:when>
<c:when test="${fileVO.fileMg < 1024*1024*1024*1024}">
&nbsp;[<fmt:formatNumber maxFractionDigits="1" value="${fileVO.fileMg / (1024*1024*1024)}"/>GB]
</c:when>
</c:choose>
</c:if>
<!-- </a> -->
<c:set var="userAgent" value="<%=request.getHeader(\"user-Agent\")%>" />
<c:if test="${fn:containsIgnoreCase(userAgent, 'android') }">
<c:if test="${checkUser == 'Y' }"><a href="#download" onclick="fn_egov_downFile('${fileVO.atchFileId}','${fileVO.fileSn}');" class="btn_search_lightgray_a04">내려받기</a></c:if>
</c:if>
</li>
</c:otherwise>
</c:choose>
</c:forEach>

View File

@@ -0,0 +1,29 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovImgFileList.jsp
* @Description : 이미지 파일 조회화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.31 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.31
* @version 1.0
* @see
*
*/
%>
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<c:if test="${empty width}">
<div><img src="/cmm/fms/getImage.do?atchFileId=${fileVO.atchFileId}&fileSn=${fileVO.fileSn}" alt="image" style="width:100%" /></div>
</c:if><c:if test="${!empty width}">
<div><img src="/cmm/fms/getImage.do?atchFileId=${fileVO.atchFileId}&fileSn=${fileVO.fileSn}" alt="image" style="width:${width};" /></div>
</c:if>
</c:forEach>

View File

@@ -0,0 +1,25 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovImgFileList.jsp
* @Description : 이미지 파일 조회화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.31 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.31
* @version 1.0
* @see
*
*/
%>
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<div><img src="/cmm/fms/getImage.do?atchFileId=${fileVO.atchFileId}&fileSn=${fileVO.fileSn}" alt="image" width="100%"/></div>
</c:forEach>

View File

@@ -0,0 +1,169 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><link rel="stylesheet" href="${pageContext.request.contextPath}/css/common/jstree/themes/default/style.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin/font.css" />
<script src="${pageContext.request.contextPath}/js/common/jstree/jstree.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/select.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/dmsPlace.js"></script>
<style type="text/css">
.personOnSelect { font-weight: bold;}
.personOnSelectLi { background: #beebff;}
</style>
<div id="pop_title"><h3>부서 및 담당자 선택</h3></div>
<form id="editForm">
<input type="hidden" name="multiple" id="multiple" value="${param.isMultiple}" />
<div class="table_wrap_02">
<div id="per_thr_div">
<div class="left_box">
<h4 class="mb10">부서</h4>
<div class="left">
<div class="search">
</div>
<div class="selectbox_02">
<div id="jstree_demo">
<ul>
<li data-jstree="{ 'opened' : true }">Root node 1
<ul>
<li data-jstree='{ "selected" : true }'>Child node 1</li>
<li><a href="#">Child node 2</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="right" style="width:45%;">
<h4 class="mb10">담당자</h4>
<div>
<table class="pop_table">
<thead>
<tr>
<th>번호</th>
<th>부서</th>
<th>이름</th>
<th>연락처</th>
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
</div>
<div style="text-align:right;padding-left:10px;color:blue;font-size:10pt;">* 담당자를 선택할 경우 SMS가 함께 발송됩니다.</div>
</div>
</form>
<div class="mb10 clear tC">
<span class="btn_type_blue"><a href="#apply" onclick="return selectDept();">확인</a></span>
<span class="btn_type_gray"><a href="#close" onclick="window.close();return false;">창닫기</a></span>
</div>
<script type="text/javascript">
///initSelectArea('${param.openType}');
$(function () {
var data = ${orgData};
$('#jstree_demo').jstree({
"core" : {
"multiple" : false,
"animation" : 0,
"check_callback" : true,
"themes" : { "stripes" : true },
'data' : data
},
"checkbox" : {
"keep_selected_style" : false,
"undetermined" : true
},
"types" : {
"#" : {
"max_children" : 1,
"max_depth" : 4,
"valid_children" : ["root"]
},
"root" : {
// "icon" : "/images/cn_logo.png",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "glyphicon glyphicon-file",
"valid_children" : []
}
},
"plugins" : [
"state", "types", "wholerow", "search"
//, "checkbox"
//"types", "wholerow"
]
});
});
$('#jstree_demo').on("changed.jstree", function (e, data) {
var node = data.instance.get_node(data.selected[0]);
if(node.a_attr != undefined) {
selectedOrgId = node.id;
selectedOrgNm = node.a_attr.name;
selectedOrgNmFull = node.a_attr.name;
DwrCommonService.dwrUserListByDeptCd(node.id, function(result) {
var src = '';
for(var i=0; i<result.length; i++) {
var tel = result[i].tel ? result[i].tel : '';
src += '<tr><td>'+(i+1)+'</td><td>'+result[i].deptNm+'</td><td><a href="#choose" onclick="return insertSelectedIndex(\''+result[i].userId+'\', \''+result[i].userNm+'\', \''+result[i].deptCd+'\', \''+result[i].deptNm+'\', \''+result[i].mobile+'\');">'+result[i].userNm+'</a></td><td style="text-align:left">'+tel+'</td></tr>';
}
$('#tbody').html(src);
});
} else {
selectedOrgId = '';
selectedOrgNm = '';
selectedOrgNmFull = '';
}
});
/** 추가하기 */
function insertSelectedIndex(userId, userNm, deptCd, deptNm, mobile) {
window.opener.selectDeptAndUser(userId, userNm, deptCd, deptNm, mobile);
window.close();
return false;
}
/** 삭제하기 */
function deleteSelectedIndex() {
var sel = $('#selectList')[0];
DelOption('selectList', sel.selectedIndex);
}
/** 적용하기 */
function selectDept() {
if(selectedOrgId == '') {
alert('부서를 선택하세요.');
return false;
}
window.opener.selectDeptAndUser('', '', selectedOrgId, selectedOrgNm, '');
window.close();
return false;
}
function multipleCheck(userId) {
var sel = $('#selectList')[0];
for(var i=0; i<sel.options.length; i++) {
if(sel.options[i].value == userId) {
return true;
}
}
return false;
}
</script>

View File

@@ -0,0 +1,158 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><link rel="stylesheet" href="${pageContext.request.contextPath}/css/common/jstree/themes/default/style.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin/font.css" />
<script src="${pageContext.request.contextPath}/js/common/jstree/jstree.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/select.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/dmsPlace.js"></script>
<style type="text/css">
.personOnSelect { font-weight: bold;}
.personOnSelectLi { background: #beebff;}
</style>
<div id="pop_title"><h3>부서선택</h3></div>
<form id="editForm">
<input type="hidden" name="multiple" id="multiple" value="${param.isMultiple}" />
<div class="table_wrap_02">
<div id="per_thr_div">
<div class="left_box">
<div class="left">
<div class="search">
</div>
<div class="selectbox_02">
<div id="jstree_demo">
<ul>
<li data-jstree="{ 'opened' : true }">Root node 1
<ul>
<li data-jstree='{ "selected" : true }'>Child node 1</li>
<li><a href="#">Child node 2</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="right" style="width:45%;">
<select name="selectList" id="selectList" style="width:100%; height:382px;" multiple="multiple" size="10" ondblclick="deleteSelectedIndex();"></select>
</div>
</div>
</div>
</form>
<div class="mb10 clear tC">
<span class="btn_type_blue"><a href="#apply" onclick="return selectDept();">적용</a></span>
<span class="btn_type_gray"><a href="#close" onclick="window.close();return false;">창닫기</a></span>
</div>
<script type="text/javascript">
///initSelectArea('${param.openType}');
$(function () {
var data = ${orgData};
$('#jstree_demo').jstree({
"core" : {
"multiple" : false,
"animation" : 0,
"check_callback" : true,
"themes" : { "stripes" : true },
'data' : data
},
"checkbox" : {
"keep_selected_style" : false,
"undetermined" : true
},
"types" : {
"#" : {
"max_children" : 1,
"max_depth" : 4,
"valid_children" : ["root"]
},
"root" : {
// "icon" : "/images/cn_logo.png",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "glyphicon glyphicon-file",
"valid_children" : []
}
},
"plugins" : [
"state", "types", "wholerow", "search"
//, "checkbox"
//"types", "wholerow"
]
});
});
$('#jstree_demo').on("changed.jstree", function (e, data) {
var node = data.instance.get_node(data.selected[0]);
if(node.a_attr != undefined) {
selectedOrgId = node.id;
selectedOrgNm = node.a_attr.name;
selectedOrgNmFull = node.a_attr.name;
insertSelectedIndex(selectedOrgId, selectedOrgNm);
} else {
selectedOrgId = '';
selectedOrgNm = '';
selectedOrgNmFull = '';
}
});
/** 추가하기 */
function insertSelectedIndex(userId, userNm) {
var multiple = $('#multiple').val();
var sel = $('#selectList')[0];
if(multiple == 'true') {
if(!multipleCheck(userId)) {
sel.options[sel.options.length] = new Option(userNm, userId);
}
} else {
sel.options[0] = new Option(userNm, userId);
}
return false;
}
/** 삭제하기 */
function deleteSelectedIndex() {
var sel = $('#selectList')[0];
DelOption('selectList', sel.selectedIndex);
}
/** 적용하기 */
function selectDept() {
var sel = $('#selectList')[0];
var v = '';
var t = '';
for(var i=0; i<sel.options.length; i++) {
if(i != 0) {
v += ',';
t += ',';
}
v += sel.options[i].value;
t += sel.options[i].text;
}
window.opener.selectDept(v, t);
window.close();
return false;
}
function multipleCheck(userId) {
var sel = $('#selectList')[0];
for(var i=0; i<sel.options.length; i++) {
if(sel.options[i].value == userId) {
return true;
}
}
return false;
}
</script>

View File

@@ -0,0 +1,170 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%>
<div id="pop_title">
<h3>직원검색</h3>
</div>
<div class="table_wrap_02">
<div><span class="fCorange">※</span> 왼쪽 트리에서 탐색하거나, 부서명,직원명 을 입력하여 지역를 찾아 선택하고 [확인]을 클릭 합니다.</div>
<div id="per_thr_div" class="mt20">
<div class="left_box">
<h4 class="mb10">조직도</h4>
<div class="left">
<div class="search">
<form id="searchform" method="post" action="" onsubmit="return deptUserTreeSearch();">
<select class="fleft st01" id="searchOpt" title="검색어선택">
<option value="dept" selected="selected">부서명</option>
<option value="name">직원명</option>
</select>
<input type="text" style="width:40%;" class="fleft" name="keyword" id="keyword" />
<a class="btn_search_blue" href="#search" onclick="return deptUserTreeSearch();">검색</a>
<a class="btn_search_lightgray" href="#search" onclick="return deptUserTreeSearchInit();">초기화</a>
</form>
</div>
<div class="selectbox_02 mt15">
<div id="jstree_demo">
<ul>
<li data-jstree="{ 'opened' : true }">Root node 1
<ul>
<li data-jstree='{ "selected" : true }' >Child node 1</li>
<li><a href="#">Child node 2</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<div class="center2"><img src="/images/admin/pop_btn_right.gif" alt="오른쪽이동"></div>
<div class="right2">
<h4 class="mb10">직원정보</h4>
<div>
<ul id="deptPerson" class="popsecp01"></ul>
</div>
<select id="selectPlace" name="selectPlace" class="ms01" size="16" style="display:none;"></select>
</div>
</div>
</div>
<div class="clear tC mb10">
<span class="btn_type_blue"><a href="#setOrgInfo" onclick="return selectUserInfo();">선택확인</a></span>&nbsp;&nbsp;<span class="btn_type_gray"><a href="#close" onclick="window.close();return false;">창닫기</a></span>
</div>
<script type="text/javascript">
///initSelectArea('${param.openType}');
$(function () {
var data = ${orgData};
$('#jstree_demo').jstree({
"core" : {
"multiple" : false,
"animation" : 0,
"check_callback" : true,
"themes" : { "stripes" : true },
'data' : data
},
"checkbox" : {
"keep_selected_style" : false,
"undetermined" : true
},
"types" : {
"#" : {
"max_children" : 1,
"max_depth" : 4,
"valid_children" : ["root"]
},
"root" : {
// "icon" : "/images/cn_logo.png",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "glyphicon glyphicon-file",
"valid_children" : []
}
},
"plugins" : [
"state", "types", "wholerow", "search"
//, "checkbox"
//"types", "wholerow"
]
});
});
$('#jstree_demo').on("changed.jstree", function (e, data) {
var node = data.instance.get_node(data.selected[0]);
if(node.a_attr != undefined) {
selectedOrgId = node.id;
selectedOrgNm = node.a_attr.name;
selectedOrgNmFull = node.a_attr.name;
//var aa = $('#jstree_demo').jstree('get_checked');
//console.log(aa);
} else {
selectedOrgId = '';
selectedOrgNm = '';
selectedOrgNmFull = '';
//var aa = $('#jstree_demo').jstree('get_checked');
//alert(aa.id);
}
});
$("#jstree_demo").bind("select_node.jstree", function(evt, data){
// selected node object: data.inst.get_json()[0];
// selected node text: data.inst.get_json()[0].data
var ndata = data.instance.get_node(data.selected[0]);
var detpSeq = ndata.id;
$.ajax(
{
url : G_CONTEXT_PATH + "/popup/hmsDept/hmsUserFindIndexajax.do",
type : "post",
dataType: 'json',
data : { "deptSeq" : detpSeq },
success : function(result) {
// document.location.href="${pageContext.request.contextPath}/sys/pubcDataMng/dataSet/view.do?seq=${result.seq}&mId=${curMid}";
settingresult(result);
} ,error: function(xhr,status, error){
alert("에러발생");
}
}
);
}
);
//조직도의 부서 선택시 해당되는 사용자 오른쪽에 append
function settingresult(result){
$("#deptPerson").empty();
var html = ""
$.each(result, function(){
html += "<li id='"+this.managerId+"' onclick=addStaffInsert('"+this.managerId+"');><span style='display:none;'>"+this.managerDeptCd+"</span><span>"+ this.managerNm +"</span> <span>("+this.managerDeptNm+"</span>,<span>☎"+ this.managerTel+")</span></li>";
//<span>"+this.managerDeptCd+"</span><span>"+this.managerDeptNm +"</span>,<span>"+ this.managerNm +"</span>,<span>"+ this.managerTel+"</span> 부서코드, 부서명, 이름, 연락처
// alert("managerId : "+ this.managerId +" , managerIdNm : " +this.managerNm + " , managerTel : " + this.managerTel )
});
$("#deptPerson").append(html);
}
//유저 선택시 값 셋팅
function addStaffInsert(seq){
$('#deptPerson li').attr("class", "checkednone");
$("#deptPerson #"+seq).attr("class", "checked");
managerId = seq;
managerTel = $("#deptPerson #"+seq+" span:last-child").text().substring(1,$("#deptPerson #"+seq+" span:last-child").text().length-1);
managerDeptCd = $("#deptPerson #"+seq+" span:eq(0)").text();
managerDeptNm = $("#deptPerson #"+seq+" span:eq(2)").text().substring(1,$("#deptPerson #"+seq+" span:eq(2)").text().length);
managerNm = $("#deptPerson #"+seq+" span:eq(1)").text();
return false;
}
</script>

View File

@@ -0,0 +1,231 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><link rel="stylesheet" href="${pageContext.request.contextPath}/css/common/jstree/themes/default/style.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin/font.css" />
<script src="${pageContext.request.contextPath}/js/common/jstree/jstree.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/select.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/dmsPlace.js"></script>
<style type="text/css">
.personOnSelect { font-weight: bold;}
.personOnSelectLi { background: #beebff;}
</style>
<div id="pop_title"><h3>직원검색</h3></div>
<form id="searchform">
<input type="hidden" name="multiple" id="multiple" value="${param.isMultiple}" />
</form>
<div class="table_wrap_02">
<div id="per_thr_div_01">
<div class="left_box">
<h4 class="mb10">사용자 검색</h4>
<div class="left">
<div class="selectbox_02">
<div id="jstree_demo">
<ul>
<li data-jstree="{ 'opened' : true }">Root node 1
<ul>
<li data-jstree='{ "selected" : true }'>Child node 1</li>
<li><a href="#">Child node 2</a></li>
</ul>
</li>
</ul>
</div>
</div>
</div>
</div>
<!--
<div class="center">
<a href="#right" onclick="return addPlaceInfo('${param.openType}', '${param.multiple}');"><img src="/images/admin/pop_btn_right.gif" alt="오른쪽이동" /></a>
<br /><a href="#left" onclick="return removeOrgInfoArray('${param.openType}');"><img src="/images/admin/pop_btn_left.gif" alt="왼쪽이동" class="mt10" /></a>
</div>
-->
<div class="right" style="margin-left:10px;">
<form id="searchform" method="post" action="" onsubmit="return placeTreeSearch();">
<input type="text" style="width:40%;" class="fleft" name="keyword" id="keyword" value="" placeholder="사용자명 검색" onkeydown="if(event.keyCode==13) { searchUser(); return false; }"/>
<a class="btn_search_blue" href="#search" onclick="return searchUser();" >검색</a>
</form>
<h4 class="mb10">선택한 사용자</h4>
<div>
<table class="pop_table">
<thead>
<tr>
<th>번호</th>
<th>기관명</th>
<th>이름</th>
<th>연락처</th>
</tr>
</thead>
<tbody id="tbody">
</tbody>
</table>
</div>
</div>
<div class="right_01">
<!--
<div class="right_01_01">선택한 사용자 이름이 나옵니다.</div>
-->
<select name="selectList" id="selectList" style="width:100%; height:382px;" multiple="multiple" size="10" ondblclick="deleteSelectedIndex();"></select>
</div>
</div>
</div>
<div class="mt10 clear tC mb10">
<span class="btn_type_blue"><a href="#apply" onclick="return selectUser();">선택</a></span>
<span class="btn_type_gray"><a href="#close" onclick="window.close();return false;">창닫기</a></span>
</div>
<script type="text/javascript">
///initSelectArea('${param.openType}');
$(function () {
var data = ${orgData};
$('#jstree_demo').jstree({
"core" : {
"multiple" : false,
"animation" : 0,
"check_callback" : true,
"themes" : { "stripes" : true },
'data' : data
},
"checkbox" : {
"keep_selected_style" : false,
"undetermined" : true
},
"types" : {
"#" : {
"max_children" : 1,
"max_depth" : 4,
"valid_children" : ["root"]
},
"root" : {
// "icon" : "/images/cn_logo.png",
"valid_children" : ["default"]
},
"default" : {
"valid_children" : ["default","file"]
},
"file" : {
"icon" : "glyphicon glyphicon-file",
"valid_children" : []
}
},
"plugins" : [
"state", "types", "wholerow", "search"
//, "checkbox"
//"types", "wholerow"
]
});
});
$('#jstree_demo').on("changed.jstree", function (e, data) {
var node = data.instance.get_node(data.selected[0]);
if(node.a_attr != undefined) {
selectedOrgId = node.id;
selectedOrgNm = node.a_attr.name;
selectedOrgNmFull = node.a_attr.name;
DwrCommonService.dwrOfficeUserListByDeptCd(node.id,'clickOrgCode', function(result) {
var src = '';
for(var i=0; i<result.length; i++) {
var tel = result[i].tel ? result[i].tel : '';
var deptnm = result[i].deptNm;
if(deptnm == null){
deptnm="";
}
src += '<tr><td>'+(i+1)+'</td><td>'+result[i].orgNm+'>'+result[i].orgDeptNm+'>'+deptnm+'</td><td><a href="#choose" onclick="return insertSelectedIndex(\''+result[i].memberSeq+'\', \''+result[i].memberNm+'\', \''+deptnm+'\', \''+result[i].orgDeptNm+'\');">'+result[i].memberNm+'</a></td><td style="text-align:left">'+result[i].mobile+'</td></tr>';
}
$('#tbody').html(src);
});
} else {
selectedOrgId = '';
selectedOrgNm = '';
selectedOrgNmFull = '';
}
});
/** 추가하기 */
function insertSelectedIndex(userId, userNm, deptNm, orgDeptNm) {
var multiple = $('#multiple').val();
var sel = $('#selectList')[0];
if(multiple == 'true') {
if(!multipleCheck(userId)) {
sel.options[sel.options.length] = new Option(userNm +' '+'('+orgDeptNm+')'+ deptNm, userId);
}
} else {
sel.options[0] = new Option(userNm +' '+'('+orgDeptNm+')'+ deptNm, userId);
}
return false;
}
/** 삭제하기 */
function deleteSelectedIndex() {
var sel = $('#selectList')[0];
DelOption('selectList', sel.selectedIndex);
}
/** 적용하기 */
function selectUser() {
var sel = $('#selectList')[0];
var v = '';
var t = '';
var v2 = '';
var t2 = '';
for(var i=0; i<sel.options.length; i++) {
if(i != 0) {
v += ',';
t += ',';
v2 += ',';
t2 += ',';
}
var item1 = sel.options[i].value.split(',');
var item2 = sel.options[i].text.split(' ');
v += item1[0];
t += item2[0];
}
window.opener.selectUser(v, t);
window.close();
return false;
}
function multipleCheck(userId) {
var sel = $('#selectList')[0];
for(var i=0; i<sel.options.length; i++) {
if(sel.options[i].value == userId) {
return true;
}
}
return false;
}
function searchUser(){
var searchKeyword = document.getElementById("keyword").value;
if(searchKeyword == ''){
alert("검색어를 입력해 주세요");
}
DwrCommonService.dwrOfficeUserListByDeptCd(searchKeyword,'clickSearchButton', function(result) {
var src = '';
for(var i=0; i<result.length; i++) {
var tel = result[i].tel ? result[i].tel : '';
var deptnm = result[i].deptNm;
if(deptnm == null){
deptnm="";
}
src += '<tr><td>'+(i+1)+'</td><td>'+result[i].orgNm+'>'+result[i].orgDeptNm+'>'+deptnm+'</td><td><a href="#choose" onclick="return insertSelectedIndex(\''+result[i].memberSeq+'\', \''+result[i].memberNm+'\', \''+deptnm+'\', \''+result[i].orgDeptNm+'\');">'+result[i].memberNm+'</a></td><td style="text-align:left">'+result[i].mobile+'</td></tr>';
}
$('#tbody').html(src);
});
}
</script>

View File

@@ -0,0 +1,131 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><link rel="stylesheet" href="${pageContext.request.contextPath}/css/common/jstree/themes/default/style.min.css" />
<link rel="stylesheet" href="${pageContext.request.contextPath}/css/admin/font.css" />
<script src="${pageContext.request.contextPath}/js/common/jstree/jstree.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/select.js"></script>
<script type="text/javascript" src="${pageContext.request.contextPath}/js/common/dmsPlace.js"></script>
<style type="text/css">
.personOnSelect { font-weight: bold;}
.personOnSelectLi { background: #beebff;}
</style>
<div id="pop_title"><h3>직원검색</h3></div>
<form id="searchform">
<input type="hidden" name="multiple" id="multiple" value="${param.multiple}" />
<input type="hidden" name="openType" id="openType" value="${param.openType}" />
<input type="hidden" name="searchMode" id="searchMode" value="${param.searchMode}" />
</form>
<div class="table_wrap_02">
<div id="per_thr_div_02">
<div class="right" style="margin-left:10px;">
<h4 class="mb10">선택한 사용자</h4>
<div>
<table class="pop_table">
<thead>
<tr>
<th>번호</th>
<th>부서</th>
<th>이름</th>
<th>연락처</th>
</tr>
</thead>
<tbody id="tbody">
<c:if test="${!empty resultList }">
<c:forEach items="${resultList }" var="list" varStatus="status">
<tr>
<td>${resultList.size() - status.index}</td>
<td>${list.deptNm }</td>
<td><a href="#choose" onclick="return insertSelectedIndex('${list.userId}', '${list.userNm }', '${list.deptCd }', '${list.deptNm }', '${list.tel }')">${list.userNm }</a></td>
<td>${list.tel }</td>
</tr>
</c:forEach>
</c:if>
</tbody>
</table>
</div>
</div>
<div class="right_01">
<select name="selectList" id="selectList" style="width:100%; height:382px;" multiple="multiple" size="10" ondblclick="deleteSelectedIndex();"></select>
</div>
</div>
</div>
<div class="mt10 clear tC mb10">
<span class="fCred">* 중복 등록자는 자동으로 제외됩니다.</span><br/>
<span class="btn_type_blue"><a href="#apply" onclick="return selectUser();">선택</a></span>
<span class="btn_type_gray"><a href="#close" onclick="window.close();return false;">창닫기</a></span>
</div>
<script type="text/javascript">
/** 추가하기 */
function insertSelectedIndex(userId, userNm, deptCd, deptNm , tel) {
var multiple = $('#multiple').val();
var sel = $('#selectList')[0];
if(multiple == 'true') {
if(!multipleCheck(userId)) {
sel.options[sel.options.length] = new Option(userNm +' '+deptNm, userId+','+deptCd+','+tel);
}
} else {
sel.options[0] = new Option(userNm +' '+deptNm, userId+','+deptCd+','+tel);
}
return false;
}
/** 삭제하기 */
function deleteSelectedIndex() {
var sel = $('#selectList')[0];
DelOption('selectList', sel.selectedIndex);
}
/** 적용하기 */
function selectUser() {
var sel = $('#selectList')[0];
var openType = $('#openType').val();
var v = '';
var t = '';
var v2 = '';
var t2 = '';
var tel = '';
// 문서 담당자 변경
if(openType == 'doc_admin') {
if(sel.options.length == 0) {
alert('담당자를 선택하세요.');
return false;
}
}
for(var i=0; i<sel.options.length; i++) {
if(i != 0) {
v += ',';
t += ',';
v2 += ',';
t2 += ',';
tel += ',';
}
var item1 = sel.options[i].value.split(',');
var item2 = sel.options[i].text.split(' ');
v += item1[0];
t += item2[0];
v2 += item1[1];
t2 += item2[1];
tel += item1[2];
}
window.opener.selectUser(v, t, v2, t2, tel, $("#searchMode").val());
window.close();
return false;
}
function multipleCheck(userId) {
var sel = $('#selectList')[0];
for(var i=0; i<sel.options.length; i++) {
//비교아이디
var guserId = sel.options[i].value.split(",");
if(guserId[0] == userId) {
return true;
}
}
return false;
}
</script>

View File

@@ -0,0 +1,79 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : DmsDtbDetail.jsp
* @Description : DmsDtb Detail 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-19
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsDtb.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="dtbSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_DTB%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_DTB%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">제목</th>
<td colspan="3" class="left">${dmsDtbVO.title}</td>
</tr>
<tr>
<th scope="row">작성자</th>
<td class="left">${dmsDtbVO.userNm}</td>
<th scope="row">등록일</th>
<td class="left">${dmsDtbVO.createDate}</td>
</tr>
<tr>
<th scope="row">연락처</th>
<td class="left">${dmsDtbVO.tel}</td>
<th scope="row">이메일</th>
<td class="left">${dmsDtbVO.email}</td>
</tr>
<tr>
<th scope="row">첨부파일</th>
<td colspan="3" class="left">
<c:import url="/common/fms/selectFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${dmsDtbVO.atchFileId}" />
</c:import>
</td>
</tr>
<tr>
<th scope="row">내용</th>
<td colspan="3" class="left"><edosiFmt:formatHtml value="${dmsDtbVO.contents}"/></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${checkWriteAuth}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>

View File

@@ -0,0 +1,94 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : DmsDtbList.jsp
* @Description : DmsDtb List 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-19
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsDtb.js"></script>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_DTB%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_DTB%></strong></span>
</div>
<div class="contents">
<div class="boardHead">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" cssClass="form-inline" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="dtbSeq" />
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">제목</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</form:form>
</div>
<table class="tbl_basic" summary="">
<caption></caption>
<thead>
<tr>
<th>번호</th>
<th>제목</th>
<th>작성자</th>
<th>첨부</th>
<th>등록일</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="5" class="text-center">조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:if test="${empty resultList && !empty searchVO.searchKeyword}">
<tr>
<td colspan="5" class="text-center"><mark>'${searchVO.searchKeyword }'</mark>으로 조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td>
<a href="#view" onclick="return fn_egov_select('${list.dtbSeq}')">${list.title}</a>
</td>
<td>${list.userNm }</td>
<td>
<c:if test="${empty list.atchFileId }">
</c:if>
<c:if test="${!empty list.atchFileId }">
<img src="/images/admin/cf_tit_ic.png">
</c:if>
</td>
<td>${list.createDate}</td>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_addView();">등록</a></span>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>

View File

@@ -0,0 +1,99 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : DmsDtbRegist.jsp
* @Description : DmsDtb Regist 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-19
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsDtb.js"></script>
<script type="text/javascript" src="/js/common/EgovMultiFile.js"></script>
<form:form commandName="dmsDtbVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<form:hidden path="prjSeq" value="${prjSeq }" />
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_DTB%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_DTB%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="title">제목</label></th>
<td colspan="3" class="left"><form:input path="title" title="제목" cssStyle="width:85%;" /></td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userNm">작성자</label></th>
<td class="left" colspan="3">
<input type="text" name="userNm" value="${loginVO.name }" readonly="readonly" style="width:85%;">
<input type="hidden" name="userId" value="${loginVO.id }">
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="tel">연락처</label></th>
<td class="left">
<input type="text" name="tel" value="${loginVO.tel }" readonly="readonly" style="width:85%;">
</td>
<th scope="row"><span class="fCred">*</span> <label for="email">이메일</label></th>
<td class="left">
<input type="text" name="email" value="${loginVO.email }" readonly="readonly" style="width:85%;">
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userNm">첨부파일</label></th>
<td colspan="3" class="left">
<div><input name="file_" id="egovComFileUploader" type="file" /></div>
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${dmsDtbVO.atchFileId }"/>
</c:import>
<div id="egovComFileList"></div>
</td>
</tr>
<tr>
<th scope="row"><label for="userNm">내용</label></th>
<td colspan="3" class="left">
<form:textarea path="contents" cssStyle="width:99%" rows="10" />
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty dmsDtbVO.dtbSeq}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<c:if test="${!empty dmsDtbVO.dtbSeq}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>
<script type="text/javascript">
$(function(){
//첨부파일
var maxFileNum = 100;
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
});
</script>

View File

@@ -0,0 +1,265 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : DmsHdbDetail.jsp
* @Description : DmsHdb Detail 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-16
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsHdb.js"></script>
<script type="text/javascript" src="/js/common/calendar/jquery-ui.js"></script>
<script type="text/javascript" src="/js/common/calendar/jquery.ui.datepicker-ko.js"></script>
<link type="text/css" href="/css/common/calendar/smoothness/jquery-ui.css" rel="stylesheet" />
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="hdbSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="location_box">
<div class="loc_h3"><h3>${prjNm} <%=MainGlobals.MENU_HDB%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_HDB%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">제목</th>
<td class="left">${dmsHdbVO.title}</td>
<th scope="row">등록일</th>
<td class="left">${dmsHdbVO.createDate}</td>
</tr>
<tr>
<th scope="row">작성자</th>
<td class="left">${dmsHdbVO.userNm}</td>
<th scope="row">진행상태</th>
<td class="left">
<c:if test="${dmsHdbVO.hdbSts == 'A'}">
접수
</c:if>
<c:if test="${dmsHdbVO.hdbSts == 'B'}">
처리중(완료예정일 : ${dmsHdbVO.compScdDate })
</c:if>
<c:if test="${dmsHdbVO.hdbSts == 'C'}">
완료(완료일 : ${dmsHdbVO.compDate })
</c:if>
</td>
</tr>
<tr>
<th scope="row">연락처</th>
<td class="left">${dmsHdbVO.tel}</td>
<th scope="row">이메일</th>
<td class="left">${dmsHdbVO.email}</td>
</tr>
<tr>
<th scope="row">첨부파일</th>
<td colspan="3" class="left">
<c:import url="/common/fms/selectFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${dmsHdbVO.atchFileId}" />
</c:import>
</td>
</tr>
<tr>
<th scope="row">내용</th>
<td colspan="3" class="left"><edosiFmt:formatHtml value="${dmsHdbVO.contents}"/></td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<%-- <c:if test="${ROLE_EMP }"> --%>
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_replyView();">답변</a></span>
<%-- </c:if> --%>
<c:if test="${checkWriteAuth && empty dmsHdbReplyList}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
<span class="btn_type_blue"><a href="#delete" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
<h1>답변</h1>
<c:if test="${ROLE_EMP }">
<form:form commandName="statusVO" id="statusForm" action="${searchVO.parentUrl}" class="form-horizontal">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="hdbSeq" value="${dmsHdbVO.hdbSeq }"/>
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
<div>
진행상태 :
<script>
$(function (){
var radioChk = "${dmsHdbVO.hdbSts}";
if(radioChk == ''){
$("input:radio[id='statusA']").attr("checked", true);
}else{
$("#status"+radioChk).attr("checked", true);
}
if($(".hdbSts:checked").val() == 'B'){
$("#statusBdate").show();
}
$(".hdbSts").change(function(){
if($(".hdbSts:checked").val() == 'B'){
$("#statusBdate").show();
}else{
$("#statusBdate").hide();
}
});
});
</script>
<form:radiobutton path="hdbSts" class="hdbSts" id="statusA" value="A" label="접수"/>
<form:radiobutton path="hdbSts" class="hdbSts" id="statusB" value="B" label="처리중"/>
<form:radiobutton path="hdbSts" class="hdbSts" id="statusC" value="C" label="완료"/>
<span id="statusBdate" style="display: none;">
완료예정일 :
<form:input type="text" path="compScdDate" id="compScdDate" style="width:100px;" title="완료예정일" value="${dmsHdbVO.compScdDate }" />
</span>
<span class="btn_type_blue"><a href="#modify" onclick="return fn_hdb_status_update('${searchVO.parentUrl}');">상태변경</a></span>
</div>
</form:form>
</c:if>
<c:if test="${empty dmsHdbReplyList }">
<div>
답변 없음.
</div>
</c:if>
<c:if test="${!empty dmsHdbReplyList }">
<c:forEach items="${dmsHdbReplyList }" var="list">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">제목</th>
<td colspan="3" class="left">${list.title}</td>
</tr>
<tr>
<th scope="row">작성자</th>
<td class="left">${list.userNm}</td>
<th scope="row">연락처</th>
<td class="left">${list.tel}</td>
</tr>
<tr>
<th scope="row">내용</th>
<td colspan="3" class="left"><edosiFmt:formatHtml value="${list.contents}"/></td>
</tr>
<tr>
<th scope="row">첨부파일</th>
<td colspan="3" class="left">
<c:import url="/common/fms/selectFileInfs.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${list.atchFileId}" />
</c:import>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${loginVO.id == list.userId}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_delete_reply('${searchVO.parentUrl}', '${list.hdbReplySeq }');">삭제</a></span>
</c:if>
</div>
</c:forEach>
</c:if>
<div id="replyView" style="display: none;">
<form:form commandName="dmsHdbReplyVO" id="replyForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="hdbReplySeq" />
<form:hidden path="hdbSeq" value="${dmsHdbVO.hdbSeq }"/>
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
<table class="tbl_basic_view">
<caption>답변작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="title">제목</label></th>
<td colspan="3" class="left"><form:input path="title" cssStyle="width:99%;"/></td>
</tr>
<tr>
<th scope="row"><label for="userNm">내용</label></th>
<td colspan="3" class="left">
<form:textarea path="contents" cssStyle="width:99%" rows="10" />
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userNm">첨부파일</label></th>
<td colspan="3" class="left">
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
<c:param name="param_atchFileId"/>
</c:import>
<div><input name="file_" id="egovComFileUploaderReply" type="file" /></div>
<div id="egovComFileListReply"></div>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_add_reply('${searchVO.parentUrl}');">등록</a></span>
</div>
</form:form>
</div>
</div>
<script type="text/javascript">
function fn_egov_replyView(){
if($("#replyView").css("display") == 'none'){
$("#replyView").show();
}else{
$("#replyView").hide();
}
}
//팝업달력
$("#compScdDate").datepicker({
showOn: "button",
buttonImage: "/images/dms/btn_calendar.gif",
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
showOtherMonths: true,
pageDirectLink: true,
selectOtherMonths: true
});
var defaultEndDate = $.datepicker.formatDate('yy-mm-dd', new Date());
if($('#compScdDate').val() == ''){
$('#compScdDate').val(defaultEndDate);
}
</script>

View File

@@ -0,0 +1,310 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : DmsHdbList.jsp
* @Description : DmsHdb List 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-16
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsHdb.js"></script>
<%@ page import="java.util.List" %>
<%@ page import="egovframework.dms.hdb.vo.DmsHdbGraphVO" %>
<!-- Chart.js CDN -->
<script src="/js/common/chart.umd.min.js"></script>
<script src="/js/common/charts-plugin-datalabels.js"></script>
<c:set var="now" value="<%= new java.util.Date() %>" />
<div class="location_box">
<div class="loc_h3"><h3>${prjNm} <%=MainGlobals.MENU_HDB%>
(<span class="year-text"><fmt:formatDate value="${now}" pattern="yyyy" /> 년 - </span><span class="sts-a">접수: ${hdbStsA}</span>,
<span class="sts-b">처리중: ${hdbStsB}</span>,
<span class="sts-c">완료: ${hdbStsC}</span> )
</h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_HDB%></strong></span>
</div>
<div class="contents">
<div class="boardHead">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" cssClass="form-inline" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="hdbSeq" />
<label for="searchCondition" class="labHide">검색항목 선택</label>
<form:select path="searchCondition" title="검색분류">
<form:option value="1">제목</form:option>
</form:select>
<form:input path="searchKeyword" title="검색" placeholder="검색어를 입력하세요" />
<a href="#search" class="btn_search_gray" onclick="return fn_egov_searchSelectList('search', false);">검색</a>
<div class="border_right">
<span class="right_mar_10">Total ${paginationInfo.totalRecordCount} <strong class="fCorange">${paginationInfo.currentPageNo}</strong> / ${paginationInfo.totalPageCount}</span>
</div>
</form:form>
</div>
<table class="tbl_basic" summary="">
<caption></caption>
<thead>
<tr>
<th>번호</th>
<th>제목</th>
<th>작성자</th>
<th>첨부</th>
<th>작성일</th>
<th>조회수</th>
<!-- <th>완료예정일</th> -->
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="6" class="text-center">조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:if test="${empty resultList && !empty searchVO.searchKeyword}">
<tr>
<td colspan="6" class="text-center"><mark>'${searchVO.searchKeyword }'</mark>으로 조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td>
<c:if test="${list.hdbSts == 'A' }">
<span style="color:green;">(접수)</span>
</c:if>
<c:if test="${list.hdbSts == 'B' }">
<span style="color:red;">(처리중)</span>
</c:if>
<c:if test="${list.hdbSts == 'C' }">
<span style="color:blue;">(완료)</span>
</c:if>
<a href="#view" onclick="return fn_egov_select('${list.hdbSeq}')">
<c:choose>
<c:when test="${empty list.title}">
제목없음
</c:when>
<c:otherwise>
${list.title}
</c:otherwise>
</c:choose>
</a>
</td>
<td>${list.userNm }</td>
<td>
<c:if test="${empty list.atchFileId }">
</c:if>
<c:if test="${!empty list.atchFileId }">
<img src="/images/admin/cf_tit_ic.png">
</c:if>
</td>
<td>${list.createDate}</td>
<td>${list.rdCnt }</td>
<%-- <td>${list.compScdDate}</td> --%>
</tr>
</c:forEach>
</tbody>
</table>
<div class="pagination"><ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" /></div>
<div class="tR">
<c:if test="${ROLE_CUS}">
<span class="btn_type_blue"><a href="#add" onclick="return fn_egov_addView();">등록</a></span>
</c:if>
<c:if test="${!empty searchVO.searchKeyword}">
<span class="btn_type_blue"><a href="#list" onclick="return fn_egov_searchSelectList('init', false);">목록</a></span>
</c:if>
</div>
</div>
<%
// 연간 월별 집계
List<DmsHdbGraphVO> annualList =
(List<DmsHdbGraphVO>) request.getAttribute("annualList");
StringBuilder sbLabels = new StringBuilder("[");
StringBuilder sbData = new StringBuilder("[");
for (int i = 0; i < annualList.size(); i++) {
DmsHdbGraphVO row = annualList.get(i);
sbLabels.append("\"").append(row.getMonth()).append("\"");
sbData.append(row.getCnt());
if (i < annualList.size() - 1) {
sbLabels.append(",");
sbData.append(",");
}
}
sbLabels.append("]");
sbData.append("]");
// 한달 현황 (도넛)
DmsHdbGraphVO monthlyList = (DmsHdbGraphVO) request.getAttribute("monthlyList");
int cntA = monthlyList.getHdbStsA(); // 접수
int cntB = monthlyList.getHdbStsB(); // 처리중
int cntC = monthlyList.getHdbStsC(); // 완료
%>
<div class="chart-container">
<!-- 막대 그래프 -->
<div class="chart-box" style="flex:2;">
<canvas id="yearChart"></canvas>
</div>
<!-- 도넛 그래프 -->
<div class="chart-box" style="flex:1; position:relative;">
<canvas id="monthChart"></canvas>
<!-- 한달간 요청 0건 문구 -->
<div id="noDataMsg"
style="display:none; position:absolute; top:50%; left:50%;
transform: translate(-50%, -50%);
font-size:18px; color:#555; text-align:center;">
한달간 요청이 0건입니다.
</div>
</div>
</div>
<script>
/****************************************
* 1) 연간 월별 바 차트
****************************************/
Chart.register(ChartDataLabels);
const annualLabels = <%= sbLabels.toString() %>;
const annualData = <%= sbData.toString() %>;
new Chart(
document.getElementById('yearChart'),
{
type: 'bar',
data: {
labels: annualLabels,
datasets: [{
label: '월별 요청수',
data: annualData,
backgroundColor: 'rgba(255, 206, 86, 0.6)', // 노란색
borderColor: 'rgba(255, 206, 86, 1)',
borderWidth: 1,
borderRadius: 4
}]
},
options: {
responsive: true,
plugins: {
title: {
display: true,
text: '2025년 월별 요청 통계',
font: { size: 20, weight: 'bold' },
padding: { top: 10, bottom: 20 }
},
tooltip: {
callbacks: {
title: function(tooltipItems) {
const label = tooltipItems[0].label;
return label + '월';
},
label: function(context) {
return '요청건수: ' + context.parsed.y;
}
}
},
datalabels: {
anchor: 'end',
align: 'end',
color: '#333',
font: { size: 12, weight: 'bold' },
formatter: function(value) {
return value + '건';
}
}
},
scales: {
x: {
title: {
display: true,
text: '월',
color: '#333',
font: { size: 14 }
}
},
y: {
title: { display: true,
text: '요청건수',
color: '#333',
font: { size: 14 }
}
}
}
}
}
);
/****************************************
* 2) 한달 현황 도넛 차트
****************************************/
const cntA = <%= cntA %>; // 접수
const cntB = <%= cntB %>; // 처리중
const cntC = <%= cntC %>; // 완료
const monthChartCanvas = document.getElementById('monthChart');
const noDataMsg = document.getElementById('noDataMsg');
// 0건 여부 체크
if (cntA === 0 && cntB === 0 && cntC === 0) {
// 차트 숨기고 문구 표시
monthChartCanvas.style.display = "none";
noDataMsg.style.display = "block";
} else {
// 차트 표시
monthChartCanvas.style.display = "block";
noDataMsg.style.display = "none";
new Chart(monthChartCanvas, {
type: 'doughnut',
data: {
labels: ['접수', '처리중', '완료'],
datasets: [{
data: [cntA, cntB, cntC],
backgroundColor: [
'rgba(75,192,192,0.7)', // 접수 - 초록
'rgba(255,99,132,0.7)', // 처리중 - 빨강
'rgba(54,162,235,0.7)' // 완료 - 파랑
],
borderWidth: 1
}]
},
options: {
responsive: true,
plugins: {
legend: { position: 'bottom' },
title: {
display: true,
text: '최근 한달간 요청현황',
font: { size: 20, weight: 'bold' },
padding: { top: 10, bottom: 20 }
}
}
}
});
}
</script>

View File

@@ -0,0 +1,163 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : DmsHdbRegist.jsp
* @Description : DmsHdb Regist 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-16
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsHdb.js"></script>
<script type="text/javascript" src="/js/common/EgovMultiFile.js"></script>
<script type="text/javascript">
function validateLocal() {
var title = document.getElementsByName("title")[0].value.trim();
var contents = document.getElementsByName("contents")[0].value.trim();
if (title === "") {
alert("제목을 입력해 주십시오.");
return false;
}
if (contents === "") {
alert("내용을 입력해 주십시오.");
return false;
}
return true;
}
</script>
<form:form commandName="dmsHdbVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<form:hidden path="prjSeq" value="${prjSeq }" />
<div class="location_box">
<div class="loc_h3"><h3>${prjNm} <%=MainGlobals.MENU_HDB%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_HDB%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="title">제목</label></th>
<td colspan="3" class="left"><form:input path="title" cssStyle="width:99%;"/></td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userNm">작성자</label></th>
<td class="left">
<input type="text" name="userNm" value="${loginVO.name }" readonly>
<input type="hidden" name="userId" value="${loginVO.id }">
</td>
<th scope="row"><span class="fCred">*</span> <label for="tel">SMS수신여부</label></th>
<td class="left">
<form:select path="smsYn">
<form:option value="Y">Y</form:option>
<form:option value="N">N</form:option>
</form:select>
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="tel">연락처</label></th>
<td class="left">
<input type="text" name="tel" value="${loginVO.tel }">
</td>
<th scope="row"><span class="fCred">*</span> <label for="email">이메일</label></th>
<td class="left">
<input type="text" name="email" value="${loginVO.email }">
</td>
</tr>
<tr>
<th scope="row"><label for="userNm">내용</label></th>
<td colspan="3" class="left">
<form:textarea path="contents" cssStyle="width:99%" rows="10" />
</td>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userNm">첨부파일</label></th>
<td colspan="3" class="left">
<div><input name="file_" id="egovComFileUploader" type="file" /></div>
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${dmsHdbVO.atchFileId }"/>
</c:import>
<div id="egovComFileList"></div>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${empty dmsHdbVO.hdbSeq}">
<span class="btn_type_blue">
<a href="#add" onclick="return validateLocal() && fn_egov_add('${searchVO.parentUrl}');">저장</a>
</span>
</c:if>
<c:if test="${!empty dmsHdbVO.hdbSeq}">
<span class="btn_type_blue">
<a href="#modify" onclick="return validateLocal() && fn_egov_update('${searchVO.parentUrl}');">저장</a>
</span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="return fn_egov_selectList();">목록</a></span>
</div>
</div>
</form:form>
<script type="text/javascript">
$(function(){
//첨부파일
var maxFileNum = 100;
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
});
</script>
<%--
// 첨부파일
<script type="text/javascript" src="/js/common/EgovMultiFile.js"></script>
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${dmsHdbVO.attachFileId }"/>
</c:import>
<div><input name="file_" id="egovComFileUploader" type="file" /></div>
<div id="egovComFileList"></div>
<script type="text/javascript">
var maxFileNum = 100;
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
</script>
// 팝업달력
<script type="text/javascript" src="/js/common/calendar/jquery-ui.js"></script>
<script type="text/javascript" src="/js/common/calendar/jquery.ui.datepicker-ko.js"></script>
<link type="text/css" href="/css/common/calendar/smoothness/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript">
//<![CDATA[
// 팝업달력 설정
$("#createDate").datepicker({
showOn: "button",
buttonImage: "/images/contents/btn_calendar.gif",
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
showOtherMonths: true,
pageDirectLink: true,
selectOtherMonths: true
});
</script>
--%>

View File

@@ -0,0 +1,44 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : DmsPrjDetail.jsp
* @Description : DmsPrj Detail 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-15
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsPrj.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="prjSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<%--
<dl class="dl-horizontal">
<dt></dt>
<dd></dd>
</dl>
--%>
dmsPrjVO
<div class="text-right">
<c:if test="${checkWriteAuth}">
<a href="#modify" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_updateView();">수정</a>
<a href="#delete" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_delete('${searchVO.parentUrl}');">삭제</a>
</c:if>
<a href="#list" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_selectList();">목록</a>
</div>
<%--
// 첨부파일보기
<c:import url="/common/fms/selectFileInfs.do" charEncoding="utf-8"
><c:param name="param_atchFileId" value="${dmsPrjVO.attachFileId}"
/></c:import>
--%>

View File

@@ -0,0 +1,91 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : DmsPrjList.jsp
* @Description : DmsPrj List 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-15
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsPrj.js"></script>
<h3></h3>
<div class="row">
<div class="col-md-3 text-left">
Total:${paginationInfo.totalRecordCount} | Page:<span class="fb ftc_red">${paginationInfo.currentPageNo}</span>/${paginationInfo.totalPageCount}
</div>
<div class="col-md-9 text-right">
<form:form commandName="searchVO" id="searchForm" action="${searchVO.parentUrl}" cssClass="form-inline" onsubmit="return fn_egov_searchSelectList('search', true);">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="prjSeq" />
<div class="form-group form-group-sm">
<label class="sr-only" for="searchCondition">검색조건</label>
<form:select path="searchCondition" cssClass="form-control">
<form:option value="1">제목</form:option>
</form:select>
</div>
<div class="form-group form-group-sm">
<label class="sr-only" for="searchKeyword">검색어</label>
<form:input path="searchKeyword" cssClass="form-control" placeholder="검색어를 입력하세요." />
</div>
<div class="form-group form-group-sm">
<label class="sr-only" for="searchKeyword">검색버튼</label>
<input type="button" class="btn btn-default form-control" onclick="return fn_egov_searchSelectList('search', false);" value="검색" />
</div>
</form:form>
</div>
</div>
<div class="table-responsive">
<table class="table table-striped table-hover table-bordered table-condensed" width="100%" summary="">
<caption></caption>
<thead>
<tr>
<th>번호</th>
<th>프로젝트명</th>
<th>담당관리자</th>
<th>담당작업자</th>
<th>등록일</th>
</tr>
</thead>
<tbody>
<c:if test="${empty resultList && empty searchVO.searchKeyword}">
<tr>
<td colspan="5" class="text-center">조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:if test="${empty resultList && !empty searchVO.searchKeyword}">
<tr>
<td colspan="5" class="text-center"><mark>'${searchVO.searchKeyword }'</mark>으로 조회된 내용이 없습니다.</td>
</tr>
</c:if>
<c:set var="number" value="${paginationInfo.totalRecordCount - ((paginationInfo.currentPageNo-1) * paginationInfo.recordCountPerPage)}" />
<c:forEach var="list" items="${resultList}" varStatus="status">
<tr>
<td>${number - status.index}</td>
<td><a href="#view" onclick="return fn_egov_select('${list.prjSeq}')">${list.prjNm}</a></td>
<td>한돈희</td>
<td>한돈희</td>
<td>${list.createDate}</td>
</tr>
</c:forEach>
</tbody>
</table>
</div>
<div class="box_page">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_link_page" />
</div>
<div class="text-right">
<a href="#add" class="btn btn-default btn-sm" role="button" onclick="return fn_egov_addView();">등록</a>
<c:if test="${!empty searchVO.searchKeyword}">
<a href="#list" class="btn btn-info btn-sm" role="button" onclick="return fn_egov_searchSelectList('init', false);">목록</a>
</c:if>
</div>

View File

@@ -0,0 +1,78 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%
/**
* @Class Name : DmsPrjRegist.jsp
* @Description : DmsPrj Regist 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-15
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="/js/dms/dmsPrj.js"></script>
<form:form commandName="dmsPrjVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data" class="form-horizontal">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<h3></h3>
<%--
<div class="form-group">
<label for="" class="col-sm-2 control-label"></label>
<div class="col-sm-10">
<form:input path="" cssClass="form-control" />
</div>
</div>
--%>
<div class="form-group">
<div class="col-sm-offset-2 col-sm-10 text-right">
<c:if test="${empty dmsPrjVO.prjSeq}">
<a href="#add" onclick="return fn_egov_add('${searchVO.parentUrl}');" role="button" class="btn btn-primary btn-sm">저장</a>
</c:if>
<c:if test="${!empty dmsPrjVO.prjSeq}">
<a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');" role="button" class="btn btn-success btn-sm">저장</a>
</c:if>
<a href="#list" onclick="return fn_egov_selectList();" role="button" class="btn btn-default btn-sm">목록</a>
</div>
</div>
</form:form>
<%--
// 첨부파일
<script type="text/javascript" src="/js/common/EgovMultiFile.js"></script>
<c:import url="/common/fms/selectFileInfsForUpdate.do" charEncoding="utf-8">
<c:param name="param_atchFileId" value="${dmsPrjVO.attachFileId }"/>
</c:import>
<div><input name="file_" id="egovComFileUploader" type="file" /></div>
<div id="egovComFileList"></div>
<script type="text/javascript">
var maxFileNum = 100;
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
</script>
// 팝업달력
<script type="text/javascript" src="/js/common/calendar/jquery-ui.js"></script>
<script type="text/javascript" src="/js/common/calendar/jquery.ui.datepicker-ko.js"></script>
<link type="text/css" href="/css/common/calendar/smoothness/jquery-ui.css" rel="stylesheet" />
<script type="text/javascript">
//<![CDATA[
// 팝업달력 설정
$("#createDate").datepicker({
showOn: "button",
buttonImage: "/images/contents/btn_calendar.gif",
buttonImageOnly: true,
changeMonth: true,
changeYear: true,
showOtherMonths: true,
pageDirectLink: true,
selectOtherMonths: true
});
</script>
--%>

View File

@@ -0,0 +1,90 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsUserAdminDetail.jsp
* @Description : HmsUserAdmin Detail 화면
* @Modification Information
*
* @author 한돈희
* @since 2017-06-15
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/dms/hmsUser.js"></script>
<form:form commandName="searchVO" id="detailForm" action="${searchVO.parentUrl}">
<form:hidden path="bmode" />
<form:hidden path="pageIndex" />
<form:hidden path="userSeq" />
<form:hidden path="searchCondition" />
<form:hidden path="searchKeyword" />
</form:form>
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_MYPAGE%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_MYPAGE%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>상세</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row">아이디</th>
<td colspan="3" class="left">${hmsUserVO.userId}</td>
</tr>
<tr>
<th scope="row">이름</th>
<td colspan="3" class="left">${hmsUserVO.userNm}</td>
</tr>
<tr>
<th scope="row">소속</th>
<td colspan="3" class="left">${hmsUserVO.deptNm}</td>
</tr>
<tr>
<th scope="row">직급</th>
<td colspan="3" class="left">${hmsUserVO.positionNm}</td>
</tr>
<tr>
<th scope="row">이메일</th>
<td colspan="3" class="left">${hmsUserVO.email}</td>
</tr>
<tr>
<th scope="row">전화번호</th>
<td colspan="3" class="left">${hmsUserVO.tel}</td>
</tr>
<tr>
<th scope="row">권한</th>
<td class="left" colspan="3">
<c:if test="${hmsUserVO.userType eq 'EMP'}">
작업자
</c:if>
<c:if test="${hmsUserVO.userType eq 'CUS'}">
공무원
</c:if>
</td>
</tr>
<tr>
<th scope="row">담당프로젝트</th>
<td class="left" colspan="3">
<c:forEach items="${prjList }" var="list">
<div>${list.prjNm }</div>
</c:forEach>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_updateView();">수정</a></span>
</div>
</div>

View File

@@ -0,0 +1,106 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"
%><%@ include file="/common/taglib.jsp"
%><%@ page import="egovframework.main.MainGlobals"
%><%
/**
* @Class Name : HmsUserAdminRegist.jsp
* @Description : HmsUserAdmin Regist 화면
* @Modification Information
*
* @author aaa
* @since 2016-08-30
* @version 1.0
* @see
*
* Copyright (C) All right reserved.
*/
%><script type="text/javascript" src="${pageContext.request.contextPath}/js/dms/hmsUser.js"></script>
<form:form commandName="hmsUserVO" id="detailForm" action="${searchVO.parentUrl}" enctype="multipart/form-data">
<input type="hidden" name="bmode" value="${searchVO.bmode}" />
<input type="hidden" name="searchCondition" value="${searchVO.searchCondition}" />
<input type="hidden" name="searchKeyword" value="${searchVO.searchKeyword}" />
<input type="hidden" name="pageIndex" value="${searchVO.pageIndex}" />
<div class="location_box">
<div class="loc_h3"><h3><%=MainGlobals.MENU_MYPAGE%></h3><span></span></div>
<span class="loccation"><img src="/images/admin/loccation_home.png" alt="홈" /> > <strong><%=MainGlobals.MENU_MYPAGE%></strong></span>
</div>
<div class="contents">
<table class="tbl_basic_view">
<caption>글작성</caption>
<colgroup>
<col style="width:15%">
<col style="width:35%">
<col style="width:15%">
<col style="width:*">
</colgroup>
<tbody>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="userId">아이디</label></th>
<td class="left">
<c:if test="${empty hmsUserVO.userId}">
<form:input path="userId" /><input type="button" value="중복확인" onclick="checkUserIdDup();">
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<span>
<form:input path="userId" readonly="true"/>
</span>
</c:if>
</td>
<th scope="row"><span class="fCred">*</span> <label for="userNm">이름</label></th>
<td class="left"><form:input path="userNm" /></td>
</tr>
<tr>
<c:if test="${empty hmsUserVO.userId}">
<th scope="row"><span class="fCred">*</span> <label for="passwd">비밀번호</label></th>
<td class="left"><form:password path="passwd" /></td>
<th scope="row"><span class="fCred">*</span> <label for="passwd1">비밀번호확인</label></th>
<td class="left"><input type="password" name="passwd1" id="passwd1" /></td>
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<th scope="row"><span class="fCred">*</span> <label for="passwd">비밀번호</label></th>
<td class="left"><form:input path="passwd" /></td>
<th scope="row"><span class="fCred">*</span> <label for="passwd1">비밀번호확인</label></th>
<td class="left"><input type="password" name="passwd1" id="passwd1" value="${hmsUserVO.passwd }"/></td>
</c:if>
</tr>
<tr>
<th scope="row"><span class="fCred">*</span> <label for="deptNm">소속</label></th>
<td class="left">
<form:select path="deptCd">
<c:forEach items="${deptAllList }" var="deptList">
<c:if test="${empty hmsUserVO.userId}">
<option value="${deptList.deptCd}">${deptList.deptNm }</option>
</c:if>
<c:if test="${!empty hmsUserVO.userId}">
<option value="${deptList.deptCd}" <c:if test="${hmsUserVO.deptCd eq deptList.deptCd}"> selected="selected" </c:if>>${deptList.deptNm }</option>
</c:if>
</c:forEach>
</form:select>
</td>
<th scope="row"><label for="positionNm">직급</label></th>
<td class="left"><form:input path="positionNm" /></td>
</tr>
<tr>
<th scope="row"><label for="email">이메일</label></th>
<td class="left"><form:input path="email" /></td>
<th scope="row"><span class="fCred">*</span><label for="tel">전화번호</label></th>
<td class="left">
<form:input path="tel" /><br/>
<span class="fCred">* 업무시 문자 연락가니 정확히 입력해주세요.</span>
</td>
</tr>
</tbody>
</table>
<div class="mt10 tR">
<c:if test="${!empty hmsUserVO.userId}">
<span class="btn_type_blue"><a href="#modify" onclick="return fn_egov_update('${searchVO.parentUrl}');">저장</a></span>
</c:if>
<span class="btn_type_gray"><a href="#list" onclick="javascript:history.back();">상세</a></span>
</div>
</div>
</form:form>

View File

@@ -0,0 +1,248 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css">
<title>안전행전부 공통서비스 테스트 사이트(업무사용자)</title>
<script type="text/javascript">
var getContextPath = '<c:out value="${pageContext.request.contextPath}" />';
</script>
<script language="javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script language="javascript">
function chk_all(val) {
var arr_chk = document.getElementsByName("chk");
if (val == "Y") {
for(i=0;i< arr_chk.length; i++) {
arr_chk[i].checked =true;
}
}
else if(val == "N") {
for(i=0;i< arr_chk.length; i++) {
arr_chk[i].checked =false;
}
}
}
</script>
</head>
<body topmargin="0" leftmargin="0">
<c:import url="./head.jsp" />
<div >
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 본문시작 -->
<td valign="top">
<TABLE>
<TR>
<TD width="450">
<TABLE>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="tableNoWrap">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>공지사항</td>
</tr>
</table>
</td>
</tr>
<tr height="120" width="430">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430" >
<tr>
<td valign="middle" align="center" bgcolor="2981AD" width="110" height="30">
<a class="flash" href="http://www.korea.kr:80/newsWeb/appmanager/portal/news2?_nfpb=true&_pageLabel=news_page_02&_mode=view&_nfls=false">
<font style="font-size:9pt;color:#fff;"><b>대한민국 정책포털</b></font></a></td>
<!-- <td bgcolor="#FFFFEE" style="padding-top:2px; padding-left:5px;">
<iframe src="http://www.korea.kr/newsWeb/pages/tiles/today/bannerNews1.jsp" width="250" height="20" frameborder="0" scrolling="no" marginheight="0" marginwidth="0" style="display:block;border:0px;" ></iframe>
</td> -->
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TR>
<tr height="10"><td>&nbsp; </td></tr>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="tableNoWrap">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>생성된 게시판 목록</td>
</tr>
</table>
</td>
</tr>
<tr height="120" width="430">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430">
<tr height="100">
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TR>
<tr height="10"><td>&nbsp; </td></tr>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="tableNoWrap">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>생성된 커뮤니티 목록</td>
</tr>
</table>
</td>
</tr>
<tr height="120" width="450">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430" >
<tr height="100">
<td>&nbsp;
<c:import url="/cop/cus/CmmntyListPortlet.do" />
</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
</TD>
<TD width="450">
<TABLE>
<TR>
<TD>
<script language="javascript">
function fnEgovTabNavigation(objName){
var objList = new Array('DIV_01','DIV_02','DIV_03');
for(var i=0;i<objList.length;i++) {
if(objList[i] == objName){
document.getElementById(objList[i]).style.display = '';
}else{
document.getElementById(objList[i]).style.display = 'none';
}
}
}
</script>
<table width="450" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/TAB_01.gif' />" border="0" name="TAB_01" id="TAB_01" style="cursor:pointer;" onClick="fn_changeTAB(this);fnEgovTabNavigation('DIV_01');" onMouseOver="fn_swapImage(this);" onMouseOut="fn_swapImgRestore(this);"></td>
<td><img src="<c:url value='/images/egovframework/com/TAB_02_o.gif' />" border="0" name="TAB_02" id="TAB_02" style="cursor:pointer;" onClick="fn_changeTAB(this);fnEgovTabNavigation('DIV_02');" onMouseOver="fn_swapImage(this);" onMouseOut="fn_swapImgRestore(this);"></td>
<td><img src="<c:url value='/images/egovframework/com/TAB_03.gif' />" border="0" name="TAB_03" id="TAB_03" style="cursor:pointer;" onClick="fn_changeTAB(this);fnEgovTabNavigation('DIV_03');" onMouseOver="fn_swapImage(this);" onMouseOut="fn_swapImgRestore(this);"></td>
</tr>
</table>
</td>
</tr>
<tr height="100">
<td bgcolor="#B6D58F" align="center">
<!-- 개인정보 -->
<div id="DIV_01" name="DIV_01" style="display:none">
<table border="0" bgcolor="FFFFFF" width="430" height="80">
<tr>
<td>개인정보</td>
</tr>
</table>
</div>
<!-- 부서일정관리 -->
<div id="DIV_02" name="DIV_02" style="display:;width:430px;height:80px;background-color:#FFFFFF;">
<c:import charEncoding="utf-8" url="/cop/smt/sdm/EgovDeptSchdulManageMainList.do" ></c:import>
</div>
<!-- 일정관리 -->
<div id="DIV_03" name="DIV_03" style="display:none;width:430px;height:80px;background-color:#FFFFFF;">
<c:import charEncoding="utf-8" url="/cop/smt/sim/EgovIndvdlSchdulManageMainList.do" ></c:import>
</div>
</td>
</tr>
</table>
</TD>
</TR>
<tr height="10"><td>&nbsp; </td></tr>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="tableNoWrap">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0" name="TAB_01" id="TAB_01" style="cursor:pointer;" onClick="fn_changeTAB(this);" onMouseOver="fn_swapImage(this);" onMouseOut="fn_swapImgRestore(this);"></td>
<td>환율정보</td>
</tr>
</table>
</td>
</tr>
<tr height="300">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="300" >
<tr height="280">
<td><iframe src="http://community.fxkeb.com/fxportal/jsp/RS/DEPLOY_EXRATE/fxrate_all.html" width="430" height="280" border="0" frameborder="no" scrolling="no" marginwidth="0" hspace="0" vspace="0"></iframe>
</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
<!-- 배너추가 -->
<table border="0" cellspacing="0" cellpadding="0" width="900">
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<c:import url="/uss/ion/bnr/getBannerImage.do" charEncoding="utf-8">
<c:param name="atchFileId" value="${banner.bannerImageFile}" />
</c:import>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 배너추가 -->
<!-- bottom -->
<c:import url="./main_bottom.jsp" />
</div>
</body>
</html>

View File

@@ -0,0 +1,83 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css">
<title>안전행전부 공통서비스 테스트 사이트(기업사용자)</title>
<script type="text/javascript">
var getContextPath = "${pageContext.request.contextPath}";
</script>
<script language="javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script language="javascript">
function chk_all(val) {
var arr_chk = document.getElementsByName("chk");
if (val == "Y") {
for(i=0;i< arr_chk.length; i++) {
arr_chk[i].checked =true;
}
}
else if(val == "N") {
for(i=0;i< arr_chk.length; i++) {
arr_chk[i].checked =false;
}
}
/*
* topmargin="0" leftmargin="0"
style='margin:0'
*/
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight= "0">
<c:import url="./head.jsp" />
<div style='margin:0'>
<table width="981" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 본문시작 -->
<td valign="top" align="center">
<TABLE>
<TR>
<TD width="800" align="center" height="500" valign="top">
<iframe width="100%" height="100%" name="vew" id="vew" title="마이페이지 보기" src = "<c:url value='/uss/mpe/selectIndvdlpgeResult.do'/>" frameborder="0" marginwidth="0" marginheight="0" scrolling="yes">
</iframe>
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
<!-- 배너추가 -->
<table border="0" cellspacing="0" cellpadding="0" width="981">
<tr>
<td align="center">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center">
<c:import url="/uss/ion/bnr/getBannerImage.do" charEncoding="utf-8">
<c:param name="atchFileId" value="${banner.bannerImageFile}" />
</c:import>
</td>
</tr>
</table>
</td>
</tr>
</table>
<!-- 배너추가 -->
<!-- bottom -->
<c:import url="./main_bottom.jsp" />
</div>
</body>
</html>

View File

@@ -0,0 +1,197 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core"%>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css">
<title>안전행전부 공통서비스 테스트 사이트(일반사용자)</title>
<script type="text/javascript">
var getContextPath = "${pageContext.request.contextPath}";
</script>
<script language="javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script language="javascript">
function chk_all(val) {
var arr_chk = document.getElementsByName("chk");
if (val == "Y") {
for (i = 0; i < arr_chk.length; i++) {
arr_chk[i].checked = true;
}
} else if (val == "N") {
for (i = 0; i < arr_chk.length; i++) {
arr_chk[i].checked = false;
}
}
}
</script>
</head>
<body topmargin="0" leftmargin="0">
<c:import url="./headG.jsp" />
<div style='margin: 0'>
<table width="900" border="0" cellspacing="0" cellpadding="0">
<tr>
<!-- 본문시작 -->
<td valign="top">
<TABLE>
<TR>
<TD width="450">
<TABLE>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>진행중인 설문</td>
</tr>
</table>
</td>
</tr>
<tr height="120" width="430">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430">
<tr height="100">
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TR>
<tr height="10">
<td>&nbsp;</td>
</tr>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>가입한 커뮤니티 목록</td>
</tr>
</table>
</td>
</tr>
<tr height="120" width="430">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430">
<tr height="100">
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TR>
<tr height="10">
<td>&nbsp;</td>
</tr>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>등록한 Q&A</td>
</tr>
</table>
</td>
</tr>
<tr height="120" width="450">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430">
<tr height="100">
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
</TD>
<TD width="450">
<TABLE>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>등록한 상담 목록</td>
</tr>
</table>
</td>
</tr>
<tr height="185" width="450">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430">
<tr height="165">
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
<tr height="10">
<td>&nbsp;</td>
</tr>
<TR>
<TD>
<table width="450" border="0" cellspacing="0" cellpadding="0" style="">
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" border="0"></td>
<td>사이트 들겨찾기 목록</td>
</tr>
</table>
</td>
</tr>
<tr height="185" width="450">
<td bgcolor="#B6D58F" align="center">
<table border="0" bgcolor="FFFFFF" width="430">
<tr height="165">
<td>&nbsp;</td>
</tr>
</table>
</td>
</tr>
</table>
</TD>
</TR>
</TABLE>
</TD>
</TR>
</TABLE>
</td>
</tr>
</table>
<!-- bottom -->
<c:import url="./main_bottom.jsp" />
</div>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<c:url value='/css/egovframework/com/main.css' />" rel="stylesheet" type="text/css">
<title>eGovFrame 공통 컴포넌트</title>
</head>
<body>
<div id="wrap">
<div id="footer">
<p>Copyright(c)2011 MINISTRY OF SECURITY AND PUBLIC ADMINISTRATION.</p>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,34 @@
<%@ page language="java" contentType="text/html; charset=UTF-8"
pageEncoding="UTF-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
<title>Insert title here</title>
</head>
<body>
<c:if test="${loginVO != null}">
${loginVO.name }님 환영합니다. <a href="${pageContext.request.contextPath }/uat/uia/actionLogout.do">로그아웃</a>
</c:if>
<c:if test="${loginVO == null }">
<jsp:forward page="/uat/uia/egovLoginUsr.do"/>
</c:if>
<p/><p/><p/>
<b>실행시 오류사항이 있으시면 표준프레임워크센터로 연락하시기 바랍니다.<br /><br/>
<b>* 화면 설명 *</b><p/>
왼쪽 메뉴는 메뉴과 관련된 컴포넌트(메뉴관리, 사이트맵 등)들의 영향을 받지 않습니다.<p/>
각 컴포넌트들을 쉽게 찾아볼 수 있는 바로가기 링크페이지 입니다.<p/>
<br /><b>* egovframework.com.cmm.web.EgovComIndexController.java 설명 *</b><p/>
컴포넌트 설치 후 설치된 컴포넌트들을 IncludedInfo annotation을 통해 찾아낸 후<p/>
화면에 표시할 정보를 처리하는 Controller 클래스<p/><br />
개발시 메뉴 구조가 잡히기 전에 배포파일들에 포함된 공통 컴포넌트들의 목록성 화면에<p/>
URL을 제공하여 개발자가 편하게 활용하도록 하기 위해 작성된 것임<p/>
<b>실 운영 시에는 삭제해서 배포하는 것을 권장함</b><p />
운영시에 본 컨트롤을 사용하여 메뉴를 구성하는 경우 성능 문제를 일으키거나<p/>
사용자별 메뉴 구성에 오류를 발생할 수 있음<p />
</body>
</html>

View File

@@ -0,0 +1,121 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>eGovFrame 공통 컴포넌트</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
</head>
<body>
<c:set var="isMai" value="false"/>
<c:set var="isUat" value="false"/>
<c:set var="isSec" value="false"/>
<c:set var="isSts" value="false"/>
<c:set var="isCop" value="false"/>
<c:set var="isUss" value="false"/>
<c:set var="isSym" value="false"/>
<c:set var="isSsi" value="false"/>
<c:set var="isDam" value="false"/>
<c:set var="isCom" value="false"/>
<c:set var="isExt" value="false"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<c:forEach var="result" items="${resultList}" varStatus="status">
<c:if test="${isMai == 'false' && result.gid == '0'}">
<tr height = "16">
<td align="left" width="100%">
<h1>포털(예제) 메인화면</h1>
</td>
</tr>
<c:set var="isMai" value="true"/>
</c:if>
<c:if test="${isUat == 'false' && result.gid == '10'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>사용자디렉토리/통합인증</h1>
</td>
</tr>
<c:set var="isUat" value="true"/>
</c:if>
<c:if test="${isSec == 'false' && result.gid == '20'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>보안</h1>
</td>
</tr>
<c:set var="isSec" value="true"/>
</c:if>
<c:if test="${isSts == 'false' && result.gid == '30'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>통계/리포팅</h1>
</td>
</tr>
<c:set var="isSts" value="true"/>
</c:if>
<c:if test="${isCop == 'false' && result.gid == '40'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>협업</h1>
</td>
</tr>
<c:set var="isCop" value="true"/>
</c:if>
<c:if test="${isUss == 'false' && result.gid == '50'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>사용자지원</h1>
</td>
</tr>
<c:set var="isUss" value="true"/>
</c:if>
<c:if test="${isSym == 'false' && result.gid == '60'}">
<tr height = "16" >
<td align="left" width="100%">
<br><h1>시스템관리</h1>
</td>
</tr>
<c:set var="isSym" value="true"/>
</c:if>
<c:if test="${isSsi == 'false' && result.gid == '70'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>시스템/서비스연계</h1>
</td>
</tr>
<c:set var="isSsi" value="true"/>
</c:if>
<c:if test="${isDam == 'false' && result.gid == '80'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>디지털 자산 관리</h1>
</td>
</tr>
<c:set var="isDam" value="true"/>
</c:if>
<c:if test="${isCom == 'false' && result.gid == '90'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>요소기술</h1>
</td>
</tr>
<c:set var="isCom" value="true"/>
</c:if>
<c:if test="${isExt == 'false' && result.gid == '100'}">
<tr height = "16">
<td align="left" width="100%">
<br><h1>외부 추가 컴포넌트</h1>
</td>
</tr>
<c:set var="isExt" value="true"/>
</c:if>
<tr height = "16">
<td align="left" valign="center" width="100%">
<a href="${pageContext.request.contextPath}<c:out value="${result.listUrl}"/>" target="_content" class="link"> <c:out value="${result.order}"/>. <c:out value="${result.name}"/></a>
</td>
</tr>
</c:forEach>
</table>
</body>
</html>

View File

@@ -0,0 +1,17 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1">
<title>eGovFrame 공통 컴포넌트</title>
</head>
<frameset frameborder="0" framespacing="0" rows="40, *, 43">
<frame name="_top" src="<c:url value='/EgovTop.do' />" scrolling="no" title="헤더">
<frameset frameborder="0" framespacing="0" cols="20%, 80%">
<frame name="_left" src="<c:url value='/EgovLeft.do' />" scrolling="yes" title="메뉴페이지">
<frame name="_content" src="<c:url value='/EgovContent.do' />" title="메인페이지">
</frameset>
<frame name="_bottom" src="<c:url value='/EgovBottom.do' />" scrolling="no" title="푸터">
</frameset>

View File

@@ -0,0 +1,17 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link href="<c:url value='/css/egovframework/com/main.css' />" rel="stylesheet" type="text/css">
<title>eGovFrame 공통 컴포넌트</title>
</head>
<body>
<div id="wrap">
<div id="header">
<h1><img src="<c:url value='/images/egovframework/com/cmm/main/h1_logo.jpg' />" width="123" height="29" alt="egovframe"></h1>
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지"/></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지" /></td>
<td width="399" align="left" class="lt_text2">데이터 처리 중 오류가 발생하였습니다. </td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="#LINK" onClick="fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기 버튼이미지" /></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지"/></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지"/></td>
<td width="399" align="left" class="lt_text2">수행중 오류가 발생하였습니다. </td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="javascript:fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기 버튼이미지"/></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지" /></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지" /></td>
<td width="399" align="left" class="lt_text2">알 수 없는 오류가 발생했습니다.</td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="#LINK" onClick="fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기 버튼이미지"/></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,64 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<title>eGovFrame Potal 온라인 지원 포탈</title>
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css" />
<script language="javascript">
function fncGoAfterErrorPage(){
history.back(-2);
}
</script>
</head>
<body>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="center" valign="top"><br />
<br />
<br />
<table width="600" border="0" cellpadding="0" cellspacing="0" background="er_images/blue_bg.jpg' />">
<tr>
<td align="center"><table width="100%" border="0" cellspacing="9" cellpadding="0">
<tr>
<td bgcolor="#FFFFFF"><table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td align="left"><img src="<c:url value='/images/egovframework/com/cmm/er_logo.jpg' />" width="379" height="57" alt="에러로고이미지"/></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><table width="520" border="0" cellspacing="2" cellpadding="2">
<tr>
<td width="74" rowspan="2" align="center"><img src="<c:url value='/images/egovframework/com/cmm/danger.jpg' />" width="74" height="74" alt="경고이미지"/></td>
<td width="399" align="left" class="lt_text2">세션이 만료되었습니다.</td>
</tr>
</table>
<table width="500" border="0" cellspacing="2" cellpadding="2">
</table></td>
</tr>
<tr>
<td><br />
<br /></td>
</tr>
<tr>
<td align="center"><a href="javascript:fncGoAfterErrorPage();"><img src="<c:url value='/images/egovframework/com/cmm/go_history.jpg' />" width="90" height="29" alt="바로가기버튼이미지" /></a></td>
</tr>
</table>
<br /></td>
</tr>
</table></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,96 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovFileList.jsp
* @Description : 파일 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ---------- ------ ---------------------------
* @ 2009.03.26 이삼섭 최초 생성
* @ 2011.07.20 옥찬우 <Input> Tag id속성 추가( Line : 68 )
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.26
* @version 1.0
* @see
*
*/
%>
<!-- link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css"-->
<script type="text/javascript">
function fn_egov_downFile(atchFileId, fileSn){
window.open("<c:url value='/cmm/fms/FileDown.do?atchFileId="+atchFileId+"&fileSn="+fileSn+"'/>");
}
function fn_egov_deleteFile(atchFileId, fileSn) {
forms = document.getElementsByTagName("form");
for (var i = 0; i < forms.length; i++) {
if (typeof(forms[i].atchFileId) != "undefined" &&
typeof(forms[i].fileSn) != "undefined" &&
typeof(forms[i].fileListCnt) != "undefined") {
form = forms[i];
}
}
//form = document.forms[0];
form.atchFileId.value = atchFileId;
form.fileSn.value = fileSn;
form.action = "<c:url value='/cmm/fms/deleteFileInfs.do'/>";
form.submit();
}
function fn_egov_check_file(flag) {
if (flag=="Y") {
document.getElementById('file_upload_posbl').style.display = "block";
document.getElementById('file_upload_imposbl').style.display = "none";
} else {
document.getElementById('file_upload_posbl').style.display = "none";
document.getElementById('file_upload_imposbl').style.display = "block";
}
}
</script>
<!-- <form name="fileForm" action="" method="post" > -->
<input type="hidden" name="atchFileId" value="${atchFileId}">
<input type="hidden" name="fileSn" >
<input type="hidden" name="fileListCnt" id="fileListCnt" value="${fileListCnt}">
<!-- </form> -->
<!--<title>파일목록</title> -->
<table>
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<tr>
<td>
<c:choose>
<c:when test="${updateFlag=='Y'}">
<c:out value="${fileVO.orignlFileNm}"/>&nbsp;[<c:out value="${fileVO.fileMg}"/>&nbsp;byte]
<img src="<c:url value='/images/egovframework/com/cmm/icon/bu_icon_delete.gif' />"
width="19" height="18" onClick="fn_egov_deleteFile('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>');" alt="파일삭제">
</c:when>
<c:otherwise>
<a href="javascript:fn_egov_downFile('<c:out value="${fileVO.atchFileId}"/>','<c:out value="${fileVO.fileSn}"/>')">
<c:out value="${fileVO.orignlFileNm}"/>&nbsp;[<c:out value="${fileVO.fileMg}"/>&nbsp;byte]
</a>
</c:otherwise>
</c:choose>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(fileList) == 0}">
<tr>
<td></td>
</tr>
</c:if>
</table>

View File

@@ -0,0 +1,39 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovImgFileList.jsp
* @Description : 이미지 파일 조회화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.31 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.03.31
* @version 1.0
* @see
*
*/
%>
<title>이미지파일목록</title>
<table>
<c:forEach var="fileVO" items="${fileList}" varStatus="status">
<tr>
<td></td>
</tr>
<tr>
<td>
<img src='<c:url value='/cmm/fms/getImage.do'/>?atchFileId=<c:out value="${fileVO.atchFileId}"/>&fileSn=<c:out value="${fileVO.fileSn}"/>' width="640" alt="해당파일이미지"/>
</td>
</tr>
<tr>
<td></td>
</tr>
</c:forEach>
</table>

View File

@@ -0,0 +1,4 @@
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ page language="java" contentType="javascript/x-javascript" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<validator:javascript dynamicJavascript="false" staticJavascript="true"/>

View File

@@ -0,0 +1,188 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovBdUseInfListByTrget.jsp
* @Description : 게시판 사용정보 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.02 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.02
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_select_bbsUseInfs('1');
}
}
function fn_egov_select_bbsUseInfs(pageNo) {
document.frm.pageIndex.value = pageNo;
document.frm.action = "<c:url value='/cop/com/selectCmyBBSUseInfsByTrget.do'/>";
document.frm.submit();
}
function fn_egov_update_bbsUseInf(bbsId, trgetId) {
if (confirm('<spring:message code="cop.use.msg" />')) {
document.frm.bbsId.value = bbsId;
document.frm.param_trgetId.value = trgetId;
document.frm.useAt.value = 'Y';
document.frm.action = "<c:url value='/cop/com/updateBBSUseInfByTrget.do'/>";
document.frm.submit();
}
}
function fn_egov_delete_bbsUseInf(bbsId, trgetId) {
if (confirm('<spring:message code="cop.unuse.msg" />')) {
document.frm.bbsId.value = bbsId;
document.frm.param_trgetId.value = trgetId;
document.frm.useAt.value = 'N';
document.frm.action = "<c:url value='/cop/com/updateBBSUseInfByTrget.do'/>";
document.frm.submit();
}
}
function fn_egov_insert_bbsUseInf(bbsId, trgetId) {
if (confirm('<spring:message code="cop.use.msg" />')) {
document.frm.bbsId.value = bbsId;
document.frm.param_trgetId.value = trgetId;
document.frm.useAt.value = 'Y';
document.frm.action = "<c:url value='/cop/com/insertBBSUseInfByTrget.do'/>";
document.frm.submit();
}
}
</script>
<title>게시판 사용정보 조회</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="frm" method="post" action="<c:url value='/cop/com/selectCmyBBSUseInfsByTrget.do'/>">
<input type="hidden" name="bbsId" />
<input type="hidden" name="trgetId" value='<c:out value="${trgetId}"/>' />
<input type="hidden" name="useAt" />
<input type="hidden" name="param_trgetId" />
<input type="hidden" name="trgetType" value='<c:out value="${trgetType}"/>' />
<div id="border" style="width:730px">
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="40%"class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목버튼이미지">
&nbsp;게시판 사용정보 조회</td>
<th >
</th>
<td width="10%" >
<select name="searchCnd" class="select" title="검색조건선택">
<!-- option selected value=''--><!--선택하세요--><!-- /option-->
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> >사용자명</option>
</select>
</td>
<td width="35%">
<input name="searchWrd" type="text" size="35" value='<c:out value="${searchVO.searchWrd}"/>' maxlength="35" onkeypress="press(event);" title="검색단어입력">
</td>
<th width="10%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="button"><input type="submit" value="조회" title="조회" onclick="javascript:fn_egov_select_bbsUseInfs(('1');return false;"></span></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" cellpadding="8" class="table-line">
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th class="title" width="10%" nowrap>번호</th>
<th class="title" width="37%" nowrap>게시판명</th>
<th class="title" width="30%" nowrap>사용자명</th>
<th class="title" width="10%" nowrap>사용여부</th>
<th class="title" width="10%" nowrap>상태변경</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text" nowrap><c:out value="${result.bbsNm}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.userNm}"/></td>
<c:choose>
<c:when test="${result.useAt=='Y'}">
<td class="lt_text3" nowrap>
<spring:message code="button.use" />
</td>
<td class="lt_text3" nowrap>
<input type="button" value="사용중지" onClick="javascript:fn_egov_delete_bbsUseInf('<c:out value="${result.bbsId}"/>','<c:out value="${result.trgetId}"/>');" />
</td>
</c:when>
<c:when test="${result.useAt=='N'}">
<td class="lt_text3" nowrap>
<spring:message code="button.notUsed" />
</td>
<td class="lt_text3" nowrap>
<input type="button" value="사용" onClick="javascript:fn_egov_update_bbsUseInf('<c:out value="${result.bbsId}"/>','<c:out value="${result.trgetId}"/>');" />
</td>
</c:when>
<c:otherwise>
<td class="lt_text3" nowrap>
미사용
</td>
<td class="lt_text3" nowrap>
<input type="button" value="사용" onClick="javascript:fn_egov_insert_bbsUseInf('<c:out value="${result.bbsId}"/>','<c:out value="${result.trgetId}"/>');" />
</td>
</c:otherwise>
</c:choose>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="6" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
<!--tfoot>
<tr class="">
<td colspan=6 align="center"></td>
</tr>
</tfoot -->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_select_bbsUseInfs" />
</div>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,143 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @Class Name : EgovBoardUseInfInqire.jsp
* @Description : 게시판 사용정보 조회화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.02 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.02
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="boardUseInf" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javascript">
function fn_egov_updt_bbsUseInf(){
if (!validateBoardUseInf(document.boardUseInf)){
return;
}
document.boardUseInf.action = "<c:url value='/cop/com/updateBBSUseInf.do'/>";
document.boardUseInf.submit();
}
function fn_egov_select_bbsUseInfs(){
document.boardUseInf.action = "<c:url value='/cop/com/selectBBSUseInfs.do'/>";
document.boardUseInf.submit();
}
</script>
<title>게시판 사용정보 수정</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="boardUseInf" method="post" action="<c:url value='/cop/com/updateBBSUseInf.do'/>">
<div style="visibility:hidden;display:none;"><input name="iptSubmit" type="submit" value="전송" title="전송"></div>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
<input type="hidden" name="bbsId" value="<c:out value='${bdUseVO.bbsId}'/>" />
<input type="hidden" name="trgetId" value="<c:out value='${bdUseVO.trgetId}'/>" />
<div id="border" style="width:730px">
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목아이콘이미지">&nbsp;게시판 사용정보 수정
</h1>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="table-register" summary="게시판명, 커뮤니티/ 동호회명, 사용여부 입니다" >
<tr>
<th scope="col" width="20%" height="23" class="" nowrap >게시판명</th>
<td width="80%" nowrap colspan="3">
<c:out value="${bdUseVO.bbsNm}" />
</td>
</tr>
<tr>
<th scope="col" width="20%" height="23" class="" nowrap >커뮤니티/ 동호회명</th>
<td width="80%" nowrap colspan="3">
<c:choose>
<c:when test="${not empty bdUseVO.cmmntyNm}">
<c:out value="${bdUseVO.cmmntyNm}" />
</c:when>
<c:when test="${not empty bdUseVO.clbNm}">
<c:out value="${bdUseVO.clbNm}" />
</c:when>
<c:otherwise>(시스템 활용)</c:otherwise>
</c:choose>
</td>
</tr>
<tr>
<th scope="col" width="20%" height="23" class="required_text" nowrap >
<label for="useAt">
사용여부
</label>
<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" width="15" height="15" alt="필수입력표시">
</th>
<td width="80%" nowrap colspan="3">
<spring:message code="button.use" /> : <input type="radio" name="useAt" class="radio2" value="Y" <c:if test="${bdUseVO.useAt == 'Y'}"> checked="checked"</c:if>>&nbsp;
<spring:message code="button.notUsed" /> : <input type="radio" name="useAt" class="radio2" value="N" <c:if test="${bdUseVO.useAt == 'N'}"> checked="checked"</c:if>>
<br/><form:errors path="useAt" />
</td>
</tr>
<c:choose>
<c:when test="${not empty bdUseVO.provdUrl}">
<tr>
<th width="20%" height="23" class="" nowrap >제공 URL</th>
<td width="80%" nowrap colspan="3">
<a href="<c:out value="${bdUseVO.provdUrl}" />" target="_new">
<c:out value="${bdUseVO.provdUrl}" />
</a>
</td>
</tr>
</c:when>
</c:choose>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><span class="button">
<a href="<c:url value='/cop/com/updateBBSUseInf.do'/>" onclick="fn_egov_updt_bbsUseInf(); return false;">수정</a>
</span></td>
<td width="10"></td>
<td><span class="button">
<a href="<c:url value='/cop/com/selectBBSUseInfs.do'/>" onclick="fn_egov_select_bbsUseInfs(); return false;">목록</a>
</span></td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,204 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovBoardUseInfList.jsp
* @Description : 게시판 사용정보 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.02 이삼섭 최초 생성
* 2011.09.15 서준식 동호회, 커뮤니티 사용 체크 로직 추가
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.02
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_select_bbsUseInfs('1');
}
}
function fn_egov_select_bbsUseInfs(pageNo){
document.frm.pageIndex.value = pageNo;
document.frm.action = "<c:url value='/cop/com/selectBBSUseInfs.do'/>";
document.frm.submit();
}
function fn_egov_insert_addbbsUseInf(){
document.frm.action = "<c:url value='/cop/com/addBBSUseInf.do'/>";
document.frm.submit();
}
function fn_egov_select_bbsUseInf(bbsId, trgetId){
document.frm.bbsId.value = bbsId;
document.frm.trgetId.value = trgetId;
document.frm.action = "<c:url value='/cop/com/selectBBSUseInf.do'/>";
document.frm.submit();
}
</script>
<title>게시판 사용정보 조회</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
A:link { color: #000000; text-decoration:none; }
A:visited { color: #000000; text-decoration:none; }
A:active { color: #000000; text-decoration:none; }
A:hover { color: #fa2e2e; text-decoration:none; }
</style>
</head>
<body>
<div id="border" style="width:730px">
<form name="frm" method="post" action = "<c:url value='/cop/com/selectBBSUseInf.do'/>">
<div style="visibility:hidden;display:none;"><input name="iptSubmit" type="submit" value="전송" title="전송"></div>
<input type="hidden" name="bbsId" >
<input type="hidden" name="trgetId" >
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="40%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목아이콘이미지">&nbsp;게시판 사용정보 조회
</h1>
</td>
<th >
</th>
<td width="10%" >
<select name="searchCnd" class="select" title="선택">
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> >게시판명</option>
<option value="1" <c:if test="${searchVO.searchCnd == '1'}">selected="selected"</c:if> >사용 커뮤니티명</option>
<option value="2" <c:if test="${searchVO.searchCnd == '2'}">selected="selected"</c:if> >사용 동호회명</option>
</select>
</td>
<td width="35%">
<input name="searchWrd" type="text" size="35" title="검색단어입력" value='<c:out value="${searchVO.searchWrd}" />' maxlength="35" onkeypress="press(event);">
</td>
<th width="10%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><span class="button">
<a href="<c:url value='/cop/com/selectBBSUseInfs.do'/>" onclick="fn_egov_select_bbsUseInfs('1'); return false;">조회</a>
</span></td>
<td>&nbsp;&nbsp;</td>
<td><span class="button">
<a href="<c:url value='/cop/com/addBBSUseInf.do'/>" onclick="fn_egov_insert_addbbsUseInf(); return false;">등록</a>
</span></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" cellpadding="8" class="table-line" summary="번호,게시판명,사용 커뮤니티 명,사용 동호회 명,등록일시,사용여부 목록입니다">
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th scope="col" class="title" width="10%" nowrap>번호</th>
<c:choose>
<c:when test="${useCommunity == 'true'}">
<th scope="col" class="title" width="30%" nowrap>게시판명</th>
<th scope="col" class="title" width="20%" nowrap>사용 커뮤니티 명</th>
<th scope="col" class="title" width="15%" nowrap>사용 동호회 명</th>
</c:when>
<c:otherwise>
<th scope="col" class="title" width="65%" nowrap>게시판명</th>
</c:otherwise>
</c:choose>
<th scope="col" class="title" width="15%" nowrap>등록일시</th>
<th scope="col" class="title" width="7%" nowrap>사용여부</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<!-- 2011.09.15 -->
<c:choose>
<c:when test="${useCommunity == 'true'}">
<td class="lt_text" nowrap>
<!-- 2010.11.1
<form name="item" method="post" action="<c:url value='/cop/com/selectBBSUseInf.do'/>" target="_blank">
<input type=hidden name="bbsId" value="<c:out value="${result.bbsId}"/>">
<input type=hidden name="trgetId" value="<c:out value="${result.trgetId}"/>">
<span class="link"><input type="submit" value="<c:out value="${result.bbsNm}"/>" onclick="fn_egov_select_bbsUseInf('<c:out value="${result.bbsId}"/>','<c:out value="${result.trgetId}"/>'); return false;"></span>
</form>
-->
<input type=hidden name="bbsId" value="<c:out value="${result.bbsId}"/>">
<input type=hidden name="trgetId" value="<c:out value="${result.trgetId}"/>">
<a href="<c:url value='/cop/com/selectBBSUseInf.do'/>?bbsId=<c:out value='${result.bbsId}'/>&amp;trgetId=<c:out value='${result.trgetId}'/>" onclick="">
<c:out value="${result.bbsNm}"/>
</a>
</td>
<td class="lt_text3" nowrap><c:out value="${result.cmmntyNm}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.clbNm}"/></td>
</c:when>
<c:otherwise>
<td class="lt_text" nowrap>
<input type=hidden name="bbsId" value="<c:out value="${result.bbsId}"/>">
<input type=hidden name="trgetId" value="<c:out value="${result.trgetId}"/>">
<a href="<c:url value='/cop/com/selectBBSUseInf.do'/>?bbsId=<c:out value='${result.bbsId}'/>&amp;trgetId=<c:out value='${result.trgetId}'/>" onclick="">
<c:out value="${result.bbsNm}"/>
</a>
</td>
</c:otherwise>
</c:choose>
<td class="lt_text3" nowrap><c:out value="${result.frstRegisterPnttm}"/></td>
<td class="lt_text3" nowrap>
<c:if test="${result.useAt == 'N'}"><spring:message code="button.notUsed" /></c:if>
<c:if test="${result.useAt == 'Y'}"><spring:message code="button.use" /></c:if>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="6" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="fn_egov_select_bbsUseInfs" />
</div>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
</form>
</div>
</body>
</html>

View File

@@ -0,0 +1,217 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%
/**
* @Class Name : EgovBoardUseInfRegist.jsp
* @Description : 게시판 사용정보 등록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.02 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.02
* @version 1.0
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/showModalDialog.js'/>"></script>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="boardUseInf" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javascript">
function fn_egov_select_bbsUseInfs(){
document.boardUseInf.action = "<c:url value='/cop/com/selectBBSUseInfs.do'/>";
document.boardUseInf.submit();
}
function fn_egov_regist_bbsUseInf(){
if (!validateBoardUseInf(document.boardUseInf)){
return;
}
if (confirm('<spring:message code="common.regist.msg" />')) {
document.boardUseInf.param_trgetType.value = document.boardUseInf.trgetType.value;
document.boardUseInf.action = "<c:url value='/cop/com/insertBBSUseInf.do'/>";
document.boardUseInf.submit();
}
}
function fn_egov_inqire_bbsInf(){
var retVal;
var url = "<c:url value='/cop/com/openPopup.do' />?requestUrl=/cop/bbs/SelectBBSMasterInfsPop.do&width=850&height=520";
var openParam = "dialogWidth: 900px; dialogHeight: 520px; resizable: 0, scroll: 1, center: 1";
retVal = window.showModalDialog(url,"p_cmmntyInqire", openParam, "bbsCallback");
if (retVal != null) {
var tmp = retVal.split("|");
document.boardUseInf.bbsId.value = tmp[0];
document.boardUseInf.bbsNm.value = tmp[1];
}
}
function bbsCallback(retVal) {
if (retVal != null) {
var tmp = retVal.split("|");
document.boardUseInf.bbsId.value = tmp[0];
document.boardUseInf.bbsNm.value = tmp[1];
}
}
function fn_egov_selectTargetType(obj) {
var retVal;
var _strType = obj.value;
if (_strType == 'CMMNTY') {
retVal = fn_egov_inqire_cmmnty();
} else if (_strType == 'CLUB') {
retVal = fn_egov_inqire_club();
} else if (_strType == '') {
retVal = "|";
} else {
retVal = "SYSTEM_DEFAULT_BOARD"+"|"+"시스템 활용";
}
if (retVal != null) {
var tmp = retVal.split("|");
document.boardUseInf.trgetId.value = tmp[0];
document.boardUseInf.trgetNm.value = tmp[1];
}
}
function fn_egov_inqire_cmmnty() {
var retVal;
var url = "<c:url value='/cop/com/openPopup.do' />?requestUrl=/cop/cmy/selectCmmntyInfsByPop.do&width=850&height=360";
var openParam = "dialogWidth: 850px; dialogHeight: 360px; resizable: 0, scroll: 1, center: 1";
retVal = window.showModalDialog(url,"p_cmmntyInqire", openParam, "communityCallback");
return retVal;
}
function communityCallback(retVal) {
if (retVal != null) {
var tmp = retVal.split("|");
document.boardUseInf.trgetId.value = tmp[0];
document.boardUseInf.trgetNm.value = tmp[1];
}
}
function fn_egov_inqire_club() {
var retVal;
var url = "<c:url value='/cop/com/openPopup.do' />?requestUrl=/cop/clb/selectClubInfsByPop.do&width=850&height=360";
var openParam = "dialogWidth: 850px; dialogHeight: 360px; resizable: 0, scroll: 1, center: 1";
retVal = window.showModalDialog(url,"p_cmmntyInqire", openParam, "clubCallback");
return retVal;
}
function clubCallback(retVal) {
if (retVal != null) {
var tmp = retVal.split("|");
document.boardUseInf.trgetId.value = tmp[0];
document.boardUseInf.trgetNm.value = tmp[1];
}
}
</script>
<title>게시판 사용등록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form:form commandName="boardUseInf" name="boardUseInf" method="post">
<div style="visibility:hidden;display:none;"><input name="iptSubmit" type="submit" value="전송" title="전송"></div>
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>" />
<input type="hidden" name="param_trgetType" value="" />
<div id="border" style="width:730px">
<table width="100%" cellpadding="8" class="table-search" border="0" summary="게시판명, 커뮤니티 동호회 정보 입니다">
<tr>
<td width="100%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목아이콘이미지">&nbsp;게시판 사용등록
</h1>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="table-register">
<tr>
<th width="30%" height="23" class="required_text" nowrap ><spring:message code="cop.bbsNm" />
<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" width="15" height="15" alt="필수입력표시"></th>
<td width="70%" nowrap colspan="3">
<input name="bbsId" type="hidden" />
<input name="bbsNm" type="text" size="40" value="" maxlength="40" title="게시판명" readonly />
&nbsp;<a href="#LINK" onclick="fn_egov_inqire_bbsInf();" style="selector-dummy: expression(this.hideFocus=false);"><img src="<c:url value='/images/egovframework/com/cmm/icon/search.gif' />"
width="15" height="15" align="middle" alt="새창" /></a>
<br/><form:errors path="bbsId" />
</td>
</tr>
<tr>
<th width="30%" height="23" class="required_text" nowrap >
<label for="trgetType">
<spring:message code="cop.trgetNm" />
</label>
<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" width="15" height="15" alt="필수입력표시">
</th>
<td width="70%" nowrap colspan="3">
<select name="trgetType" class="select" title="<spring:message code="cop.trgetNm" />" onChange="javascript:fn_egov_selectTargetType(this)" >
<option selected value=''>--선택하세요--</option>
<c:if test="${useCommunity == 'true'}">
<option value="CMMNTY" >커뮤니티</option>
</c:if>
<c:if test="${useClub == 'true'}">
<option value="CLUB" >동호회</option>
</c:if>
<option value="SYSTEM" >시스템</option>
</select>
<input type="hidden" name="trgetId" value="" >
<input type="text" name="trgetNm" value="" size="40" title="<spring:message code="cop.trgetNm" />" readOnly >
<br/><form:errors path="trgetId" />
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<!--
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_regist_bbsUseInf();" onclick="fn_egov_regist_bbsUseInf(); return false;"><spring:message code="button.create" /></a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td> -->
<td><span class="button"><input type="submit" title="<spring:message code="button.create" />" value="<spring:message code="button.create" />" onclick="fn_egov_regist_bbsUseInf(); return false;"></span></td>
<td width="10"></td>
<td><span class="button">
<a href="<c:url value='/cop/com/selectBBSUseInfs.do'/>?searchCondition=1" onclick="fn_egov_select_bbsUseInfs(); return false;"><spring:message code="button.list" /></a>
</span></td>
</tr>
</table>
</div>
</div>
</form:form>
</body>
</html>

View File

@@ -0,0 +1,152 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovClbOprtrList.jsp
* @Description : 사용자 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.06 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.06
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function fn_egov_returnUserInfo(uniqId) {
document.frm.emplyrId.value = uniqId;
document.frm.action = "<c:url value='/cop/com/deleteClubUserBySelf.do'/>";
document.frm.submit();
}
function fn_egov_select_userInfo(pageIndex){
var _target = document.frm.targetMethod.value;
var actionUrl;
if (_target == 'selectClubOprtrList') {
actionUrl = "<c:url value='/cop/com/selectClubOprtrList.do'/>";
} else if (_target == 'selectClubUserList') {
actionUrl = "<c:url value='/cop/com/selectClubUserList.do'/>";
} else if (_target == 'selectCmmntyMngrList') {
actionUrl = "<c:url value='/cop/com/selectCmmntyMngrList.do'/>";
} else if (_target == 'selectCmmntyUserList') {
actionUrl = "<c:url value='/cop/com/selectCmmntyUserList.do'/>";
} else {
actionUrl = "<c:url value='/cop/com/selectUserList.do'/>";
}
document.frm.pageIndex.value = pageIndex;
document.frm.action = actionUrl;
document.frm.submit();
}
function fn_egov_close(){
window.close();
}
</script>
<title>승인자 선택</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="frm" action ="" method="post">
<input type="hidden" name="targetMethod" value="${targetMethod}" />
<input type="hidden" name="trgetId" value="${trgetId}" />
<input type="hidden" name="PopFlag" value="S" />
<input type="hidden" name="clbId" value="${trgetId}" />
<input type="hidden" name="emplyrId" />
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목버튼이미지">
&nbsp;승인자 선택</td>
</tr>
</table>
<table width="100%" cellpadding="8" class="table-line">
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th class="title" width="10%" nowrap>번호</th>
<th class="title" width="30%" nowrap>사용자아이디</th>
<th class="title" width="40%" nowrap>사용자명</th>
<th class="title" width="20%" nowrap>선택</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<!--td class="lt_text3" nowrap><input type="checkbox" name="check1" class="check2"></td-->
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.userId}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userNm}" /></td>
<td class="lt_text3" nowrap>
<c:if test="${result.useAt == 'Y'}">
<input type="button" name="selectUser" value="선택"
onClick="javascript:fn_egov_returnUserInfo('<c:out value="${result.uniqId}" />');" />
</c:if>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="4" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
<!--tfoot>
<tr class="">
<td colspan=6 align="center"></td>
</tr>
</tfoot -->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_select_userInfo" />
</div>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_close()">닫기</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td>
</tr>
</table>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,150 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovCmmntyMngrList.jsp
* @Description : 커뮤니티 관리자 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.13 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.13
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function fn_egov_returnUserInfo(uniqId) {
document.frm.emplyrId.value = uniqId;
document.frm.action = "<c:url value='/cop/cmy/deleteCmmntyUserBySelf.do'/>";
document.frm.submit();
}
function fn_egov_select_userInfo(pageIndex) {
var _target = document.frm.targetMethod.value;
var actionUrl;
if (_target == 'selectClubOprtrList') {
actionUrl = "<c:url value='/cop/com/selectClubOprtrList.do'/>";
} else if (_target == 'selectClubUserList') {
actionUrl = "<c:url value='/cop/com/selectClubUserList.do'/>";
} else if (_target == 'selectCmmntyMngrList') {
actionUrl = "<c:url value='/cop/com/selectCmmntyMngrList.do'/>";
} else if (_target == 'selectCmmntyUserList') {
actionUrl = "<c:url value='/cop/com/selectCmmntyUserList.do'/>";
} else {
actionUrl = "<c:url value='/cop/com/selectUserList.do'/>";
}
document.frm.pageIndex.value = pageIndex;
document.frm.action = actionUrl;
document.frm.submit();
}
function fn_egov_close(){
window.close();
}
</script>
<title>승인자 선택</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="frm" action ="" method="post">
<input type="hidden" name="targetMethod" value="${targetMethod}" />
<input type="hidden" name="trgetId" value="${trgetId}" />
<input type="hidden" name="PopFlag" value="S" />
<input type="hidden" name="cmmntyId" value="${trgetId}" />
<input type="hidden" name="emplyrId" />
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목버튼이미지">
&nbsp;승인자 선택</td>
</tr>
</table>
<table width="100%" cellpadding="8" class="table-line">
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th class="title" width="10%" nowrap>번호</th>
<th class="title" width="30%" nowrap>사용자아이디</th>
<th class="title" width="40%" nowrap>사용자명</th>
<th class="title" width="20%" nowrap>선택</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<!--td class="lt_text3" nowrap><input type="checkbox" name="check1" class="check2"></td-->
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.userId}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userNm}" /></td>
<td class="lt_text3" nowrap>
<c:if test="${result.useAt == 'Y'}">
<input type="button" name="selectUser" value="선택"
onClick="javascript:fn_egov_returnUserInfo('<c:out value="${result.uniqId}" />');" />
</c:if>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="4" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
<!--tfoot>
<tr class="">
<td colspan=6 align="center"></td>
</tr>
</tfoot -->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_select_userInfo" />
</div>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_close()">닫기</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td>
</tr>
</table>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,81 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovCmmntyView.jsp
* @Description : 커뮤니티 목록 초기화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.08 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.08
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<title>커뮤니티 및 동호회 목록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<div id="border" style="width:730px">
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<th align=left><a href="#cmyList">커뮤니티 목록 바로가기</a></th>
</tr>
<tr>
<th align=left><a href="#clubList">동호회 목록 바로가기</a></th>
</tr>
</table>
<br>
<table width="100%" cellpadding="8" class="table-search" border="0" id="cmyList" summary="커뮤니티 목록입니다.">
<tr>
<td width="100%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" alt="">&nbsp;커뮤니티 목록
</h1>
</td>
</tr>
<tr>
<td><c:import url="/cop/cus/CmmntyListPortlet.do" charEncoding="utf-8" />
</td>
</tr>
</table>
<br>
<table width="100%" cellpadding="8" class="table-search" border="0" id="clubList" summary="동호회 목록입니다.">
<tr>
<td width="100%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" alt="">&nbsp;동호회 목록
</h1>
</td>
</tr>
<tr>
<td><c:import url="/cop/cus/ClubListPortlet.do" charEncoding="utf-8" />
</td>
</tr>
</table>
</div>
</body>
</html>

View File

@@ -0,0 +1,183 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="ImgUrl" value="/images/egovframework/com/cop/com/"/>
<%
/**
* @Class Name : EgovConfirmList.jsp
* @Description : 승인 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.13 이삼섭 최초 생성
* 2011.9.7 정진오 승인요청자 목록이 해당 커뮤니티 또는 해당 동호회에 한하여 조회되도록 수정함
* trgetId가 파라미터로 서버측으로 전송되어야 하나 누락되었음. 전송되도록 수정함
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.13
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_select_confirmList('1');
}
}
function fn_egov_select_confirmList(pageNo) {
var target = document.frm.trgetId.value;
var actionUrl;
if (target == '') {
actionUrl = "<c:url value='/cop/com/selectConfirmRequest.do'/>";
} else {
actionUrl = "<c:url value='/cop/com/selectConfirmRequestByTrget.do'/>";
}
document.frm.pageIndex.value = pageNo;
document.frm.action = actionUrl;
document.frm.submit();
}
function fn_egov_inqire_confirmInfo(cnfmNo,trgetId) {
document.frm.confmNumber.value = cnfmNo;
document.frm.trgetId.value = trgetId;
document.frm.action = "<c:url value='/cop/com/forUpdateConfirmRequest.do'/>";
document.frm.submit();
}
</script>
<title>승인 목록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
A:link { color: #000000; text-decoration:none; }
A:visited { color: #000000; text-decoration:none; }
A:active { color: #000000; text-decoration:none; }
A:hover { color: #fa2e2e; text-decoration:none; }
</style>
</head>
<body>
<div id="border" style="width:730px">
<form name="frm" action ="<c:url value='/cop/com/forUpdateConfirmRequest.do' />" method="post">
<input type="hidden" name="confmNumber" value="0" />
<input type="hidden" name="confmerId" value='<c:out value="${searchVO.confmerId}"/>' />
<input type="hidden" name="trgetId" value="<c:out value="${searchVO.trgetId}"/>" />
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="40%"class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목아이콘이미지">
&nbsp;승인 목록</td>
<th >
</th>
<td width="10%" >
<select name="searchCnd" class="select" title="검색조건선택">
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> >승인유형</option>
<option value="1" <c:if test="${searchVO.searchCnd == '1'}">selected="selected"</c:if> >승인상태</option>
</select>
</td>
<td width="35%">
<input name="searchWrd" type="text" size="35" value='<c:out value="${searchVO.searchWrd}"/>' maxlength="35" onkeypress="press(event);" title="검색어 입력">
</td>
<th width="10%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<!--
<td><img src="<c:out value="${ImgUrl}" />btn/bu2_left.gif" width="8" height="20"></td>
<td class="btnBackground" nowrap><input type="submit" value="<spring:message code="button.inquire" />" onclick="fn_egov_select_confirmList('1'); return false;" style="height:20px;width:26px;padding:0px 0px 0px 0px;" ></td>
<td><img src="<c:out value="${ImgUrl}" />btn/bu2_right.gif" width="8" height="20"></td>
-->
<td><span class="button"><input type="button" value="<spring:message code="button.inquire" />" title="<spring:message code="button.inquire" />" onclick="fn_egov_select_confirmList('1');return false;"></span></td>
</tr>
</table>
</th>
</tr>
</table>
</form>
<table width="100%" cellpadding="8" class="table-line">
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th class="title" width="10%" nowrap>번호</th>
<th class="title" width="15%" nowrap>승인유형</th>
<th class="title" width="10%" nowrap>승인상태</th>
<th class="title" width="22%" nowrap>승인요청자</th>
<th class="title" width="20%" nowrap>대상업무유형</th>
<th class="title" width="10%" nowrap>승인일자</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<!--td class="lt_text3" nowrap><input type="checkbox" name="check1" class="check2"></td-->
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text3" nowrap>
<c:choose>
<c:when test="${result.confmSttusCode == 'AP01'}">
<input type="hidden" name="confmNumber" value="0" />
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>">
<!-- a href="<c:url value='/cop/cmy/selectCmmntyInf.do'/>?confmNumber=0"; onclick="">
<c:out value="${result.confmTyCodeNm}"/>
</a-->
<!-- a href="<c:url value='/cop/com/forUpdateConfirmRequest.do'/>?confmNumber=0"; onclick="">
<c:out value="${result.confmTyCodeNm}"/>
</a-->
<!-- 2011.9.7 수정분 -->
<a href="javascript:fn_egov_inqire_confirmInfo(<c:out value='${result.confmNumber}'/>, '<c:out value='${result.trgetJobId}'/>');">
<c:out value="${result.confmTyCodeNm}"/>
</a>
</c:when>
<c:otherwise>
<c:out value="${result.confmTyCodeNm}"/>
</c:otherwise>
</c:choose>
</td>
<td class="lt_text3" nowrap><c:out value="${result.confmSttusCodeNm}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.confmRqesterNm}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.opertTyCodeNm}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.confmDe}"/></td >
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="6" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_select_confirmList" />
</div>
</div>
</body>
</html>

View File

@@ -0,0 +1,141 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovConfirmInfUpdt.jsp
* @Description : 승인 정보 수정화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.13 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.13
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function fn_egov_regist_updtConfirmInf() {
if (confirm('<spring:message code="common.update.msg" />')) {
document.frm.action = "<c:url value='/cop/com/updateConfirmRequest.do'/>";
document.frm.submit();
}
}
function fn_egov_select_confirmList() {
var target = document.frm.trgetId.value;
var actionUrl;
if (target == '') {
actionUrl = "<c:url value='/cop/com/selectConfirmRequest.do'/>";
} else {
actionUrl = "<c:url value='/cop/com/selectConfirmRequestByTrget.do'/>";
}
document.frm.action = actionUrl;
document.frm.submit();
}
</script>
<title>승인정보 수정</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="frm" method="post" action="<c:url value='/cop/com/updateConfirmRequest.do'/>">
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<input type="hidden" name="confmNumber" value="<c:out value='${historyVO.confmNumber}' />" />
<input type="hidden" name="trgetJobId" value="<c:out value='${historyVO.trgetJobId}' />" />
<input type="hidden" name="confmRqesterId" value="<c:out value='${historyVO.confmRqesterId}' />" />
<input type="hidden" name="confmerId" value="<c:out value='${historyVO.confmerId}' />" />
<input type="hidden" name="confmTyCode" value="<c:out value='${historyVO.confmTyCode}' />" />
<input type="hidden" name="opertId" value="<c:out value='${historyVO.opertId}' />" />
<input type="hidden" name="trgetId" value="<c:out value='${searchVO.trgetId}' />" />
<div id="border" style="width:730px">
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목버튼이미지">&nbsp;승인정보수정
</h1>
</td>
</tr>
</table>
<table width="100%" border="0" cellpadding="0" cellspacing="1" class="table-register">
<tr>
<th width="20%" height="23" class="" nowrap >승인유형</th>
<td width="80%" nowrap>
<c:out value="${historyVO.confmTyCodeNm}" />
</td>
</tr>
<tr>
<th width="20%" height="23" class="" nowrap >승인요청자</th>
<td width="80%" nowrap>
<c:out value="${historyVO.confmRqesterNm}" />
</td>
</tr>
<tr>
<th height="23" class="required_text" >승인상태
<img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" width="15" height="15" alt="필수입력표시"></th>
<td>
<select name="confmSttusCode" class="select" title="승인상태선택">
<option selected value=''>--선택하세요--</option>
<c:forEach var="result" items="${typeList}" varStatus="status">
<option value='<c:out value="${result.code}"/>' <c:if test="${historyVO.confmSttusCode == result.code }">selected="selected"</c:if> >
<c:out value="${result.codeNm}"/></option>
</c:forEach>
</select>
</td>
</tr>
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<!--
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_regist_updtConfirmInf();">수정</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td width="10"></td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_select_confirmList();">목록</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td>
-->
<td><span class="button"><input type="submit" value="수정" title="수정" onclick="javascript:fn_egov_regist_updtConfirmInf();return false;"></span></td>
<td width="10"></td>
<td><span class="button"><input type="submit" value="목록" title="목록" onclick="javascript:fn_egov_select_confirmList();return false;"></span></td>
</tr>
</table>
</div>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,52 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovModalPopupFrame.jsp
* @Description : 모달 팝업을 위한 외부 프레임
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.06 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.06
* @version 1.0
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/showModalDialogCallee.js'/>" ></script>
<script type="text/javascript">
function fn_egov_returnValue(retVal){
setReturnValue(retVal);
window.returnValue = retVal;
window.close();
}
function closeWindow(){
window.close();
}
</script>
<title>선택 목록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<iframe id="popupFrame" src="<c:url value='${requestUrl}' />" width="${width}" height="${height}" align="middle" frameborder="0" title="팝업창열기"></iframe>
</body>
</html>

View File

@@ -0,0 +1,223 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovUserList.jsp
* @Description : 사용자 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.06 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.06
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_select_userInfo('1');
}
}
function fn_egov_select_userInfo(pageIndex) {
var _target = document.frm.targetMethod.value;
var actionUrl;
if (_target == 'selectClubOprtrList') {
actionUrl = "<c:url value='/cop/com/selectClubOprtrList.do'/>";
} else if (_target == 'selectClubUserList') {
actionUrl = "<c:url value='/cop/com/selectClubUserList.do'/>";
} else if (_target == 'selectCmmntyMngrList') {
actionUrl = "<c:url value='/cop/com/selectCmmntyMngrList.do'/>";
} else if (_target == 'selectCmmntyUserList') {
actionUrl = "<c:url value='/cop/com/selectCmmntyUserList.do'/>";
} else {
actionUrl = "<c:url value='/cop/com/selectUserList.do'/>";
}
document.frm.pageIndex.value = pageIndex;
document.frm.action = actionUrl;
document.frm.submit();
}
function fn_egov_deleteUser(emplyrId) {
var _target = document.frm.targetMethod.value;
var url;
if (confirm('<spring:message code="cop.withdraw.msg" />')) {
if (_target == 'selectCmmntyUserList') {
url = "<c:url value='/cop/com/deleteCmmntyUser.do'/>";
document.frm.param_cmmntyId.value = document.frm.trgetId.value;
} else if (_target == 'selectClubUserList') {
url = "<c:url value='/cop/com/deleteClbUser.do'/>";
document.frm.param_clbId.value = document.frm.trgetId.value;
}
document.frm.param_emplyrId.value = emplyrId;
document.frm.action = url;
document.frm.submit();
}
}
function fn_egov_reRegistUser(emplyrId){
var _target = document.frm.targetMethod.value;
var url;
if (confirm('<spring:message code="cop.reregist.msg" />')) {
if (_target == 'selectCmmntyUserList') {
url = "<c:url value='/cop/com/reRegistCmmntyUser.do'/>";
document.frm.param_cmmntyId.value = document.frm.trgetId.value;
} else if (_target == 'selectClubUserList') {
url = "<c:url value='/cop/com/reRegistClbUser.do'/>";
document.frm.param_clbId.value = document.frm.trgetId.value;
}
document.frm.param_emplyrId.value = emplyrId;
document.frm.action = url;
document.frm.submit();
}
}
function fn_egov_registManager(emplyrId) {
var _target = document.frm.targetMethod.value;
var url;
if (confirm('<spring:message code="cop.registmanager.msg" />')) {
if (_target == 'selectCmmntyUserList') {
url = "<c:url value='/cop/com/registCmmntyManager.do'/>";
document.frm.param_cmmntyId.value = document.frm.trgetId.value;
} else if (_target == 'selectClubUserList') {
url = "<c:url value='/cop/com/registClbOprtr.do'/>";
document.frm.param_clbId.value = document.frm.trgetId.value;
}
document.frm.param_emplyrId.value = emplyrId;
document.frm.action = url;
document.frm.submit();
}
}
</script>
<title>사용자 목록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="frm" action ="" method="post">
<input type="hidden" name="targetMethod" value="${targetMethod}" />
<input type="hidden" name="trgetId" value="${trgetId}" />
<input type="hidden" name="param_emplyrId" />
<input type="hidden" name="param_cmmntyId" />
<input type="hidden" name="param_clbId" />
<div id="border" style="width:730px">
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="40%"class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목버튼이미지">
&nbsp;사용자 목록</td>
<th >
</th>
<td width="10%" >
<select name="searchCnd" class="select" title="검색조건선택">
<!-- option selected value=''--><!--선택하세요--><!-- /option-->
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> >사용자명</option>
</select>
</td>
<td width="35%">
<input name="searchWrd" type="text" size="35" value='<c:out value="${searchVO.searchWrd}"/>' maxlength="35" onkeypress="press(event);" title="검색단어입력">
</td>
<th width="10%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<!--
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" width="8" height="20" alt="button left"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_select_userInfo('1')">조회</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td>
-->
<td><span class="button"><input type="submit" value="조회" title="조회" onclick="javascript:fn_egov_select_userInfo('1');return false;"></span></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" cellpadding="8" class="table-line" summary="번호, 사용자아이디 , 사용자명, 주소, 이메일, 비고 목록입니다">
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th scope="col" class="title" width="8%" nowrap>번호</th>
<th scope="col" class="title" width="12%" nowrap>사용자아이디</th>
<th scope="col" class="title" width="13%" nowrap>사용자명</th>
<th scope="col" class="title" width="35%" nowrap>주소</th>
<th scope="col" class="title" width="12%" nowrap>이메일</th>
<th scope="col" class="title" width="20%" nowrap>비고</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<!--td class="lt_text3" nowrap><input type="checkbox" name="check1" class="check2"></td-->
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.userId}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userNm}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userAdres}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userEmail}" /></td>
<td class="lt_text3" nowrap>
<c:choose>
<c:when test="${result.useAt == 'Y'}">
<input type="button" value="탈퇴" onClick="javascript:fn_egov_deleteUser('<c:out value="${result.uniqId}"/>')" />
|<input type="button" value="운영진등록" onClick="javascript:fn_egov_registManager('<c:out value="${result.uniqId}"/>');" />
</c:when>
<c:otherwise>
|<input type="button" value="재가입" onClick="javascript:fn_egov_reRegistUser('<c:out value="${result.uniqId}"/>');" />
</c:otherwise>
</c:choose>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="6" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
<!--tfoot>
<tr class="">
<td colspan=6 align="center"></td>
</tr>
</tfoot -->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo="${paginationInfo}" type="image" jsFunction="fn_egov_select_userInfo" />
</div>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,199 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<c:set var="ImgUrl" value="${pageContext.request.contextPath}/images/egovframework/com/cmm/"/>
<%
/**
* @Class Name : EgovUserListPop.jsp
* @Description : 사용자 목록화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.06 이삼섭 최초 생성
*
* @author 공통서비스 개발팀 이삼섭
* @since 2009.04.06
* @version 1.0
* @see
*
*/
%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link href="<c:url value='/css/egovframework/com/com.css' />" rel="stylesheet" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<script type="text/javascript">
function press(event) {
if (event.keyCode==13) {
fn_egov_select_userInfo('1');
}
}
function fn_egov_returnUserInfo(uniqId, userNm, userId){
var retVal = uniqId +"|"+userNm+"|"+userId;
parent.fn_egov_returnValue(retVal);
}
function fn_egov_select_userInfo(pageIndex){
var _target = document.frm.targetMethod.value;
var actionUrl;
if(_target == 'selectClubOprtrList'){
actionUrl = "<c:url value='/cop/com/selectClubOprtrList.do'/>";
}else if(_target == 'selectClubUserList'){
actionUrl = "<c:url value='/cop/com/selectClubUserList.do'/>";
}else if(_target == 'selectCmmntyMngrList'){
actionUrl = "<c:url value='/cop/com/selectCmmntyMngrList.do'/>";
}else if(_target == 'selectCmmntyUserList'){
actionUrl = "<c:url value='/cop/com/selectCmmntyUserList.do'/>";
}else{
actionUrl = "<c:url value='/cop/com/selectUserList.do'/>";
}
document.frm.pageIndex.value = pageIndex;
document.frm.action = actionUrl;
document.frm.submit();
}
function fn_egov_close(){
parent.closeWindow();
}
</script>
<title>사용자 목록</title>
<style type="text/css">
h1 {font-size:12px;}
caption {visibility:hidden; font-size:0; height:0; margin:0; padding:0; line-height:0;}
</style>
</head>
<body>
<form name="frm" action ="<c:url value='/cop/com/selectUserList.do'/>" method="post">
<input type="hidden" name="targetMethod" value="${targetMethod}" />
<input type="hidden" name="trgetId" value="${trgetId}" />
<input type="hidden" name="PopFlag" value="Y" />
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="40%"class="title_left">
<h1>
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="middle" alt="제목버튼이미지">&nbsp;사용자 목록
</h1>
</td>
<th >
</th>
<td width="10%" >
<select name="searchCnd" class="select" title="검색조건선택">
<option value="0" <c:if test="${searchVO.searchCnd == '0'}">selected="selected"</c:if> >사용자명</option>
</select>
</td>
<td width="35%">
<input name="searchWrd" type="text" size="35" value='<c:out value="${searchVO.searchWrd}"/>' maxlength="35" onkeypress="press(event);" title="검색어 입력" >
</td>
<th width="10%">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<!--
<td><img src="${ImgUrl}btn/bu2_left.gif" width="8" height="20" "alt="버튼이미지"></td>
<td class="btnBackground" nowrap><input type="submit" value="<spring:message code="button.inquire" />" onclick="fn_egov_select_userInfo('1'); return false;" class="btnNew" style="height:20px;width:26px;padding:0px 0px 0px 0px;" ></td>
<td><img src="${ImgUrl}btn/bu2_right.gif" width="8" height="20" alt="버튼이미지"></td>
-->
<td><span class="button"><input type="submit" value="<spring:message code="button.inquire" />" title="<spring:message code="button.inquire" />" onclick="javascript:fn_egov_select_userInfo('1');return false;"></span></td>
</tr>
</table>
</th>
</tr>
</table>
<table width="100%" cellpadding="8" class="table-line" summary="번호, 사용자아이디, 사용자명, 주소, 이메일, 사용여부, 선택 목록입니다" >
<thead>
<tr>
<!-- th class="title" width="3%" nowrap><input type="checkbox" name="all_check" class="check2"></th-->
<th scope="col" class="title" width="10%" nowrap>번호</th>
<th scope="col" class="title" width="15%" nowrap>사용자아이디</th>
<th scope="col" class="title" width="15%" nowrap>사용자명</th>
<th scope="col" class="title" width="23%" nowrap>주소</th>
<th scope="col" class="title" width="12%" nowrap>이메일</th>
<th scope="col" class="title" width="8%" nowrap>사용여부</th>
<th scope="col" class="title" width="8%" nowrap>선택</th>
</tr>
</thead>
<tbody>
<c:forEach var="result" items="${resultList}" varStatus="status">
<tr>
<!--td class="lt_text3" nowrap><input type="checkbox" name="check1" class="check2"></td-->
<td class="lt_text3" nowrap><c:out value="${(searchVO.pageIndex-1) * searchVO.pageSize + status.count}"/></td>
<td class="lt_text3" nowrap><c:out value="${result.userId}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userNm}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userAdres}" /></td>
<td class="lt_text3" nowrap><c:out value="${result.userEmail}" /></td>
<td class="lt_text3" nowrap>
<c:choose>
<c:when test="${result.useAt == 'Y'}">
<spring:message code="button.use" />
</c:when>
<c:otherwise>
<spring:message code="button.notUsed" />
</c:otherwise>
</c:choose>
</td>
<td class="lt_text3" nowrap>
<c:if test="${result.useAt == 'Y' || result.deletedAt == 'Y'}">
<input type="button" name="selectUser" value="선택" title="선택"
onClick="javascript:fn_egov_returnUserInfo('<c:out value="${result.uniqId}" />','<c:out value="${result.userNm}" />','<c:out value="${result.userId}" />');" />
</c:if>
</td>
</tr>
</c:forEach>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" nowrap colspan="6" ><spring:message code="common.nodata.msg" /></td>
</tr>
</c:if>
</tbody>
<!--tfoot>
<tr class="">
<td colspan=6 align="center"></td>
</tr>
</tfoot -->
</table>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="fn_egov_select_userInfo" />
</div>
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
<div align="center">
<table border="0" cellspacing="0" cellpadding="0" align="center">
<tr>
<!--
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif'/>" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>" class="text_left" nowrap>
<a href="javascript:fn_egov_close()">닫기</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif'/>" width="8" height="20" alt="버튼이미지"></td>
-->
<td><span class="button"><input type="button" value="닫기" title="닫기" onclick="javascript:fn_egov_close();return false;"></span></td>
</tr>
</table>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,144 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%pageContext.setAttribute("crlf", "\r\n"); %>
<%
/**
* @Class Name : EgovMailDetail.jsp
* @Description : 발송메일 상세 조회 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.11 박지욱 최초 생성
*
* @author 공통서비스 개발팀 박지욱
* @since 2009.03.11
* @version 1.0
* @see
*
*/
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<title>MOPAS 발송메일 상세 조회</title>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/fms/EgovMultiFile.js'/>"></script>
<script type="text/javaScript" language="javascript">
/* ********************************************************
* 삭제 처리 함수
******************************************************** */
function fnDelete(){
var ret = confirm("삭제하시겠습니까?");
if (ret == true) {
document.detailForm.action = "<c:url value='/cop/ems/deleteSndngMail.do'/>";
document.detailForm.target = "";
document.detailForm.submit();
}
}
/* ********************************************************
* 뒤로 처리 함수
******************************************************** */
function fnBack(){
document.detailForm.action = "<c:url value='/cop/ems/backSndngMailDetail.do'/>";
document.detailForm.target = "";
document.detailForm.submit();
}
/* ********************************************************
* XML형태의 발송메일 보기
******************************************************** */
function fnSelectXml(){
document.detailForm.action = "<c:url value='/cop/ems/selectSndngMailXml.do'/>";
document.detailForm.target = "_blank";
document.detailForm.submit();
}
</script>
</head>
<body>
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<form name="detailForm" action ="<c:url value='/cop/ems/deleteSndngMail.action'/>" method="post">
<input name="mssageId" type="hidden" value="${resultInfo.mssageId}"/>
<input name="atchFileIdList" type="hidden" value="${resultInfo.atchFileId}"/>
<table width="700">
<tr>
<td>
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="700"class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;발송메일 상세조회</h1></td>
</tr>
</table>
<table width="700" border="0" cellpadding="0" cellspacing="1" class="table-register" summary="보내는 사람, 받는 사람, 제목, 발신 내용, 발송 결과, XML메일보기, 첨부파일에 대한 정보를 가진 발송메일을 상세조회한다.">
<CAPTION style="display: none;">발송메일 상세조회</CAPTION>
<tr>
<th scope="row" width="200" height="23" class="required_text" nowrap >보내는사람&nbsp;&nbsp;</th>
<td width="500" nowrap>${resultInfo.dsptchPerson}</td>
</tr>
<tr>
<th scope="row" width="200" height="23" class="required_text" nowrap >받는사람&nbsp;&nbsp;</th>
<td width="500" nowrap>${resultInfo.recptnPerson}</td>
</tr>
<tr>
<th scope="row" width="200" height="23" class="required_text" nowrap >제목&nbsp;&nbsp;</th>
<td width="500" nowrap>${resultInfo.sj}</td>
</tr>
<tr>
<th scope="row" width="200" height="23" class="required_text" >발신 내용&nbsp;&nbsp;</th>
<td width="500" nowrap>
<c:out value="${fn:replace(resultInfo.emailCn , crlf , '<br/>')}" escapeXml="false" />
</td>
</tr>
<tr>
<th scope="row" width="200" height="23" class="required_text" >발송 결과&nbsp;&nbsp;</th>
<td width="500" nowrap>${resultInfo.sndngResultCode}</td>
</tr>
<tr>
<th scope="row" width="200" height="23" class="required_text" >XML메일보기&nbsp;&nbsp;</th>
<td width="500" nowrap><a href="#noscript" onclick="fnSelectXml(); return false;">${resultInfo.mssageId}.xml</a></td>
</tr>
<c:if test="${result.atchFileId != ''}">
<tr>
<th scope="row" width="200" height="23" class="required_text" >첨부파일&nbsp;&nbsp;</th>
<td width="500" nowrap>
<c:import url="/cmm/fms/selectFileInfs.do" >
<c:param name="param_atchFileId" value="${resultInfo.atchFileId}" />
</c:import>
</td>
</tr>
</c:if>
</table>
<table width="700" border="0" cellspacing="0" cellpadding="0">
<tr>
<td height="10"></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" width="8" height="20" alt="버튼이미지"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fnBack(); return false;">뒤로</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" width="8" height="20" alt=""></td>
<td>&nbsp;&nbsp;</td>
<td><span class="button"><input type="submit" value="삭제" onclick="fnDelete(); return false;"></span></td>
</tr>
</table>
</td>
</tr>
</table>
</form>
</body>
</html>

View File

@@ -0,0 +1,250 @@
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovMailDtls.jsp
* @Description : 발송메일 내역 조회 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- --------- ---------------------------
* @ 2009.03.11 박지욱 최초 생성
* @ 2011.09.30 이기하 데이터 없을시 메시지 추가
*
* @author 공통서비스 개발팀 박지욱
* @since 2009.03.11
* @version 1.0
* @see
*
*/
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<title>MOPAS 발송메일 내역 조회</title>
<script type="text/javaScript" language="javascript">
<!--
/* ********************************************************
* 페이징 처리 함수
******************************************************** */
function linkPage(pageNo){
document.listForm.pageIndex.value = pageNo;
document.listForm.action = "<c:url value='/cop/ems/selectSndngMailList.do' />";
document.listForm.submit();
}
/* ********************************************************
* 조회 처리
******************************************************** */
function fnSearch(){
document.listForm.pageIndex.value = 1;
document.listForm.action = "<c:url value='/cop/ems/selectSndngMailList.do' />";
document.listForm.submit();
}
/* ********************************************************
* 등록 처리 함수
******************************************************** */
function fnRegist(){
document.listForm.action = "<c:url value='/cop/ems/insertSndngMailView.do' />";
document.listForm.submit();
}
/* ********************************************************
* 상세회면 처리 함수
******************************************************** */
function fnDetail(mid){
document.detailForm.action = "<c:url value='/cop/ems/selectSndngMailDetail.do' />";
document.detailForm.mssageId.value = mid;
document.detailForm.submit();
}
/* ********************************************************
* 삭제 처리 함수
******************************************************** */
function fnDelete(){
var checkField = document.listForm.checkField;
var id = document.listForm.checkId;
var fileId = document.listForm.checkFileId;
var checkedIds = "";
var checkedFildIds = "";
var checkedCount = 0;
if(checkField) {
if(checkField.length > 1) {
for(var i=0; i < checkField.length; i++) {
if(checkField[i].checked) {
checkedIds += ((checkedCount==0? "" : ",") + id[i].value);
checkedFildIds += ((checkedCount==0? "" : ",") + fileId[i].value);
checkedCount++;
}
}
} else {
if(checkField.checked) {
checkedIds = id.value;
checkedFildIds = fileId.value;
}
}
}
if(checkedIds.length > 0) {
var ret = confirm("삭제하시겠습니까?");
if (ret == true) {
document.deleteForm.mssageId.value=checkedIds;
document.deleteForm.atchFileIdList.value=checkedFildIds;
document.deleteForm.action = "<c:url value='/cop/ems/deleteSndngMailList.do' />";
document.deleteForm.submit();
}
}
}
/* ********************************************************
* 모두선택 처리 함수
******************************************************** */
function fnCheckAll(){
var checkField = document.listForm.checkField;
if(document.listForm.checkAll.checked) {
if(checkField) {
if(checkField.length > 1) {
for(var i=0; i < checkField.length; i++) {
checkField[i].checked = true;
}
} else {
checkField.checked = true;
}
}
} else {
if(checkField) {
if(checkField.length > 1) {
for(var j=0; j < checkField.length; j++) {
checkField[j].checked = false;
}
} else {
checkField.checked = false;
}
}
}
}
-->
</script>
</head>
<body onload="document.listForm.searchCondition.focus();">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<DIV id="content" style="display">
<form name="listForm" action="<c:url value='/cop/ems/selectSndngMailList.do'/>" method="post">
<input name="pageIndex" type="hidden" value="<c:out value='${searchVO.pageIndex}'/>"/>
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="250"class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;발송내역 조회</h1></td>
<th></th>
<td width="100">
<select name="searchCondition" class="select" tabindex="1" title="검색부문" id = "searchCondition">
<option selected value=''>--선택하세요--</option>
<option value='1'>제목</option>
<option value='2'>내용</option>
<option value='3'>보낸이</option>
</select>
</td>
<td width="200">
<input name="searchKeyword" type="text" size="35" value="" maxlength="35" tabindex="2" title="제목" id = "searchKeyword">
</td>
<th width="150">
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td>&nbsp;&nbsp;</td>
<td><span class="button"><input type="submit" value="조회" onclick="fnSearch(); return false;" ></span></td>
<td>&nbsp;&nbsp;</td>
<td>&nbsp;&nbsp;</td>
<td><span class="button"><input type="submit" value="등록" onclick="fnRegist(); return false;"></span></td>
<td>&nbsp;&nbsp;</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" width="8" height="20" alt="버튼이미지"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fnDelete(); return false;">삭제</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" width="8" height="20" alt=""></td>
<td>&nbsp;&nbsp;</td>
</tr>
</table>
</th>
</tr>
</table>
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<table width="700" cellpadding="0" class="table-line" border="0" summary="상태, 발신자, 수신자, 제목, 날짜의 정보를 가진 발송메일내역을 조회한다.">
<CAPTION style="display: none;">발송메일 내역 조회</CAPTION>
<thead>
<tr>
<th scope="col" class="title" width="5%" nowrap><input type="checkbox" name="checkAll" class="check2" onClick="javascript:fnCheckAll();" title="전체선택" id="checkAll" /></th>
<th scope="col" class="title" width="5%" nowrap>상태</th>
<th scope="col" class="title" width="15%" nowrap>발신자</th>
<th scope="col" class="title" width="20%" nowrap>수신자</th>
<th scope="col" class="title" width="35%" nowrap>제목</th>
<th scope="col" class="title" width="20%" nowrap>날짜</th>
</tr>
</thead>
<!-- 목록 조회 시작-->
<tbody>
<%-- 데이터를 없을때 화면에 메세지를 출력해준다 --%>
<c:if test="${fn:length(resultList) == 0}">
<tr>
<td class="lt_text3" colspan="6">
<spring:message code="common.nodata.msg" />
</td>
</tr>
</c:if>
<c:forEach items="${resultList}" var="resultInfo" varStatus="status">
<tr style="cursor:hand;">
<td class="lt_text3" nowrap>
<input type="checkbox" name="checkField" class="check2" title="선택">
<input name="checkId" type="hidden" value="<c:out value='${resultInfo.mssageId}'/>" title=""/>
<input name="checkFileId" type="hidden" value="<c:out value='${resultInfo.atchFileId}'/>" title=""/>
</td>
<td class="lt_text3" nowrap>${resultInfo.sndngResultCode}</td>
<td class="lt_text3" nowrap>${resultInfo.dsptchPerson}</td>
<td class="lt_text6" nowrap>${resultInfo.recptnPerson}</td>
<td class="lt_text6" nowrap><a href="<c:url value='/cop/ems/selectSndngMailDetail.do' />" onclick="fnDetail('${resultInfo.mssageId}'); return false;">${resultInfo.sj}</a></td>
<td class="lt_text3" nowrap>${resultInfo.sndngDe}</td>
</tr>
</c:forEach>
<!-- 목록 조회 끝-->
</tbody>
</table>
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td height="3px"></td>
</tr>
</table>
<!-- 페이징 시작 -->
<table width="700" cellspacing="0" cellpadding="0" border="0">
<tr>
<td>
<div align="center">
<div>
<ui:pagination paginationInfo = "${paginationInfo}" type="image" jsFunction="linkPage"/>
</div>
</div>
</td>
</tr>
</table>
<!-- 페이징 끝 -->
</form>
<!-- 상세조회할 발송메일ID를 담는 폼 -->
<form name="detailForm" action="<c:url value='/cop/ems/selectSndngMailDetail.do'/>" method="post">
<input name="mssageId" type="hidden" value=""/>
<input type="submit" id="invisible" class="invisible"/>
</form>
<!-- 삭제할 발송메일ID(여러 ID를 ,로 묶어 만들어진 데이터)를 담는 폼 -->
<form name="deleteForm" action="<c:url value='/cop/ems/deleteSndngMailList.do'/>" method="post">
<input name="mssageId" type="hidden" value=""/>
<input name="atchFileIdList" type="hidden" value=""/>
<input type="submit" class="invisible"/>
</form>
</DIV>
</body>
</html>

View File

@@ -0,0 +1,167 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib prefix="fn" uri="http://java.sun.com/jsp/jstl/functions" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="validator" uri="http://www.springmodules.org/tags/commons-validator" %>
<%--
/**
* @Class Name : EgovMailRegist.jsp
* @Description : 발송메일 등록 화면
* @Modification Information
* @
* @ 수정일 수정자 수정 내용
* @ ---------- -------- ---------------------------
* @ 2009.03.11 박지욱 최초 생성
* @ 2011.12.06 이기하 첨부파일 기능 추가(fileStreCours)
*
* @author 공통서비스 개발팀 박지욱
* @since 2009.03.11
* @version 1.0
* @see
*
*/
--%>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" type="text/css">
<link href="<c:url value='/css/egovframework/com/button.css' />" rel="stylesheet" type="text/css">
<title>MOPAS 발송메일 등록</title>
<script type="text/javascript" src="<c:url value='/js/egovframework/com/cmm/fms/EgovMultiFile.js'/>"></script>
<script type="text/javascript" src="<c:url value="/validator.do"/>"></script>
<validator:javascript formName="sndngMailVO" staticJavascript="false" xhtml="true" cdata="false"/>
<script type="text/javaScript" language="javascript">
/* ********************************************************
* 등록 처리 함수
******************************************************** */
function insertSndngMail(form) {
if(confirm('<spring:message code="common.save.msg" />')){
if(!validateSndngMailVO(form)){
return;
}else{
var fileStreCours = document.sndngMailVO.egovComFileUploader.value;
if (fileStreCours != null && fileStreCours != "") {
document.sndngMailVO.fileStreCours.value = fileStreCours;
}
form.action = "<c:url value='/cop/ems/insertSndngMail.do'/>";
form.submit();
}
}
}
/* ********************************************************
* 뒤로 처리 함수
******************************************************** */
function fnBack(){
document.sndngMailVO.action = "<c:url value='/cop/ems/backSndngMailRegist.do'/>";
document.sndngMailVO.submit();
}
/* ********************************************************
* 초기화
******************************************************** */
function fnInit(){
var closeYn = document.sndngMailVO.closeYn.value;
if (closeYn == "Y") {
window.close();
}
document.sndngMailVO.recptnPerson.focus();
}
</script>
</head>
<body onLoad="fnInit();">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<form:form name="sndngMailVO" method="post" enctype="multipart/form-data">
<input type="hidden" name="posblAtchFileNumber" value="1" /> <!-- 파일첨부 개수 -->
<input type="hidden" name="link" value="${resultInfo.link}" />
<input type="hidden" name="closeYn" value="${closeYn}" />
<input type="hidden" name="fileStreCours" value="" />
<table width="700">
<tr>
<td>
<table width="700" cellpadding="8" class="table-search" border="0">
<tr>
<td width="700"class="title_left"><h1 class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" style="vertical-align: middle" alt="제목아이콘이미지">&nbsp;발송메일 등록</h1></td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table width="700" border="0" cellpadding="0" cellspacing="1" class="table-register" summary="받는사람, 제목, 파일첨부 및 발신 내용을 입력하여 발송메일을 등록한다.">
<CAPTION style="display: none;">발송메일 등록</CAPTION>
<tr>
<th scope="row" width="100" height="23" class="required_text" nowrap ><label for="recptnPerson">받는사람</label><img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" width="15" height="15" alt="필수입력표시"></th>
<td width="600" nowrap>
<input name="recptnPerson" id="recptnPerson" type="text" size="74" value="${resultInfo.recptnPerson}" maxlength="60" style="ime-mode: disabled;" tabindex="1" title="<spring:message code="sym.ems.receiver" />">
</td>
</tr>
<tr>
<th scope="row" width="100" height="23" class="required_text" nowrap ><label for="sj">제목</label><img src="<c:url value='/images/egovframework/com/cmm/icon/required.gif' />" width="15" height="15" alt="필수입력표시"></th>
<td width="600" nowrap>
<input name="sj" id="sj" type="text" size="74" value="${resultInfo.sj}" maxlength="250" tabindex="2" title="<spring:message code="sym.ems.title" />">
</td>
</tr>
<tr>
<th scope="row" width="100" height="23" class="required_text"><label for="egovComFileUploader">파일첨부&nbsp;&nbsp;&nbsp;</label></th>
<td width="600">
<table width="600" cellspacing="0" cellpadding="0" border="0" align="center" class="UseTable">
<tr>
<td width="600"><input name="file_1" id="egovComFileUploader" type="file" tabindex="3"title="<spring:message code="sym.log.atchFile" />" onchange="this.select(); document.getElementById('egovComFileUploader').value=document.selection.createRange().text.toString();" /></td>
</tr>
<tr>
<td width="600">
<div id="egovComFileList"></div>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<th scope="row" width="100" height="23" class="required_text" ><label for="emailCn">발신 내용&nbsp;&nbsp;&nbsp;</label></th>
<td width="600">
<textarea id="emailCn" name="emailCn" cols="75" rows="25" tabindex="4"title="<spring:message code="sym.ems.content" />"></textarea>
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0" align="right">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" width="8" height="20" alt="버튼이미지"></td>
<td style="background-image:URL(<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif'/>);" class="text_left" nowrap><a href="#noscript" onclick="fnBack(); return false;">뒤로</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" width="8" height="20" alt=""></td>
<td>&nbsp;&nbsp;</td>
<td><span class="button"><input type="submit" value="등록" onclick="insertSndngMail(document.sndngMailVO); return false;"></span></td>
</tr>
</table>
</td>
</tr>
</table>
</form:form>
<script type="text/javascript">
var maxFileNum = document.sndngMailVO.posblAtchFileNumber.value;
if(maxFileNum==null || maxFileNum==""){
maxFileNum = 3;
}
var multi_selector = new MultiSelector( document.getElementById( 'egovComFileList' ), maxFileNum );
multi_selector.addElement( document.getElementById( 'egovComFileUploader' ) );
</script>
</body>
</html>

View File

@@ -0,0 +1,84 @@
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<%@ page contentType="text/html; charset=utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%
/**
* @Class Name : EgovMailXml.jsp
* @Description : 발송요청메일 XML 파일내용 보기
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.04.09 박지욱 최초 생성
*
* @author 공통서비스 개발팀 박지욱
* @since 2009.04.09
* @version 1.0
* @see
*
*/
%>
<%pageContext.setAttribute("crlf", "\r\n"); %>
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" type="text/css">
<title>MOPAS 발송요청 XML파일 내용 조회</title>
<script type="text/javaScript" language="javascript">
/* ********************************************************
* XML형태의 발송메일 보기
******************************************************** */
function fnInit(){
var message = document.all.message.value;
if (message != "") {
alert(message);
window.close();
}
}
</script>
</head>
<a name="noscript" id="noscript">
<noscript class="noScriptTitle">자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
</a>
<body onLoad="fnInit();">
<input type="hidden" name="message" value="${message}">
<table width="100%">
<tr>
<td>
<table width="100%" cellpadding="8" class="table-search" border="0">
<tr>
<td width="100%"class="title_left">
<img src="<c:url value='/images/egovframework/com/cmm/icon/tit_icon.gif' />" width="16" height="16" hspace="3" align="absmiddle" alt="제목아이콘이미지">&nbsp;발송요청 XML파일 내용 조회</td>
</tr>
</table>
<table width="500" border="0" cellpadding="0" cellspacing="1" class="table-register">
<tr>
<th width="150" height="23" class="required_text" >내용&nbsp;&nbsp;</th>
<td width="350" nowrap>
${xmldata}
</td>
</tr>
</table>
</td>
</tr>
<tr>
<td>
<table border="0" cellspacing="0" cellpadding="0">
<tr>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_left.gif' />" width="8" height="20" alt="버튼이미지"></td>
<td background="<c:url value='/images/egovframework/com/cmm/btn/bu2_bg.gif' />" class="text_left" nowrap><a href="javascript:window.close();">닫기</a>
</td>
<td><img src="<c:url value='/images/egovframework/com/cmm/btn/bu2_right.gif' />" width="8" height="20" alt="버튼이미지"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>

View File

@@ -0,0 +1,50 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page import="egovframework.com.cmm.util.EgovUserDetailsHelper" %>
<script type="text/javascript">
var getContextPath = "${pageContext.request.contextPath}";
</script>
<script language="text/javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script type="text/javascript">
function fn_main_headPageMove(menuNo, url){
document.selectOne.menuNo.value=menuNo;
document.selectOne.chkURL.value=url;
document.selectOne.action = "<c:url value='/sym/mnu/mpm/EgovMainMenuIndex.do'/>";
document.selectOne.submit();
}
function actionLogout()
{
document.selectOne.action = "<c:url value='/uat/uia/actionLogout.do'/>";
document.selectOne.submit();
//top.document.location.href = "<c:url value='/j_spring_security_logout'/>";
}
</script>
<form name="selectOne">
<input name="menuNo" type="hidden" />
<input name="chkURL" type="hidden" />
<link rel="stylesheet" type="text/css" href="<c:url value='/css/egovframework/com/common.css' />" />
<div id="gnb">
<div id="top_logo"><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target=_top><img src="<c:url value='/images/egovframework/com/logo_01.gif' />" alt="egovframe" /></a></div>
<div id="use_descri">
<ul>
<li>공통서비스 테스트 사이트(업무사용자용)</li>
<li><a href="javascript:actionLogout()"><img src="<c:url value='/images/egovframework/com/logout_btn.gif' />" alt="로그아웃" /></a></li>
</ul>
</div>
</div>
<div id="new_topnavi">
<ul>
<li><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target="_top">HOME</a></li>
<c:forEach var="result" items="${list_headmenu}" varStatus="status">
<li class="gap"> l </li>
<li><a href="javascript:fn_main_headPageMove('<c:out value="${result.menuNo}"/>','<c:out value="${result.chkURL}"/>')"><c:out value="${result.menuNm}"/></a></li>
</c:forEach>
</ul>
</div>
</form>

View File

@@ -0,0 +1,49 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<%@ page import="egovframework.com.cmm.util.EgovUserDetailsHelper" %>
<script type="text/javascript">
var getContextPath = "${pageContext.request.contextPath}";
</script>
<script language="javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script type="text/javascript">
function fn_main_headPageMove(menuNo, url){
document.selectOne.menuNo.value=menuNo;
document.selectOne.chkURL.value=url;
document.selectOne.action = "<c:url value='/sym/mnu/mpm/EgovMainMenuIndex.do'/>";
document.selectOne.submit();
}
function actionLogout()
{
document.selectOne.action = "<c:url value='/uat/uia/actionLogout.do'/>";
document.selectOne.submit();
//top.document.location.href = "<c:url value='/j_spring_security_logout'/>";
}
</script>
<form name="selectOne">
<input name="menuNo" type="hidden" />
<input name="chkURL" type="hidden" />
<link rel="stylesheet" type="text/css" href="<c:url value='/css/egovframework/com/common.css' />" />
<div id="gnb">
<div id="top_logo"><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target="_top"><img src="<c:url value='/images/egovframework/com/logo_01.gif' />" alt="egovframe" /></a></div>
<div id="use_descri">
<ul>
<li>공통서비스 테스트 사이트(일반사용자용)</li>
<li><a href="javascript:actionLogout()"><img src="<c:url value='/images/egovframework/com/logout_btn.gif' />" alt="로그아웃" /></a></li>
</ul>
</div>
</div>
<div id="new_topnavi">
<ul>
<li><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target="_top">HOME</a></li>
<c:forEach var="result" items="${list_headmenu}" varStatus="status">
<li class="gap"> l </li>
<li><a href="javascript:fn_main_headPageMove('<c:out value="${result.menuNo}"/>','<c:out value="${result.chkURL}"/>')"><c:out value="${result.menuNm}"/></a></li>
</c:forEach>
</ul>
</div>
</form>

View File

@@ -0,0 +1,23 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css">
<link rel="stylesheet" type="text/css" href="<c:url value='/css/egovframework/com/common.css' />" />
<title>Bottom Main</title>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight= "0">
<div id="new_footer">
<ul>
<li style="float:left"><img src="<c:url value='/images/egovframework/com/botttom_logo.gif' />" alt="안전행전부" /></li>
<li style="font-size:11px; float:left">(우)110-751 서울특별시 종로구 세종로 55 정부중앙청사</p>
COPYRIGHT(C)2011 MINISTRY OF SECURITY AND PUBLIC ADMINISTRATOR. ALL RIGHT RESERVED</li>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css">
<title>HeadMenu</title>
<script type="text/javascript">
var getContextPath = "${pageContext.request.contextPath}";
</script>
<script language="javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script type="text/javascript">
function fn_main_headPageMove(menuNo, url){
document.selectOne.vStartP.value=menuNo;
document.selectOne.chkURL.value=url;
document.selectOne.action = "<c:url value='/sym/mnu/mpm/EgovMainMenuLeft.do'/>";
document.selectOne.target = "main_left";
document.selectOne.submit();
document.selectOne.action = "<c:url value='/sym/mnu/mpm/EgovMainMenuRight.do'/>";
document.selectOne.target = "main_right";
document.selectOne.submit();
}
function actionLogout()
{
document.selectOne.action = "<c:url value='/uat/uia/actionLogout.do'/>";
document.selectOne.target = "_top";
document.selectOne.submit();
//top.document.location.href = "<c:url value='/j_spring_security_logout'/>";
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight= "0">
<link rel="stylesheet" type="text/css" href="<c:url value='/css/egovframework/com/common.css' />" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/com.css' />" type="text/css" />
<form name="selectOne">
<input name="vStartP" type="hidden" />
<input name="chkURL" type="hidden" />
</form>
<div id="gnb">
<div id="top_logo"><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target=_top><img src="<c:url value='/images/egovframework/com/logo_01.gif' />" alt="egovframe" /></a></div>
<div id="use_descri">
<ul>
<li>공통서비스 테스트 사이트(업무사용자용)</li>
<li><a href="javascript:actionLogout()"><img src="<c:url value='/images/egovframework/com/logout_btn.gif' />" alt="로그아웃" /></a></li>
</ul>
</div>
</div>
<div id="new_topnavi">
<ul>
<li><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target="_top">HOME</a></li>
<c:forEach var="result" items="${list_headmenu}" varStatus="status">
<li class="gap"> l </li>
<li><a href="javascript:fn_main_headPageMove('<c:out value="${result.menuNo}"/>','<c:out value="${result.chkURL}"/>')"><c:out value="${result.menuNm}"/></a></li>
</c:forEach>
</ul>
</div>
</body>
</html>

View File

@@ -0,0 +1,66 @@
<%@ page language="java" contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib prefix="ui" uri="http://egovframework.gov/ctl/ui"%>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%@ taglib prefix="spring" uri="http://www.springframework.org/tags"%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css">
<title>HeadMenu</title>
<script type="text/javascript">
var getContextPath = "${pageContext.request.contextPath}";
</script>
<script language="javascript" src="<c:url value='/js/egovframework/com/main.js' />"></script>
<script type="text/javascript">
function fn_main_headPageMove(menuNo, url){
document.selectOne.vStartP.value=menuNo;
document.selectOne.chkURL.value=url;
document.selectOne.action = "<c:url value='/sym/mnu/mpm/EgovMainMenuLeft.do'/>";
document.selectOne.target = "main_left";
document.selectOne.submit();
document.selectOne.action = "<c:url value='/sym/mnu/mpm/EgovMainMenuRight.do'/>";
document.selectOne.target = "main_right";
document.selectOne.submit();
}
function actionLogout()
{
document.selectOne.action = "<c:url value='/uat/uia/actionLogout.do'/>";
document.selectOne.target = "_top";
document.selectOne.submit();
//top.document.location.href = "<c:url value='/j_spring_security_logout'/>";
}
</script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight= "0">
<form name="selectOne">
<input name="vStartP" type="hidden" />
<input name="chkURL" type="hidden" />
<link rel="stylesheet" type="text/css" href="<c:url value='/css/egovframework/com/common.css' />" />
<div id="gnb">
<div id="top_logo"><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target="_top"><img src="<c:url value='/images/egovframework/com/logo_01.gif' />" alt="egovframe" /></a></div>
<div id="use_descri">
<ul>
<li>공통서비스 테스트 사이트(일반사용자용)</li>
<li><a href="javascript:actionLogout()"><img src="<c:url value='/images/egovframework/com/logout_btn.gif' />" alt="로그아웃" /></a></li>
</ul>
</div>
</div>
<div id="new_topnavi">
<ul>
<li><a href="<c:url value='/sym/mnu/mpm/EgovMainMenuHome.do' />" target="_top">HOME</a></li>
<c:forEach var="result" items="${list_headmenu}" varStatus="status">
<li class="gap"> l </li>
<li><a href="javascript:fn_main_headPageMove('<c:out value="${result.menuNo}"/>','<c:out value="${result.chkURL}"/>')"><c:out value="${result.menuNm}"/></a></li>
</c:forEach>
</ul>
</div>
</form>
</body>
</html>

View File

@@ -0,0 +1,67 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ taglib prefix="c" uri="http://java.sun.com/jsp/jstl/core" %>
<%@ taglib uri="http://java.sun.com/jsp/jstl/functions" prefix="fn" %>
<%
/**
* @Class Name : left.jsp
* @Description : 좌측메뉴화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.03.10 이용 최초 생성
*
* @author 공통서비스 개발팀 이용
* @since 2009.03.10
* @version 1.0
* @see
*
*/
/* Image Path 설정 */
String imagePath_icon = "/images/egovframework/com/sym/mnu/mpm/icon/";
String imagePath_button = "/images/egovframework/com/sym/mnu/mpm/button/";
%>
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html lang="ko">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<link rel="stylesheet" href="<c:url value='/css/egovframework/com/cmm/mpm.css' />" type="text/css" />
<title>메뉴정보등록</title>
<script type="text/javascript">
var imgpath = "<c:url value='/images/egovframework/com/cmm/utl/'/>";
var getContextPath = "${pageContext.request.contextPath}";
var path = "http://" + "${pageContext.request.serverName}" + ":" + "${pageContext.request.serverPort}";
</script>
<script language="javascript1.2" src="<c:url value='/js/egovframework/com/sym/mnu/mpm/EgovMainMenu.js' />" /></script>
</head>
<body leftmargin="0" topmargin="0" marginwidth="0" marginheight= "0">
<form name="menuListForm" action ="<c:url value='/sym/mnu/mpm/EgovMenuListSelect.do' />" method="post">
<DIV id="main" style="display:">
<table width="181" cellpadding="8" class="table-search" border="1">
<tr>
<td width="181" class="title_left" >
<div style="width:0px; height:0px;">
<c:forEach var="result" items="${list_menulist}" varStatus="status" >
<input type="hidden" name="tmp_menuNm" value="${result.menuNo}|${result.upperMenuId}|${result.menuNm}|${result.relateImagePath}|${result.relateImageNm}|${pageContext.request.contextPath}/${result.chkURL}|"/>
</c:forEach>
</div>
<div class="tree" style="overflow: auto; position: absolute; z-index: 5; padding: 0pt 0pt 0pt 49px; width: 214px; height: 512px;">
<script language="javascript">
var Tree = new Array;
for (var j = 0; j < document.menuListForm.tmp_menuNm.length; j++) {
Tree[j] = document.menuListForm.tmp_menuNm[j].value;
}
createTree(Tree, true, '<c:out value="${resultVO.tempInt}"/>');
</script>
</div>
</td>
</tr>
</table>
</DIV>
</form>
</body>
</html>

Some files were not shown because too many files have changed in this diff Show More