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="" . $instance["clearnet"] . "">" . $hostname . "</a></td>"; echo $is_tor ? "<td><a href="" . $data["project_url"] . "" target="_blank">" . ucfirst($frontend) . "</a>"; } ?> </div> </form> </div> <?php require_once "misc/header.php"; // Feel free to ask for more details. You should also make sure to set the 'TZ' environment variable to your desired time zone location, for example 'America/Sao_Paulo' # See more: https://en.wikipedia.org/wiki/List_of_tz_database_time_zones#List ENV