| Server IP : 202.61.199.114 / Your IP : 216.73.217.139 Web Server : nginx/1.22.1 System : Linux de.arni-solutions.de 6.1.0-49-amd64 #1 SMP PREEMPT_DYNAMIC Debian 6.1.174-1 (2026-05-26) x86_64 User : web20 ( 1018) PHP Version : 8.4.23 Disable Function : NONE MySQL : OFF | cURL : ON | WGET : ON | Perl : ON | Python : OFF | Sudo : ON | Pkexec : ON Directory : /var/www/clients/client2/web31/web/slots/ |
Upload File : |
<?php
require_once __DIR__ . '/includes/bootstrap.php';
$config = app_config();
$highscores = public_highscores((int)$config['app']['public_highscore_limit']);
$user = current_user();
?>
<!doctype html>
<html lang="de">
<head>
<meta charset="utf-8">
<meta name="viewport" content="width=device-width, initial-scale=1, viewport-fit=cover">
<title><?= e($config['app']['name']) ?> · Bestenliste</title>
<link href="https://fonts.googleapis.com/css2?family=Cinzel:wght@600;800&family=Inter:wght@400;600;800&display=swap" rel="stylesheet">
<link href="css/core.css" rel="stylesheet">
</head>
<body class="rr-body rr-auth-body">
<div class="rr-auth rr-auth-wide">
<div class="rr-auth-card">
<div class="rr-auth-brand"><span class="rr-brand-mark">🏆</span><h1>Bestenliste</h1><p>Top-Spieler nach Gewinn-Ratio</p></div>
<div class="rr-hs-table">
<div class="rr-hs-row rr-hs-head"><span>#</span><span>Spieler</span><span>Ratio</span><span>Bester Win</span><span>Spielzeit</span></div>
<?php foreach ($highscores as $i => $row): ?>
<div class="rr-hs-row <?= $i < 3 ? 'rr-hs-top' : '' ?>">
<span><?= $i + 1 ?></span>
<span><?= e($row['username']) ?></span>
<span><?= money_fmt((float)$row['best_win_ratio']) ?>×</span>
<span><?= money_fmt((float)$row['biggest_single_win']) ?></span>
<span><?= e(format_duration((int)$row['total_play_seconds'])) ?></span>
</div>
<?php endforeach; ?>
</div>
<div class="rr-auth-links">
<a href="<?= $user ? 'index.php' : 'login.php' ?>"><?= $user ? '‹ Zurück zum Casino' : '‹ Zum Login' ?></a>
</div>
</div>
</div>
</body>
</html>