Classifiche
 |
 |
 |
 |
 |
|
 |
 |
| |
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, 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
%>
<% If File.Exists(Pagina & r("Id_Utente") & ".jpg") = True Then %>
.jpg">
<% End If %>
Utente: ><%=r("Username")%>
Paese: <%=r("Nome")%>
Fama: <%=r("Fama")%>
| <%
End If
End While
r.Close()
sqlConn.Close()
%>
|
| Utente
| Paese Principale
| Fama
|
<%
counter = 0
sqlConn.Open()
sqlComm = New SqlCommand("SELECT Utenti.Id as Id_Utente, 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
%>
<%
%> |
<% If File.Exists(Pagina & r("Id_Utente") & ".jpg") = True Then %>
onmouseover="doTooltip(event, messages[<%=counter%>] )" onmouseout="hideTip()"
<% End If %>
><%=r("Username")%> | <%=r("Nome")%> | <%=r("Fama")%> | <%
End If
End While
r.Close()
sqlConn.Close()
%>|
Vedi Tutti
| <%
%>
 |
|
|
 |
 |
|
 |
 |
 |
 |
 |
 |
 |
|
 |
 |
| |
Classifica Generali
|
| | Nome Generale
| Proprietario
| Exp
|
<%
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
%> |
<% 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")%> | <%
End If
End While
r.Close()
sqlConn.Close()
%>|
Vedi Tutti
| <%
%>
 |
|
|
 |
 |
|
 |
 |
 |
 |
 |
 |
 |
|
 |
 |
| |
Classifica Gilde
| Gilda
| Membri
| Fama
|
<%
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()
%> | &Gilda=<%=r("Gilda")%>"><%=(r("Gilda"))%> | <%=CInt(r("Totale_Utenti"))%> | <%=CInt(r("Fama_Utenti")/1000)%> | <%
End While
r.Close()
sqlConn.Close()
%>
|
 |
|
|
 |
 |
|
 |
 |
|