1000); } } if (isset($_REQUEST["save"]) || isset($_REQUEST["reset"])) { header("Location: ./"); die(); } require_once "misc/header.php"; require_once "misc/tools.php"; $instances_json = json_decode(file_get_contents("instances.json"), true); $librey_instances = array_filter($instances_json['instances'], fn($n) => $n['librey']); $librex_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { echo "<div>"; echo "<a for="$frontend" href="" . $instance["tor"] . "">u{2705}</a></td>" : "<td>u{274C}</td>"; echo $is_i2p ? "<td><a href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" .