displayDescription($description); // recherche des etats disponibles pour cet obj $sql = "select om_etat,id,libelle from ".DB_PREFIXE."om_etat where actif is TRUE and id like 'operation%".$categorie."' order by id"; $res = $f->db->query($sql); $f->isDatabaseError($res); echo "\n
\n"; // echo "
\n"; echo "\t"; echo _("Choix de l'edtion")." ".$categorie; echo "\n"; echo( "
" ); echo("
"); if($res->numRows() == 0){ echo(_("Aucun etat disponible pour cette operation.")."
"); } else { while($etat =& $res->fetchRow(DB_FETCHMODE_ASSOC)){ echo ""; echo("".$etat['libelle']." (".$etat['id'].")
"); } echo("
  "); } if(isset($_GET['popup']) and $_GET['popup'] == 1 ) { echo ""; // fond } else { echo(" "); } echo("
"); echo "
\n"; echo "
\n"; ?>