goldclub == 1 && count($database->getProfileVillages($session->uid)) > 1)) { header("Location: build.php?id=".(int)$_GET['id']); exit; } $action = $_POST['action'] ?? ''; $routeid = isset($_POST['routeid']) ? (int)$_POST['routeid'] : 0; $create = isset($_GET['create']) && $session->gold > 1; $edit = ($action === 'editRoute' && $routeid > 0 && $database->getTradeRouteUid($routeid) == $session->uid); ?>

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

<?php echo GOLD; ?>2.

getTradeRoute($village->wid); if (empty($routes)): ?> getVillageField($wid, "name")); $start = str_pad((int)$route['start'], 2, '0', STR_PAD_LEFT).":00"; $deliveries = (int)$route['deliveries']."x".(int)$route['merchant']; $daysLeft = max(0, ceil(($route['timeleft'] - time()) / 86400)); ?>
.
| |
* <?php echo GOLD; ?>2
»