Files
KIN/nk/neakeun_Login.asp
2025-09-29 17:55:08 +09:00

91 lines
2.8 KiB
Plaintext

<!-- #include virtual = "lib/config.asp" -->
<%
dim ip : ip = Request.ServerVariables("remote_host")
%>
<html>
<head>
<title>Korea Research INTRANET</title>
<LINK rel="stylesheet" type="text/css" href="/lib/text.css">
<meta http-equiv="content-type" content="text/html; charset=euc-kr">
<script>
function init()
{
window.moveTo(0, 0);
window.resizeTo(screen.width , screen.height);
document.formLogin.txtID.focus();
<%
If ip = "::1" OR ip = "127.0.0.1" Then
%>
if(confirm("테스트용으로 임의의 내근직의 ID를 입력되도록 할까요 ?")){
document.formLogin.txtID.value="정덕주";
document.formLogin.txtPassword.value="590610";
}
<%
End if
%>
}
function login(form)
{
//사용자ID
if (document.formLogin.txtID.value == "") {
alert("이름을 입력해 주세요");
document.formLogin.txtID.focus();
return false;
}
//비밀번호
if (document.formLogin.txtPassword.value == "" ) {
alert("생년월일을 입력해 주세요");
document.formLogin.txtPassword.focus();
return false;
}
document.formLogin.action="neakeun_Login_ok.asp";
}
</script>
</head>
<body bgcolor="white" text="black" link="blue" vlink="purple" alink="red" onload="init();">
<form name="formLogin" method="post" >
<br /><br /><br />
<p align="center">
<table border="1" bordercolordark=#ffffff bordercolorlight=#0099ff bordercolor=#0099ff cellspacing=0 cellpadding=0 width=450 align=center>
<tr>
<td align=center colspan=2>
<img src="/images/nk/kri_logo.png" alt="내근직">
<br /><br />
<table border=0 cellspacing=0 cellpadding=0>
<tr height=30>
<td align="center"><font color=black style="font-family:Malgun gothic;font-size:18px;font-weight:bold;">※ 내근직 업무일지 ※</font></td>
</tr>
<tr height=30>
<td align="center"><font color=black style="font-family:Malgun gothic;font-size:15px;font-weight:bold;">※ 내근직 이름과 생년월일(6자리)로 로그인 하세요 ※</font></td>
</tr>
</table>
<br />&nbsp;
</td>
</tr>
<tr>
<td bgcolor=#BECDFF align=center width=40%>
<b>내근직 이름</b></font>
</td>
<td align=center>
<input type="text" name="txtID" size=16 maxlength="20" style="IME-MODE: active;background:#FFFFFF" >
</td>
</tr>
<tr>
<td bgcolor=#BECDFF align=center>
<b>생년월일(6자리)</b>
</td>
<td align=center>
<input type="password" name="txtPassword" size=16 maxlength="20" style="IME-MODE: inactive;background:#FFFFFF">
</td>
</tr>
<tr height=60>
<td colspan=2 align=center>
<input type="submit" name="btnOK" value="로그인" style="width:97px; height:24px;" class=SMSbtn onclick='login()'>
</td>
</tr>
</table>
</form>
</body>
</html>