<form action="<?php echo url_for('gestio/gArxiuDvd'); ?> " method="POST" id="FCERCA"> <?php include_partial('cerca', array('TIPUS' => 'Simple', 'FCerca' => $FCerca, 'BOTONS' => array(array('name' => 'BCERCA', 'text' => 'Prem per buscar')))); ?> </form> <DIV class="REQUADRE"> <DIV class="TITOL">Llistat de DVDs i Arxius</DIV> <table class="DADES"> <?php if (empty($DVDS)) { echo '<TR><TD colspan="3">No s\'ha trobat cap resultat d\'entre ' . ArxiuDvdPeer::doCount(new Criteria()) . ' disponibles.</TD></TR>'; } else { $dif = ""; echo '<TR><TH>Tipus</TH><TH>Volum</TH><TH>Nom</TH><TH>Directori</TH><TH>Data creació</TH></TR>'; foreach ($DVDS as $D) { echo '<tr><td>' . $D->getTipus() . '</td>'; echo '<td>' . $D->getVolum() . '</td>'; echo '<td>' . $D->getNom() . '</td>'; echo '<td>' . $D->getUrl() . '</td>'; echo '<td>' . $D->getDataCreacio('Y-m-d') . '</td></tr>'; } } ?> </table> </DIV>