27 lines
618 B
PHP
27 lines
618 B
PHP
<?php
|
|
$hostname = $_SERVER["HTTP_HOST"];
|
|
$org = explode(".", $hostname)[1];
|
|
?>
|
|
|
|
<!DOCTYPE html>
|
|
<html>
|
|
<head>
|
|
<title><?=$org?> factorio</title>
|
|
<link rel="stylesheet" href="https://tilde.team/~ben/gruvbox/gruvbox.css">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
|
|
</head>
|
|
<body id="top">
|
|
<main>
|
|
<h1><?=$org?> factorio</h1>
|
|
<p>come play factorio</p>
|
|
|
|
<p>server address is: <em><?=$hostname?></em></p>
|
|
|
|
<p>come chat: <a href="https://web.tilde.chat/?join=factorio">#factorio</a></p>
|
|
|
|
</main>
|
|
</body>
|
|
</html>
|
|
|
|
|