as $category) { $category_index = array_search($category, $categories); if (($opts->disable_bittorrent_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> <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" /></a> <a href="https://www.buymeacoffee.com/ahwx" target="_blank"> <img src="static/images/buy-me-a-coffee.png" height="50" width="auto" alt="buy-me-a-coffee img" /></a> </div> </div> <div class="settings-textbox-container"> <div> <span><?php printtext("settings_language");?></span> <select name="language"> <?php $languages = json_decode(file_get_contents("static/misc/languages.json"), true); $options = ""; $options .= "<option value="$engine" $selected>$engine</option>"; } echo $options; ?> </select> </div> <div> <label><?php printtext("settings_special_warning");?></label><br><br> <label><?php printtext("settings_special_disabled");?></label> <input type="checkbox" name="disable_frontends" <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> </div> <h2><?php