skel/public_html/index.php

29 lines
1.0 KiB
PHP
Executable File

<?php $user = posix_getpwuid(fileowner(__FILE__))["name"]; ?>
<html>
<head>
<meta charset="UTF-8">
<meta http-equiv="X-UA-Compatible" content="IE=edge">
<meta name="viewport" content="width=device-width, initial-scale=1">
<meta name="description" content="tilde.center public unix group">
<meta name="author" content="<?=$user?>">
<meta name="theme-color" content="#778899">
<title>~<?=$user?> | tilde.center</title>
<link rel="stylesheet" type="text/css" href="https://tilde.center/css/style.css">
</head>
<body>
<div class="container">
<header>
<a href="https://tilde.center/">return to tilde.center</a>
<h1>
<strong>~<?=$user?></strong>
</h1>
</header>
<p>
Login to tilde.center to change this page from the file:
<em>$HOME/public_html/index.html</em>
</p>
</div>
</body>
</html>