Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 14:29

  • Please register to post and access all features, it's quick, easy and FREE!


[Web]Script Ranking

Old   #1
elite*gold: 0
Join Date: Dec 2011
Posts: 18
Received Thanks: 12
Talking [Web]Script Ranking

I Make the Script for Select Ranking TOP Levels


$host = "(local)"; // your sql instance
$user = "sa"; // username
$pw = ""; // password
$db = "Telecaster"; // db
$md5_key = "2011"; // your md5 key
$num = "15"; // num TOP
$connect = mssql_connect($host,$user,$pw)
or die("Can't connect to the datebase.");

or die("Can't select the datebase");

<h1>Ranking - Top <?php echo $num;?></h1><hr /><br />
//Created by Admin Thunder
echo '<div align="center"><table width="30%" border="1" bgcolor="#EEEEEE" style="text-align:center;">';
echo '<td width="5%" bgcolor="#FFFFFF"><b>Rank';
echo '<td width="25%" bgcolor="#FFFFFF"><b>Name';
echo '<td width="25%" bgcolor="#FFFFFF"><b>Level';

$getrank = mssql_query('SELECT TOP '.$num.' * FROM dbo.Character ORDER BY lv DESC');

while ($consulta = mssql_fetch_assoc($getrank)) {
$nameid = $consulta['name'];
$getleader = mssql_query('SELECT name FROM dbo.Character WHERE name = "'.$nameid.'" AND lv = "0"');

while ($leaderid = mssql_fetch_assoc($getleader)) {
$uid = $leaderid['lv'];
echo '<tr><td bgcolor="#FFF0F0">'.$rank.'</td>';
echo '<td bgcolor="#FFF0F0">'.$consulta['name'].'</td>';
echo '<td bgcolor="#FFF0F0">'.$consulta['lv'].'</td>';

ThunterBR is offline  
8 Users
Old   #2
elite*gold: 0
Join Date: Jun 2011
Posts: 82
Received Thanks: 11
where i paste this
or how this work?

qaaah is offline  
Old   #3
elite*gold: 0
Join Date: May 2011
Posts: 526
Received Thanks: 346
Originally Posted by ThunterBR View Post
I Make the Script for Select Ranking TOP Levels

nice :P ty , but what's in the "//******** " o.O"
MuStA2222 is offline  

« Previous Thread | Next Thread »

Similar Threads
Ranking Verbindungsserver Script
Hallo ePvpers, Ich suche seit längerem nach einem funktionierendem Ranking-Verbindungsserver Script, leider hab ich nichts gefunden was...
6 Replies - Flyff PServer - Discussions / Questions
[Help]Ranking Script
hey, ich weis das kommt jetzt nen bissl doof aber da ich kein MySQL kann bräuchte ich ein Ranking script, dass von der datenbank jobs die tabelle...
3 Replies - Minecraft
[Help]Shaiya PvP ranking script
Hello guys. İ need shaiya pvp ranking script. Any1 have this script? Ty for help =)
0 Replies - Shaiya Private Server
Ranking Script v15
Hi, Hat hier vielleicht wer ne voll funktionstüchtige Ranking script für v15.? Danke schon mal^^
4 Replies - Flyff PServer - Discussions / Questions
Ranking Script!
Hallo, ich hab eine Problem bei meiner Rangliste... Ich will, das das Reich auch angezeigt wird jedoch habe ich keine ahnung wie man das macht das...
38 Replies - Metin2 PServer - Discussions / Questions

All times are GMT +1. The time now is 14:29.

Powered by vBulletin®
Copyright ©2000 - 2018, Jelsoft Enterprises Ltd.
SEO by vBSEO ©2011, Crawlability, Inc.

Support | Contact Us | FAQ | Advertising | Privacy Policy | Abuse
Copyright ©2018 elitepvpers All Rights Reserved.