31 lines
524 B
PHP
31 lines
524 B
PHP
|
<?php
|
|||
|
$q = Doctrine_Query::create()
|
|||
|
->from('Report r')
|
|||
|
->orderBy('r.updated_at');
|
|||
|
$tabReports = $q->Execute();
|
|||
|
?>
|
|||
|
|
|||
|
<form>
|
|||
|
|
|||
|
<table>
|
|||
|
<tr>
|
|||
|
<th>Identifier</th>
|
|||
|
<th>Nom</th>
|
|||
|
<th>Rapport</th>
|
|||
|
<th>Format</th>
|
|||
|
<th>Mis <EFBFBD> jour le ...</th>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
foreach($tabReports as $report){
|
|||
|
?>
|
|||
|
<tr>
|
|||
|
<td><?php print $report->identifier; ?></td>
|
|||
|
<td><?php print $report->name; ?></td>
|
|||
|
<td>T<EFBFBD>l<EFBFBD>charger le rapport</td>
|
|||
|
<td><?php print $report->format; ?></td>
|
|||
|
<td><?php print $report->updated_at; ?></td>
|
|||
|
</tr>
|
|||
|
<?php
|
|||
|
}
|
|||
|
?>
|
|||
|
</table>
|