File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
<%--
Class Name : EgovLoginPolicyRegist.jsp
Description : EgovLoginPolicyRegist 화면
Modification Information
수정일 수정자 수정내용
------- -------- ---------------------------
2009.02.01 lee.m.j 최초 생성
2011.08.31 JJY 경량환경 버전 생성
author : 공통서비스 개발팀 lee.m.j
since : 2009.02.01
--%>
<%@ 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" %>
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="Content-Language" content="ko" >
<title>등록</title>
<script type="text/javaScript" language="javascript">
function fn_insert() {
var varFrom = document.getElementById("modiForm");
if(!validate()){
return false;
}
varFrom.action = "<c:url value='/uss/ion/cnf/scriptMngInsert.do'/>";
if(confirm("저장 하시겠습니까?")){
varFrom.submit();
}
}
function validate() {
if($('#scriptSj').val().trim()==""){
alert("방문자스크립트 제목을 넣어주세요");
return false;
}
if($('#scriptCn').val().trim()==""){
alert("방문자스크립트 내용을 넣어주세요");
return false;
}
return true;
}
function fn_update() {
var varFrom = document.getElementById("modiForm");
varFrom.action = "<c:url value='/uss/ion/cnf/scriptMngUpdate.do'/>";
if(confirm("저장 하시겠습니까?")){
varFrom.submit();
}
}
/* 삭제 */
function fn_delete(){
if(confirm("삭제하시겠습니까?")){
document.modiForm.action = "/uss/ion/cnf/scriptMngDelete.do";
document.modiForm.submit();
}
}
</script>
</head>
<body>
<noscript>자바스크립트를 지원하지 않는 브라우저에서는 일부 기능을 사용하실 수 없습니다.</noscript>
<form name="modiForm" id="modiForm" method="post" action="${pageContext.request.contextPath}/uat/uap/addLoginPolicy.do">
<!-- 검색조건 유지 -->
<input type="hidden" name="del" value="<c:out value='${scriptMngVO.siteId}'/>" >
<!-- 검색조건 유지 -->
<div class="contWrap">
<div class="pageTitle">
<div class="pageIcon"><img src="/pb/img/pageTitIcon4.png" alt=""></div>
<h2 class="titType1 c_222222 fwBold">방문자스크립트관리 수정/등록</h2>
<p class="tType6 c_999999">현재 사용중인 게시판의 이용 현황을 파악할 수 있으며, 게시판을 추가 및 설정, 삭제할 수 있습니다.</p>
</div>
<div class="pageCont">
<div class="listTop resisterList">
<p class="right block fwMd"><span class="tType4 c_e40000 fwBold">*</span>는 필수입력 항목입니다.</p>
</div>
<table class="tbType2">
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<c:if test="${siteId eq 'super'}">
<tr>
<th><span class="reqArea">사이트</span></th>
<td>
<c:if test="${empty scriptMngVO.scriptSj }">
<select name="siteId" title="권한">
<c:forEach var="resultList" items="${siteManageList}" varStatus="status">
<option value="<c:out value="${resultList.siteId}"/>"
<c:if test="${loginPolicyVO.siteId eq resultList.siteId}"> selected='selected' </c:if>>
<c:out value="${resultList.siteNm}"/>
</option>
</c:forEach>
</select>
</c:if>
<c:if test="${!empty scriptMngVO.scriptSj }">
<c:forEach var="resultList" items="${siteManageList}" varStatus="status">
<c:if test="${scriptMngVO.siteId eq resultList.siteId}">
<c:out value="${resultList.siteNm}"/>
<input type="hidden" name="siteId" id="siteId" value="${resultList.siteId}" title="사용자ID(화면출력용)">
</c:if>
</c:forEach>
</c:if>
</td>
</tr>
</c:if>
<tr>
<th><span class="reqArea">방문자스크립트 제목</span></th>
<td colspan="3">
<input type="text" name="scriptSj" id="scriptSj" value="${scriptMngVO.scriptSj}" title="사용자ID(화면출력용)" maxlength="300" size="50">
</td>
</tr>
<tr>
<th><span class="reqArea">방문자스크립트 내용</span></th>
<td>
<textarea name="scriptCn" id="scriptCn" class="textarea" cols="75" rows="10" title="항목 내용" style="width:96%;"><c:out value="${scriptMngVO.scriptCn}" /></textarea>
</td>
</tr>
<c:if test="${!empty scriptMngVO.registerId }">
<tr>
<th><span class="reqArea">등록자</span></th>
<td>
<c:out value="${scriptMngVO.registerId}" />
</td>
</tr>
</c:if>
<c:if test="${!empty scriptMngVO.registPnttm }">
<tr>
<th><span class="reqArea">등록일</span></th>
<td>
<c:out value="${scriptMngVO.registPnttm}" />
</td>
</tr>
</c:if>
<c:if test="${!empty scriptMngVO.updtPnttm }">
<tr>
<th><span class="reqArea">수정일</span></th>
<td>
<c:out value="${scriptMngVO.updtPnttm}" />
</td>
</tr>
</c:if>
</table>
<div class="btnWrap">
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="location.href='<c:url value='/uss/ion/cnf/scriptMngList.do'/>'; return false;">
<c:if test="${empty scriptMngVO.scriptSj }">
<input type="button" class="btnType1" value="등 록" onclick="fn_insert(); return false;">
</c:if>
<c:if test="${!empty scriptMngVO.scriptSj }">
<input type="button" class="btnType1 bg_ed4545" value="삭 제" onclick="fn_delete(); return false;">
<input type="button" class="btnType1" value="수 정" onclick="fn_update(); return false;">
</c:if>
</div>
</div>
</div>
</form>
<form name="searchForm" id="searchForm" method="get" action="<c:url value='/uat/uap/selectLoginPolicyList.do'/>" >
</form>
</body>
</html>