mirror of
https://github.com/Shadowss/TravianZ.git
synced 2026-07-03 02:54:21 +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:
@@ -173,7 +173,7 @@ function refresh(tz) {
|
||||
<option value="5" <?php if(DEMOLISH_LEVEL_REQ == "5") echo "selected";?>>5</option>
|
||||
<option value="10" <?php if(DEMOLISH_LEVEL_REQ == "10") echo "selected";?>>10 - Default</option>
|
||||
<option value="15" <?php if(DEMOLISH_LEVEL_REQ == "15") echo "selected";?>>15</option>
|
||||
<option value="20"> <?php if(DEMOLISH_LEVEL_REQ == "20") echo "selected";?>20</option>
|
||||
<option value="20" <?php if(DEMOLISH_LEVEL_REQ == "20") echo "selected";?>>20</option>
|
||||
</select>
|
||||
</td>
|
||||
</tr>
|
||||
|
||||
@@ -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