❌ | ❌ | <?php require_once "misc/header.php"; $opts = load_opts(); ?> <title>LibreY - <?php printtext("page_title");?></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" autofocus/> <input type="hidden" name="p" value="0"> <div class="sub-search-button-wrapper"> <?php $categories = array("general", "images", "videos", "torrents", "tor", "maps", "binternet"); foreach ($categories as $category) { $category_index = array_search($category, $categories); if (($opts->disable_bittorrent_search && $category_index == 3) || ($opts->disable_hidden_service_search && $category_index ==4)) { continue; } echo "<a " . $data["original_name"] . "" value="; echo htmlspecialchars($opts->frontends["$frontend"]["instance_url"] ?? ""); echo ">"; echo "</div>"; } ?> <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 = " <option value="dark">Dark</option> <option