? "class="active" " : "") . "href="./search.php?q=" . urlencode($opts->query) . "&p=0&t=" . $category_index . ""><img src="static/images/" . $category . "_result.png" alt="" . $category . "_result.png" alt="" . $category . "_result.png" alt="" . $category . " result" />" . TEXTS["category_$category"] . "</a>"; } ?> </div> </form> <?php require_once "misc/search_engine.php"; $opts = load_opts(); ?> <title>LibreY - <?php printtext("settings_title");?></title> </head> <body> <div class="misc-container"> <center> <h2>Libre<span class="Y">Y</span> instances</h2> <?php list_instances($librey_instances); ?> <p><?php printftext("instances_librex", "<a href="https://github.com/hnhx/librex">LibreX</a>")?>:</p> <?php list_instances($librex_instances); ?> </center> </div> <?php require_once "misc/header.php"; $opts = load_opts(); ?> <title>LibreY - Donate</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 . ""