<%@ 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() For i = 1 to 50 %> <% 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 + "' AND Paese = "& i &" ", sqlConn) r = sqlComm.ExecuteReader() While r.Read() There_Is_Paese = 1 %> <% End While r.Close() sqlConn.Close() If There_Is_Paese = 0 Then %><% End If If Var_Color = "181818" Then Var_Color = "393839" Else Var_Color = "181818" End If Next %>
Paese Nome Proprietario Azioni
               
<%=i%> <%=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: