… | |
… | |
142 | $timestamp = $jsonArray->date; |
142 | $timestamp = $jsonArray->date; |
143 | $version = $jsonArray->version; |
143 | $version = $jsonArray->version; |
144 | $players = $jsonArray->data; |
144 | $players = $jsonArray->data; |
145 | |
145 | |
146 | echo "<table style='width: 100%'>\n"; |
146 | echo "<table style='width: 100%'>\n"; |
147 | echo "<tr><th>Player Name</th><th>Last Login</th><th>Last Logout</th><th>Birthdate</th><th align='right'>Logins</th><th align='right'>Deaths</th><th>OS</th><th>Go</th></tr>"; |
147 | echo "<tr><th>Player Name</th><th>Last Login</th><th>Last Logout</th><th>Birthdate</th><th style='text-align: right;'>Logins</th><th style='text-align: right;'>Deaths</th><th>OS</th><th>Go</th></tr>"; |
148 | |
148 | |
149 | $number = 0; |
149 | $number = 0; |
150 | $size = 100; |
150 | $size = 100; |
151 | foreach($players as $player) |
151 | foreach($players as $player) |
152 | { |
152 | { |