getOwnArtefactsInfo($session->uid); $wref = $village->wid; $coor = $database->getCoor($wref); ?>
'; else { foreach($ownArtifacts as $ownArtifact){ $coor2 = $database->getCoor($ownArtifact['vref']); $ownArtifactInfo = Artifacts::getArtifactInfo($ownArtifact); echo ''; echo ''; echo ''; echo ''; } } ?>
'.ANY_ARTEFACTS.'
' . $ownArtifact['name'] . ' ' . $ownArtifact['effect'] . '
Treasury '.$ownArtifactInfo['requiredLevel'].', Effect '.$ownArtifactInfo['effectInfluence'].'
' . $database->getVillageField($ownArtifact['vref'], "name") . ''.date("d.m.Y H:i", $ownArtifact['conquered']) . '
getArtifactsBysize([1, 2, 3]); if(count($artifacts) == 0) echo ''; else { $rows = []; foreach($artifacts as $artifact){ $coordinates = $database->getCoor($artifact['vref']); $distance = $database->getDistance($village->coor['x'], $village->coor['y'], $coordinates['x'], $coordinates['y']); $rows[(string)$distance] = $artifact; } ksort($rows); foreach($rows as $distance => $row) { echo ''; } } ?>
'.NO_ARTEFACTS_AREA.'
'.$row['name'].' '.$row['effect'].'
'; $artifactInfo = Artifacts::getArtifactInfo($row); echo '
'.TREASURY.' '.$artifactInfo['requiredLevel'] . ', '.EFFECT.' '.$artifactInfo['effectInfluence'].'
'.$database->getUserField($row['owner'], "username", 0).' '.$distance.'