mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-08-11 13:51:00 +00:00
Added a peace system in the newsbox
+Added displaying a peace system to the newsbox. Small fix in Admin\Templates\editServerSet.tpl
This commit is contained in:
@@ -53,6 +53,13 @@ $top_rank = mysqli_fetch_assoc(mysqli_query($database->dblink,"SELECT username F
|
||||
<td><b>: <font color="Red"><?php echo START_DATE;?></font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Peace system</b></td>
|
||||
<td><b>: <font color="Red"><?php
|
||||
$peace_array=array("None","Normal","Christmas","New Year","Easter");
|
||||
echo $peace_array[intval(PEACE)];
|
||||
?></font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Best Player</td>
|
||||
<td><b>: <font color="Red"><?php echo $top_rank['username'] ?></font></b></td>
|
||||
</tr>
|
||||
|
||||
@@ -51,5 +51,12 @@ $online = mysqli_query($database->dblink,"SELECT Count(*) as Total FROM " . TB_P
|
||||
<td><b>Server Start</b></td>
|
||||
<td><b>: <font color="Red"><?php echo START_DATE;?></font></b></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td><b>Peace system</b></td>
|
||||
<td><b>: <font color="Red"><?php
|
||||
$peace_array=array("None","Normal","Christmas","New Year","Easter");
|
||||
echo $peace_array[intval(PEACE)];
|
||||
?></font></b></td>
|
||||
</tr>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
Reference in New Issue
Block a user