Subversion Repositories Applications.papyrus

Rev

Details | Last modification | View Log | RSS feed

Rev Author Line No. Line
1685 alexandre_ 1
<form action="<?=$url;?>" method="post">
2
<table summary="recherche">
3
 <tr>
4
  <td><?=AM_L_RECHERCHER; ?></td><td><input type="text" size="15" value="<?=$recherche;?>" name="recherche" /></td>
5
  <td><?=AM_L_PAYS; ?></td>
6
  <td>
7
   <select name="pays">
8
    <option value="tous">Tous les pays</option>
9
    <?php foreach ($tableau_pays as $codeIso => $labelPays) : ?>
10
        <option value="<?=$codeIso;?>"
11
         <?php if (!empty($pays)) : ?>
12
          <?php if ($pays == $codeIso) : ?>  selected <? endif; ?>
13
         <?php endif ; ?>
14
        ><?=$labelPays;?></option>
15
    <?php endforeach; ?>
16
   </select>
17
  </td>
18
 </tr>
19
 <tr>
20
  <td><?=AM_L_DEPARTEMENT;?></td>
21
  <td>
22
   <select name="dept">
23
    <option value="tous">tous</option>
24
    <?php foreach ($tableau_dpt as $num_dpt => $label_dpt) : ?>
25
     <option value="<?=$num_dpt;?>"
26
     <?php if (!empty($dpt)) : ?>
27
      <?php if ($dpt == $num_dpt) : ?> selected <? endif ; ?>
28
     <?php endif ; ?>
29
     ><?=$num_dpt ;?> - <?=$label_dpt;?>
30
    </option>
31
    <?php endforeach ; ?>
32
   </select>
33
  </td>
34
  <td><?= AM_L_GRP_RES; ?></td><td><?=$pager_select_box;?>
35
  </td>
36
 </tr>
37
 <tr><td colspan="4"><input type="submit" value="<?=AM_L_RECHERCHER; ?>" name ="bouton" /></td></tr>
38
</table>
39
</form>