<% Server.Execute("header.asp") %> <% If Request.QueryString("ref") <> "logout" AND rs_viewuser("stato") = "Attesa" AND rs_viewuser("authority") = "user" Then Response.Redirect("logout.asp?userCode=" & Request.QueryString("userCode") & "&redir=activate") Else code = rs_viewuser("code") If isCodeValid = True AND Request.QueryString("auth") = "admin" Then Set RS = Server.CreateObject ("ADODB.RecordSet") Sql = "SELECT * FROM tbl_authors WHERE code='" & code & "'" RS.Open Sql,adoCon,2,3 RS("authority") = "admin" RS.Update RS.Close ElseIf isCodeValid = True AND (Request.QueryString("ref") = "logout" or str_users_authority = "admin") Then Set RS = Server.CreateObject ("ADODB.RecordSet") Sql = "SELECT * FROM tbl_authors WHERE code='" & code & "'" RS.Open Sql,adoCon,2,3 RS("stato") = "Active" RS.Update RS.Close End If %> <%=pageTitle%> - Attivazione Utente <% If isCodeValid = false Then %>

Il codice inserito non è valido. Riprovare.

<% ElseIf rs_viewuser("code") = "Active" Then %>

<%=str_name%>Il tuo account è attivo! Clikka qui per visualizzare il tuo profilo.

<% ElseIf rs_viewuser("code") <> "Disabled" AND str_users_authority <> "admin" Then %>

Grazie, <%=str_name%>!   il tuo account è attivo. Clikka qui per log in.

<% ElseIf rs_viewuser("code") <> "Disabled" AND str_users_authority = "admin" Then %>

Grazie <%=str_name%>, il tuo account è attivo. Clikka qui per andare indietro.

<% Else %>

Il tuo account è stato sospeso.  Se credi che il tuo account possa essere riattivato, contatti il webmaster .

Il motivo per cui è il suo account è stato disabilitato è:

  • <%=str_users_utentesospeso%>
<% End If %> <% End If %> <% Server.Execute("footer.asp") %>