Update newsbox1.tpl

This commit is contained in:
Shadow
2014-03-03 07:39:18 +02:00
parent 956c2cc50b
commit fb1aa636be
+46 -11
View File
@@ -1,13 +1,48 @@
<h5><img src="img/en/t2/newsbox1.gif" alt="newsbox 1"></h5>
<div class="news">
<b><center>TravianZ</center></b><br />
<b>Version: <font color="Red">v8.0</font></b><br />
<b>Major Changes:</b> New index.php, chief training fixed, graphic packs now work but only for outside links. See more in readme file!<br />
<b>Minor Changes:</b> Admin panel updated a bit, config updated, installation system updated<br />
<b>Script Price:</b> FREE!<br /><br />
<b><u><center>Released by: Shadow</u></b><br />
<b>Visit: <a href="http://forum.ragezone.com/f742/travianz-official-yi12345-bugs-list-952593/">RageZone.com</a></b><br /></center>
<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">
<table width="100%" border="0">
<tr>
<td align="left"><b>Online Users</td>
<td>: <font color="Red"><?php echo $online ?> users</font></b></td>
</tr>
<tr>
<td><b>Server Speed</td>
<td>: <font color="Red"><?php echo ''.SPEED.'x';?></font></b></td>
</tr>
<tr>
<td><b>Troop Speed</td>
<td>: <font color="Red"><?php echo INCREASE_SPEED;?>x</font></b></td>
</tr>
<tr>
<td><b>Evasion Speed</td>
<td>: <font color="Red"><?php echo EVASION_SPEED;?></font></b></td>
</tr>
<tr>
<td><b>Map Size</td>
<td>: <font color="Red"><?php echo WORLD_MAX;?>x<?php echo WORLD_MAX;?></font></b></td>
</tr>
<tr>
<td><b>Village Exp.</td>
<td>: <font color="Red"><?php if(CP == 0){ echo "Fast"; } else if(CP == 1){ echo "Slow"; } ?></font></b></td>
</tr>
<tr>
<td><b>Beginners Prot.</td>
<td>: <font color="Red"><?php echo (PROTECTION/3600);?> hrs</font></b></td>
</tr>
<tr>
<td><b>Medal Interval</td>
<td>: <font color="Red"><?php if(MEDALINTERVAL >= 86400){ echo ''.(MEDALINTERVAL/86400).' Days'; } else if(MEDALINTERVAL < 86400){ echo ''.(MEDALINTERVAL/3600).' Hours'; } ?></font></b></td>
</tr>
<tr>
<td><b>Server Start</td>
<td>: <font color="Red"><?php echo START_DATE;?></font></b></td>
</tr>
</table>
</div>