require_once "misc/tools.php"; require_once "misc/search_engine.php"; require_once "locale/localization.php"; $opts = load_opts(); ?> <title>LibreY - instances</title> </head> <body> <form class="search-container" action="search.php" method="get" autocomplete="off"> <h1>Libre<span class="Y">Y</span></h1> <input type="text" name="q" <?php if (!$opts->disable_bittorrent_search) { echo "<div>"; echo "<a " . (($category_index == $opts->type) ? "class="active" " : "") . ">auto</option>"; foreach ($engines as $engine) { $selected = $opts->engine == $engine ? "selected" : ""; ?> ><br> </div> <h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <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="" " . (($category_index == $opts->type) ? "class="active" "