403Webshell
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/arni-solutions.de/web/slot/

Upload File :
current_dir [ Writeable ] document_root [ Writeable ]

 

Command :


[ Back ]     

Current File : /var/www/arni-solutions.de/web/slot/highscores.php
<?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://cdn.jsdelivr.net/npm/bootstrap@5.3.3/dist/css/bootstrap.min.css" rel="stylesheet">
    <link href="assets/style.css" rel="stylesheet">
</head>
<body class="auth-body">
<div class="container py-4 py-md-5">
  <div class="row justify-content-center">
    <div class="col-12 col-xl-9">
      <div class="card slot-card">
        <div class="card-body p-4">
          <div class="d-flex flex-wrap justify-content-between align-items-center gap-3 mb-4">
            <div>
              <div class="eyebrow">Öffentliche Bestenliste</div>
              <h1 class="h3 mb-0"><?= e($config['app']['name']) ?></h1>
            </div>
            <div class="d-flex gap-2">
              <?php if ($user): ?>
                <a href="index.php" class="btn btn-warning">Zum Spiel</a>
              <?php else: ?>
                <a href="login.php" class="btn btn-warning">Login</a>
              <?php endif; ?>
            </div>
          </div>
          <div class="table-responsive highscore-table-wrap">
            <table class="table table-dark table-hover align-middle mb-0">
              <thead>
                <tr>
                  <th>#</th>
                  <th>Spieler</th>
                  <th>Ratio</th>
                  <th>Big Win</th>
                  <th>Gesamt gewonnen</th>
                  <th>Gesamt Einsatz</th>
                  <th>Spielzeit</th>
                </tr>
              </thead>
              <tbody>
                <?php foreach ($highscores as $idx => $row): ?>
                <tr>
                  <td><?= $idx + 1 ?></td>
                  <td><?= e($row['username']) ?></td>
                  <td><?= money_fmt((float)$row['best_win_ratio']) ?>x</td>
                  <td><?= money_fmt((float)$row['biggest_single_win']) ?></td>
                  <td><?= money_fmt((float)$row['total_won']) ?></td>
                  <td><?= money_fmt((float)$row['total_wagered']) ?></td>
                  <td><?= e(format_duration((int)$row['total_play_seconds'])) ?></td>
                </tr>
                <?php endforeach; ?>
              </tbody>
            </table>
          </div>
        </div>
      </div>
    </div>
  </div>
</div>
</body>
</html>

Youez - 2016 - github.com/yon3zu
LinuXploit