Advertisement
Not a member of Pastebin yet?
Sign Up,
it unlocks many cool features!
- <?php
- require 'connect.php';
- $EscapeCoinsTable = '';
- $LevelSystemTable = '';
- $EscapesTable = '';
- $InfectsTable = '';
- $query = $con->prepare("SELECT * FROM . " . $EscapeCoinsTable . " , " . $LevelSystemTable . " , " . $EscapesTable . " , " . $InfectsTable . "WHERE " . $EscapeCoinsTable . ".SteamID = " . $LevelSystemTable . ".SteamID = " . $EscapesTable . ".SteamID = " . $InfectsTable . ".SteamID;");
- $query->execute();
- $users = $query->fetchAll();
- ?>
- <!DOCTYPE html>
- <html>
- <head>
- <meta charset="utf-8" />
- <title>Levels Statistics</title>
- <meta name="viewport" content="width=device-width, initial-scale=1">
- <link rel="stylesheet" href="style.css" />
- </head>
- <body>
- <div class="bg" id="bg">
- <div class="bghl">
- <h1>Levels Statistics</h1>
- <div class="overflow">
- <table>
- <thead>
- <tr>
- <th>Name</th>
- <th>SteamID</th>
- <th>Escape Coins</th>
- <th>Level</th>
- <th>XP</th>
- <th>Max XP</th>
- </tr>
- </thead>
- <tbody>
- <?php foreach ($users as $user): ?>
- <tr>
- <td><?php echo $user['Name']; ?></td>
- <td><?php echo $user['SteamID']; ?></td>
- <td><?php echo $user['EC']; ?></td>
- <td><?php echo $user['Level']; ?></td>
- <td><?php echo $user['XP']; ?></td>
- <td><?php echo $user['Max_XP']; ?></td>
- <td><?php echo $user['Escapes']; ?></td>
- <td><?php echo $user['Infects']; ?></td>
- </tr>
- <?php endforeach; ?>
- </tbody>
- </table>
- </div>
- <p>This page was designed by <a href="https://escapers-zone.net">Escapers-Zone</a>.</p>
- </div>
- </div>
- </body>
- </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement