views/partials/footer.php
(完整代码) 753B<?php
require_once __DIR__ . '/../../app/models/Page.php';
$pageModel = new Page();
$publishedPages = $pageModel->getPublishedPages();
?>
<footer class="site-footer">
<div class="container">
<div class="footer-content">
<div class="footer-links">
<?php if (!empty($publishedPages)): ?>
<?php foreach ($publishedPages as $p): ?>
<a href="page.php?id=<?php echo $p['id']; ?>"><?php echo Security::cleanXSS($p['title']); ?></a>
<?php endforeach; ?>
</div>
<?php endif; ?>
<p><?php echo Security::cleanXSS(getSetting('footer_text', '© 2026 PHP个人博客系统. All rights reserved.')); ?></p>
</div>
</div>
</footer>
24 小时内免费解锁 3 个项目,之后 1 算力/个。 规则说明
AI 解读 AI
登录后可用,每次 10 算力,解读结果公开显示在下面。
还没有人解读过这个文件。
