diff options
| author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 17:22:00 -0500 |
|---|---|---|
| committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-03 17:22:00 -0500 |
| commit | edcc2f1bd2de5602390fc7a5d313428255afd0b6 (patch) | |
| tree | 9015081c412b02964e8bdaa79d668976e18f7cf0 /modules/rudi/views/view.platoon.php | |
| parent | a0e57d6a4ada58e25e713882c8af4483c6734acb (diff) | |
| download | bayonetcms-edcc2f1bd2de5602390fc7a5d313428255afd0b6.tar.gz | |
- view.roster.php replaced view.current.php
- Roster generation code completed by OC (yay!).
- Class RUDI_Information added to grab unit information.
- Views have been added from Unit/Platoon information, however, OC decided not to use the right table so everything needs to be moved around (not so yay!)
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@442 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/rudi/views/view.platoon.php')
| -rw-r--r-- | modules/rudi/views/view.platoon.php | 22 |
1 files changed, 22 insertions, 0 deletions
diff --git a/modules/rudi/views/view.platoon.php b/modules/rudi/views/view.platoon.php new file mode 100644 index 0000000..dbbb455 --- /dev/null +++ b/modules/rudi/views/view.platoon.php @@ -0,0 +1,22 @@ +<?php $data = $info->Platoon($unit_id, $platoon_id); ?>
+
+<table align="center">
+ <tr>
+ <th> </th>
+ <td><img src="<?php echo '/cms/modules/rudi/images/units/' . $data->logo; ?>" alt="<?php echo $data->logo; ?>"/></td>
+ </tr>
+ <tr>
+ <th width="25%">Platoon</th>
+ <td><?php echo $data->name; ?></td>
+ </tr>
+ <tr>
+ <th>Creed</th>
+ <td><?php echo $data->creed; ?></td>
+ </tr>
+ <tr>
+ <th valign="top">Biography</th>
+ <td><?php echo $data->bio; ?></td>
+ </tr>
+</table>
+
+<?php decho($data); ?>
\ No newline at end of file |
