1<?php
2?>
3<table id="tbl_powergamers">
4 <thead>
5 <tr>
6 <th colspan="9"><h1><?= t('powergamers.title') ?></h1></th>
7 </tr>
8 <tr>
9 <th><?= t('common.name') ?></th>
10 <th><?= t('powergamers.diff') ?></th>
11 <th><?php echo $dates['d0ago']; ?></th>
12 <th><?php echo $dates['d1ago']; ?></th>
13 <th><?php echo $dates['d2ago']; ?></th>
14 <th><?php echo $dates['d3ago']; ?></th>
15 <th><?php echo $dates['d4ago']; ?></th>
16 <th><?php echo $dates['d5ago']; ?></th>
17 <th><?php echo $dates['d6ago']; ?></th>
18 </tr>
19 </thead>
20 <tbody>
21 <?php foreach($players AS $i => $player): ?>
22 <tr>
23 <td><?php echo $i+1 .". "; ?><a href="/characterprofile.php?name=<?php echo $player['name']; ?>"><?php echo $player['name']; ?></a></td>
24 <td><?php echo number_format($player['diff_exp'] / 1000,0,'',' '); ?></td>
25 <td><?php echo number_format($player['diff_0'] / 1000,0,'',' '); ?></td>
26 <td><?php echo number_format($player['diff_1'] / 1000,0,'',' '); ?></td>
27 <td><?php echo number_format($player['diff_2'] / 1000,0,'',' '); ?></td>
28 <td><?php echo number_format($player['diff_3'] / 1000,0,'',' '); ?></td>
29 <td><?php echo number_format($player['diff_4'] / 1000,0,'',' '); ?></td>
30 <td><?php echo number_format($player['diff_5'] / 1000,0,'',' '); ?></td>
31 <td><?php echo number_format($player['diff_6'] / 1000,0,'',' '); ?></td>
32 </tr>
33 <?php endforeach; ?>
34 </tbody>
35</table>
36<style type="text/css">
37 #tbl_powergamers {
38 padding: 0;
39 }
40</style>
41