<?php
$friendLinks = getFriendLinks();
$site_name = getSiteConfig('site_name') ?? '麟泓授权系统';
$site_logo = getSiteConfig('site_logo') ?? '/assets/uploads/logo.png';
$site_copyright = getSiteConfig('site_copyright') ?? '';
// $site_icp = getSiteConfig('site_icp') ?? '';
?>
<footer class="footer">
                <div class="footer-logo">
                    <img src="<?php echo htmlspecialchars($siteConfig['site_logo'] ?? '/assets/uploads/logo.png'); ?>">
                    <!--<span><?php echo htmlspecialchars($siteConfig['site_name'] ?? ''); ?></span>-->
                </div>
                <div class="footer-links">
                    <?php foreach ($friendLinks as $link): ?>
                        <a href="<?php echo htmlspecialchars($link['url']); ?>" target="_blank"><?php echo htmlspecialchars($link['name']); ?></a>
                    <?php endforeach; ?>
                </div>
                <div class="footer-copyright">
                    <?php echo htmlspecialchars($siteConfig['site_copyright'] ?? ''); ?>
                    <?php if (!empty($siteConfig['site_icp'])): ?>
                        <!--<a href="https://beian.miit.gov.cn/" target="_blank"><?php echo htmlspecialchars($siteConfig['site_icp']); ?></a>-->
                    <?php endif; ?>
                </div>
            </footer>