|
Account Manager for <%=UCase(Request.QueryString("usr"))%> |
<%
If Len(Request.Form("User")) = 0 AND Len(Request.Form("Auth")) = 0 Then
%>
- To access this area you need to login again. - This user authentication is for security reasons. |
|
<%
End If
Dim UserName, Password
UserName = Request.Form("User")
Password = Request.Form("Auth")
If Len(UserName) = 0 AND Len(Password) = 0 Then
%>
<%
Else
Dim objRsAuth, strSQLAuth, accRole
strSQLAuth = "SELECT UserLogin, UserPassword, FirstName, LastName, Email, Role FROM tblAdminLogin WHERE UserLogin = '"&Trim(UserName)&"' AND UserPassword='"&trim(Password)&"'"
Set objRsAuth = objCon.Execute(strSQLAuth)
If Not objRsAuth.EOF Then
objRsAuth.MoveFirst
accRole = objRsAuth("Role")
%>
|
<%
End If
End If
%>
|