getVillage($enforce['from']); $fromcoor = $database->getCoor($enforce['from']); $tocoor = $database->getCoor($enforce['vref']); $att_tribe = (int)$database->getUserField($to['owner'], 'tribe', 0); $start = ($att_tribe - 1) * 10 + 1; $end = $att_tribe * 10; $toBaseId = $generator->getBaseID($fromcoor['x'], $fromcoor['y']); $toMapCheck = $generator->getMapCheck($toBaseId); // layout exact ca în original (pentru CSS) $layout = [ [ ['o' => 0, 't' => 1, 'class' => 'line-first column-first large'], ['o' => 3, 't' => 4, 'class' => 'line-first large'], ['o' => 6, 't' => 7, 'class' => 'line-first regular'], ['o' => 8, 't' => 9, 'class' => 'line-first column-last small'], ], [ ['o' => 1, 't' => 2, 'class' => 'column-first large'], ['o' => 4, 't' => 5, 'class' => 'large'], ['o' => 7, 't' => 8, 'class' => 'regular'], ['o' => 9, 't' => 10, 'class' => 'column-last small'], ], [ ['o' => 2, 't' => 3, 'class' => 'line-last column-first large'], ['o' => 5, 't' => 6, 'class' => 'line-last large'], ], ]; ?>