"GET", CURLOPT_PROTOCOLS => CURLPROTO_HTTPS | CURLPROTO_HTTP, CURLOPT_MAXREDIRS => 5, CURLOPT_TIMEOUT => 3, CURLOPT_VERBOSE => false, CURLOPT_FOLLOWLOCATION => true ) ); ?> <?php 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']); function list_instances($instances) { echo "<div>"; echo "<a " . (!isset($opts->engine) ? "selected" : ""; $options .= "<option value="$engine" $selected>$engine</option>"; } echo "<a for="$frontend" href="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a 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