This repository has been archived on 2024-04-08. You can view files and clone it, but cannot push or open issues or pull requests.
phptsmadmin/application/views/node/schedule_summary.php

26 lines
791 B
PHP
Raw Normal View History

2012-11-29 22:58:15 +00:00
<!-- $o = ORM::factory('NODE') -->
<table class="box-full">
<tr>
<td class="head" colspan="2">Summary Activity</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Start</td>
<td>End</td>
<td>Activity</td>
<td>Schedule</td>
<td>MB</td>
</tr>
<?php $i=0;foreach ($o->SUMMARY->find_all() as $so) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data"><?php echo $so->display('START_TIME'); ?></td>
<td class="data"><?php echo $so->display('END_TIME'); ?></td>
<td class="data"><?php echo $so->display('ACTIVITY'); ?></td>
<td class="data"><?php echo $so->display('SCHEDULE_NAME'); ?></td>
<td class="data" style="text-align: right;"><?php printf('%3.2f',round($so->display('BYTES')/1024/1024,2)); ?></td>
</tr>
<?php } ?>
</table>