</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="$lang_code" $selected>$name</option>"; } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="safe_search" <?php echo $opts->query; ?> - <?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 $options; ?> </select> </div> </div> <?php require_once