%@ 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" %> <% Dim Id_Utente = Request.QueryString("ID") Dim Pagina Pagina = Request.ServerVariables("PATH_TRANSLATED") Pagina = Mid(Pagina,1,Len(Pagina)-Len(Split(StrReverse(Pagina),"\")(0))-1) Pagina = Mid(Pagina,1,Len(Pagina)-Len(Split(StrReverse(Pagina),"\")(0))) Pagina = Pagina + "\public\Avatar_Generali_" sqlConn.Open() sqlComm = New SqlCommand("SELECT Utenti.Id as Id_Utente, Utenti.Username, Utenti.Fama, Utenti.Gilda, Pianeti.Proprietary, Pianeti.Dimensione, Pianeti.Reame, Pianeti.Paese, Pianeti.Is_Principal, Pianeti.Nome as Nome_Paese, Generali.Id as Id_Generale, Generali.Proprietary, Generali.Is_Dead, Generali.Exp, Generali.Nome as Nome_Generale FROM Utenti JOIN Pianeti ON Utenti.Username = Pianeti.Proprietary AND Pianeti.Is_Principal = 1 JOIN Generali ON Utenti.Username = Generali.Proprietary AND Generali.Is_Dead = 0 WHERE Utenti.Id = '"& Id_Utente &"' ", sqlConn) r = sqlComm.ExecuteReader() While r.Read() %>
|    Nome: <%=r("Username")%> <% If Trim(r("Gilda")) <> "" Then %> [<%=r("Gilda")%>] <% End If %> | Fama: <%=r("Fama")%> | |||
|    Nome Paese: <%=r("Nome_Paese")%> | Coord: <%=r("Dimensione")%>.<%=r("Reame")%>.<%=r("Paese")%> | |||
|    Generale: <%=r("Nome_Generale")%> | Exp: <%=r("Exp")%> | |||