<%@ 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" %>


Classifiche


  <% counter = 0 sqlConn.Open() sqlComm = New SqlCommand("SELECT Utenti.Id as Id_Utente, Gilda, Utenti.Fama, Utenti.Username, Pianeti.Proprietary, Pianeti.Nome FROM Utenti JOIN Pianeti ON Utenti.Username = Pianeti.Proprietary WHERE Pianeti.Is_Principal = '1' AND Utenti.ID NOT IN (SELECT TOP 2 ID FROM Utenti ORDER BY Fama DESC) ORDER BY Fama DESC", sqlConn) r = sqlComm.ExecuteReader() While r.Read() counter = counter + 1 If counter < 11 Then %> <% %><% End If End While r.Close() sqlConn.Close() %><% %>
Classifica Utenti

<% Dim 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_Imperi_" %> <% Dim counter = 0 sqlConn.Open() sqlComm = New SqlCommand("SELECT TOP 2 Utenti.Id as Id_Utente, Gilda, Utenti.Fama, Utenti.Username, Pianeti.Proprietary, Pianeti.Nome FROM Utenti JOIN Pianeti ON Utenti.Username = Pianeti.Proprietary WHERE Pianeti.Is_Principal = '1' ORDER BY Fama DESC", sqlConn) r = sqlComm.ExecuteReader() While r.Read() counter = counter + 1 If counter < 11 Then %><% End If End While r.Close() sqlConn.Close() %>
<% If File.Exists(Pagina & r("Id_Utente") & ".jpg") = True Then %> .jpg"> <% End If %>

Utente: ><%=r("Username")%> [<%=Trim(r("Gilda"))%>]

Paese: <%=r("Nome")%>

Fama: <%=r("Fama")%>


Utente

Paese Principale

Fama

<% If File.Exists(Pagina & r("Id_Utente") & ".jpg") = True Then %> onmouseover="doTooltip(event, messages[<%=counter%>] )" onmouseout="hideTip()" <% End If %> ><%=r("Username")%> [<%=Trim(r("Gilda"))%>]<%=r("Nome")%><%=r("Fama")%>



Vedi Tutti

 
  <% 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_" counter = 0 sqlConn.Open() sqlComm = New SqlCommand("SELECT Is_Dead, ID, Nome, Proprietary, Exp FROM Generali ORDER BY EXP DESC", sqlConn) r = sqlComm.ExecuteReader() While r.Read() counter = counter + 1 If counter < 11 Then %> <% %><% End If End While r.Close() sqlConn.Close() %><% %>
Classifica Generali

Nome Generale

Proprietario

Exp

<% If r("Is_Dead") = 1 Then%> <% End If %> " target="_Blank" <% If File.Exists(Pagina & r("Id") & ".jpg") = True Then %> onmouseover="doTooltip(event, messages_g[<%=counter%>] )" onmouseout="hideTip()" <% End If %> ><%=r("Nome")%><%=r("Proprietary")%><%=r("Exp")%>



Vedi Tutti

 
  <% sqlConn.Open() sqlComm = New SqlCommand("SELECT SUM(Utenti.Fama) as Fama_Utenti, Count(*) AS Totale_Utenti, Utenti.Gilda FROM Utenti WHERE Utenti.Gilda <> '' GROUP BY Utenti.Gilda ORDER BY Fama_Utenti DESC, Totale_Utenti", sqlConn) r = sqlComm.ExecuteReader() While r.Read() %><% End While r.Close() sqlConn.Close() %>
Classifica Gilde

Gilda

Membri

Fama

&Gilda=<%=r("Gilda")%>"><%=(r("Gilda"))%><%=CInt(r("Totale_Utenti"))%><%=CInt(r("Fama_Utenti")/1000)%>