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/db/backups.php

28 lines
798 B
PHP
Raw Normal View History

<!-- $o = ORM::factory('DB') -->
<table class="box-full">
<tr>
<td class="head" colspan="5">Database Backup Volumes</td>
</tr>
<tr>
<td class="spacer">&nbsp;</td>
</tr>
<tr>
<td>Date</td>
<td>Seq</td>
<td>Type</td>
<td>Device</td>
<td>Volume</td>
<td>Location</td>
</tr>
<?php $i=0; foreach ($o->backups() as $vo) { ?>
<tr class="<?php echo $i++%2 ? 'odd' : 'even'; ?>">
<td class="data"><?php echo $vo->display('DATE_TIME'); ?></td>
<td class="data"><?php echo $vo->backupid(); ?></td>
<td class="data"><?php echo $vo->display('TYPE'); ?></td>
<td class="data"><?php echo $vo->display('DEVCLASS'); ?></td>
<td class="data"><?php echo $vo->display('VOLUME_NAME'); ?></td>
<td class="data"><?php echo $vo->display('LOCATION'); ?></td>
</tr>
<?php } ?>
</table>