<?php if (!defined('STORE_ROOT')) { http_response_code(403); exit; } $wallets = []; try { $wallets = Database::all("SELECT currency, address, label FROM wallets WHERE is_active = 1"); } catch (\Throwable $e) {} ?> <div class="checkout-crypto">     <h3>Crypto Payment</h3>     <?php if (empty($wallets)): ?>     <p>No crypto wallets configured yet.</p>     <?php else: ?>     <?php foreach ($wallets as $w): ?>     <div class="wallet-card">         <strong><?= htmlspecialchars($w['currency']) ?></strong>         <?php if ($w['label']): ?><span class="wallet-label">(<?= htmlspecialchars($w['label']) ?>)</span><?php endif; ?>         <div class="wallet-addr"><?= htmlspecialchars(Crypt::render($w['address'])) ?></div>         <button class="btn btn-small" onclick="navigator.clipboard.writeText(this.previousElementSibling.textContent)">Copy</button>     </div>     <?php endforeach; ?>     <?php endif; ?> </div>