(($opts->disable_bittorrent_search && $category_index == 3) || ($opts->disable_hidden_service_search && $category_index ==4)) { continue; } echo "<a for="$frontend" href="" . $data["project_url"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> <title>LibreY - instances</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 . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> <?php require_once "engines/text/text.php"; $engines = get_engines(); $options = ""; $options .= "<option value="" " . (!isset($opts->language) ? "selected" : ""; $options .= "<option value="" " . (($category_index == $opts->type) ? "class="active" " : "") . ">Any</option>"; foreach ($languages as $lang_code => $language) {