30 lines
942 B
PHP
30 lines
942 B
PHP
<!doctype html>
|
|
<html lang="en">
|
|
|
|
<head>
|
|
<meta charset="utf-8">
|
|
<meta http-equiv="x-ua-compatible" content="ie=edge">
|
|
<meta name="viewport" content="width=device-width, initial-scale=1">
|
|
<link rel="stylesheet" href="https://tilde.team/css/hacker.css">
|
|
<title>tilde.team taglines</title>
|
|
</head>
|
|
|
|
<body>
|
|
<div class="container">
|
|
<h1>taglines</h1>
|
|
<p>create a oneline ~/public_html/tagline.txt to appear here</p>
|
|
<hr>
|
|
<?php foreach (glob("/home/*") as $user) {
|
|
$user = basename($user);
|
|
$tagline = "/home/$user/public_html/tagline.txt";
|
|
if (!is_file($tagline)) continue;
|
|
$tag = file_get_contents($tagline);
|
|
?>
|
|
<p><a href="/~<?=$user?>/"><strong>~<?=$user?></strong></a> - <?=$tag?></p>
|
|
<?php } ?>
|
|
|
|
</div>
|
|
</body>
|
|
</html>
|
|
|