KATEGORİLER |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<?php
echo "<center>";
include('inc/config.php'); // Connect to DB
mysql_select_db('player'); // Select DB 'player'
$test = "SELECT * from player";
$testquery = mysql_query($test);
$num2 = mysql_num_rows($testquery);
if($_GET***91;'max'***93;) {
$get = $_GET***91;'max'***93;;
} else {
$get = '0';
$max = $get + 20;
$max2 = $get - 20;
if($get > $num2) {
}
elseif($get >= 20 && $get < $num2) { }
elseif ($num2 <= 20) { echo ""; }
else { }
echo "</center><br>";
?>
<center><table border="0">
<tr>
<th width="150">Sira</th>
<th width="150">Nick</th>
<th width="150">Level</th>
<th width="150">Exp</th>
<th width="150">Bayrak</th>
</tr>
</table></center>
<?php
include('inc/config.php'); // Connect to DB
mysql_select_db('player'); // Select DB 'player'
// Select player etc from db //
$rank = "SELECT * from player WHERE name NOT LIKE '***91;GA***93;%' and name NOT LIKE '***91;GM***93;%' order by level desc limit 10";
$query = mysql_query($rank);
echo "<center><table border="0">"; // Open table
$i = 0;
while($array = mysql_fetch_array($query)) {
$i = $i + 1;
echo "
<tr>
<th width="150"><font color="black">" . $i . "</font></th>
<th width="150"><font color="black">" . $array***91;"name"***93; . "</font></th>
<th width="150"><font color="black">" . $array***91;"level"***93; . "</font></th>
<th width="150"><font color="black">" . $array***91;"exp"***93; . "</font></th>";
$reich = "SELECT empire from player_index where id = " . $array***91;account_id***93; . "";
$query2 = mysql_query($reich);
$array2 = mysql_fetch_array($query2);
if($array2***91;"empire"***93; == 1) {
echo "<th width="150"><img src="http://www.elitepvpers.de/forum/images/red.jpg"></th></tr>";
} elseif($array2***91;"empire"***93; == 2) {
echo "<th width="150"><img src="http://www.elitepvpers.de/forum/images/yellow.jpg"></th></tr>";
} else {
echo "<th width="150"><img src="http://www.elitepvpers.de/forum/images/blue.jpg"></th></tr>";
}
}
echo "</table></center><br>"; // close table
}
?>
NOT: ALTINA BİRDE BUNU EKLEYİN
mysql_select_db("player");
|
|
|
|
|
|
|
rankend | Farklı Olmak Emek İster
|
|
|
|
|
|
Bu web sitesi ücretsiz olarak Bedava-Sitem.com ile oluşturulmuştur. Siz de kendi web sitenizi kurmak ister misiniz?
Ücretsiz kaydol
|