From 4bc1e32a79c0928a079113c51f9cf9fcaf525a63 Mon Sep 17 00:00:00 2001 From: jhunkeler Date: Tue, 29 Dec 2009 20:46:26 +0000 Subject: (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 --- modules/rudi/views/view.awards.php | 83 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 83 insertions(+) create mode 100644 modules/rudi/views/view.awards.php (limited to 'modules/rudi/views/view.awards.php') diff --git a/modules/rudi/views/view.awards.php b/modules/rudi/views/view.awards.php new file mode 100644 index 0000000..6a60536 --- /dev/null +++ b/modules/rudi/views/view.awards.php @@ -0,0 +1,83 @@ + +images_path . "/medals/"; ?> + + + + Awards and Medals + + + + + + +getAwardClasses(); ?> + + + "; + echo ""; + echo ""; + echo ''; + echo ''; + echo ''; + + foreach($this->awards as $award) + { + if($classes[$cl]->class_id == $award->class_id) + { + echo " + + + + + "; + } + + } + + ++$cl; + } + ?> + +
{$classes[$cl]->name}s
ImageAwardDescription
image}\" alt=\"{$award->image}\"/>{$award->name} {$award->description} 
+ + + + \ No newline at end of file -- cgit