Subversion Repositories Applications.annuaire

Rev

Rev 8 | Go to most recent revision | Blame | Compare with Previous | Last modification | View Log | RSS feed

<h2>Inscrits à l'annuaire <?=$annuaire['informations']['aa_nom'] ?></h2>
<p><?=$annuaire['informations']['aa_description'] ?></p>


<h3> Inscrits </h3>

<?php if($pagination['numero_page'] > 1) { ?> 

<a class="premiere_page" href="<?=$url_detail = clone($base_url); 
                                $url_detail->setVariableRequete('m','annuaire_inscrits'); 
                                $url_detail->setVariableRequete('id_annuaire',$annuaire['informations']['aa_id_annuaire']); 
                                $url_detail->setVariableRequete('numero_page',($pagination['numero_page'] - 1)); 
                                echo $url_detail; ?>" title="Page précédente"> Page précédente </a>
<?php } ?>
                                
<a class="derniere_page" href="<?=$url_detail = clone($base_url); 
                                $url_detail->setVariableRequete('m','annuaire_inscrits'); 
                                $url_detail->setVariableRequete('id_annuaire',$annuaire['informations']['aa_id_annuaire']); 
                                $url_detail->setVariableRequete('numero_page',($pagination['numero_page'] + 1)); 
                                echo $url_detail; ?>" title="Page suivante"> Page suivante </a>

<br /><br /><br /> 

<table class="liste">
        <th></th>
        <?php foreach ($annuaire['colonnes'] as $colonne) : ?>
                <th><?=$colonne ?></th>
        <?php endforeach; ?>
        <?php foreach ($annuaire['inscrits'] as $inscrit) : ?>
        <tr>
                <td><a href="<?=$url_detail = clone($base_url); 
                                $url_detail->setVariableRequete('m','annuaire_fiche_utilisateur_consultation'); 
                                $url_detail->setVariableRequete('id_annuaire',$annuaire['informations']['aa_id_annuaire']); 
                                $url_detail->setVariableRequete('id_utilisateur',$inscrit[$annuaire['colonnes']['champ_id']]); 
                                echo $url_detail; ?>" title="Voir la fiche"> Voir la fiche </a></td>
                <?php foreach ($inscrit as $valeur) : ?>
                        <td><?=$valeur ?></td>
                <?php endforeach; ?>
        </tr>
        <?php endforeach; ?>
</table>