aboutsummaryrefslogtreecommitdiff
path: root/modules/rudi/index.php
diff options
context:
space:
mode:
authorjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-16 17:40:46 -0500
committerjhunkeler <jhunkeler@c5b2fb0a-d05d-0410-98c8-828840a80ff6>2010-01-16 17:40:46 -0500
commita65e949fefc86be87118238ccde7b6a55c29b0be (patch)
tree90f0df3d864cee2858dcda9606e95ab9907f155e /modules/rudi/index.php
parent2b31e8a6f30ebcd145b3394ac1a2ef8a768924ac (diff)
downloadbayonetcms-a65e949fefc86be87118238ccde7b6a55c29b0be.tar.gz
Looks like I'm about to break something terribly, so it's time to save.
Initial rewrite of drill displays -jhunk Truncated date display for service records -OC git-svn-id: http://svn.3rd-infantry-division.org/testing/branches/Bayonet CMS v2@461 c5b2fb0a-d05d-0410-98c8-828840a80ff6
Diffstat (limited to 'modules/rudi/index.php')
-rw-r--r--modules/rudi/index.php10
1 files changed, 9 insertions, 1 deletions
diff --git a/modules/rudi/index.php b/modules/rudi/index.php
index 2bc08a3..995c90d 100644
--- a/modules/rudi/index.php
+++ b/modules/rudi/index.php
@@ -4,6 +4,7 @@
//include 'includes/debug.php';
//require 'includes/sql.class.php';
include_once 'includes/common.class.php';
+include_once 'includes/drills.class.php';
include_once 'includes/information.class.php';
OpenContent();
@@ -15,6 +16,7 @@ class RUDI_Gateway extends RUDI_Common
public function __construct()
{
+ decho("Constructing " . get_class($this));
parent::__construct();
if(isset($_GET['admin']))
@@ -61,7 +63,8 @@ class RUDI_Gateway extends RUDI_Common
include 'views/view.ranks.php';
break;
case 'drills':
- $this->drills = $this->getDrills($_GET['id']);
+ //$this->drills = $this->getDrills($_GET['id']);
+ $drills = new RUDI_Drills($_GET['id']);
include 'views/view.drills.php';
break;
}
@@ -82,6 +85,11 @@ class RUDI_Gateway extends RUDI_Common
return;
}
}
+
+ public function __destruct()
+ {
+ decho("Destructing " . get_class($this));
+ }
}
ob_start();