Files
fitme3070.pt/site/includes/footer.php
T
andreandClaude Sonnet 5 11b2906488 fix(assets): remove a segunda cópia do jQuery 3.7.1 (auditoria 7.2)
site/assets/js/jquery-3.7.1.min.js e assets/vendor/jquery/jquery-3.7.1.min.js
eram byte-idênticas (md5 igual). O site público passa a carregar a
mesma cópia que o backoffice já usa (assets/ já é servido em
.htaccess); a duplicada sai do git.

Co-Authored-By: Claude Sonnet 5 <noreply@anthropic.com>
2026-09-25 17:45:46 +01:00

44 lines
2.5 KiB
PHP

</main><?php /* opened at the end of site/_open.php */ ?>
<!-- Footer section -->
<footer class="footer-section set-bg fade-in"
data-setbg="<?= base_url(($current_uri_2 ?? '') == 'crossfit' ? 'site/assets/img/footer-bg-cf.jpg' : 'site/assets/img/footer-bg-gym.jpg') ?>">
<?php /* Contact details live in the #contactos section — the footer just carries
social links, the site menu and the mandatory legal links. */ ?>
<div class="container text-center">
<?php if (!empty($info['facebook']) || !empty($info['instagram']) || !empty($info['whatsapp'])): ?>
<div class="social-links footer-social">
<?php if(!empty($info['facebook'])): ?>
<a href="<?= htmlspecialchars($info['facebook']) ?>" target="_blank" rel="noopener" aria-label="Facebook"><i class="fab fa-facebook"></i></a>
<?php endif; ?>
<?php if(!empty($info['instagram'])): ?>
<a href="<?= htmlspecialchars($info['instagram']) ?>" target="_blank" rel="noopener" aria-label="Instagram"><i class="fab fa-instagram"></i></a>
<?php endif; ?>
<?php if(!empty($info['whatsapp'])): ?>
<a target="_blank" href="https://wa.me/<?= htmlspecialchars($info['whatsapp']) ?>" rel="noopener" aria-label="WhatsApp"><i class="fab fa-whatsapp"></i></a>
<?php endif; ?>
</div>
<?php endif; ?>
<ul class="footer-menu">
<?php foreach($navbar as $key => $n): ?>
<li><a href="<?= htmlspecialchars($n) ?>" <?= str_contains($n, '#') ? 'class="smooth-scroll"' : '' ?>><?= $key ?></a></li>
<?php endforeach; ?>
</ul>
<p class="small footer-legal">Este estabelecimento possui livro de reclamações online em <a href="https://www.livroreclamacoes.pt/Pedido/Reclamacao" target="_blank" rel="noopener">www.livroreclamacoes.pt</a></p>
<p class="small footer-legal"><a href="<?= base_url('home/privacidade') ?>">Política de Privacidade</a>
<span class="footer-legal-sep" aria-hidden="true">·</span>
<a href="<?= base_url('home/termos') ?>">Termos e Condições</a>
<?php /* Discreet backoffice entry point — bounces through SSO (id.andmore.pt). */ ?>
<span class="footer-legal-sep" aria-hidden="true">·</span>
<a href="<?= base_url('views/auth/login.php') ?>" class="footer-admin-link" rel="nofollow" aria-label="Acesso reservado" title="Backoffice"><i class="fas fa-lock"></i></a>
</p>
</div>
</footer>
<!-- Scripts: jQuery first (Bootstrap navbar/alerts depend on it), then plugins -->
<?= script_tag('assets/vendor/jquery/jquery-3.7.1.min.js') ?>
<?= script_tag('assets/vendor/bootstrap/js/bootstrap.min.js') ?>
<?= script_tag('site/assets/js/main.js') ?>
</body>
</html>