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="" . $data["project_url"] . "" value="; echo htmlspecialchars($opts->frontends["$frontend"]["instance_url"] ?? ""); echo ">"; echo "</div>"; } ?> </div> </form> <?php require_once "misc/footer.php"; ?> { "instances": [ { "name": "meow", "value": "<span>nyaa</span>", "verified_at": null }, { "name": "meow", "value": "<span>nyaa</span>", "verified_at": null }, { "shortcode": "nixos", "static_url": "https://quack.social/files/6d3b3750-d049-4b96-a669-478132bdc8af", "url": "https://quack.social/files/6d3b3750-d049-4b96-a669-478132bdc8af", "visible_in_picker": true }, { "shortcode": "neocat_hug_ice_3", "static_url": "https://quack.social/files/74bbed87-4740-4b4f-8789-31088f84f25e", "url": "https://quack.social/files/74bbed87-4740-4b4f-8789-31088f84f25e", "visible_in_picker": true }, "in_reply_to_id": null, "in_reply_to_account_id": null, "reblog": null, "content": "<p><span>apparently i'm a data freak, i loveeee goaccess</span></p>", "content_type": "text/x.misskeymarkdown", "text": "@nex@icenet.cyan.gay i should