blob: b2723027a143bf1ea61161d4b87df6940835fc94 (
plain) (
tree)
|
|
<?php
include('./includes/head.php');
?>
<header>
<noscript>
JavaScript? Where we're going we don't need JavaScript.
</noscript>
</header>
<h1 style="text-align: center">
The World Wide Web pages of Adam Carpenter (53hornet)
</h1>
<ul>
<?php
if ($posts = glob('./posts/*.php')) {
$early = true;
foreach (array_reverse($posts) as $post) {
if (!empty($post) && $post != '.' && $post != '..') {
$post_name = explode('/', $post)[2];
$date = implode('-', array_slice(explode('-', $post_name), 0, 3));
include($post);
printf('<li><a href="/%s">%s</a> <code>%s</code></li>', $post, $title, $date);
}
}
}
?>
<li><a href="https://www.53hor.net/posts/?C=M&O=A">All posts...</a></li>
</ul>
</article>
|