<%@ 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" %> <%@ Import namespace="System.Drawing" %>

<% If TxT_Mappa_Dimensione.Text = "" Then TxT_Mappa_Dimensione.Text = Dimensione End If If TxT_Mappa_Reame.Text = "" Then TxT_Mappa_Reame.Text = Reame End If TxT_Mappa_Dimensione.Text = Replace(TxT_Mappa_Dimensione.Text,"'","") TxT_Mappa_Reame.Text = Replace(TxT_Mappa_Reame.Text,"'","") %> Mappa

Continente: <%=TxT_Mappa_Dimensione.Text%>

Reame: <%=TxT_Mappa_Reame.Text%>


<% Dim Var_Color = "181818" Dim Fama_Tua sqlConn.Open() sqlComm = New SqlCommand("SELECT Fama FROM Utenti WHERE Username = '" + Proprietary + "' ", sqlConn) r = sqlComm.ExecuteReader() While r.Read() Fama_Tua = r("Fama") End While r.Close() sqlConn.Close() Dim i = 1 Dim There_Is_Paese = 0 sqlConn.Open() sqlComm = New SqlCommand("SELECT Utenti.Id as Id_Utente, Utenti.Icq_Uin, Utenti.Msn, Utenti.Username, Utenti.Gilda, Utenti.Fama, Pianeti.Dimensione, Pianeti.Reame, Pianeti.Paese, Pianeti.Nome, Pianeti.Proprietary, Pianeti.Is_Principal FROM Utenti JOIN Pianeti ON Utenti.Username = Pianeti.Proprietary WHERE Pianeti.Dimensione = '" + TxT_Mappa_Dimensione.Text + "' AND Pianeti.Reame = '" + TxT_Mappa_Reame.Text + "' ORDER BY Paese ", sqlConn) r = sqlComm.ExecuteReader() While r.Read() %> <% While i <> (r("Paese")) %><% If Var_Color = "181818" Then Var_Color = "393839" Else Var_Color = "181818" End If i = i + 1 End While i = i + 1 There_Is_Paese = 1 %> <% If Var_Color = "181818" Then Var_Color = "393839" Else Var_Color = "181818" End If End While r.Close() sqlConn.Close() While i <> 51 %><% If Var_Color = "181818" Then Var_Color = "393839" Else Var_Color = "181818" End If i = i + 1 End While %>
Paese Nome Proprietario Azioni
               
<%=i%>Vuoto      
<%=r("Paese")%> <%=r("Nome")%> <%=r("Proprietary")%> <% If Trim(r("Gilda")) <> "" %> [<%=Trim(r("Gilda"))%>] <% End If %> &Rea=<%=Cripta(r("Reame"))%>&Pae=<%=Cripta(r("Paese"))%>">Spia ">Invia Messaggio <% If (r("Fama") < (Fama_Tua/100*30)) AND r("Is_Principal") = 1 Then %> Debole <% End If %> <% If r("Icq_Uin") <> "" Then Dim Icq_Uin = Replace(r("Icq_Uin"),"-","") %> Aggiungi a Icq <% End If %> <% If r("Msn") <> "" Then %> " onClick="return popitup('msn.aspx?Codice=<%=r("Id_Utente")%>')">Visualizza Profilo Msn <% End If %>
<%=i%>Vuoto      


Continente:
Reame: