function afficheActions($texterequete, $titre, $saisie, $nbtotal, $connexion)
{
    $resultat = ExecRequete("SELECT " . $texterequete, $connexion);
    $compteur = MYSQL_NUM_ROWS($resultat);
    if ($compteur > 0) {
        $objet = ObjetSuivant($resultat);
        $titre = $titre . "   —   " . $compteur . " / " . $nbtotal;
        html('<div class="titrelisteaction">' . $titre . '</div>');
        TableIni('970', 'rien');
        do {
            // On ne gère pas ici l'en-tête de tableau, ce que les fonctions font en temps normal.
            LigneIni('');
            Cellule2('Action', $objet->id, 20, 'corpsc1,centre', $saisie);
            Cellule2('Type', Icones($objet->id, $objet->type), 16, 'corpsnt1', 1);
            Cellule2('Catégorie', traduitcategorie($objet->categorie), 80, 'corps1', 1);
            /*corpstc1*/
            Cellule2('Projet', $objet->projet, 120, 'corps1', 1);
            Cellule2('Titre', TitreAction($objet->titre, $objet->note), '', 'corpsg1', 1);
            /*corpst1*/
            Cellule2('Qui', $objet->qui, 70, 'corps1', 1);
            Cellule2('Evénement', DateLisible($objet->date), 70, 'corps1', 1);
            Cellule2('Création', DateTexteCoursFr($objet->datesaisie1), 20, 'corps1', $saisie);
            Cellule2('Modification', DateTexteCoursFr($objet->datesaisie9), 20, 'corps1', $saisie);
            Cellule2('Edit.', LienEdition($objet->id), 16, 'corpsnt1', 1);
            //Cellule2('Actions',LienEdition($objet->id).' '.LienReport($objet->id,$objet->periojours,$objet->periomois)
            //         .' '.LienValidation($objet->id).' '.LienSuppression($objet->id),76,'corpsnt2',1);
            Cellule2('Report', LienReport($objet->id, $objet->periojours, $objet->periomois), 16, 'corpsnt1', 1);
            Cellule2('Valid.', LienValidation($objet->id), 16, 'corpsnt1', 1);
            Cellule2('Suppr.', LienSuppression($objet->id), 16, 'corpsnt1', 1);
            LigneFin();
        } while ($objet = ObjetSuivant($resultat));
        TableFin(1, 0);
    }
}
function FormulaireFin($formulaire, $bouton, $titre, $simple, $droitmin)
{
    //
    if ($simple != 1) {
        TabletteFin();
        LigneFin();
    }
    TableFin(0, 0);
    html('<br>');
    TableIni('', 'rien');
    LigneIni('');
    CelluIni('', '', '');
    FormFin($formulaire, $bouton, $titre, $droitmin);
    CelluFin();
    LigneFin();
    TableFin(0, 0);
}
function FormIdentification($page, $login_defaut = "", $connexion)
{
    entetepage('Malleus', 'Malleus - Accès', '', '', '', '', 1, 1, $connexion);
    html('<br><br><br><br><br><br>');
    FormIni('ident', 'ident', $page, 'post');
    TableIni('300', 'choix');
    FormTitre('Identification', 'titre1', 2);
    FormTexte('Identifiant', 'login', $login_defaut, 'texte', 15, 1);
    FormPasse('Mot de passe', 'motdepasse', '', 'texte', 15);
    FormulaireFin('ident', 'ident', 'Valider', 1, 1);
    html('');
}