'', 'flush' => '', 'fill' => '', 'diffuse' => ''); if (isset($param['action'])) { foreach ($param['action'] as $action) { $liste_actions[$action] = $action; } } if(!isset($param['radio_bannette'])) $param['radio_bannette'] = ''; $requete = "select id_bannette, if(nom_classement is not null,concat('(',nom_classement,') ',nom_bannette),nom_bannette) as nom_bannette, if(proprio_bannette>0,1,0) as ban_priv from bannettes left join classements on num_classement = id_classement where bannette_auto=1 order by 3, 2"; $result = pmb_mysql_query($requete,$dbh); //size select $nb_rows = pmb_mysql_num_rows($result); if (($nb_rows > 0) && ($nb_rows < 10)) { $size_select = $nb_rows; } elseif ($nb_rows == 0) { $size_select = 1; } else { $size_select = 10; } //Choix de la bannette à diffuser $form_task = "