
    <!-- Footer -->
    <footer class="text-center py-3 mt-auto">
        <small>&copy; <?php echo date("Y"); ?> Photo Puzzle. Creato con ❤️.</small>
        <?php if (isset($_SESSION['is_admin']) && $_SESSION['is_admin']): ?>
            <small class="d-block"><a href="admin.php">Admin Panel</a></small>
        <?php endif; ?>
    </footer>

    <!-- Bootstrap JS -->
    <script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/js/bootstrap.bundle.min.js" integrity="sha384-YvpcrYf0tY3lHB60NNkmXc5s9fDVZLESaAA55NDzOxhy9GkcIdslK1eN7N6jIeHz" crossorigin="anonymous"></script>
    <!-- Custom JS -->
    <script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
</body>
</html>
