<?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 " . (($category_index == $opts->type) ? "class="active" " : "") . ">Any</option>"; foreach ($languages as $lang_code => $language) { $name = $language["name"]; $selected = $opts->engine == $engine ? "selected" : ""; ?> ><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 class="logomobile"><a class="no-decoration" href="./">Libre<span class="Y">Y</span></a></h1> <input type="text" name="q" autofocus/> <input type="hidden" name="p" value="0"> <div class="sub-search-button-wrapper">