<body> <form class="sub-search-container" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input type="text" name="q" <?php if (!$opts->disable_bittorrent_search) { 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["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ?