aboutsummaryrefslogtreecommitdiff
path: root/modules/rudi/views/view.ranks.php
blob: 2bb182332659e17fefdca713efb6a0d9dce18eda (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
<?php define('BLOCK_RIGHT_DISABLE','block_right_disable'); ?>

<html>
<head>
  <title>Awards and Medals</title>

<style type="text/css">
p {color: white; }
body {background-color: black; }
th.header {
  width:175px;
  background:#333;
}

td.rudi {
  text-align: center;
  vertical-align: middle;
}
</style>
  
</head>
<body>

    <table align="center" style="width: 100%;">
      <tr>
        <th scope="col" class="header">Image</th>
        <th scope="col" class="header">Rank</th>
      </tr>
            <?php foreach($this->ranks as $rank): ?>
                <tr>
                  <td align='center' class="rudi"><img src="<?php echo "{$this->images_path}/ranks/small/{$rank->image}"; ?>"></img>&nbsp;</td>
                  <td align='center' class="rudi"><?php echo $rank->longname; ?>&nbsp;</td>
                </tr>
            <?php endforeach; ?>
            
    </table>

</body>
</html>