Création d'un nouveau motif
1) ? true : false; $AGENCES = ""; $q = "SELECT id_agence, nom_agence, code_agence, initiales FROM ca_agences WHERE supp=:supp"; $values = array(':supp' => 0); $result = excuteQuery($q, $values); $r = $result['stmt']; while($o = $r->fetchObject()){ $AGENCES .= ""; } $ENTITES = ""; if($AID > 0){ $q = "SELECT id_entite, libelle FROM ca_entites WHERE supp=:supp AND enabled=:enabled AND id_agence=:id_agence"; $values = array(':supp' => 0, ':enabled' => 1, ':id_agence' => $AID); $result = excuteQuery($q, $values); $r = $result['stmt']; while($o = $r->fetchObject()){ $ENTITES .= ""; } } $langs = ""; if($multilang){ foreach($GLOBALS["BORNE_CONF"]["LANGUAGES"] as $lang){ $langs .= ""; } } ?>