Update newsbox2.tpl

This commit is contained in:
Shadow
2013-11-19 14:52:34 +02:00
parent 6aa1a06569
commit 079d985f8d
+9 -2
View File
@@ -1,4 +1,11 @@
<h5><img src="img/en/t2/newsbox2.gif" alt="newsbox 2"></h5>
<?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"));
?>
<div class="news">
<b><center>TravianX</center></b>
</div>
<b><center>Online Users: <?php echo $online ?> </center></b>
</div>