<%@ Page Language="vb" Debug="true" %> <% @Import NameSpace="System.Data" %> <% @Import NameSpace="System.Data.SQLClient" %> <% @Import NameSpace="System.Diagnostics.Debug" %> <% @Import Namespace="System.Web.Mail" %> <% @Import Namespace="System.Text.RegularExpressions" %> <% @Import NameSpace="System.Data.OleDb" %> <%@ Import namespace="System.IO" %> <%@ Import namespace="System.Net" %>
<% If Attivato = 0 Then Dim codice = Request.QueryString("codice") Dim There_Is_Active_Account = 0 Dim Exist_Account = 0 Dim Username_Utente sqlConn.Open() sqlComm = New SqlCommand("SELECT Username, Attivo FROM Utenti WHERE Id = "+ codice +" ", sqlConn) r = sqlComm.ExecuteReader() While r.Read() Exist_Account = 1 If r("attivo") = "Si" Then There_Is_Active_Account = 1 End If Username_Utente = r("Username") End While r.Close() sqlConn.Close() If There_Is_Active_Account = 1 Then Messaggio.Text = "Questo Account è già stato attivato!!!" End If If There_Is_Active_Account = 0 AND Attivato = 0 AND Exist_Account = 1 Then %>

Scegli i dati del tuo soldato:

Classe:
Guerriero Arciere Mago

Sesso:
Maschio Femmina

Nome:





<% Txt_Codice.Text = Codice %>

<% End If End If %>