Exemplo n.º 1
0
        $membership_type_info = get_membership_info_from_id($member['membership_type_id']);
        $amount = $membership_type_info['amount'];
        ?>
              Aucune facture. <a href="../facturer?m=<?php 
        echo $member['id'];
        ?>
">Cr&eacute;er une facture de <?php 
        echo $amount;
        ?>
$</a>
          <?php 
    }
    ?>
      <p><a href="../liste/">Retour à la liste</a></p>

      <?php 
    ## member publish functions
    if (isset($_POST['cmdUpdateMemberPublish'])) {
        if (updateMemberPublish($_REQUEST['m'])) {
            $msg[] = 'Information de publication mise à jour';
        } else {
            $err[] = 'Erreur pour la mise à jour des informations de publication';
        }
    }
    showMemberPublish($_REQUEST['m']);
} else {
    ?>
  <p>Aucun membre spécifié</p>
<?php 
}
include "../../footer.php";
Exemplo n.º 2
0
        if (updateMemberPublish($_SESSION['loginID'])) {
            $msg[] = 'Information de publication mise à jour.';
        } else {
            $err[] = 'Erreur pour la mise à jour des informations de publication.';
        }
    }
}
// end update
// we should ask login or show the member information?
if (!isset($_SESSION['loginID'])) {
    $document_title = 'Connexion Membre';
    include '../header.php';
    showErr($err);
    showMsg($msg);
    showLoginForm();
    include '../footer.php';
} else {
    $document_title = 'Fiche Membre';
    include '../header.php';
    showErr($err);
    showMsg($msg);
    showMemberInfo($_SESSION['loginID']);
    showMemberChangePassword();
    showInvoice($_SESSION['loginID']);
    showMemberPublish($_SESSION['loginID']);
    echo '<div class="command">
      <p><a href="?action=logoff">Se déconnecter</a></p>
      <p><a href="mailto:membership@facil.qc.ca">Contacter Facil</a></p>
    </div>';
    include '../footer.php';
}