32 lines
546 B
PHP
32 lines
546 B
PHP
<?php
|
|
setDbConn('graydon');
|
|
$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 à jour le ...</th>
|
|
</tr>
|
|
<?php
|
|
foreach($tabReports as $report){
|
|
?>
|
|
<tr>
|
|
<td><?php print $report->identifier; ?></td>
|
|
<td><?php print $report->name; ?></td>
|
|
<td>Télécharger le rapport</td>
|
|
<td><?php print $report->format; ?></td>
|
|
<td><?php print $report->updated_at; ?></td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
</table>
|