request($image, $config->curl_settings); header("Content-Type: image/png"); echo $image_src; } ?> </div> </form> <?php require_once "misc/header.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<table><tr>"; echo "<th>Clearnet</th>"; echo "<th>Tor</th>"; echo "<th>I2P</th>"; echo "<th>Country</th>"; echo "</tr>"; foreach($instances as $instance) { $hostname = parse_url($instance["clearnet"])["host"]; $country = get_country_emote($instance["country"]) . $instance["country"]; $is_tor = !is_null($instance["tor"]); $is_i2p = !is_null($instance["i2p"]); echo "<tr>"; echo "<td><a href="" . $instance["i2p"] . "">u{2705}</a></td>" :