430 lines
21 KiB
PHP
430 lines
21 KiB
PHP
<?php
|
|
session_start();
|
|
|
|
$lang = $_SESSION['lang'] ?? 'en';
|
|
if (isset($_GET['lang'])) {
|
|
$lang = $_GET['lang'] === 'zh' ? 'zh' : 'en';
|
|
$_SESSION['lang'] = $lang;
|
|
}
|
|
|
|
$translations = [
|
|
'zh' => [
|
|
'home' => '首页',
|
|
'market' => '行情',
|
|
'second_contract' => '秒合约',
|
|
'spot' => '现货交易',
|
|
'contract' => '合约交易',
|
|
'mining' => '挖矿',
|
|
'swap' => '闪兑',
|
|
'personal' => '个人中心',
|
|
'login' => '登入',
|
|
'register' => '注册',
|
|
'logout' => '退出',
|
|
'language' => '语言选择',
|
|
'footer_about' => '关于',
|
|
'footer_product' => '产品',
|
|
'footer_support' => '支持',
|
|
'about_us' => '关于我们',
|
|
'news' => '新闻中心',
|
|
'terms' => '服务条款',
|
|
'help' => '帮助中心',
|
|
'privacy' => '法律与隐私',
|
|
'submit_request' => '提交请求',
|
|
'api_doc' => 'API文档',
|
|
'fee_structure' => '费率标准',
|
|
'app_download' => 'APP下载',
|
|
'system_status' => '系统状态',
|
|
'normal' => '正常',
|
|
'cookie_policy' => 'Cookie 政策',
|
|
'platform_advantage' => '为什么选择 Byro',
|
|
'partners' => '合作伙伴',
|
|
'deposit' => '充值',
|
|
'withdraw' => '提现',
|
|
'assets' => '资产',
|
|
'email_verify' => '邮箱验证码',
|
|
'password' => '密码',
|
|
'confirm_password' => '确认密码',
|
|
'agree_terms' => '我已阅读并同意服务条款和隐私政策',
|
|
'send_code' => '发送验证码',
|
|
'view_more' => '查看更多',
|
|
'hero_title' => '全球领先的数字资产交易平台',
|
|
'hero_subtitle' => '在 Byro 开启您的加密货币之旅,安全、稳定、可靠。',
|
|
'get_started' => '立即开始',
|
|
'popular_markets' => '热门市场',
|
|
'coin' => '币种',
|
|
'last_price' => '最新价',
|
|
'change_24h' => '24h 涨跌',
|
|
'trade' => '交易',
|
|
'why_choose_us' => '为什么选择我们',
|
|
'security_title' => '顶尖风控',
|
|
'security_desc' => '多重签名冷钱包存储,确保资产绝对安全。',
|
|
'liquidity_title' => '极速成交',
|
|
'liquidity_desc' => '毫秒级撮合系统,高达 10w TPS 处理能力。',
|
|
'support_title' => '24/7 全球支持',
|
|
'support_desc' => '专业团队即时响应,为您解决任何交易问题。',
|
|
'diversity_title' => '丰富产品线',
|
|
'diversity_desc' => '涵盖现货、合约、杠杆等多元化金融产品。',
|
|
'copyright' => '© 2023-2026 Byro. 版权所有。',
|
|
'status_normal' => '系统状态:正常',
|
|
'advantage_1_title' => '安全合规',
|
|
'advantage_1_desc' => '全球合规运营,采用冷热钱包分离技术,确保您的资产安全。',
|
|
'advantage_2_title' => '流动性强',
|
|
'advantage_2_desc' => '毫秒级撮合引擎,深度流动性,为您提供极致的交易体验。',
|
|
'advantage_3_title' => '7/24 支持',
|
|
'advantage_3_desc' => '全天候多语言在线客服,随时解答您的任何疑问。',
|
|
'advantage_4_title' => '多样化产品',
|
|
'advantage_4_desc' => '涵盖现货、合约、秒合约、挖矿等多种投资工具。',
|
|
'about_content' => 'Byro 是一家全球领先的数字货币交易平台,成立于 2023 年,致力于为全球用户提供安全、专业、透明的数字资产金融服务。我们拥有顶尖的技术团队和风控体系,为超过 100 个国家和地区的数百万用户提供服务。',
|
|
'news_content' => 'Byro 每日更新全球加密市场动态,包括最新的上币信息、行业动态、深度分析报告,助您掌握财富密码。',
|
|
'fees_content' => 'Byro 致力于提供行业极具竞争力的费率标准。现货交易手续费低至 0.1%,根据您的交易量等级,还可以享受更大幅度的费率折扣。',
|
|
'app_desc' => '随时随地,尽在掌握。下载 Byro 移动端,体验专业级交易。',
|
|
'real_name' => '实名认证',
|
|
'verified' => '已认证',
|
|
'unverified' => '未认证',
|
|
'credit_score' => '信用分',
|
|
'recharge' => '充值',
|
|
'orders' => '订单记录',
|
|
'account' => '账号 / 邮箱',
|
|
'market_view' => '市场行情',
|
|
'sec_contract' => '秒合约',
|
|
'secure_acc' => '保障账户安全',
|
|
'from' => '从',
|
|
'to' => '到',
|
|
'balance' => '余额',
|
|
'swap_now' => '立即兑换',
|
|
'rate' => '汇率',
|
|
'price_impact' => '价格影响',
|
|
'slippage' => '滑点容差',
|
|
'mining_title' => '专业矿池',
|
|
'mining_desc' => '专业的云挖矿和质押平台。加入数千名用户,通过 Byro 的高效挖矿池赚取被动收入。',
|
|
'est_apy' => '预计年化',
|
|
'min_deposit' => '最低充值',
|
|
'lock_period' => '锁定周期',
|
|
'start_mining' => '开始挖矿',
|
|
'why_mining' => '为什么选择 Byro 挖矿?',
|
|
'adv_hardware' => '先进硬件',
|
|
'adv_hardware_desc' => '我们使用最新的 ASIC 和 GPU 矿机,确保最高利润 and 稳定性。',
|
|
'auto_compound' => '自动复利',
|
|
'auto_compound_desc' => '自动重新投资您的每日奖励,以实现长期收益最大化。',
|
|
'real_time_monitor' => '实时监控',
|
|
'real_time_monitor_desc' => '通过我们直观的控制面板实时跟踪您的算力和收益。',
|
|
'calc_profit' => '计算您的收益',
|
|
'calc_desc' => '输入您的投资金额以估算每日收益。',
|
|
'daily_profit' => '每日收益',
|
|
'monthly_profit' => '每月收益',
|
|
'try_calc' => '尝试挖矿计算器',
|
|
'asset' => '资产',
|
|
'vol_24h' => '24h 成交额',
|
|
'cycle_settlement' => '周期/结算',
|
|
'purchase_amount' => '买入量',
|
|
'available_balance' => '可以金额',
|
|
'expected_profit' => '预期收益',
|
|
'buy_up' => '买涨',
|
|
'buy_down' => '买跌',
|
|
'profit' => '收益',
|
|
'enter_amount' => '请输入有效金额',
|
|
'insufficient_balance' => '余额不足',
|
|
'order_in_progress' => '订单进行中',
|
|
'current_price' => '现价',
|
|
'cycle' => '周期',
|
|
'direction' => '方向',
|
|
'quantity' => '数量',
|
|
'opening_price' => '开仓价',
|
|
'final_price_settlement' => '最终价格以系统结算为准',
|
|
'open_orders' => '当前委托',
|
|
'settlement_history' => '历史结算',
|
|
'no_records_found' => '暂无记录',
|
|
'executing' => '正在执行',
|
|
'loss' => '亏损',
|
|
'amount_too_low' => '买入金额低于最小限制',
|
|
'amount_too_high' => '买入金额超过最大限制',
|
|
'fiat_recharge' => '法币充值',
|
|
'crypto_recharge' => '数字货币充值',
|
|
'select_currency' => '选择币种',
|
|
'fiat_amount' => '法币金额',
|
|
'est_usdt' => '预计到账 (USDT)',
|
|
'confirm_order' => '确认订单',
|
|
'recharge_request_sent' => '充值请求已提交给客服',
|
|
'back' => '返回',
|
|
'network' => '网络',
|
|
'address' => '充值地址',
|
|
'copy' => '复制',
|
|
'withdraw_amount' => '提现金额',
|
|
'withdraw_address' => '提现地址',
|
|
'receive' => '预计到账',
|
|
'withdraw_request_sent' => '提现申请已提交,请等待审核',
|
|
'all' => '全部',
|
|
'crypto_withdraw' => 'USDT提现',
|
|
'fiat_withdraw' => '法币提现',
|
|
'withdraw_password' => '提现密码',
|
|
'to_receive' => '预计到账',
|
|
'est_receive_fiat' => '预计收到法币',
|
|
'recharge_steps' => '充值步骤',
|
|
'withdraw_steps' => '提现步骤',
|
|
'security_tips' => '安全提示',
|
|
'secure' => '安全',
|
|
'fast' => '极速',
|
|
'support_247' => '24/7支持',
|
|
'i_have_paid' => '我已完成支付',
|
|
'crypto_recharge_warning' => '请务必仅向此地址发送 USDT。发送其他资产可能会导致永久丢失。',
|
|
'kyc' => '实名认证',
|
|
'security' => '安全设置',
|
|
'vip_level' => 'VIP等级',
|
|
'unverified' => '未认证',
|
|
'pending' => '审核中',
|
|
'verified' => '已认证',
|
|
'rejected' => '已驳回',
|
|
'full_name' => '真实姓名',
|
|
'id_number' => '身份证号',
|
|
'id_front' => '身份证正面',
|
|
'id_back' => '身份证反面',
|
|
'id_handheld' => '手持身份证',
|
|
'upload' => '点击上传',
|
|
'submit' => '提交',
|
|
'login_password' => '登录密码',
|
|
'trade_password' => '交易密码',
|
|
'change_password' => '修改密码',
|
|
'set_password' => '设置密码',
|
|
'kyc_instructions' => '请确保上传的照片清晰可见,且与填写的身份证号一致。',
|
|
'security_instructions' => '请定期修改您的密码,并确保交易密码与登录密码不同。',
|
|
'old_password' => '原密码',
|
|
'new_password' => '新密码',
|
|
'confirm_new_password' => '确认新密码',
|
|
'kyc_steps' => '实名认证步骤',
|
|
'kyc_step1' => '填写您的真实姓名和身份证号码。',
|
|
'kyc_step2' => '上传您的身份证正反面照片。',
|
|
'kyc_step3' => '上传您手持身份证的照片,并确保面部清晰。',
|
|
'security_steps' => '安全设置步骤',
|
|
'security_step1' => '设置强密码,包含字母、数字和符号。',
|
|
'security_step2' => '交易密码用于提现和重要操作,请务必妥善保存。',
|
|
'frozen' => '冻结',
|
|
'converted_to' => '折合',
|
|
],
|
|
'en' => [
|
|
'home' => 'Home',
|
|
'market' => 'Market',
|
|
'second_contract' => 'Binary',
|
|
'spot' => 'Spot',
|
|
'contract' => 'Contract',
|
|
'mining' => 'Mining',
|
|
'swap' => 'Swap',
|
|
'personal' => 'Account',
|
|
'login' => 'Login',
|
|
'register' => 'Register',
|
|
'logout' => 'Logout',
|
|
'language' => 'Language',
|
|
'footer_about' => 'About',
|
|
'footer_product' => 'Products',
|
|
'footer_support' => 'Support',
|
|
'about_us' => 'About Us',
|
|
'news' => 'News',
|
|
'terms' => 'Terms of Service',
|
|
'help' => 'Help Center',
|
|
'privacy' => 'Privacy Policy',
|
|
'submit_request' => 'Submit Request',
|
|
'api_doc' => 'API Docs',
|
|
'fee_structure' => 'Fees',
|
|
'app_download' => 'Download App',
|
|
'system_status' => 'System Status',
|
|
'normal' => 'Normal',
|
|
'cookie_policy' => 'Cookie Policy',
|
|
'platform_advantage' => 'Why Choose Byro',
|
|
'partners' => 'Partners',
|
|
'deposit' => 'Deposit',
|
|
'withdraw' => 'Withdraw',
|
|
'assets' => 'Assets',
|
|
'email_verify' => 'Email Code',
|
|
'password' => 'Password',
|
|
'confirm_password' => 'Confirm Password',
|
|
'agree_terms' => 'I have read and agree to the Terms of Service and Privacy Policy',
|
|
'send_code' => 'Send Code',
|
|
'view_more' => 'View More',
|
|
'hero_title' => 'The World\'s Leading Digital Asset Exchange',
|
|
'hero_subtitle' => 'Start your cryptocurrency journey on Byro, secure, stable, and reliable.',
|
|
'get_started' => 'Get Started',
|
|
'popular_markets' => 'Popular Markets',
|
|
'coin' => 'Coin',
|
|
'last_price' => 'Last Price',
|
|
'change_24h' => '24h Change',
|
|
'trade' => 'Trade',
|
|
'why_choose_us' => 'Why Choose Us',
|
|
'security_title' => 'Advanced Security',
|
|
'security_desc' => 'Multi-sig cold storage for ultimate asset safety.',
|
|
'liquidity_title' => 'High Performance',
|
|
'liquidity_desc' => 'Millisecond matching with up to 100k TPS.',
|
|
'support_title' => '24/7 Global Support',
|
|
'support_desc' => 'Professional response for any trading issues.',
|
|
'diversity_title' => 'Diverse Products',
|
|
'diversity_desc' => 'Spot, Futures, and more financial instruments.',
|
|
'copyright' => '© 2023-2026 Byro. All rights reserved.',
|
|
'status_normal' => 'System Status: Normal',
|
|
'advantage_1_title' => 'Security & Compliance',
|
|
'advantage_1_desc' => 'Global compliant operations with cold/hot wallet isolation to ensure asset security.',
|
|
'advantage_2_title' => 'Strong Liquidity',
|
|
'advantage_2_desc' => 'Millisecond matching engine with deep liquidity for an ultimate trading experience.',
|
|
'advantage_3_title' => '7/24 Support',
|
|
'advantage_3_desc' => 'All-day multi-language online customer service to answer your questions anytime.',
|
|
'advantage_4_title' => 'Diverse Products',
|
|
'advantage_4_desc' => 'Covering spot, contract, binary, mining and various investment tools.',
|
|
'about_content' => 'Byro is a world-leading digital currency exchange established in 2023, committed to providing secure, professional, and transparent digital asset financial services to users globally. We have a top-tier technical team and risk control system, serving millions of users across more than 100 countries and regions.',
|
|
'news_content' => 'Byro updates daily global crypto market dynamics, including the latest listing info, industry trends, and in-depth analysis reports to help you master wealth opportunities.',
|
|
'fees_content' => 'Byro is committed to providing industry-competitive fee standards. Spot trading fees as low as 0.1%, with deeper discounts based on your trading volume tier.',
|
|
'app_desc' => 'Anytime, anywhere, at your fingertips. Download Byro mobile app for professional trading experience.',
|
|
'real_name' => 'Real-name',
|
|
'verified' => 'Verified',
|
|
'unverified' => 'Unverified',
|
|
'credit_score' => 'Credit Score',
|
|
'recharge' => 'Recharge',
|
|
'orders' => 'Orders',
|
|
'account' => 'Account / Email',
|
|
'market_view' => 'Market View',
|
|
'sec_contract' => 'Second Contract',
|
|
'secure_acc' => 'Secure My Account',
|
|
'from' => 'From',
|
|
'to' => 'To',
|
|
'balance' => 'Balance',
|
|
'swap_now' => 'Swap Now',
|
|
'rate' => 'Rate',
|
|
'price_impact' => 'Price Impact',
|
|
'slippage' => 'Slippage Tolerance',
|
|
'mining_title' => 'Mining Pool',
|
|
'mining_desc' => 'Professional cloud mining and staking platform. Join thousands of users earning passive income with Byro\'s high-efficiency mining pools.',
|
|
'est_apy' => 'Est. APY',
|
|
'min_deposit' => 'Min. Deposit',
|
|
'lock_period' => 'Lock Period',
|
|
'start_mining' => 'Start Mining',
|
|
'why_mining' => 'Why choose Byro Mining?',
|
|
'adv_hardware' => 'Advanced Hardware',
|
|
'adv_hardware_desc' => 'We use the latest ASIC and GPU miners to ensure maximum profitability and stability.',
|
|
'auto_compound' => 'Auto Compounding',
|
|
'auto_compound_desc' => 'Reinvest your daily rewards automatically to maximize your total yield over time.',
|
|
'real_time_monitor' => 'Real-time Monitoring',
|
|
'real_time_monitor_desc' => 'Track your hash rate and earnings in real-time through our intuitive dashboard.',
|
|
'calc_profit' => 'Calculate Your Profit',
|
|
'calc_desc' => 'Enter your investment amount to estimate your daily earnings.',
|
|
'daily_profit' => 'Daily Profit',
|
|
'monthly_profit' => 'Monthly Profit',
|
|
'try_calc' => 'Try Mining Calculator',
|
|
'asset' => 'Asset',
|
|
'vol_24h' => '24h Volume',
|
|
'cycle_settlement' => 'Cycle / Settlement',
|
|
'purchase_amount' => 'Purchase Amount',
|
|
'available_balance' => 'Available Balance',
|
|
'expected_profit' => 'Expected Profit',
|
|
'buy_up' => 'Buy Up',
|
|
'buy_down' => 'Buy Down',
|
|
'profit' => 'Profit',
|
|
'enter_amount' => 'Please enter a valid amount',
|
|
'insufficient_balance' => 'Insufficient balance',
|
|
'order_in_progress' => 'Order in Progress',
|
|
'current_price' => 'Current Price',
|
|
'cycle' => 'Cycle',
|
|
'direction' => 'Direction',
|
|
'quantity' => 'Quantity',
|
|
'opening_price' => 'Opening Price',
|
|
'final_price_settlement' => 'Final price is subject to system settlement',
|
|
'open_orders' => 'Open Orders',
|
|
'settlement_history' => 'Settlement History',
|
|
'no_records_found' => 'No records found',
|
|
'executing' => 'Executing',
|
|
'loss' => 'Loss',
|
|
'amount_too_low' => 'Amount too low',
|
|
'amount_too_high' => 'Amount too high',
|
|
'fiat_recharge' => 'Fiat Deposit',
|
|
'crypto_recharge' => 'Crypto Deposit',
|
|
'select_currency' => 'Select Currency',
|
|
'fiat_amount' => 'Fiat Amount',
|
|
'est_usdt' => 'Estimated USDT',
|
|
'confirm_order' => 'Confirm Order',
|
|
'recharge_request_sent' => 'Deposit request sent to support',
|
|
'back' => 'Back',
|
|
'network' => 'Network',
|
|
'address' => 'Deposit Address',
|
|
'copy' => 'Copy',
|
|
'withdraw_amount' => 'Withdraw Amount',
|
|
'withdraw_address' => 'Withdraw Address',
|
|
'receive' => 'Receive',
|
|
'withdraw_request_sent' => 'Withdrawal request submitted for review',
|
|
'all' => 'All',
|
|
'crypto_withdraw' => 'USDT Withdrawal',
|
|
'fiat_withdraw' => 'Fiat Withdrawal',
|
|
'withdraw_password' => 'Withdrawal Password',
|
|
'to_receive' => 'To Receive',
|
|
'est_receive_fiat' => 'Est. Fiat Receive',
|
|
'recharge_steps' => 'Recharge Steps',
|
|
'withdraw_steps' => 'Withdrawal Steps',
|
|
'security_tips' => 'Security Tips',
|
|
'secure' => 'Secure',
|
|
'fast' => 'Fast',
|
|
'support_247' => '24/7 Support',
|
|
'i_have_paid' => 'I have paid',
|
|
'crypto_recharge_warning' => 'Please only send USDT to this address. Sending other assets may result in permanent loss.',
|
|
'kyc' => 'Identity Verification',
|
|
'security' => 'Security Settings',
|
|
'vip_level' => 'VIP Level',
|
|
'unverified' => 'Unverified',
|
|
'pending' => 'Pending',
|
|
'verified' => 'Verified',
|
|
'rejected' => 'Rejected',
|
|
'full_name' => 'Full Name',
|
|
'id_number' => 'ID Number',
|
|
'id_front' => 'ID Front',
|
|
'id_back' => 'ID Back',
|
|
'id_handheld' => 'Hand-held ID',
|
|
'upload' => 'Upload',
|
|
'submit' => 'Submit',
|
|
'login_password' => 'Login Password',
|
|
'trade_password' => 'Trade Password',
|
|
'change_password' => 'Change Password',
|
|
'set_password' => 'Set Password',
|
|
'kyc_instructions' => 'Please ensure that the uploaded photos are clear and consistent with the ID number filled in.',
|
|
'security_instructions' => 'Please change your password regularly and ensure that the transaction password is different from the login password.',
|
|
'old_password' => 'Old Password',
|
|
'new_password' => 'New Password',
|
|
'confirm_new_password' => 'Confirm New Password',
|
|
'kyc_steps' => 'KYC Steps',
|
|
'kyc_step1' => 'Fill in your real name and ID number.',
|
|
'kyc_step2' => 'Upload photos of the front and back of your ID card.',
|
|
'kyc_step3' => 'Upload a photo of you holding your ID card, ensuring your face is clear.',
|
|
'security_steps' => 'Security Steps',
|
|
'security_step1' => 'Set a strong password containing letters, numbers, and symbols.',
|
|
'security_step2' => 'The transaction password is used for withdrawals and important operations. Please keep it safe.',
|
|
'frozen' => 'Frozen',
|
|
'converted_to' => 'Equivalent',
|
|
]
|
|
];
|
|
|
|
function __($key) {
|
|
global $translations, $lang;
|
|
return $translations[$lang][$key] ?? $key;
|
|
}
|
|
|
|
function getCoinIcon($symbol) {
|
|
$icon_ids = [
|
|
'BTC' => '1/small/bitcoin.png',
|
|
'ETH' => '279/small/ethereum.png',
|
|
'USDT' => '325/small/tether.png',
|
|
'BNB' => '825/small/binance-coin-logo.png',
|
|
'SOL' => '4128/small/solana.png',
|
|
'XRP' => '44/small/xrp-symbol-white-128.png',
|
|
'ADA' => '975/small/cardano.png',
|
|
'DOGE' => '5/small/dogecoin.png',
|
|
'DOT' => '12171/small/polkadot.png',
|
|
'MATIC' => '4713/small/matic-network.png',
|
|
'AVAX' => '12559/small/avalanche.png',
|
|
'LINK' => '877/small/chainlink.png',
|
|
'SHIB' => '11939/small/shiba-inu.png',
|
|
'TRX' => '1094/small/tron.png',
|
|
'BCH' => '153/small/bitcoin-cash.png',
|
|
'LTC' => '2/small/litecoin.png',
|
|
'UNI' => '12504/small/uniswap.png',
|
|
'ARB' => '29359/small/arbitrum.png',
|
|
'OP' => '25244/small/optimism.png',
|
|
'APT' => '27355/small/aptos.png',
|
|
'USDC' => '6319/small/usdc.png',
|
|
'PEPE' => '31386/small/pepe.png',
|
|
];
|
|
$id = $icon_ids[strtoupper($symbol)] ?? '1/small/bitcoin.png';
|
|
return "https://assets.coingecko.com/coins/images/" . $id;
|
|
}
|