111 lines
6.8 KiB
PHP
111 lines
6.8 KiB
PHP
<?php
|
||
// Footer translations integrated into the global mt() system if possible,
|
||
// but for footer specifics we can add to the array in header.php or handle here.
|
||
// Adding them here for now to ensure all 8 languages are covered as requested.
|
||
|
||
$footer_translations = [
|
||
'en' => [
|
||
'Services' => 'Services', 'Spot_Trading' => 'Spot Trading', 'Futures_Trading' => 'Futures Trading',
|
||
'Support' => 'Support', 'Help_Center' => 'Help Center', 'About' => 'About', 'About_Us' => 'About Us',
|
||
'Legal' => 'Legal', 'Privacy_Policy' => 'Privacy Policy', 'Terms_of_Service' => 'Terms of Service'
|
||
],
|
||
'zh' => [
|
||
'Services' => '服务', 'Spot_Trading' => '现货交易', 'Futures_Trading' => '期货交易',
|
||
'Support' => '支持', 'Help_Center' => '帮助中心', 'About' => '关于', 'About_Us' => '关于我们',
|
||
'Legal' => '法律', 'Privacy_Policy' => '隐私政策', 'Terms_of_Service' => '服务条款'
|
||
],
|
||
'ja' => [
|
||
'Services' => 'サービス', 'Spot_Trading' => '現物取引', 'Futures_Trading' => '先物取引',
|
||
'Support' => 'サポート', 'Help_Center' => 'ヘルプセンター', 'About' => '概要', 'About_Us' => '会社概要',
|
||
'Legal' => '法的声明', 'Privacy_Policy' => 'プライバシーポリシー', 'Terms_of_Service' => '利用規約'
|
||
],
|
||
'ko' => [
|
||
'Services' => '서비스', 'Spot_Trading' => '현물 거래', 'Futures_Trading' => '선물 거래',
|
||
'Support' => '지원', 'Help_Center' => '고객센터', 'About' => '소개', 'About_Us' => '회사 소개',
|
||
'Legal' => '법적 고지', 'Privacy_Policy' => '개인정보처리방침', 'Terms_of_Service' => '이용약관'
|
||
],
|
||
'ru' => [
|
||
'Services' => 'Сервисы', 'Spot_Trading' => 'Спот торговля', 'Futures_Trading' => 'Фьючерсы',
|
||
'Support' => 'Поддержка', 'Help_Center' => 'Центр помощи', 'About' => 'О нас', 'About_Us' => 'О компании',
|
||
'Legal' => 'Юридические данные', 'Privacy_Policy' => 'Политика конфиденциальности', 'Terms_of_Service' => 'Условия использования'
|
||
],
|
||
'fr' => [
|
||
'Services' => 'Services', 'Spot_Trading' => 'Trading Spot', 'Futures_Trading' => 'Trading Futures',
|
||
'Support' => 'Support', 'Help_Center' => 'Centre d\'aide', 'About' => 'À propos', 'About_Us' => 'À propos de nous',
|
||
'Legal' => 'Légal', 'Privacy_Policy' => 'Politique de confidentialité', 'Terms_of_Service' => 'Conditions d\'utilisation'
|
||
],
|
||
'es' => [
|
||
'Services' => 'Servicios', 'Spot_Trading' => 'Trading Spot', 'Futures_Trading' => 'Trading de Futuros',
|
||
'Support' => 'Soporte', 'Help_Center' => 'Centro de ayuda', 'About' => 'Acerca de', 'About_Us' => 'Sobre nosotros',
|
||
'Legal' => 'Legal', 'Privacy_Policy' => 'Política de privacidad', 'Terms_of_Service' => 'Términos de servicio'
|
||
],
|
||
'de' => [
|
||
'Services' => 'Dienste', 'Spot_Trading' => 'Spot-Handel', 'Futures_Trading' => 'Futures-Handel',
|
||
'Support' => 'Support', 'Help_Center' => 'Hilfe-Center', 'About' => 'Über uns', 'About_Us' => 'Über uns',
|
||
'Legal' => 'Rechtliches', 'Privacy_Policy' => 'Datenschutzrichtlinie', 'Terms_of_Service' => 'Nutzungsbedingungen'
|
||
]
|
||
];
|
||
|
||
function fmt($key) {
|
||
global $lang, $footer_translations;
|
||
return $footer_translations[$lang][$key] ?? ($footer_translations['en'][$key] ?? $key);
|
||
}
|
||
?>
|
||
<footer class="mt-5 py-5 border-top" style="border-color: var(--border-color) !important;">
|
||
<div class="container">
|
||
<div class="row">
|
||
<div class="col-md-4 mb-4">
|
||
<h5 class="navbar-brand mb-3">BIT<span>Crypto</span></h5>
|
||
<p class="text-muted">The world's most trusted cryptocurrency exchange. Start trading BTC, ETH, and other assets with ease and security.</p>
|
||
<div class="d-flex mt-4">
|
||
<a href="#" class="text-muted me-3 fs-5"><i class="fab fa-twitter"></i></a>
|
||
<a href="#" class="text-muted me-3 fs-5"><i class="fab fa-telegram"></i></a>
|
||
<a href="#" class="text-muted me-3 fs-5"><i class="fab fa-discord"></i></a>
|
||
<a href="#" class="text-muted me-3 fs-5"><i class="fab fa-facebook"></i></a>
|
||
</div>
|
||
</div>
|
||
<div class="col-md-2 mb-4">
|
||
<h6 class="text-white"><?php echo fmt('Services'); ?></h6>
|
||
<ul class="list-unstyled mt-3">
|
||
<li><a href="trade.php?type=spot" class="text-muted text-decoration-none"><?php echo fmt('Spot_Trading'); ?></a></li>
|
||
<li><a href="trade.php?type=contract" class="text-muted text-decoration-none"><?php echo fmt('Futures_Trading'); ?></a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="col-md-2 mb-4">
|
||
<h6 class="text-white"><?php echo fmt('Support'); ?></h6>
|
||
<ul class="list-unstyled mt-3">
|
||
<li><a href="page.php?slug=help-center" class="text-muted text-decoration-none"><?php echo fmt('Help_Center'); ?></a></li>
|
||
<li><a href="page.php?slug=security-info" class="text-muted text-decoration-none">Security</a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="col-md-2 mb-4">
|
||
<h6 class="text-white"><?php echo fmt('About'); ?></h6>
|
||
<ul class="list-unstyled mt-3">
|
||
<li><a href="page.php?slug=about" class="text-muted text-decoration-none"><?php echo fmt('About_Us'); ?></a></li>
|
||
</ul>
|
||
</div>
|
||
<div class="col-md-2 mb-4">
|
||
<h6 class="text-white"><?php echo fmt('Legal'); ?></h6>
|
||
<ul class="list-unstyled mt-3">
|
||
<li><a href="page.php?slug=privacy" class="text-muted text-decoration-none"><?php echo fmt('Privacy_Policy'); ?></a></li>
|
||
<li><a href="page.php?slug=terms" class="text-muted text-decoration-none"><?php echo fmt('Terms_of_Service'); ?></a></li>
|
||
</ul>
|
||
</div>
|
||
</div>
|
||
<hr class="my-4" style="border-color: var(--border-color) !important;">
|
||
<div class="row align-items-center">
|
||
<div class="col-md-6 text-center text-md-start">
|
||
<p class="text-muted mb-0">© 2026 BITCrypto. All rights reserved.</p>
|
||
</div>
|
||
<div class="col-md-6 text-center text-md-end mt-3 mt-md-0">
|
||
<span class="text-muted me-3"><i class="fas fa-server me-1"></i> System Status: <span class="text-success">Normal</span></span>
|
||
</div>
|
||
</div>
|
||
</div>
|
||
</footer>
|
||
|
||
<script src="https://cdn.jsdelivr.net/npm/bootstrap@5.3.0/dist/js/bootstrap.bundle.min.js"></script>
|
||
<script src="https://code.jquery.com/jquery-3.6.0.min.js"></script>
|
||
<script src="assets/js/main.js?v=<?php echo time(); ?>"></script>
|
||
</body>
|
||
</html>
|