update newsbox view best player

This commit is contained in:
Shadow
2016-02-23 14:03:08 +02:00
parent 231a78c486
commit b97775b05f
+5 -1
View File
@@ -2,7 +2,7 @@
<?php
$online = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE " . time() . "-timestamp < (60*10) AND tribe!=0 AND tribe!=4 AND tribe!=5"));
$top_rank = mysql_fetch_assoc(mysql_query("SELECT * FROM ".TB_PREFIX."users WHERE access< 8 AND id > 5 AND tribe<=3 AND tribe > 0 ORDER BY oldrank ASC Limit 1"));
?>
@@ -44,5 +44,9 @@ $online = mysql_num_rows(mysql_query("SELECT * FROM " . TB_PREFIX . "users WHERE
<td><b>Server Start</td>
<td>: <font color="Red"><?php echo START_DATE;?></font></b></td>
</tr>
<tr>
<td><b>Best Player</td>
<td>: <font color="Red"><?php echo $top_rank['username'] ?></font></b></td>
</tr>
</table>
</div>