<%@Language="VBScript"%> <% // ·Î±×¾Æ¿ô ó¸® if Request("mode") = "logout" then Session.contents("user_id") = "" Session.contents("user_name") = "" Response.Redirect "http://www.nzc.co.kr/korean/main/main.htm" end if // ¼¼¼Ç°ªÀÌ ³²¾Æ ÀÖÀ»°æ¿ì ¹Ù·Î ¸ÞÀÎÆäÀÌÁö·Î µ¹¸² if Session.Contents("user_id") <> "" then Response.Redirect "http://www.nzc.co.kr/korean/main/main.htm" end if // ·Î±×ÀΠó¸® mem_id = Request("mem_id") pwd = Request("pwd") nextpath = Request("nextpath") if Request("mode") = "go" then str_sql = "" str_sql = str_sql & " select * " str_sql = str_sql & " from member " str_sql = str_sql & " where mem_id = '" & mem_id & "' and mem_del<>'Y'" set rs = Server.CreateObject("ADODB.Recordset") rs.Open str_sql,Conn,1 //response.write str_sql if rs.EOF then err_msg = " ÇØ´çÇÏ´Â ID°¡ Á¸ÀçÇÏÁö ¾Ê½À´Ï´Ù " else d_id = rs("mem_id") d_pwd = rs("pwd") a_id = Request("id") a_pwd = Request("pwd") if d_pwd <> a_pwd then err_msg = " ºñ¹Ð¹øÈ£°¡ ÀÏÄ¡ÇÏÁö ¾Ê½À´Ï´Ù. " else err_msg = "OK" Session.contents("user_id") = rs("mem_id") Session.contents("user_name") = rs("name") Session.contents("jumin_id") = rs("jumin_id") session.contents("user_type") = rs("mem_type") sql = "update com_member set me_lastdate = getdate() where me_id='"&rs("mem_id")&"'" conn.execute(sql) if nextpath = "" then Response.Redirect "../main/main.htm" else Response.Redirect nextpath end if end if end if end if %> Creative New Zealand Centre <% if err_msg <> "" then Response.Write "" end if %>
 
 
   
"> checked<%end if%>>