value="0"> <div class="sub-search-button-wrapper"> <?php $categories = array("general", "images", "videos", "torrents", "tor", "maps", "binternet"); foreach ($categories as $category) { $category_index = array_search($category, $categories); if (($opts->disable_bittorrent_search && $category_index == 3) || ($opts->disable_hidden_service_search && $category_index ==4)) { continue; } echo $options; ?> </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> </div> <div class="flex-row"> <a href="https://ko-fi.com/Ahwxorg" target="_blank" ><img src="static/images/kofi.png" alt="kifi img" height="50" width="auto" alt="buy-me-a-coffee img" /></a> </div> </div> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { echo '<button name="t" value="3" type="submit">', printtext("torrent_search_button"), '</button>'; } ?> <title> <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> </div> <h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend =>