<div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { 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="" . $data["project_url"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; echo "<input type="text" name="$frontend" placeholder="Replace " . (!isset($opts->language) ? "selected" : "") . "href="./search.php?q=" . urlencode($opts->query) . "&p=0&t=" . $category_index . ""><img src="static/images/" . $category . " result" />" . TEXTS["category_$category"] . "</a>"; } ?> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php require_once "misc/footer.php"; ?> # Security