diff options
Diffstat (limited to 'modules/rudi/views/view.ranks.php')
-rw-r--r-- | modules/rudi/views/view.ranks.php | 39 |
1 files changed, 39 insertions, 0 deletions
diff --git a/modules/rudi/views/view.ranks.php b/modules/rudi/views/view.ranks.php new file mode 100644 index 0000000..2bb1823 --- /dev/null +++ b/modules/rudi/views/view.ranks.php @@ -0,0 +1,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> </td> + <td align='center' class="rudi"><?php echo $rank->longname; ?> </td> + </tr> + <?php endforeach; ?> + + </table> + +</body> +</html>
\ No newline at end of file |