Subversion Repositories Applications.papyrus

Rev

Rev 1802 | Blame | Compare with Previous | Last modification | View Log | RSS feed

<form action="<?=$url;?>" method="post">
<table summary="recherche">
 <tr>
  <td><?=AM_L_RECHERCHER; ?></td><td><input type="text" size="15" value="<?=$recherche;?>" name="recherche" /></td>
  <td><?=AM_L_PAYS; ?></td>
  <td>
   <select name="pays">
    <option value="tous">Tous les pays</option>
    <?php foreach ($tableau_pays as $codeIso => $labelPays) : ?>
        <option value="<?=$codeIso;?>"<?php if (!empty($pays)) : ?><?php if ($pays == $codeIso) : ?>  selected <? endif; ?><?php endif ; ?>><?=$labelPays;?></option>
    <?php endforeach; ?>
   </select>
  </td>
 </tr>
 <tr>
  <td><?=AM_L_DEPARTEMENT;?></td>
  <td>
   <select name="dept">
    <option value="tous">tous</option>
    <?php foreach ($tableau_dpt as $num_dpt => $label_dpt) : ?>
     <option value="<?=$num_dpt;?>"<?php if (!empty($dpt)) : ?><?php if ($dpt == $num_dpt) : ?> selected <? endif ; ?><?php endif ; ?>><?=$num_dpt ;?> - <?=$label_dpt;?></option>
    <?php endforeach ; ?>
   </select>
  </td>
  <td><?= AM_L_GRP_RES; ?></td><td><?=$pager_select_box;?>
  </td>
 </tr>
 <tr>
  <td>Type d'inscription</td>
  <td>
   <select name="type_inscription">
    <option value="tous">tous</option>
    <?php foreach ($tableau_type_inscription as $num_type_inscription => $label_type_inscription) : ?>
     <option value="<?=$num_type_inscription;?>"<?php if (!empty($type_inscription)) : ?><?php if ($type_inscription == $num_type_inscription) : ?> selected <? endif ; ?><?php endif ; ?>><?= $label_type_inscription ; ?></option>
    <?php endforeach ; ?>
   </select>
  </td>
  <td colspan="4"><input type="submit" value="<?=AM_L_RECHERCHER; ?>" name ="bouton" /></td>
 </tr>
</table>
</form>