diff --git a/Templates/field.tpl b/Templates/field.tpl index 45dedbde..655a970c 100644 --- a/Templates/field.tpl +++ b/Templates/field.tpl @@ -16,14 +16,6 @@ $arrayVillage = $village->resarray; ?> procResType($arrayVillage['f'.$i.'t'])." Level ".$arrayVillage['f'.$i]."\"/>\r\n"; -} -?> - - - -
-getJobs($village->wid); $activeFields = []; if (count($jobs)) { @@ -34,6 +26,15 @@ if (count($jobs)) { } } +for ($i=1; $i<=18; $i++) { + echo " procResType($arrayVillage['f'.$i.'t'])." Level ".$arrayVillage['f'.$i].(isset($activeFields[$i]) ? ' (upgrade in progress)' : '')."\"/>\r\n"; +} +?> + + + +
+"; + echo "\"$text"; } } ?>