diff options
| author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-29 15:46:26 -0500 |
|---|---|---|
| committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2009-12-29 15:46:26 -0500 |
| commit | 4bc1e32a79c0928a079113c51f9cf9fcaf525a63 (patch) | |
| tree | 00312c30100c6947859324c39d80b7fcafaf92f1 /modules/rudi/views/view.ranks.php | |
| parent | ad6ba256efd1a65fb1bb3951ae6b17b1593205b7 (diff) | |
| download | bayonetcms-4bc1e32a79c0928a079113c51f9cf9fcaf525a63.tar.gz | |
(OC) I cut down the calendar queries to just one which seems to work out a lot better.
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@409 c5b2fb0a-d05d-0410-98c8-828840a80ff6
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 |
