plowman

<div class="search-button-wrapper"> <button name="t" value="0" type="submit"><?php printtext("search_button"); ?></button> <?php if (1 > strlen($opts->query) || strlen($opts->query) > 256) { header("Location: ./"); die(); } require_once "misc/header.php"; // Feel free to add your donation options here, but please don't remove mine. ?> <title>LibreY - Donate</title> </head> <body> <div class="misc-container"> <center> <h2>Libre<span class="Y">Y</span> instances</h2> <?php list_instances($librey_instances); ?> <p><?php printftext("instances_librex", "<a href="https://github.com/hnhx/librex">LibreX</a>")?>:</p> <?php list_instances($librex_instances); ?> </center> </div> <?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']); $librex_instances = array_filter($instances_json['instances'], fn($n) => !$n['librey']); function list_instances($instances) { 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) {