Added Node activity

This commit is contained in:
Deon George
2012-12-07 16:12:58 +11:00
parent 7a3539cb95
commit c9a1d39912
5 changed files with 60 additions and 2 deletions

View File

@@ -0,0 +1,23 @@
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Node Activity</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Date</td>
<td>Schedule</td>
<td>Session</td>
<td>Message</td>
</tr>
<?php $i=0; foreach ($o->activity() as $ao) { ?>
<tr>
<td class="data"><?php echo $ao->DISPLAY('DATE_TIME'); ?>
<td class="data"><?php echo $ao->DISPLAY('SCHEDNAME'); ?>
<td class="data"><?php echo $ao->DISPLAY('SESSION'); ?>
<td class="data"><?php echo $ao->DISPLAY('MESSAGE'); ?>
</tr>
<?php } ?>
</table>