This commit is contained in:
Rinjae
2025-09-05 19:06:22 +09:00
commit a1d74cf004
333 changed files with 47708 additions and 0 deletions
+60
View File
@@ -0,0 +1,60 @@
BODY {FONT-WEIGHT: normal; FONT-SIZE: 9pt; COLOR: #000000; FONT-STYLE: normal; FONT-FAMILY: ±¼¸²,±¼¸²Ã¼,µ¸À½, arial, serif, sans-serif; TEXT-ALIGN: left; FONT-VARIANT: normal
}
A:link {COLOR: #ffffff; TEXT-DECORATION: none}
A:visited {COLOR: #ffffff; TEXT-DECORATION: none}
A:hover {font-size: 13px; COLOR: #ffffff; TEXT-DECORATION: none}
A:active {COLOR: #ffffff; TEXT-DECORATION: none}
A.left1:link {COLOR: #000000; TEXT-DECORATION: none}
A.left1:visited {COLOR: #000000; TEXT-DECORATION: none}
A.left1:hover {font-size: 13px; COLOR: #000000; TEXT-DECORATION: none}
A.left1:active {COLOR: #000000; TEXT-DECORATION: none}
A.left2:link {COLOR: #000000; TEXT-DECORATION: none}
A.left2:visited {COLOR: #000000; TEXT-DECORATION: none}
A.left2:hover {font-size: 12px; COLOR: #0195AA; TEXT-DECORATION: none}
A.left2:active {COLOR: #000000; TEXT-DECORATION: none}
A.left3:link {COLOR: #5C5C5C; TEXT-DECORATION: none}
A.left3:visited {COLOR: #5C5C5C; TEXT-DECORATION: none}
A.left3:hover {font-size: 13px; COLOR: #5C5C5C; TEXT-DECORATION: none}
A.left3:active {COLOR: #5C5C5C; TEXT-DECORATION: none}
.title { color: #000000; text-decoration: none; font-weight: bold; font-size: 14px; vertical-align: baseline}
.td_title { line-height: 22px; color: #FFFFFF; text-decoration: none; text-align: center; font-weight: bold; background-color: 65AFD5; font-size: 12px}
.td_title2 { line-height: 16px; color: #000000; text-decoration: none; background-color: CCEAFA; text-indent: 2pt; font-size: 12px}
.td_title3 { line-height: 16px; color: #000000; text-decoration: none; background-color: CCEAFA; text-align: center; font-size: 12px}
.td_title4 { line-height: 16px; color: #000000; text-decoration: none; background-color: CCEAFA; font-size: 12px ; text-indent: 20pt; text-align: right}
.td_title5 { line-height: 16px; color: #666666; text-decoration: none; background-color: ECF7FD; font-size: 12px ; font-weight: bold}
.td_title5_1 { line-height: 16px; color: #666666; text-decoration: none; font-size: 12px ; font-weight: bold ; text-indent: 2px}
.td_title5_2 { line-height: 16px; color: #666666; text-decoration: none; font-size: 12px ; text-indent: 20px}
.td_title5 { line-height: 16px; color: #000000; text-decoration: none; background-color: CCEAFA; text-align: center; font-size: 12px }
.td_title6 { line-height: 16px; color: #FFFFFF; text-decoration: none; background-color: #65AFD5; font-size: 12px ; text-indent: 5pt; font-weight: bold}
.title_text { line-height: 22px; color: #666666; text-decoration: none; font-weight: bold; font-size: 12px}
.td_brbox { color: #66666; text-decoration: none; font-weight: normal; clip: rect( ); width: 180px; height: 14px; background-color: #F7F7F7; font-size: 12px; border: 1px #E6E5E5 dotted}
.td_brbox1 { color: #666666; text-decoration: none; font-weight: normal; border: 1px solid; clip: rect( ); border-color: #333333 #666666; font-size: 12px; height: 14px; width: 180px; vertical-align: middle}
.td_brbox2 { color: #666666; text-decoration: none; font-weight: normal; border: 1px solid; clip: rect( ); border-color: #333333 #666666; font-size: 12px; height: 14px; width: 300px}
.td_text { line-height: 18px; color: #666666; text-decoration: none; text-align: center; font-weight: normal; background-color: FAFAFA; font-size: 12px }
.td_text1 { font-size: 12px; line-height: 18px; color: #666666; text-decoration: none; font-weight: normal; background-color: FAFAFA ; text-indent: 2px }
.td_text2 { font-size: 12px; line-height: 18px; color: #666666; text-decoration: none; font-weight: normal; background-color: FAFAFA }
.td_text3 { font-size: 12px; line-height: 18px; color: #666666; text-decoration: none; font-weight: normal; text-indent: 2px }
.td_text4 { line-height: 18px; color: #666666; text-decoration: none; text-align: center; font-size: 12px }
.td_id { font-size: 12px; color: #FFFFFF; text-decoration: none; font-weight: bold; line-height: 27px; text-indent: 20px}
.td_idbox { font-size: 12px; color: #000000; text-decoration: none; border: 1px #777777 solid; height: 20px; width: 160px; vertical-align: middle}
.m_text { color: #FFFFFF; text-decoration: none; font-weight: bold; font-size: 12px ; line-height: 16px; text-align: center}
.td_text5 { line-height: 14px; color: #666666; text-decoration: none; font-weight: bold; font-size: 12px }
.left1 { line-height: 18px; color: #000000; text-decoration: none; font-size: 12px; ; font-weight: bold; text-indent: 3px}
.left2 { color: #000000; text-decoration: none; font-size: 12px; }
.left3 { line-height: 18px; color: #6C6C6C; text-decoration: none; font-size: 12px; }
.sitemap_bg { text-decoration: none; background-color: #D1E9FF; clip: rect( ); height: 30px}
.sitemap_bg1 { text-decoration: none; background-color: #EDF6FF; clip: rect( )}
.sitemap_text1 { line-height: 18px; color: #000000; text-decoration: none; font-weight: bold; font-size: 12px ; background-color: #EDF6FF}
.sitemap_text2 { line-height: 18px; color: #000000; text-decoration: none; font-weight: normal; font-size: 12px ; background-color: #EDF6FF }
.sitemap_text3 { line-height: 18px; color: #666666; text-decoration: none; font-weight: normal; font-size: 11.7px; background-color: #EDF6FF }
File diff suppressed because it is too large Load Diff
+55
View File
@@ -0,0 +1,55 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page session="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<html>
<head>
<title>운영관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet"
href="<c:url value="/common/css/Sitemapstyle.css" />" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="626" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td height="80" width="565"></td>
<td height="330" rowspan="4" width="61"></td>
</tr>
<tr>
<td height="137" width="565"><img src="/images/access.gif"
width="565" height="137"></td>
</tr>
<tr>
<td height="88" background="/images/error_bg.gif" class="left2"
width="565">
<div align="center"><br>
해당화면에<span class="left1"> [접근권한]</span> 이 없습니다<br>
<table width="25%" border="0" cellspacing="0" cellpadding="0"
align="right">
<tr>
<td>
<div align="center"><a href="#" onClick="history.back()"><img
src="/images/btn6_previous.gif" width="79" height="22"
border="0"></a></div>
</td>
</tr>
</table>
</div>
<div align="right"></div>
</td>
</tr>
<tr>
<td height="25" width="565"><img src="<c:url value="/common/image/error02.gif" />"
width="565" height="25"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
+58
View File
@@ -0,0 +1,58 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page session="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<html>
<head>
<title>운영관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet"
href="<c:url value="/common/css/Sitemapstyle.css" />" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="626" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td height="80" width="565"></td>
<td height="330" rowspan="4" width="61"></td>
</tr>
<tr>
<td height="137" width="565"><img
src="<c:url value="/common/image/error01.gif" />" width="565"
height="137"></td>
</tr>
<tr>
<td height="88"
background="<c:url value="/common/image/error_bg.gif" />"
class="left2" width="565"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>[ 운영관리 시스템 Error ]</b>
<div align="center"><br>
선택하신 프로그램에 문제가 발생했습니다. 로그를 확인해주시기 바랍니다.<br>
<table width="25%" border="0" cellspacing="0" cellpadding="0"
align="right">
<tr>
<td>
<div align="center"><a href="#" onClick="history.back()"><img
src="<c:url value="/common/images/btn6_previous.gif" />"
width="79" height="22" border="0"></a></div>
</td>
</tr>
</table>
</div>
<div align="right"></div>
</td>
</tr>
<tr>
<td height="25" width="565"><img
src="<c:url value="/common/image/error02.gif" />" width="565"
height="25"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
+58
View File
@@ -0,0 +1,58 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page session="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<html>
<head>
<title>운영관리</title>
<link rel="stylesheet"
href="<c:url value="/common/css/Sitemapstyle.css" />" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="626" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td height="80" width="565"></td>
<td height="330" rowspan="4" width="61"></td>
</tr>
<tr>
<td height="137" width="565"><img
src="<c:url value="/common/image/error01.gif" />" width="565"
height="137"></td>
</tr>
<tr>
<td height="88"
background="<c:url value="/common/image/error_bg.gif" />"
class="left2" width="565">
<div align="center"><br>
<span class="left1"> [404 - Not Found]</span> 해당 페이지가 존재하지 않습니다.
<br>
<br>
<table width="25%" border="0" cellspacing="0" cellpadding="0"
align="right">
<tr>
<td>
<div align="center"><a href="#" onClick="history.back()"><img
src="<c:url value="/common/image/btn6_previous.gif" />"
width="79" height="22" border="0"></a></div>
</td>
</tr>
</table>
</div>
<div align="right"></div>
</td>
</tr>
<tr>
<td height="25" width="565"><img
src="<c:url value="/common/image/error02.gif" />" width="565"
height="25"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
+82
View File
@@ -0,0 +1,82 @@
<%@ page import="java.io.*, java.util.*"%>
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page session="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<%
Object obj = session.getAttribute("LAST_DECORATOR");
String decoratorName = null;
try {
if (obj != null) {
decoratorName = (String)obj;
}
} catch (Exception e) {
//e.printStackTrace();
}
if (decoratorName == null || decoratorName.equals("")) {
decoratorName = "adapterSnaPage";
}
String errorMessage = (String)request.getAttribute("errorMessage")==null?"":(String)request.getAttribute("errorMessage");
%>
<page:applyDecorator name="<%= decoratorName %>" title="시스템 장애" >
<c:catch>
<html>
<head>
<title>운영관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet"
href="<c:url value="/common/css/Sitemapstyle.css" />" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="626" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td height="80" width="565"></td>
<td height="330" rowspan="4" width="61"></td>
</tr>
<tr>
<td height="137" width="565"><img
src="<c:url value="/common/image/error01.gif" />" width="565"
height="137"></td>
</tr>
<tr>
<td height="88"
background="<c:url value="/common/image/error_bg.gif" />"
class="left2" width="565"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>[ 운영관리 시스템 Error ]</b>
<div align="center"><br>
<%=errorMessage%>
<table width="25%" border="0" cellspacing="0" cellpadding="0"
align="right">
<tr>
<td>
<div align="center"><a href="#" onClick="history.back()"><img
src="<c:url value="/common/image/btn6_previous.gif" />"
width="79" height="22" border="0"></a></div>
</td>
</tr>
</table>
</div>
<div align="right"></div>
</td>
</tr>
<td height="25" width="565"><img
src="<c:url value="/common/image/error02.gif" />" width="565"
height="25"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
</c:catch>
</page:applyDecorator >
+61
View File
@@ -0,0 +1,61 @@
<%@ page contentType="text/html; charset=utf-8" pageEncoding="utf-8"%>
<%@ page session="true" autoFlush="true"%>
<%@ taglib uri="/WEB-INF/tld/c.tld" prefix="c"%>
<html>
<head>
<title>운영관리</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8">
<link rel="stylesheet"
href="<c:url value="/common/css/Sitemapstyle.css" />" type="text/css">
</head>
<body bgcolor="#FFFFFF" text="#000000" topmargin="0">
<table width="100%" border="0" cellspacing="0" cellpadding="0">
<tr>
<td>
<table width="626" border="0" cellspacing="0" cellpadding="0"
align="center">
<tr>
<td height="80" width="565"></td>
<td height="330" rowspan="4" width="61"></td>
</tr>
<tr>
<td height="137" width="565"><img
src="<c:url value="/common/image/error01.gif" />" width="565"
height="137"></td>
</tr>
<tr>
<td height="88"
background="<c:url value="/common/image/error_bg.gif" />"
class="left2" width="565"><br>
&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<b>[ 운영관리 시스템 Error ]</b>
<div align="center"><br>
<label value="{request.errorMessage}" defaultValue=""/>
<br/>
<exceptions showMessage="true"/>
<table width="25%" border="0" cellspacing="0" cellpadding="0"
align="right">
<tr>
<td>
<div align="center"><a href="#" onClick="history.back()"><img
src="<c:url value="/common/images/btn6_previous.gif" />"
width="79" height="22" border="0"></a></div>
</td>
</tr>
</table>
</div>
<div align="right"></div>
</td>
</tr>
<tr>
<td height="25" width="565"><img
src="<c:url value="/common/image/error02.gif" />" width="565"
height="25"></td>
</tr>
</table>
</td>
</tr>
</table>
</body>
</html>
+43
View File
@@ -0,0 +1,43 @@
<html>
<head>
</head>
<body>
<table width="650" border="0" cellspacing="0" cellpadding="0">
<tr align="center">
<td class="font13_title02" bgcolor="#CFCFCF">????</td>
<td class="font13_title02" bgcolor="#CFCFCF">??</td>
</tr>
<tr>
<tr>
<td >
<font color='#555555'></font>
</td>
<td ><font color='#555555'>???</font></td>
<tr>
<td height="25">?????</td>
<td>30,000</td>
</tr>
<tr>
<td height="25">???????</td>
<td>35,000</td>
</tr>
<tr>
<td height="25">????????</td>
<td>42,000</td>
</tr>
<tr>
<td height="25">??????(???)</td>
<td>50,000</td>
</tr>
<tr>
<td height="25">?? ?????</td>
<td>90,000</td>
</tr>
<tr>
<td height="25">????</td>
<td>140,000</td>
</tr>
</table>
</body>
</html>
+723
View File
@@ -0,0 +1,723 @@
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : IsDate */
/* 기 능 : */
/* 지정한 문자열이 유효한 Date 값인지를 검사한다. */
/* 인 수 : */
/* as_date(날짜) */
/* 반 환 값 : */
/* True or False */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function IsDate(as_date)
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var li_yy = as_date.substring(0, 4); /* 년도 */
var li_mm = as_date.substring(5, 7); /* 월 */
var li_dd = as_date.substring(8, 10); /* 일 */
/*------------------------------------------------------------------------*/
/* 년월일이 영 또는 음수인 경우. */
/*------------------------------------------------------------------------*/
if ((li_yy < 1) || (li_mm < 1) || (li_dd < 1))
{
return false;
}
/*------------------------------------------------------------------------*/
/* 1, 3, 5, 7, 8, 10, 12월인 경우(31일). */
/*------------------------------------------------------------------------*/
else if ((li_mm == 1) || (li_mm == 3) || (li_mm == 5) || (li_mm == 7) || (li_mm == 8) || (li_mm == 10) || (li_mm == 12))
{
/*--------------------------------------------------------------------*/
/* 31일보다 큰 경우. */
/*--------------------------------------------------------------------*/
if (li_dd > 31)
{
return false;
}
}
/*------------------------------------------------------------------------*/
/* 4, 6, 9, 11월인 경우(30일). */
/*------------------------------------------------------------------------*/
else if ((li_mm == 4) || (li_mm == 6) || (li_mm == 9) || (li_mm == 11))
{
/*--------------------------------------------------------------------*/
/* 30일보다 큰 경우. */
/*--------------------------------------------------------------------*/
if (li_dd > 30)
{
return false;
}
}
/*------------------------------------------------------------------------*/
/* 2월인 경우. */
/*------------------------------------------------------------------------*/
else if (li_mm == 2)
{
/*--------------------------------------------------------------------*/
/* 윤년인 경우. */
/*--------------------------------------------------------------------*/
if (IsLeapYear(li_yy) == true)
{
/*----------------------------------------------------------------*/
/* 29일보다 큰 경우. */
/*----------------------------------------------------------------*/
if (li_dd > 29)
{
return false;
}
}
/*--------------------------------------------------------------------*/
/* 평년인 경우. */
/*--------------------------------------------------------------------*/
else
{
/*----------------------------------------------------------------*/
/* 28일보다 큰 경우. */
/*----------------------------------------------------------------*/
if (li_dd > 28)
{
return false;
}
}
}
/*------------------------------------------------------------------------*/
/* 월 범위를 벗어난 경우. */
/*------------------------------------------------------------------------*/
else
{
return false;
}
return true;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : IsTime */
/* 기 능 : */
/* 지정한 문자열이 유효한 Time 값인지를 검사한다. */
/* 인 수 : */
/* as_time(시간) */
/* 반 환 값 : */
/* True or False */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function IsTime(as_time)
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var li_hh = as_time.substring(0, 2); /* 시간 */
var li_mi = as_time.substring(3, 5); /* 분 */
var li_ss = as_time.substring(6, 8); /* 초 */
/*------------------------------------------------------------------------*/
/* 시분초가 영 또는 음수인 경우. */
/*------------------------------------------------------------------------*/
if ((li_hh < 0) || (li_mi < 0) || (li_ss < 0))
{
return false;
}
/*------------------------------------------------------------------------*/
/* 시간에 대한 유효성 확인. */
/*------------------------------------------------------------------------*/
else if ((li_hh > 23) || (li_mi > 59) || (li_ss > 59))
{
return false;
}
return true;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : IsDecimal */
/* 기 능 : */
/* 지정한 문자열이 유효한 숫자 값인지를 검사한다. */
/* 인 수 : */
/* ad_decimal(숫자) */
/* 반 환 값 : */
/* True or False */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function IsDecimal(ad_decimal)
{
/*------------------------------------------------------------------------*/
/* Decimal type validation check. */
/*------------------------------------------------------------------------*/
if ((ad_decimal >= 0) && (ad_decimal <= 9))
{
return true;
}
else
{
return false;
}
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : getDateTime */
/* 기 능 : */
/* 현시스템 일시를 반환. */
/* 인 수 : */
/* None */
/* 반 환 값 : */
/* 현시스템 일시(YYYY.MM.DD HH:MI:SS) */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function getDateTime()
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var i = 0, j = 0, k = 0; /* Index */
var now = new Date(); /* 현시스템일시 */
var ls_value = ""; /* Value */
/*------------------------------------------------------------------------*/
/* 년도(Year) Edit. */
/*------------------------------------------------------------------------*/
ls_value = now.getYear() + '.';
/*------------------------------------------------------------------------*/
/* 월(Month) Edit. */
/*------------------------------------------------------------------------*/
if (now.getMonth() <= 8)
{
ls_value = ls_value + '0' + (now.getMonth() + 1) + '.';
}
else
{
ls_value = ls_value + (now.getMonth() + 1) + '.';
}
/*------------------------------------------------------------------------*/
/* 일(Day) Edit. */
/*------------------------------------------------------------------------*/
if (now.getDate() <= 9)
{
ls_value = ls_value + '0' + now.getDate() + '.';
}
else
{
ls_value = ls_value + now.getDate() + ' ';
}
/*------------------------------------------------------------------------*/
/* 시간(Hours) Edit. */
/*------------------------------------------------------------------------*/
if (now.getHours() <= 9)
{
ls_value = ls_value + '0' + now.getHours() + ':';
}
else
{
ls_value = ls_value + now.getHours() + ':';
}
/*------------------------------------------------------------------------*/
/* 분(Minutes) Edit. */
/*------------------------------------------------------------------------*/
if (now.getMinutes() <= 9)
{
ls_value = ls_value + '0' + now.getMinutes() + ':';
}
else
{
ls_value = ls_value + now.getMinutes() + ':';
}
/*------------------------------------------------------------------------*/
/* 초(Seconds) Edit. */
/*------------------------------------------------------------------------*/
if (now.getSeconds() <= 9)
{
ls_value = ls_value + '0' + now.getSeconds();
}
else
{
ls_value = ls_value + now.getSeconds();
}
return ls_value;
}/*----------------------------------------------------------------------------*/
/* FUNCTION ID : getDate */
/* 기 능 : */
/* 현시스템 일자를 반환. */
/* 인 수 : */
/* None */
/* 반 환 값 : */
/* 현시스템 일자(YYYY.MM.DD) */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function getDate()
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var i = 0, j = 0, k = 0; /* Index */
var now = new Date(); /* 현시스템일시 */
var ls_value = ""; /* Value */
/*------------------------------------------------------------------------*/
/* 년도(Year) Edit. */
/*------------------------------------------------------------------------*/
ls_value = now.getYear() + '.';
/*------------------------------------------------------------------------*/
/* 월(Month) Edit. */
/*------------------------------------------------------------------------*/
if (now.getMonth() <= 8)
{
ls_value = ls_value + '0' + (now.getMonth() + 1) + '.';
}
else
{
ls_value = ls_value + (now.getMonth() + 1) + '.';
}
/*------------------------------------------------------------------------*/
/* 일(Day) Edit. */
/*------------------------------------------------------------------------*/
if (now.getDate() <= 9)
{
ls_value = ls_value + '0' + now.getDate();
}
else
{
ls_value = ls_value + now.getDate();
}
return ls_value;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : getTime */
/* 기 능 : */
/* 현시스템 시간을 반환. */
/* 인 수 : */
/* None */
/* 반 환 값 : */
/* 현시스템 시간(HH:MI:SS) */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function getTime()
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var i = 0, j = 0, k = 0; /* Index */
var now = new Date(); /* 현시스템일시 */
var ls_value = ""; /* Value */
/*------------------------------------------------------------------------*/
/* 시간(Hours) Edit. */
/*------------------------------------------------------------------------*/
if (now.getHours() <= 9)
{
ls_value = ls_value + '0' + now.getHours() + ':';
}
else
{
ls_value = ls_value + now.getHours() + ':';
}
/*------------------------------------------------------------------------*/
/* 분(Minutes) Edit. */
/*------------------------------------------------------------------------*/
if (now.getMinutes() <= 9)
{
ls_value = ls_value + '0' + now.getMinutes() + ':';
}
else
{
ls_value = ls_value + now.getMinutes() + ':';
}
/*------------------------------------------------------------------------*/
/* 초(Seconds) Edit. */
/*------------------------------------------------------------------------*/
if (now.getSeconds() <= 9)
{
ls_value = ls_value + '0' + now.getSeconds();
}
else
{
ls_value = ls_value + now.getSeconds();
}
return ls_value;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : EditMark */
/* 기 능 : */
/* 정해진 데이터 입력 형식(사업자번호, 주민등록번호, 날짜 등 */
/* 구분자)을 설정해서 사용자가 쉽게 데이터를 입력하게 한다. */
/* 인 수 : */
/* as_value (문자) */
/* as_format(형식) */
/* 반 환 값 : */
/* 편집한 문자 */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function EditMark(as_value, as_format)
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var i = 0, j = 0, k = 0; /* Index */
var ls_value = ""; /* Value */
/*------------------------------------------------------------------------*/
/* 숫자만 입력가능하게 처리. */
/*------------------------------------------------------------------------*/
for(i = 0; i < as_value.value.length; i++)
{
/*--------------------------------------------------------------------*/
/* 숫자가 아닌것은 제거. */
/*--------------------------------------------------------------------*/
if (!IsDecimal(as_value.value.charAt(i)))
{
as_value.value = as_value.value.substring(0, i)
+ as_value.value.substring(i + 1, as_value.value.length);
}
}
/*------------------------------------------------------------------------*/
/* 문자를 원하는 형식으로 편집. */
/*------------------------------------------------------------------------*/
for(i = 0; i < as_value.value.length; i++)
{
/*--------------------------------------------------------------------*/
/* 지정한 형식이 존재한 경우. */
/*--------------------------------------------------------------------*/
if (as_format.length > j)
{
/*----------------------------------------------------------------*/
/* 구분자가 아닌 경우. */
/*----------------------------------------------------------------*/
if ((as_format.substring(j, j + 1) >= "0") && (as_format.substring(j, j + 1) <= "9"))
{
/*------------------------------------------------------------*/
/* 문자 Edit. */
/*------------------------------------------------------------*/
ls_value = ls_value + as_value.value.substring(i, i + 1);
}
/*----------------------------------------------------------------*/
/* 구분자인 경우. */
/*----------------------------------------------------------------*/
else
{
/*------------------------------------------------------------*/
/* 구분자 추가. */
/*------------------------------------------------------------*/
ls_value = ls_value + as_format.substring(j, j + 1);
j = j + 1;
/*------------------------------------------------------------*/
/* 문자 Edit. */
/*------------------------------------------------------------*/
ls_value = ls_value + as_value.value.substring(i, i + 1);
}
}
j = j + 1;
}
/*------------------------------------------------------------------------*/
/* 편집한 문자 Setting. */
/*------------------------------------------------------------------------*/
as_value.value = ls_value;
return;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : EditMark1 */
/* 기 능 : */
/* 정해진 데이터 입력 형식(사업자번호, 주민등록번호, 날짜 등 */
/* 구분자)을 설정해서 사용자가 쉽게 데이터를 입력하게 한다. */
/* 인 수 : */
/* as_value (문자) */
/* as_format(형식) */
/* 반 환 값 : */
/* 편집한 문자 */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function EditMark1(as_value, as_format)
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var i = 0, j = 0, k = 0; /* Index */
var ls_value = ""; /* Value */
/*------------------------------------------------------------------------*/
/* 문자를 원하는 형식으로 편집. */
/*------------------------------------------------------------------------*/
for(i = 0; i < as_value.length; i++)
{
/*--------------------------------------------------------------------*/
/* 지정한 형식이 존재한 경우. */
/*--------------------------------------------------------------------*/
if (as_format.length > j)
{
/*----------------------------------------------------------------*/
/* 구분자가 아닌 경우. */
/*----------------------------------------------------------------*/
if ((as_format.substring(j, j + 1) >= "0") && (as_format.substring(j, j + 1) <= "9"))
{
/*------------------------------------------------------------*/
/* 문자 Edit. */
/*------------------------------------------------------------*/
ls_value = ls_value + as_value.substring(i, i + 1);
}
/*----------------------------------------------------------------*/
/* 구분자인 경우. */
/*----------------------------------------------------------------*/
else
{
/*------------------------------------------------------------*/
/* 구분자 추가. */
/*------------------------------------------------------------*/
ls_value = ls_value + as_format.substring(j, j + 1);
j = j + 1;
/*------------------------------------------------------------*/
/* 문자 Edit. */
/*------------------------------------------------------------*/
ls_value = ls_value + as_value.substring(i, i + 1);
}
}
j = j + 1;
}
/*------------------------------------------------------------------------*/
/* 편집한 문자 Setting. */
/*------------------------------------------------------------------------*/
// as_value = ls_value;
return ls_value;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : EditNumber */
/* 기 능 : */
/* 금액을 입력하면 천단위를 구분하는 구분자(Comma)를 자동으로 */
/* 입력한다. */
/* 인 수 : */
/* as_number(숫자) */
/* 반 환 값 : */
/* 편집한 문자 */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function EditNumber(as_number)
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var i = 0, j = 0, k = 0; /* Index */
/*------------------------------------------------------------------------*/
/* 숫자만 입력가능하게 처리. */
/*------------------------------------------------------------------------*/
for(i = 0; i < as_number.value.length; i++)
{
/*--------------------------------------------------------------------*/
/* 숫자가 아닌것은 제거. */
/*--------------------------------------------------------------------*/
if (!IsDecimal(as_number.value.charAt(i)))
{
as_number.value = as_number.value.substring(0, i)
+ as_number.value.substring(i + 1, as_number.value.length);
}
}
/*------------------------------------------------------------------------*/
/* 년월일 구분자를 ","으로 자동 추가. */
/*------------------------------------------------------------------------*/
switch (as_number.value.length)
{
/*--------------------------------------------------------------------*/
/* 4자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 4:
as_number.value = as_number.value.substring(0, 1) + ","
+ as_number.value.substring(1, 4);
break;
/*--------------------------------------------------------------------*/
/* 5자리인 경우 년도 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 5:
as_number.value = as_number.value.substring(0, 2) + ","
+ as_number.value.substring(2, 5);
break;
/*--------------------------------------------------------------------*/
/* 6자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 6:
as_number.value = as_number.value.substring(0, 3) + ","
+ as_number.value.substring(3, 6);
break;
/*--------------------------------------------------------------------*/
/* 7자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 7:
as_number.value = as_number.value.substring(0, 1) + ","
+ as_number.value.substring(1, 4) + ","
+ as_number.value.substring(4, 7);
break;
/*--------------------------------------------------------------------*/
/* 8자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 8:
as_number.value = as_number.value.substring(0, 2) + ","
+ as_number.value.substring(2, 5) + ","
+ as_number.value.substring(5, 8);
break;
/*--------------------------------------------------------------------*/
/* 9자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 9:
as_number.value = as_number.value.substring(0, 3) + ","
+ as_number.value.substring(3, 6) + ","
+ as_number.value.substring(6, 9);
break;
/*--------------------------------------------------------------------*/
/* 10자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 10:
as_number.value = as_number.value.substring(0, 1) + ","
+ as_number.value.substring(1, 4) + ","
+ as_number.value.substring(4, 7) + ","
+ as_number.value.substring(7,10);
break;
/*--------------------------------------------------------------------*/
/* 11자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 11:
as_number.value = as_number.value.substring(0, 2) + ","
+ as_number.value.substring(2, 5) + ","
+ as_number.value.substring(5, 8) + ","
+ as_number.value.substring(8,11);
break;
/*--------------------------------------------------------------------*/
/* 12자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 12:
as_number.value = as_number.value.substring(0, 3) + ","
+ as_number.value.substring(3, 6) + ","
+ as_number.value.substring(6, 9) + ","
+ as_number.value.substring(9,12);
break;
/*--------------------------------------------------------------------*/
/* 13자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 13:
as_number.value = as_number.value.substring( 0, 1) + ","
+ as_number.value.substring( 1, 4) + ","
+ as_number.value.substring( 4, 7) + ","
+ as_number.value.substring( 7,10) + ","
+ as_number.value.substring(10,13);
break;
/*--------------------------------------------------------------------*/
/* 14자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 14:
as_number.value = as_number.value.substring( 0, 2) + ","
+ as_number.value.substring( 2, 5) + ","
+ as_number.value.substring( 5, 8) + ","
+ as_number.value.substring( 8,11) + ","
+ as_number.value.substring(11,14);
break;
/*--------------------------------------------------------------------*/
/* 15자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 15:
as_number.value = as_number.value.substring( 0, 3) + ","
+ as_number.value.substring( 3, 6) + ","
+ as_number.value.substring( 6, 9) + ","
+ as_number.value.substring( 9,12) + ","
+ as_number.value.substring(12,15);
break;
/*--------------------------------------------------------------------*/
/* 16자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 16:
as_number.value = as_number.value.substring( 0, 1) + ","
+ as_number.value.substring( 1, 4) + ","
+ as_number.value.substring( 4, 7) + ","
+ as_number.value.substring( 7,10) + ","
+ as_number.value.substring(10,13) + ","
+ as_number.value.substring(13,16);
break;
/*--------------------------------------------------------------------*/
/* 17자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 17:
as_number.value = as_number.value.substring( 0, 2) + ","
+ as_number.value.substring( 2, 5) + ","
+ as_number.value.substring( 5, 8) + ","
+ as_number.value.substring( 8,11) + ","
+ as_number.value.substring(11,14) + ","
+ as_number.value.substring(14,17);
break;
/*--------------------------------------------------------------------*/
/* 18자리인 경우 구분자 ","를 추가. */
/*--------------------------------------------------------------------*/
case 18:
as_number.value = as_number.value.substring( 0, 3) + ","
+ as_number.value.substring( 3, 6) + ","
+ as_number.value.substring( 6, 9) + ","
+ as_number.value.substring( 9,12) + ","
+ as_number.value.substring(12,15) + ","
+ as_number.value.substring(15,18);
break;
}
return;
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : IsLeapYear */
/* 기 능 : */
/* 지정한 년도가 윤년인지 검사한다. */
/* 인 수 : */
/* ai_year(년도) */
/* 반 환 값 : */
/* True or False */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function IsLeapYear(ai_year)
{
/*------------------------------------------------------------------------*/
/* 년도를 4로 나누어지는 경우(윤년대상). */
/*------------------------------------------------------------------------*/
if ((ai_year % 4) == 0)
{
/*--------------------------------------------------------------------*/
/* 년도를 100으로 나누어지는 경우(윤년대상). */
/*--------------------------------------------------------------------*/
if ((ai_year % 100) == 0)
{
/*----------------------------------------------------------------*/
/* 년도를 400으로 나누어지는 경우(윤년). */
/*----------------------------------------------------------------*/
if ((ai_year % 400) == 0)
{
return true;
}
/*----------------------------------------------------------------*/
/* 년도를 400으로 나누어지지 않는 경우(평년). */
/*----------------------------------------------------------------*/
else
{
return false;
}
}
/*--------------------------------------------------------------------*/
/* 년도를 100으로 나누어지지 않는 경우(윤년). */
/*--------------------------------------------------------------------*/
else
{
return true;
}
}
/*------------------------------------------------------------------------*/
/* 년도를 4로 나누어지지 않는 경우(평년). */
/*------------------------------------------------------------------------*/
else
{
return false;
}
}
/*----------------------------------------------------------------------------*/
/* FUNCTION ID : openWindow */
/* 기 능 : */
/* Windows를 호출한다. */
/* 인 수 : */
/* as_win_nm (Window명 ) */
/* as_argument(Argument ) */
/* as_width (dialogWidth ) */
/* as_height (dialogHeight) */
/* 반 환 값 : */
/* None */
/* 특 이 사 항 : */
/*----------------------------------------------------------------------------*/
function openWindow(as_win_nm, as_argument, as_width, as_height)
{
/*------------------------------------------------------------------------*/
/* 변수선언 및 초기화. */
/*------------------------------------------------------------------------*/
var li_width = (screen.width - as_width ) / 2;
var li_height = (screen.height - as_height) / 2;
var ls_parameter = 'top=' + li_height + ',left=' + li_width + ',height=' + as_height + ',width=' + as_width + ',scrollbars='+scroll+',resizable' ;
/*------------------------------------------------------------------------*/
/* Window를 호출. */
/*------------------------------------------------------------------------*/
window.open(as_win_nm, as_argument, ls_parameter);
}
/*----------------------------------------------------------------------------*/
/* C O M M O N F U N C T I O N E N D */
/*----------------------------------------------------------------------------*/
+26
View File
@@ -0,0 +1,26 @@
function fnCheckAll(obj, form_name, chk_name, count)
{
for (v_indx = 0; v_indx < count ; v_indx++)
{
eval("document." + form_name + "." + chk_name + v_indx).checked = obj.checked;
}
}
/**
* 체크박스를 선택하였는지 조사
*/
var isChecked = 0;
var lastSeletedIndex = -1;
function fnSelectCheck(form_name, chk_name, count)
{
isChecked = 0;
for (v_indx = 0 ; v_indx < count; v_indx++)
{
if (eval("document." + form_name + "." + chk_name + v_indx).checked == 1)
{
isChecked++;
lastSeletedIndex = v_indx;
}
}
}
+64
View File
@@ -0,0 +1,64 @@
/**
* 입력값이 사용자가 정의한 포맷 형식인지 체크
* 자세한 format 형식은 자바스크립트의 'regular expression'을 참조
*/
function isValidFormat(input,format)
{
if (input.search(format) != -1)
{
return true; //올바른 포맷 형식
}
return false;
}
/**
* 입력값이 이메일 형식인지 체크
* ex) if (!isValidEmail(input)) {
* alert("올바른 이메일 주소가 아닙니다.");
* }
*/
function isValidEmail(input)
{
var format = /^((\w|[\-\.])+)@((\w|[\-\.])+)\.([A-Za-z]+)$/;
return isValidFormat(input,format);
}
function isValidIPAddress(input)
{
var format = /^(\d+).(\d+).(\d+).(\d+)$/
return isValidFormat(input,format);
}
/**
* 입력값에 숫자만 있는지 체크
*/
function isNumber(input) {
var chars = "0123456789";
return containsCharsOnly(input,chars);
}
/**
* 입력값에 alpabet만 있는지 체크
*/
function isAlpabet(input) {
var chars = "ABCDEFGHIJKLMNOPQRSTUVWXYZabcdefghijklmnopqrstuvwxyz";
//input = input.toUpperCase();
//alert(input);
return containsCharsOnly(input,chars);
}
/**
* 입력값이 특정 문자(chars)만으로 되어있는지 체크
* 특정 문자만 허용하려 할 때 사용
* ex) if (!containsCharsOnly(form.blood,"ABO")) {
* alert("혈액형 필드에는 A,B,O 문자만 사용할 수 있습니다.");
* }
*/
function containsCharsOnly(input,chars) {
for (var inx = 0; inx < input.length; inx++) {
if (chars.indexOf(input.charAt(inx)) == -1)
return false;
}
return true;
}
+50
View File
@@ -0,0 +1,50 @@
/*
* TOOLTIP 정보를 보여준다.
* 사용법 -
* 1. 툴팁 DIV 선언
* <div id="tooltip" style="position:absolute;visibility:hidden;border:1px solid black;font-size:12px;layer-background-color:lightyellow;background-color:lightyellow;padding:1px">
* </div>
* 2. 보여주려는 위치에..
* onMouseover="showtip(this,event,'0')" onMouseOut="hidetip()"
* toppos 선언해야함.
*/
function showtip(current,e,index)
{
if (document.layers) // Netscape 4.0+
{
theString="<DIV>"+tip[index]+"</DIV>"
document.tooltip.document.write(theString)
document.tooltip.document.close()
document.tooltip.left=e.pageX+14
document.tooltip.top=e.pageY
document.tooltip.visibility="show"
}
else
{
if(document.getElementById) // Netscape 6.0+ 과 Internet Explorer 5.0+
{
elm=document.getElementById("tooltip")
elml=current
elm.innerHTML=tip[index]
elm.style.height=elml.style.height
elm.style.top=parseInt(event.clientY-5)
elm.style.left=parseInt(event.clientX+10)
elm.style.visibility = "visible"
}
}
}
function hidetip()
{
if (document.layers) // Netscape 4.0+
{
document.tooltip.visibility="hidden"
}
else
{
if(document.getElementById) // Netscape 6.0+ 과 Internet Explorer 5.0+
{
elm.style.visibility="hidden"
}
}
}
+298
View File
@@ -0,0 +1,298 @@
/**
* SNA LU Group validateion
*/
function LUGroupValidate(form_name)
{
//var o_luGrpName = "document." + form_name + ".LUGRPNM";
var o_port = "document." + form_name + ".SOFTLINKPORT";
var o_wcaSessCnt = "document." + form_name + ".WCASSNCNT";
var o_tranTimeout = "document." + form_name + ".TRANTIMEOUT";
var o_dummyOffset = "document." + form_name + ".DUMMYOFFSET";
var o_hostSndRUSize = "document." + form_name + ".HOSTSNDRUSIZE";
var o_hostRcvRUSize = "document." + form_name + ".HOSTRCVRUSIZE";
var o_applyID = "document." + form_name + ".APPLID";
//var o_busyVal = "document." + form_name + ".BUSYBASVL";
var o_bkupCvsVal = "document." + form_name + ".BKUPCVSBASVL";
var o_bkupNodeName = "document." + form_name + ".BKUPNODENM";
var o_bkupPort = "document." + form_name + ".BKUPSOFTLINKPORT";
var o_logFileSize = "document." + form_name + ".GRSTLOGFILESIZE";
/*
if(eval(o_luGrpName).value == '' )
{
alert("LU 그룹을 입력하세요!");
eval(o_luGrpName).focus();
return false;
}
*/
if(eval(o_port).value == '' )
{
alert("소프트링크포트를 입력하세요!");
eval(o_port).focus();
return false;
}
if (!isNumber(eval(o_port).value))
{
alert("소프트링크포트는 숫자만 입력가능합니다!");
eval(o_port).focus();
return false;
}
if(eval(o_wcaSessCnt).value == '' )
{
alert("WCA 세션수를 입력하세요!");
eval(o_wcaSessCnt).focus();
return false;
}
if (!isNumber(eval(o_wcaSessCnt).value))
{
alert("WCA 세션수는 숫자만 입력가능합니다!");
eval(o_wcaSessCnt).focus();
return false;
}
if(eval(o_tranTimeout).value == '' )
{
alert("서비스타임아웃값를 입력하세요!");
eval(o_tranTimeout).focus();
return false;
}
if (!isNumber(eval(o_tranTimeout).value))
{
alert("서비스타임아웃값는 숫자만 입력가능합니다!");
eval(o_tranTimeout).focus();
return false;
}
if(eval(o_dummyOffset).value == '' )
{
alert("DUMMY 메세지 위치값을 입력하세요!");
eval(o_dummyOffset).focus();
return false;
}
if (!isNumber(eval(o_dummyOffset).value))
{
alert("DUMMY 메세지 위치값는 숫자만 입력가능합니다!");
eval(o_dummyOffset).focus();
return false;
}
if(eval(o_hostSndRUSize).value == '' )
{
alert("호스트 송신 RU 크기를 입력하세요!");
eval(o_hostSndRUSize).focus();
return false;
}
if (!isNumber(eval(o_hostSndRUSize).value))
{
alert("호스트 송신 RU 크기은 숫자만 입력가능합니다!");
eval(o_hostSndRUSize).focus();
return false;
}
if(eval(o_hostRcvRUSize).value == '' )
{
alert("호스트 수신 RU 크기를 입력하세요!");
eval(o_hostRcvRUSize).focus();
return false;
}
if (!isNumber(eval(o_hostRcvRUSize).value))
{
alert("호스트 수신 RU 크기은 숫자만 입력가능합니다!");
eval(o_hostRcvRUSize).focus();
return false;
}
if(eval(o_applyID).value == '' )
{
alert("어플리케이션 ID값을 입력하세요!");
eval(o_applyID).focus();
return false;
}
if(eval(o_bkupCvsVal).value == '' )
{
alert("백업전환 기준 장애율을 입력하세요!");
eval(o_bkupCvsVal).focus();
return false;
}
if (!isNumber(eval(o_bkupCvsVal).value))
{
alert("백업전환 기준 장애율은 숫자만 입력가능합니다!");
eval(o_bkupCvsVal).focus();
return false;
}
if(eval(o_bkupNodeName).value == '' )
{
alert("백업 어댑터 기동 서버명를 입력하세요!");
eval(o_bkupNodeName).focus();
return false;
}
if(eval(o_bkupPort).value == '' )
{
alert("백업 소프트링크 포트를 입력하세요!");
eval(o_bkupPort).focus();
return false;
}
if (!isNumber(eval(o_bkupPort).value))
{
alert("백업 소프트링크 포트는 숫자만 입력가능합니다!");
eval(o_bkupPort).focus();
return false;
}
if(eval(o_logFileSize).value == '' )
{
alert("최대 로그 파일값을 입력하세요!");
eval(o_logFileSize).focus();
return false;
}
if (!isNumber(eval(o_logFileSize).value))
{
alert("최대 로그 파일값은 숫자만 입력가능합니다!");
eval(o_logFileSize).focus();
return false;
}
return true;
}
/**
* SNA LU validateion (insert)
*/
function LUInfoValidate(form_name)
{
var o_puname = "document." + form_name + ".PUNM";
var o_luname = "document." + form_name + ".LUNM";
var o_applyID = "document." + form_name + ".APPLID";
var o_from_luname = "document." + form_name + ".FROM_LUNM";
var o_to_luname = "document." + form_name + ".TO_LUNM";
var vLUName = eval(o_luname).value;
var vToLUName = eval(o_to_luname).value;
var vFromLUName = eval(o_from_luname).value;
if(eval(o_puname).value == '' )
{
alert("PU명을 입력하세요!");
eval(o_puname).focus();
return false;
}
if(vLUName == '' )
{
alert("LU명을 입력하세요!");
eval(o_luname).focus();
return false;
}
if(vLUName.length == 8)
{
if (!vFromLUName == '')
{
alert("LU명은 8자리입니다. LU 시작 범위가 적용되지 않습니다!");
eval(o_from_luname).focus();
return false;
}
if (!vToLUName == '')
{
alert("LU명은 8자리입니다. LU 종료 범위가 적용되지 않습니다!");
eval(o_to_luname).focus();
return false;
}
}
if(!vToLUName == '' && vFromLUName == '')
{
alert("LU 시작 범위가 입력되지 않았습니다.!");
eval(o_from_luname).focus();
return false;
}
var vRealLen = parseInt(vLUName.length) + parseInt(vToLUName.length);
if (vRealLen > 8)
{
alert("LU명은 8자리입니다!");
eval(o_luname).focus();
return false;
}
if (isNumber(vFromLUName))
{
if (!isNumber(vToLUName))
{
alert("LU 종료 범위는 숫자가 아닙니다!");
eval(o_from_luname).focus();
return false;
}
if(parseInt(vFromLUName) > parseInt(vToLUName))
{
alert("LU 시작 범위가 종료 범위보다 큽니다.!");
eval(o_from_luname).focus();
return false;
}
}
else if (isAlpabet(vFromLUName))
{
if (!isAlpabet(vToLUName))
{
alert("LU 종료 범위이 알파벳이 아닙니다!");
eval(o_from_luname).focus();
return false;
}
if (vFromLUName.length != 1)
{
alert("LU 시작 범위는 한자리만 가능합니다!");
eval(o_from_luname).focus();
return false;
}
if (vToLUName.length != 1)
{
alert("LU 종료 범위는 한자리만 가능합니다!");
eval(o_to_luname).focus();
return false;
}
vFromLUName = vFromLUName.toUpperCase();
vToLUName = vToLUName.toUpperCase();
if(vFromLUName > vToLUName)
{
alert("LU 시작 범위가 종료 범위보다 큽니다.!");
eval(o_from_luname).focus();
return false;
}
}
else {
alert("LU 범위는 숫자나 알파벳만 입력가능합니다!");
eval(o_from_luname).focus();
return false;
}
if(eval(o_applyID).value == '' )
{
alert("어플리케이션 ID값을 입력하세요!");
eval(o_applyID).focus();
return false;
}
return true;
}
function LUInfoUpdateValidate(form_name)
{
var o_applyID = "document." + form_name + ".APPLID";
if(eval(o_applyID).value == '' )
{
alert("어플리케이션 ID값을 입력하세요!");
eval(o_applyID).focus();
return false;
}
return true;
}