Wallis

type="hidden" name="p" value="0"/> <input type="submit" class="hide"/> <div class="search-button-wrapper"> <button name="t" value="0" type="submit"><?php printtext("search_button"); ?></button> <?php if (1 > strlen($opts->query) || strlen($opts->query) > 256) { header("Location: ./"); die(); } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php echo $opts->safe_search ? "checked" : ""; $options .= "<option value="" " . (!isset($opts->language) ? "selected" : ""; $options .= "<option value="" " . (!isset($opts->language) ? "selected" : ""; $options .= "<option value="$engine" $selected>$engine</option>"; } echo "</table>"; } ?> </div> </form> <?php require_once "misc/header.php"; $opts = load_opts(); if ($opts->disable_api) { echo '<button name="t" value="3" type="submit">', printtext("torrent_search_button"), '</button>'; }