Commit d0ff862b authored by Ayolo's avatar Ayolo

assos box

parent d5daae21
......@@ -851,7 +851,7 @@ class site extends interfaceweb
$req = new requete($this->db,
"SELECT `asso`.`id_asso`, " .
"`asso`.`nom_asso`, ".
"`asso`.`nom_asso` ".
"FROM `asso_membre` " .
"INNER JOIN `asso` ON `asso`.`id_asso`=`asso_membre`.`id_asso` " .
"WHERE `asso_membre`.`role` > 1 AND `asso_membre`.`date_fin` IS NULL " .
......@@ -861,6 +861,9 @@ class site extends interfaceweb
if ( $req->lines > 0 )
{
if( $req->lines == 0 )
$sublist = new itemlist("Gestion association","boxlist");
else
$sublist = new itemlist("Gestion associations","boxlist");
while ( list($id,$nom) = $req->get_row() )
$sublist->add("<a href=\"".$topdir."asso/index.php?id_asso=$id\">$nom</a>");
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment