최초커밋
This commit is contained in:
77
nk/neakeun_Login_ok.asp
Normal file
77
nk/neakeun_Login_ok.asp
Normal file
@@ -0,0 +1,77 @@
|
||||
<!-- #include virtual = "lib/config.asp" -->
|
||||
<%
|
||||
response.expires = 0
|
||||
dim Query
|
||||
dim neakeun_name
|
||||
dim neakeun_jumin
|
||||
dim neakeun_id
|
||||
dim err_msg
|
||||
dim cnt
|
||||
dim url
|
||||
Dim permanent_position
|
||||
|
||||
neakeun_name = Request.Form("txtid")
|
||||
neakeun_jumin = Request.Form("txtPassword")
|
||||
|
||||
permanent_position = false
|
||||
|
||||
'------------------------------------------------------------------------------------------------------------------------
|
||||
'<27>ϴ<EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>α<EFBFBD><CEB1><EFBFBD><EFBFBD><EFBFBD> <20>غ<EFBFBD><D8BA><EFBFBD>
|
||||
query = " select (CASE WHEN isnull(jumin_old,'') <> '' THEN left(isnull(jumin_old,''),6) "
|
||||
query = query & " ELSE SUBSTRING( replace(birthday,'-',''),3,6) "
|
||||
query = query & " END ) AS id "
|
||||
query = query & " , * from person with(nolock) where p_pass_new = '" & neakeun_jumin & "' "
|
||||
query = query & " and p_name = '" & neakeun_name & "' "
|
||||
query = query & " and p_resign = 0 "
|
||||
adoRs.Open query, adoconn, adopenstatic, adlockreadonly
|
||||
|
||||
cnt = adoRs.recordcount
|
||||
If cnt > 0 Then
|
||||
permanent_position = true
|
||||
neakeun_jumin = adoRs("id")
|
||||
End if
|
||||
adoRs.close
|
||||
'------------------------------------------------------------------------------------------------------------------------
|
||||
' cnt = 0
|
||||
|
||||
if cnt <> 1 then '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD>(<28><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>α<EFBFBD><CEB1><EFBFBD>)
|
||||
'<27>ֹε<D6B9><CEB5>Ϲ<EFBFBD>ȣ<EFBFBD><C8A3> <20>α<EFBFBD><CEB1><EFBFBD> <20>ϴ<EFBFBD> <20>κ<EFBFBD><CEBA><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>Ϸ<EFBFBD> <20><><EFBFBD><EFBFBD>~!!!
|
||||
neakeun_jumin = Request.Form("txtPassword") & "0000000"
|
||||
|
||||
query = "select * from man where "
|
||||
query = query & " m_name = '" & neakeun_name & "' "
|
||||
query = query & " and left(m_jumin, 6) = '" & mid(neakeun_jumin,1,6) & "' "
|
||||
query = query & " and m_activity='Ȱ<><C8B0>' "
|
||||
|
||||
adoRs.Open query, adoconn, adopenstatic, adlockreadonly
|
||||
cnt = adoRs.recordcount
|
||||
|
||||
if adoRs.recordcount > 0 then
|
||||
neakeun_id = adoRs("id")
|
||||
end if
|
||||
|
||||
adoRs.close
|
||||
end If
|
||||
|
||||
|
||||
if cnt <> 1 then
|
||||
Response.Clear
|
||||
Response.Write "<script>"
|
||||
Response.Write " alert('<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20≯<EFBFBD><CCB8><EFBFBD> <20>ֹι<D6B9>ȣ<EFBFBD><C8A3> Ʋ<><C6B2><EFBFBD>ų<EFBFBD>, <20><>Ȱ<EFBFBD><C8B0> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>Դϴ<D4B4>.'); "
|
||||
Response.Write " location.href = './neakeun_login.asp'; "
|
||||
Response.Write "</script>"
|
||||
else'
|
||||
Session("Login_Check") = "OK"
|
||||
Session("neakeun_loginuser") = neakeun_name '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD≯<EFBFBD>
|
||||
Session("neakeun_jumin") = neakeun_jumin '<27><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20>ֹι<D6B9>ȣ
|
||||
|
||||
If permanent_position Then
|
||||
url="input_time_2014.asp?permanent_position=" & permanent_position
|
||||
Else
|
||||
url="input_time_2014.asp?neakeun_name=" & escape(neakeun_name) & "&neakeun_jumin=" & neakeun_jumin &"&neakeun_id=" & neakeun_id
|
||||
End if
|
||||
|
||||
Response.Redirect url
|
||||
End If
|
||||
|
||||
%>
|
||||
Reference in New Issue
Block a user