* 10, $query, $type); print_next_page_button(">", $page + 10, $query, $type); print_next_page_button("<", $page - 10, $query, $type); echo "</div>"; } ?> </div> </form> </div> <?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="" . $data["project_url"] . "" selected", $themes); echo $themes; ?> </select> </div> <div> <label><?php printtext("settings_number_of_results");?></label> <input type="number" name="number_of_results" value="<?php echo htmlspecialchars($opts->number_of_results ?? "10") ?>" > </div> </div> <?php require_once "misc/search_engine.php"; require_once "locale/localization.php"; $opts = load_opts(); function print_page_buttons($type, $query, $page) { if ($type > 1) return; echo "<div class="next-page-button-wrapper">"; if ($page != 0) { print_next_page_button("<<",