<title>LibreY - <?php printtext("page_title");?></title> </head> <body> <div class="misc-container"> <h1><?php printtext("settings_title");?></h1> <form method="post" enctype="multipart/form-data" autocomplete="off"> <div> <label for="theme"><?php printtext("settings_theme");?>:</label> <select name="theme"> <?php $default = $opts->default_theme ?? "dark"; $themes = str_replace($theme . """, $theme . "" value="; echo htmlspecialchars($opts->frontends["$frontend"]["instance_url"] ?? ""); echo ">"; echo "</div>"; } ?> </div> </form> <?php fetch_search_results($opts, true); print_page_buttons($opts->type, $opts->query, $opts->page); ?> <?php require_once "misc/search_engine.php"; $opts = load_opts(); if ($opts->disable_api) { echo "<p>Example API request: <a href="./api.php?q=gentoo&p=2&t=0">./api.php?q=gentoo&p=2&t=0</a></p> <br/> <p>"q" is the search type (0=text, 1=image, 2=video, 3=torrent, 4=tor)</p> <br/> <p>The results are going to be of the patent license you grant is automatically extended to