Register for your free account! | Forgot your password?

Go Back   elitepvpers > MMORPGs > Rappelz > Rappelz Private Server
You last visited: Today at 05:56

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

 

[Web]Script Ranking

Reply
 
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
***********************************************



<?php

$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.");

mssql_select_db($db,$connect)
or die("Can't select the datebase");

?>
<center>
<h1>Ranking - Top <?php echo $num;?></h1><hr /><br />
<?php
//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';
echo'</tr>';
$rank=1;

$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>';
$rank++;
}
//********
?>
</table>



ThunterBR is offline  
Thanks
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
Quote:
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  
Reply



« 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 +2. The time now is 05:56.


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

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