38438-vm/includes/footer.php
Flatlogic Bot 2c1612942a menu
2026-02-15 01:22:25 +00:00

36 lines
1.3 KiB
PHP

<footer class="py-4 mt-auto border-top bg-white">
<div class="container-fluid">
<div class="d-flex align-items-center justify-content-between small text-muted">
<div>&copy; <?= date('Y') ?> SR&ED Manager ERP</div>
<div>
<a href="#" class="text-decoration-none text-muted me-3">Privacy Policy</a>
<a href="#" class="text-decoration-none text-muted">Terms of Service</a>
</div>
</div>
</div>
</footer>
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
<script>
// Smooth scroll for anchors
document.querySelectorAll('a[href^="index.php#"]').forEach(anchor => {
anchor.addEventListener('click', function (e) {
const url = new URL(this.href);
if (window.location.pathname.endsWith('index.php') || window.location.pathname === '/') {
e.preventDefault();
const targetId = url.hash.substring(1);
const targetElement = document.getElementById(targetId);
if (targetElement) {
window.scrollTo({
top: targetElement.offsetTop - 80,
behavior: 'smooth'
});
}
}
});
});
</script>
</body>
</html>