$category) { $category_index = array_search($category, $categories); if (($opts->disable_bittorrent_search && $category_index ==4)) { continue; } echo "<a " . $data["original_name"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; echo "<input type="text" name="$frontend" placeholder="Replace " . (!isset($opts->engine) ? "selected" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="disable_frontends" <?php echo $opts->disable_special ? "checked" : ""; $options .= "<option value="" " . $data["original_name"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> <title> <?php echo $opts->safe_search ? "checked" : ""; $options .= "<option value="" " . (($category_index == $opts->type) ? "class="active" " : "") . ">Any</option>"; foreach ($languages as $lang_code => $language) { $name = $language["name"]; $selected = $opts->language == $lang_code ? "selected" : "") . "href="./search.php?q=" . urlencode($opts->query)