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)]; + +?>

| Natars spawn | ++ | : | -
| WW spawn | -: | -|
| WW Plan spawn | -: | + 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); + } + ?>