%if session("username")="" then%> <%end if%> <% if request("action")="del_one" then openconn set rs=server.CreateObject("adodb.recordset") sql="delete from tblAdmin Where idadmin='"&replace(Request.QueryString("nid"),"'","''")&"'" Conn.execute (sql) Response.Redirect("?saoviet=37&Quan-ly-nguoi-dung.html") end if%> <% if request("action")="submit" then username=replace(request("username"),"'","''") password=sha256(replace(request("password"),"'","''")) openconn set rs=server.CreateObject("adodb.recordset") sql="insert into tblAdmin(username,password) values('"&username&"','"&password&"')" 'response.Write(password) ' response.End() conn.execute(sql) response.Redirect("?saoviet=37&Quan-ly-nguoi-dung.html") %> <%end if%>