diff options
author | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-26 21:52:17 -0500 |
---|---|---|
committer | jhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6> | 2010-01-26 21:52:17 -0500 |
commit | a0701d581dfa39113c1af68637118d99d5a0822a (patch) | |
tree | 17858862321c09316dbbeb9038695a8815406e2a /modules/rudi | |
parent | 6d28ed7cd510621e571da1d5a20848d58d079f53 (diff) | |
download | bayonetcms-a0701d581dfa39113c1af68637118d99d5a0822a.tar.gz |
commit just prior to some pure insanity.
implementing theme system
git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@463 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/rudi')
-rw-r--r-- | modules/rudi/views/view.drills.php | 29 |
1 files changed, 25 insertions, 4 deletions
diff --git a/modules/rudi/views/view.drills.php b/modules/rudi/views/view.drills.php index 5fcd18e..aa4b30a 100644 --- a/modules/rudi/views/view.drills.php +++ b/modules/rudi/views/view.drills.php @@ -25,9 +25,14 @@ function Rating($val) return "Bad Value"; } +//$this->getMemberAttendance(); + +OpenContent(); ?> -<?php if(isset($_GET['id'])): ?> +<div class="contentHeading">Drills</div> +<div class="content"> +<?php if(isset($_GET['id'])): ?> <table cellspacing="20" class="rudi" align="left" style="width: 100%;"> <tr> <th class="header">News</th> @@ -53,7 +58,7 @@ function Rating($val) <th class="header">Soldier</th> <th class="header">Performance Rating</th> <th class="header">Initiative Rating</th> - <th class="header">Early Excusal</th> + <th class="header">Excusal</th> <th class="header">Excusal Reason</th> </tr> <?php foreach($drills->manifest->members as $member): ?> @@ -67,7 +72,7 @@ function Rating($val) <td class="rudi"><?php echo $pRating; ?> </td> <td class="rudi"><?php echo $iRating; ?> </td> <td class="rudi"><?php echo ($member->excusal ? "Yes" : "No"); ?> </td> - <td class="rudi"><?php echo $member->excusal_reason; ?> </td> + <td class="rudi"><?php echo $this->evalData($member->excusal_reason); ?> </td> </tr> <?php endforeach; ?> </table> @@ -93,9 +98,25 @@ function Rating($val) <?php endforeach; ?> </table> - +</div> <?php +CloseContent(); +OpenContent(); +?> +<?php if(isset($_GET['stats']) && $_GET['stats'] == 'true'): ?> +<div class="contentHeading">Statistics</div> +<div class="content"> +<?php +//decho($drills->getMemberAttendanceFull()); +require_once 'view.drills.statistics.php'; +?> +</div> +</div> +<?php endif; ?> + +<?php +CloseContent(); decho('DATA FOR NO ID QUERY'); decho($drills->manifest); ?> |