dryness

src="static/images/buy-me-a-coffee.png" height="50" width="auto" alt="buy-me-a-coffee img" /></a> </div> </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="" " . (!isset($opts->engine) ? "selected" : ""; ?> ><br> <label><?php printtext("settings_frontends_disable");?></label> <input type="checkbox" name="disable_special" <?php echo "<button class="hide" name="t" value="$opts->type"/></button>"; ?> <button type="submit" name="reset" value="1"><?php printtext("settings_reset");?></button> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php require_once "misc/header.php"; $opts = load_opts(); function print_page_buttons($type, $query, $page) { if (!empty($value)) { setcookie($key, $value, [ "expires" => time() + (86400 * 90), // Sets cookie to expire in 90