Subversion Repositories Applications.papyrus

Rev

Go to most recent revision | Blame | 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 colspan="4"><input type="submit" value="<?=AM_L_RECHERCHER; ?>" name ="bouton" /></td></tr>
</table>
</form>