<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset='utf-8'>
    <meta http-equiv='X-UA-Compatible' content='IE=edge'>
    <title>south london</title>
    <meta name='viewport' content='width=device-width, initial-scale=1'>
    <link rel='stylesheet' type='text/css' media='screen' href='main.css'>
    <link rel="icon" type="image/svg+xml" href="/favicon.svg">
    <script src='main.js'></script>
</head>
<body>
    <div class="header">
        <h1 style="white-space: pre-line">south
            london</h1>
    </div>
    <main>
        <p style="text-align: center;"><a href="/">🌿 home</a> · <a href="/signup">🌱 signup</a> · <a href="/wetty">🌺 webterm</a> · <a href="/coc">🌷 code of conduct</a> · <a href="/wiki">🌻 wiki</a> · <a href="/faq">💐 faq</a> · <a href="https://tildegit.org/southlondon/">🎋 git</a> · <a href="/more">🍄 more</a> </p>
        south london is a shared computer based in the uk that you can use to make cool things and practice your unix skills. if you're new to *nix, this is a good place to start!
        <br>
        the main perk of using this server over any other pubnix is that
        <ol>
            <li>we're based in the uk, so if you're in or near there you'll get much better ping</li>
            <li>we have a much better name than most other pubnixes</li>
        </ol>
        the server is currently in beta, so don't try to put any super-sensitive files on here <i>just in case</i> there's a security hole that hasn't been patched up yet. (if you do spot one, let me know!)
        <br>
	<p>oh, and maybe come say hi at <code>#southlondon</code> on <a href="https://tilde.chat">tilde.chat</a></p>
        <hr class="zig">
        <hr class="zag">
        <h3>latest memo</h3>
        <?php
            $dir    = './memos/memos/';
            $scanned_directory = array_diff(scandir($dir), array('..', '.'));
            $target_file = $dir.max($scanned_directory);
            include $target_file;
        ?>
        <a href="/memos/">see more</a>
        <hr class="zig">
        <hr class="zag">
        <h3>users</h3>
        this is a list of every user page on the server.
        <ul><?php
        $usercount = 0;
        foreach (glob("/home/*/public_html", GLOB_ONLYDIR) as $user):
            $user = basename(dirname($user));
            $usercount++; ?>
            <li><a href="/~<?=$user?>/" class="">~<?=$user?></a></li>
            <?php endforeach; ?></ul>
        <hr class="zig">
        <hr class="zag">
        enjoy and god save the queen <br>
        - ben / lp0 / cark
        <em>(this site's code can be found <a href="https://tildegit.org/southlondon/site">over here</a>)</em>
    </main>
</body>
</html>
