<%
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%>
|
Paese
|
Nome
|
Proprietario
|
Azioni
|
|   |
  |
  |
  |
  |
  |
  |
  |
<%
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"))
%> | <%=i%> | Vuoto |   |   |   |   |   |   | <%
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
%><%=r("Paese")%> |
<%=r("Nome")%>
|
<%=r("Proprietary")%>
<% If Trim(r("Gilda")) <> "" %>
[<%=Trim(r("Gilda"))%>]
<% End If %>
|
&Rea=<%=Cripta(r("Reame"))%>&Pae=<%=Cripta(r("Paese"))%>">
|
">
|
<% If (r("Fama") < (Fama_Tua/100*30)) AND r("Is_Principal") = 1 Then %>
<% End If %>
|
<% If r("Icq_Uin") <> "" Then
Dim Icq_Uin = Replace(r("Icq_Uin"),"-","") %>
<% End If %>
|
<% If r("Msn") <> "" Then %>
" onClick="return popitup('msn.aspx?Codice=<%=r("Id_Utente")%>')">
<% End If %>
|
<%
If Var_Color = "181818" Then
Var_Color = "393839"
Else
Var_Color = "181818"
End If
End While
r.Close()
sqlConn.Close()
While i <> 51
%>| <%=i%> | Vuoto |   |   |   |   |   |   | <%
If Var_Color = "181818" Then
Var_Color = "393839"
Else
Var_Color = "181818"
End If
i = i + 1
End While
%>
|