svrjs-mods-directory/includes/footer.php

20 lines
1.1 KiB
PHP
Raw Normal View History

2024-12-27 15:05:54 +01:00
<?php if (!defined('SVRJS_MOD_DIRECTORY')) die; ?>
<footer>
<div class="wrapper">
<p>Copyright &copy; <?php $copyrightYear = intval(date("Y"));
echo $copyrightYear > 2024 ? "2024-$copyrightYear" : "2024" ?> <a href="https://svrjs.org">SVR.JS</a>. All rights reserved.</p>
<p><a href="<?php echo htmlspecialchars((URL_REWRITTEN ? APP_ROOT : APP_ROOT . APP_FILENAME . '/') . 'tos') ?>">Terms of Service</a> | <a href="https://svrjs.org/privacy">Privacy Policy</a> | <a href="https://svrjs.org/contact">Contact us</a></p>
</div>
</footer>
<script src="<?php echo htmlspecialchars(APP_ROOT); ?>js/cookieconsent.min.js"></script>
<script src="<?php echo htmlspecialchars(APP_ROOT); ?>js/cookieconsentinit.js"></script>
<script src="<?php echo htmlspecialchars(APP_ROOT); ?>js/hamburger.js"></script>
<?php if (isset($passwordStrengthMeter) && $passwordStrengthMeter) { ?>
<script src="<?php echo htmlspecialchars(APP_ROOT); ?>js/passwordStrength.js"></script>
<?php } ?>
<?php if (isset($hCaptchaForm) && $hCaptchaForm) { ?>
<script src="https://js.hcaptcha.com/1/api.js" async defer></script>
<?php } ?>
</body>
</html>