== $lang_code ? "selected" : ""; ?> ><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> <?php