File name
Commit message
Commit date
File name
Commit message
Commit date
File name
Commit message
Commit date
2023-06-22
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 : EgovHpcmRegist.jsp
* @Description : EgovHpcmRegist 화면
* @Modification Information
* @
* @ 수정일 수정자 수정내용
* @ ------- -------- ---------------------------
* @ 2009.02.01 박정규 최초 생성
* 2016.06.13 김연호 표준프레임워크 v3.6 개선
*
* @author 공통서비스팀
* @since 2009.02.01
* @version 1.0
* @see
*
*/
%>
<%@ 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="spring" uri="http://www.springframework.org/tags"%>
<%@ taglib prefix="form" uri="http://www.springframework.org/tags/form" %>
<%@ taglib prefix="fmt" uri="http://java.sun.com/jsp/jstl/fmt"%>
<%@ taglib prefix="ec" uri="/WEB-INF/tld/ecnet_tld.tld"%>
<!DOCTYPE html>
<html lang="ko">
<head>
<title>팝업창관리 관리</title>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<script type="text/javascript" src="<c:url value='/js/EgovMultiFile.js'/>"></script>
<script type="text/javaScript" language="javascript">
$( document ).ready(function(){
<c:if test="${!empty mjPhoneMemberVO.phmId}">
$('.no_modi').find('input').prop('readonly', true);
</c:if>
<c:if test="${empty mjPhoneMemberVO.phmId}">
$('.no_modi').remove();
//문자 바이트수 계산하기
var ibyte = 0;
$('textarea[name=smsTxt]').keyup(function(e){
ibyte = calByte.getByteLength($(this).val());
if(ibyte > 200){
alert("내용은 200Byte를 넣을수 없습니다.");
$('textarea[name=smsTxt]').val(calByte.cutByteLength($(this).val(), 200));
$('.byte').find('span').html(calByte.getByteLength($('textarea[name=smsTxt]').val()));
return false ;
}else{
$('.byte').find('span').html( ibyte) ;
}
});//문자 바이트수 계산하기 끝
</c:if>
});
/* 등록 */
function fn_insert(){
if("" == $('input[name=phoneNumber]').val().trim()){
alert("전화번호는 필수 입니다.")
return false;
}
if(!confirm("등록하시겠습니까?")) {
return;
}
var frm = document.writeForm;
frm.action = "<c:url value='/uss/ion/msg/BlockNumberInsert.do'/>";
frm.submit();
}
/* 수정 */
function fn_modify(){
if(!confirm("수정하시겠습니까?")) {
return;
}
var frm = document.writeForm;
frm.action = "<c:url value='/uss/ion/msg/UpdateBlockNumber.do'/>";
frm.submit();
}
// 발신번호 차단
function fn_modifyAll(){
if("" == $('input[name=phoneNumber]').val().trim()){
alert("전화번호는 필수 입니다.")
return false;
}
if(!confirm("발신번호 차단 등록하시겠습니까?\n해당 전화번호로 등록된 모든아이디의 발신번호가 차단됩니다.")) {
return;
}
var frm = document.writeForm;
frm.action = "<c:url value='/uss/ion/msg/updateSendNumberBlockAll.do'/>";
frm.submit();
}
function fn_delete(){
if(!confirm("삭제하시겠습니까?")) {
return;
}
frm = document.writeForm;
frm.action = "<c:url value='/uss/ion/msg/SendMsgDelete.do' />";
frm.submit();
}
function fn_linkPage(){
var listForm = document.writeForm ;
listForm.action = "<c:url value='/uss/ion/msg/BlockNumberList.do' />";
listForm.submit();
}
</script>
</head>
<body>
<form name="writeForm" id="writeForm" method="post">
<input type="hidden" name="delFlag" value="Y" />
<input type="hidden" name="pageIndex" value="<c:out value='${searchVO.pageIndex}'/>"/>
<input type="hidden" name="pageType" />
<input type="hidden" name="phmId" value="${mjPhoneMemberVO.phmId}" />
<input type="hidden" name="searchKeyword" value="<c:out value="${searchVO.searchKeyword}" />" />
<input type="hidden" name="searchCondition" value="<c:out value="${searchVO.searchCondition}" />" />
<input type="hidden" name="searchCondition4" value="<c:out value="${searchVO.searchCondition4}" />" />
<input type="hidden" name="searchSortCnd" value="<c:out value="${searchVO.searchSortCnd}" />" />
<input type="hidden" name="searchSortOrd" value="<c:out value="${searchVO.searchSortOrd}" />" />
<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">
<table class="tbType2">
<colgroup>
<col style="width: 20%">
<col style="width: 80%">
</colgroup>
<tbody>
<%--
<tr>
<th><span class="reqArea">아이디</span></th>
<td colspan="3">
<input type="text"
placeholder="미입력시 등록자는 관리자 ID로 등록됩니다."
name="userId" value="${mjPhoneMemberVO.userId}" title="아이디" maxlength="100" />
</td>
</tr>
--%>
<tr>
<th><span class="reqArea">전화번호</span></th>
<td colspan="3">
<input type="text" numberOnly name="phoneNumber" value="${mjPhoneMemberVO.phoneNumber}" title="전화번호" maxlength="20" />
</td>
</tr>
<tr>
<th>내용구분</th>
<td colspan="3">
<ec:select codeId="ITN032" name="phmDenyType" id="phmDenyType" css="class='select'" selectedValue="${mjPhoneMemberVO.phmDenyType}" />
</td>
</tr>
<tr>
<th>타입</th>
<td colspan="3">
차단
<input type="hidden" name="phmType" value="03" />
</td>
</tr>
<tr class="no_modi">
<th>등록일자</th>
<td colspan="3">
${mjPhoneMemberVO.frstRegistPnttm}
</td>
</tr>
</tbody>
</table>
<div class="btnWrap">
<input type="button" class="btnType1 bg_888888" value="목 록" onclick="fn_linkPage(); return false;">
<c:if test="${!empty mjPhoneMemberVO.phmId }">
<input type="button" class="btnType1" value="수 정" onclick="fn_modify(); return false;">
</c:if>
<c:if test="${empty mjPhoneMemberVO.phmId }">
<input type="button" class="btnType1" value="저 장" onclick="fn_modifyAll(); return false;">
</c:if>
</div>
</div>
</div>
</form>
</body>
</html>