|
You last visited: Today at 10:01
Advertisement
Ranking Script!
Discussion on Ranking Script! within the Metin2 Private Server forum part of the Metin2 category.
12/02/2009, 13:03
|
#16
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
<?php
session_start (); //Session starten//
include ("templates/header.html");
include ("templates/rank.html");
include ("config_player.php");
$sql = "SELECT
*
FROM
player
ORDER BY level DESC";
$i = "0" ;
$ergebnis = mysql_query($sql);
$ergebnis = mysql_query($sql);
while($row = mysql_fetch_object($ergebnis))
{
$i = $i + 1 ;
echo "
<center><table border=0>
<tr>
<th width=\"80\"><font color=red>$i</font></th>
<th width=\"200\"><font color=pink>$row->name</font></th>
<th width=\"200\"><font color=green>$row->exp</font></th>
<th width=\"200\"><font color=red>$row->level</font></th>
</tr>
</table></center>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" ;
?>
Das müsste es sein 
MfG
|
|
|
12/02/2009, 13:04
|
#17
|
elite*gold: 99
Join Date: May 2009
Posts: 1,020
Received Thanks: 400
|
Code:
<?php
session_start ();
include ("rank.html");
include ("config_player.php");
$sql = "SELECT
*
FROM
player
ORDER BY level DESC";
$i = "0" ;
$ergebnis = mysql_query($sql);
$ergebnis = mysql_query($sql);
while($row = mysql_fetch_object($ergebnis))
{
$i = $i + 1 ;
echo "
<center><table border=0>
<tr>
<th width=\"200\"><font color=black>$i</font></th>
<th width=\"200\"><font color=black>$row->name</font></th>
<th width=\"200\"><font color=black>$row->exp</font></th>
<th width=\"200\"><font color=black>$row->level</font></th>
</tr>
</table></center>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" ;
?>
Viel Spaß und danke nochma^^
|
|
|
12/02/2009, 13:07
|
#18
|
elite*gold: 0
Join Date: Nov 2009
Posts: 4,943
Received Thanks: 1,230
|
Mir auch bitte
<?php
session_start (); //Session starten//
include ("templates/header.html");
include ("templates/rank.html");
include ("config_player.php");
$sql = "SELECT
*
FROM
player
ORDER BY level DESC";
$i = "0" ;
$ergebnis = mysql_query($sql);
$ergebnis = mysql_query($sql);
while($row = mysql_fetch_object($ergebnis))
{
$i = $i + 1 ;
echo "
<center><table border=0>
<tr>
<th width=\"80\"><font color=red>$i</font></th>
<th width=\"200\"><font color=pink>$row->name</font></th>
<th width=\"200\"><font color=green>$row->exp</font></th>
<th width=\"200\"><font color=red>$row->level</font></th>
</tr>
</table></center>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" ;
?>
|
|
|
12/02/2009, 13:07
|
#19
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
Quote:
Originally Posted by fighter28
Code:
<?php
session_start ();
include ("rank.html");
include ("config_player.php");
$sql = "SELECT
*
FROM
player
ORDER BY level DESC";
$i = "0" ;
$ergebnis = mysql_query($sql);
$ergebnis = mysql_query($sql);
while($row = mysql_fetch_object($ergebnis))
{
$i = $i + 1 ;
echo "
<center><table border=0>
<tr>
<th width=\"200\"><font color=black>$i</font></th>
<th width=\"200\"><font color=black>$row->name</font></th>
<th width=\"200\"><font color=black>$row->exp</font></th>
<th width=\"200\"><font color=black>$row->level</font></th>
</tr>
</table></center>";
}
echo "</td>
</tr>
</table>
</td>
</tr>
</table>
<tr>
</td>
</tr>
</table>
</body>
</html>" ;
?>
Viel Spaß und danke nochma^^
|
Hab ich was verpasst?
|
|
|
12/02/2009, 13:08
|
#20
|
elite*gold: 0
Join Date: Oct 2008
Posts: 428
Received Thanks: 179
|
Das ist doch ohne Reich XD
Ich glaube er wollte einfach nur sein Rankscript hier posten damit downi es bearbeitet XD
|
|
|
12/02/2009, 13:10
|
#21
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
Das mit den Reichen ist mir eigentlich egal, ich will nur keine GA´s und GM´s in der Liste
|
|
|
12/02/2009, 13:17
|
#22
|
elite*gold: 0
Join Date: Nov 2009
Posts: 4,943
Received Thanks: 1,230
|
Quote:
Originally Posted by xxxAchixxx
Das mit den Reichen ist mir eigentlich egal, ich will nur keine GA´s und GM´s in der Liste 
|
Ich auch, aber wenn er das nocht mit den Reichen macht, passts auch
|
|
|
12/02/2009, 13:19
|
#23
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
Jupp würd ich auch sagen^^
|
|
|
12/02/2009, 13:22
|
#24
|
elite*gold: 99
Join Date: May 2009
Posts: 1,020
Received Thanks: 400
|
Lies doch nächstes mal von Anfang an Achi^^ das mit keine GMs und GAs ist einfach^^ nimm mein script. mach einfach alle GMs und GAs auf level 100 durch die db und dann lass in deinem rank script einfach nur das einzeigen was lvl 1-lvl99 ist. tada, schon sind die GMs und GAs weg. Geht natürlich auch komplizierter^^
|
|
|
12/02/2009, 13:27
|
#25
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
D.h ich muss mit deinem Script nur noch in der DB die GM´s und GA´s auf 100 machen?
|
|
|
12/02/2009, 13:29
|
#26
|
elite*gold: 99
Join Date: May 2009
Posts: 1,020
Received Thanks: 400
|
Ne mein script zeigt alles an, das will ich ja so, aber ich kann dir das ändern wenn du möchtest^^
|
|
|
12/02/2009, 13:30
|
#27
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
Wäre nett, also wie gesagt GM´s und GA´s sollten nicht angezeigt werden^^
|
|
|
12/02/2009, 13:31
|
#28
|
elite*gold: 99
Join Date: May 2009
Posts: 1,020
Received Thanks: 400
|
k ich versuchs^^ ich teste das dann schnell noch und dann poste ich das hier
|
|
|
12/02/2009, 13:32
|
#29
|
elite*gold: 428
Join Date: Dec 2008
Posts: 4,955
Received Thanks: 3,500
|
Ok, bekommst dann auch en THX^^
|
|
|
12/02/2009, 13:44
|
#30
|
elite*gold: 0
Join Date: Jan 2008
Posts: 3,026
Received Thanks: 4,504
|
xxxAchixxx
PHP Code:
<?php session_start (); //Session starten// include ("templates/header.html"); include ("templates/rank.html"); include ("config_player.php");
$sql = "SELECT * FROM player ORDER BY level DESC"; $i = 1; $ergebnis = mysql_query($sql); $ergebnis = mysql_query($sql); while($row = mysql_fetch_object($ergebnis)) {
$i = 1;
$name = $row->name; $name2 = substr($name, 0, 4); $name3 = substr($name, 0, 5); if ($name2 == "[GM]") { echo ""; } elseif ($name2 == "[GA]") { echo ""; } elseif ($name2 == "[SGM]") { echo ""; } else { echo " <center><table border=0> <tr> <th width=\"80\"><font color=red>$i</font></th> <th width=\"200\"><font color=pink>$row->name</font></th> <th width=\"200\"><font color=green>$row->exp</font></th> <th width=\"200\"><font color=red>$row->level</font></th> </tr> </table></center>"; $i++; } } echo "</td> </tr> </table> </td> </tr> </table> <tr> </td> </tr> </table> </body> </html>" ; ?>
Try it.
PHP Code:
<?php session_start (); include ("rank.html"); include ("config_player.php");
$sql = "SELECT * FROM player ORDER BY level DESC"; $i = 1 ; $ergebnis = mysql_query($sql); $ergebnis = mysql_query($sql); while($row = mysql_fetch_object($ergebnis)) { $accountid = $row->account_id; $sql2 = "SELECT * FROM `player_index` WHERE `id` = '$accountid'"; $exe = mysql_query($sql2); while ( $row2 = mysql_fetch_assoc($exe)) { if ($empire == "1"){ $rech = "<img src=\"http://www.elitepvpers.com/forum/images/red.jpg\" alt=\"Shinsoo\"/>"; }elseif ($empire == "2"){ $rech = "<img src=\"http://www.elitepvpers.com/forum/images/yellow.jpg\" alt=\"Chunjo\"/>"; }elseif ($empire == "3"){ $rech = "<img src=\"http://www.elitepvpers.com/forum/images/blue.jpg\" alt=\"Jinno\"/>"; } echo " <center><table border=0> <tr> <th width=\"200\"><font color=black>$i</font></th> <th width=\"200\"><font color=black>$row->name</font></th> <th width=\"200\"><font color=black>$row->exp</font></th> <th width=\"200\"><font color=black>$row->level</font></th> <th width=\"200\"><font color=black>$rech</font></th> </tr> </table></center>"; $i++; } } echo "</td> </tr> </table> </td> </tr> </table> <tr> </td> </tr> </table> </body> </html>" ; ?>
Try it
//Ich habe BEIDE nicht getestet
|
|
|
Similar Threads
|
Ranking Script v15
06/26/2010 - Flyff Private Server - 4 Replies
Hi,
Hat hier vielleicht wer ne voll funktionstüchtige Ranking script für v15.?
Danke schon mal^^
|
GM aus dem ranking
04/19/2010 - Metin2 Private Server - 8 Replies
Hallo
Wie nehme ich die gms aus der ranklist bittte um antword thx
|
How To Ranking?
10/17/2009 - Metin2 Private Server - 2 Replies
How To Ranking liste
Who site have ranking liste?
|
Request: New Eudemons Ranking Script
02/17/2009 - EO PServer Hosting - 3 Replies
like the title says i need a new Script for eudemons ranking theat can support Pixie and other new eudemons
|
[i]I need a Ranking
02/13/2009 - CO2 Private Server - 0 Replies
hi , i need a ranking page based in Inis ;p help me..
:mofo:
|
All times are GMT +1. The time now is 10:01.
|
|