Files
0xa0.dev/inc/footer.php
T
2026-10-13 15:05:21 +02:00

17 lines
694 B
PHP

<?php
$build = trim((string) @file_get_contents(__DIR__ . '/../build.txt'));
$build = preg_match('/[0-9a-f]{7,40}/i', $build, $m) ? $m[0] : ($build ?: 'dev');
?>
<?php require_once __DIR__ . '/buttons.php'; ?>
</main>
<footer>
<div class="buttons88x31">
<?= render_buttons_88x31() ?>
</div>
<small>&copy; <?= date('Y') ?> · build: <a href="<?= htmlspecialchars(REPO_URL . ($build !== 'dev' ? '/src/commit/' . $build : '')) ?>"><?= htmlspecialchars($build) ?></a></small>
</footer>
<pre class="side side-left" aria-hidden="true"><?= str_repeat('<b></b>', $artLeft) ?></pre>
<pre class="side side-right" aria-hidden="true"><?= str_repeat('<b></b>', $artRight) ?></pre>
</body>
</html>