diff options
Diffstat (limited to 'modules/rudi/views/view.ranks.php')
-rw-r--r-- | modules/rudi/views/view.ranks.php | 37 |
1 files changed, 37 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..4792049 --- /dev/null +++ b/modules/rudi/views/view.ranks.php @@ -0,0 +1,37 @@ +<?php //define('BLOCK_RIGHT_DISABLE','block_right_disable'); ?> + +<html> +<head> + <title>Awards and Medals</title> + +<style type="text/css"> +/*th.header { + width:175px; + background:#333; +} + +td.rudi { + text-align: center; + vertical-align: middle; +} */ +</style> + +</head> +<body> + + <table class="rudi" align="center" style="width: 100%;"> + <tr> + <th scope="col">Image</th> + <th scope="col">Rank</th> + </tr> + <?php foreach($this->ranks as $rank): ?> + <tr> + <td><img src="<?php echo "modules/rudi/images/ranks/small/{$rank->image}"; ?>" /> </td> + <td><?php echo $rank->longname; ?> </td> + </tr> + <?php endforeach; ?> + + </table> + +</body> +</html>
\ No newline at end of file |