Changeset 60892 in spip-zone for _plugins_/Association/Associaspip/exec/dons.php
- Timestamp:
- May 4, 2012, 8:06:38 AM (9 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
_plugins_/Association/Associaspip/exec/dons.php
r59668 r60892 47 47 )); 48 48 debut_cadre_association('dons-24.gif', 'tous_les_dons'); 49 // PAGINATION ET FILTRES 50 echo '<table width="100%" class="asso_tablo_filtre">'; 51 echo '<tr>'; 52 echo '<td>'; 53 $query = sql_select("DATE_FORMAT(date_don, '%Y') AS annee", 'spip_asso_dons', '', 'annee', 'annee'); 54 while ($data = sql_fetch($query)) { 55 if ($data['annee']==$annee) { 56 echo "\n<strong>".$data['annee'].'</strong>'; 57 } else { 58 echo ' <a href="'. generer_url_ecrire('dons', '&annee='.$data['annee']) .'">'.$data['annee']."</a>\n"; 59 } 60 } 61 echo '</td></tr>'; 62 echo '</table>'; 49 // Filtres 50 echo '<table width="100%" class="asso_tablo_filtre"><tr>'; 51 echo '<td>'. association_selectionner_annee($annee, 'dons', 'don','dons') .'</td>'; 52 echo '</tr></table>'; 63 53 //TABLEAU 64 54 echo "<table width='100%' class='asso_tablo' id='asso_tablo_dons'>\n";
Note: See TracChangeset
for help on using the changeset viewer.