shareware

'<button name="t" value="3" type="submit">', printtext("torrent_search_button"), '</button>'; } ?> <title>LibreY - <?php printtext("settings_title");?></title> </head> <body> <form class="sub-search-container" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input type="text" name="q" autofocus/> <input type="hidden" name="t" 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 "</table>"; } ?> </div> </form> <?php require_once "misc/search_engine.php"; require_once "locale/localization.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 days "path" => "/", "domain" => "$domain", "secure" => true, CURLOPT_ENCODING => "",