librex/misc/footer.php

17 lines
638 B
PHP

<div class="footer-container">
<a href="./">LibreX</a>
<a href="https://github.com/hnhx/librex/" target="_blank">Source &amp; Instances</a>
<a href="./settings.php">Settings</a>
<a href="./api.php" target="_blank">API</a>
<a href="https://zzls.xyz/donate">Donate to the hoster (the one hosting this)</a>
<a href="./donate.php">Donate to the developer (hnhx)</a>
</div>
<div class="git-container">
<?php
$hash = file_get_contents(".git/refs/heads/main");
echo "<a href=\"https://git.zzls.xyz/fijxu/librex/commit/$hash\" target=\"_blank\">Latest commit: $hash</a>";
?>
</div>
</body>
</html>