Advertisement
Guest User

Untitled

a guest
Jun 24th, 2019
139
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 2.40 KB | None | 0 0
  1. <?php
  2. require 'connect.php';
  3.  
  4. $EscapeCoinsTable = '';
  5. $LevelSystemTable = '';
  6. $EscapesTable = '';
  7. $InfectsTable = '';
  8.  
  9. $query = $con->prepare("SELECT * FROM . " . $EscapeCoinsTable . " , " . $LevelSystemTable . " , " . $EscapesTable . " , " . $InfectsTable . "WHERE " . $EscapeCoinsTable . ".SteamID = " . $LevelSystemTable . ".SteamID = " . $EscapesTable . ".SteamID = " . $InfectsTable . ".SteamID;");
  10. $query->execute();
  11. $users = $query->fetchAll();
  12. ?>
  13. <!DOCTYPE html>
  14. <html>
  15. <head>
  16. <meta charset="utf-8" />
  17. <title>Levels Statistics</title>
  18. <meta name="viewport" content="width=device-width, initial-scale=1">
  19. <link rel="stylesheet" href="style.css" />
  20. </head>
  21. <body>
  22. <div class="bg" id="bg">
  23. <div class="bghl">
  24. <h1>Levels Statistics</h1>
  25. <div class="overflow">
  26. <table>
  27. <thead>
  28. <tr>
  29. <th>Name</th>
  30. <th>SteamID</th>
  31. <th>Escape Coins</th>
  32. <th>Level</th>
  33. <th>XP</th>
  34. <th>Max XP</th>
  35. </tr>
  36. </thead>
  37. <tbody>
  38. <?php foreach ($users as $user): ?>
  39. <tr>
  40. <td><?php echo $user['Name']; ?></td>
  41. <td><?php echo $user['SteamID']; ?></td>
  42. <td><?php echo $user['EC']; ?></td>
  43. <td><?php echo $user['Level']; ?></td>
  44. <td><?php echo $user['XP']; ?></td>
  45. <td><?php echo $user['Max_XP']; ?></td>
  46. <td><?php echo $user['Escapes']; ?></td>
  47. <td><?php echo $user['Infects']; ?></td>
  48. </tr>
  49. <?php endforeach; ?>
  50. </tbody>
  51. </table>
  52. </div>
  53. <p>This page was designed by <a href="https://escapers-zone.net">Escapers-Zone</a>.</p>
  54. </div>
  55. </div>
  56. </body>
  57. </html>
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement