|
<!--#include virtual="/include/adminSessionCheck.asp"-->
<!--#include virtual="/include/dbcon.asp"-->
<%
'=====================================================================
'³Ñ°Ü¹Þ´Â ÆĶó¸ÞÅÍ°ª
'=====================================================================
name = trim(request("name")) ' À̸§
id = trim(request("id")) ' ID
password = trim(request("password")) ' ºñ¹Ð¹øÈ£
email = trim(request("email")) ' À̸ÞÀÏ
'=====================================================================
'=====================================================================
' ȸ¿øÁ¤º¸¸¦ µî·ÏÇÑ´Ù.
'=====================================================================
SQL = " INSERT INTO SM_ADMIN (name, id, password, email) VALUES "
SQL = SQL & "('" & name & "'"
SQL = SQL & ",'" & id & "'"
SQL = SQL & ",'" & password & "'"
SQL = SQL & ",'" & email & "')"
Set rs = Server.CreateObject("ADODB.Recordset")
rs.Open SQL,db
set rs = nothing
db.close
set db = nothing
%>
<script language=javascript>
alert("µî·ÏµÇ¾ú½À´Ï´Ù.");
location.href="manager_list.asp";
</script>
|