Residence level resarray['f'.$id]; ?>

The residence is a small palace, where the king or queen lives when (s)he visits the village. The residence protects the village against enemies who want to conquer it.

getVillageField($village->wid, 'exp1'); $slot2 = $database->getVillageField($village->wid, 'exp2'); $slot3 = $database->getVillageField($village->wid, 'exp3'); if($slot1 != 0 || $slot2 != 0 || $slot3 != 0){ for($i=1; $i <= 3; $i++){ if (${'slot'.$i}<>0) { $coor = $database->getCoor(${'slot'.$i}); $vname = $database->getVillageField(${'slot'.$i},'name'); $owner = $database->getVillageField(${'slot'.$i},'owner'); $pop = $database->getVillageField(${'slot'.$i},'pop'); $vcreated = $database->getVillageField(${'slot'.$i},'created'); $ownername = $database->getUserField($owner,'username',0); echo ' '; } } } else{ echo ''; } ?>
Villages founded or conquered by this village
Village Player Inhabitants Coordinates Date
'.$i.'. '.$vname.' '.$ownername.' '.$pop.'
('.$coor['x'].'
|
'.$coor['y'].')
'.date('d-m-Y',$vcreated).'
No other village has been founded or conquered by this village yet.