From 25b52f6b1ad6f9b63813085ac47844803132b63b Mon Sep 17 00:00:00 2001 From: Vladyslav Date: Fri, 18 May 2018 20:20:53 +0300 Subject: [PATCH] Changed information output in Newsbox 2 issue #541 --- Templates/News/newsbox2.tpl | 45 +++++++++++++++++++------------------ 1 file changed, 23 insertions(+), 22 deletions(-) diff --git a/Templates/News/newsbox2.tpl b/Templates/News/newsbox2.tpl index 6957b023..3434cc3f 100644 --- a/Templates/News/newsbox2.tpl +++ b/Templates/News/newsbox2.tpl @@ -1,29 +1,30 @@ +areArtifactsSpawned(), $database->areWWVillagesSpawned(), $database->areArtifactsSpawned(true)]; + +?>
newsbox 2
+ - + - - - - - - - - + if($areSpawned[$i]) echo "Released"; + else + { + $time = strtotime(START_DATE); // Date of server started (the countdown for the appearance of Natars begins) + $interval = $spawnTimeArray[$i] * 86400; // The number of seconds in the number of days that is set for the appearance of Natars + echo date('d.m.Y', $time + $interval); + } + ?> +
Natars spawn + :
WW spawn:
WW Plan spawn:
-
+ \ No newline at end of file