<?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 ==4)) { continue; } echo "<a " . (!isset($opts->engine) ? "selected" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="disable_frontends" <?php echo $opts->safe_search ? "checked" : ""; $options .= "<option value="" " . (($category_index == $opts->type) ? "class="active" " : "") . ">auto</option>"; foreach ($engines as $engine) { $selected = $opts->engine == $engine ?