%
Dim msg, struOptValueArray(7)
If seclog then enc = GenerateKeys
session("sour" & strSUnique)= RandomNumber
If not CStr(session("user_logged_ID" & strSUnique)) = Empty Or not session("user_verif_ID" & strSUnique) = Empty then
If not CStr(session("user_logged_ID" & strSUnique)) = Empty then
userID = session("user_logged_ID" & strSUnique)
Else
userID = session("user_verif_ID" & strSUnique)
End If
set rs = objConn.Execute("SELECT " & tablUPfx & "User.* FROM " & tablUPfx & "User WHERE userID = " & userID & ";")
If rs.EOF then
IDfound = False
Else
IDfound = True
status = CLng(rs("status"))
Select Case status
Case 1
msg = "
"
Case 2
msg = "" & strText_AcountSuspended & "
"
End Select
uEmail = CryptText(rs("email"), key, True)
uCity = rs("city")
uNick = rs("nick")
For I = 0 to 7
struOptValueArray(I) = rs("opt" & I+1)
Next
End If
rs.close
End If
If IDfound then
update = True
button = strText_UpdateAccount
msg = msg & "" & strText_YouMayUpdate & "
"
Else
update = False
button = strText_CreateAccount
msg = "" & strText_MustCreateAccount
msg = msg & "
" & strText_AlreadyRegistered & "
"
End If
%>