value="$lang_code" $selected>$name</option>"; } echo "value="" . htmlspecialchars($opts->query) . """; ?> > <br> <?php echo $opts->disable_frontends ? "checked" : ""; ?> ><br> </div> <h2><?php printtext("settings_frontends");?></h2> <p><?php printtext("settings_frontends_description");?></p> <div class="settings-textbox-container"> <?php foreach($opts->frontends as $frontend => $data) { echo "<table><tr>"; echo "<th>Clearnet</th>"; echo "<th>Tor</th>"; echo "<th>I2P</th>"; echo "<th>Country</th>"; echo "</tr>"; foreach($instances as $instance) { $hostname = parse_url($instance["clearnet"])["host"]; $country = get_country_emote($instance["country"]) . $instance["country"]; $is_tor = !is_null($instance["tor"]); $is_i2p = !is_null($instance["i2p"]); echo "<tr>"; echo "<td><a href="" . $data["project_url"] . "" value="; echo htmlspecialchars($opts->frontends["$frontend"]["instance_url"] ?? ""); echo ">"; echo "</div>"; } ?> </div> </form> </div> <?php require_once "engines/text/text.php"; $engines = get_engines(); $options = ""; $options .= "<option value="" " . (!isset($opts->engine) ? "selected" : ""; ?> ><br> <label><?php printtext("settings_safe_search");?></label> <input type="checkbox" name="disable_special" <?php echo $opts->safe_search ?