footer.php 532 B

123456789101112131415
  1. <div class="footer-container">
  2. <a href="./">LibreX</a>
  3. <a href="https://github.com/hnhx/librex/" target="_blank">Source &amp; Instances</a>
  4. <a href="./settings.php">Settings</a>
  5. <a href="./api.php" target="_blank">API</a>
  6. <a href="./donate.php">Donate ❤️</a>
  7. </div>
  8. <div class="git-container">
  9. <?php
  10. $hash = file_get_contents(".git/refs/heads/main");
  11. echo "<a href=\"https://github.com/hnhx/librex/commit/$hash\" target=\"_blank\">Latest commit: $hash</a>";
  12. ?>
  13. </div>
  14. </body>
  15. </html>