Première version publique
[auf_paf.git] / forms / search_infos.php
1 <?php //if($_SESSION["UserNamePAF"]==""){ redirect("index.php"); } ?>
2 <h2>(<?php echo $Num; ?>) r&eacute;sultat de recherche avec : "<?php echo $StrSearch; ?>"</h2>
3 <!--<p><strong><a href="excel.php" title="exporter au fichier d'excel">Exporter Fichier Calc</a></strong></p>-->
4 <table width="100%" cellpadding="3" cellspacing="3" border="1" style="border-collapse:collapse; padding-top:20px;">
5 <tr><td width="4%"><strong>No.</strong></td>
6 <td width="4%"><strong>Login</strong></td>
7 <td width="14%"><strong>Nom & Pr&eacute;nom</strong></td>
8 <td width="5%" align="center"><strong>Genre</strong></td>
9 <td width="12%"><strong>Date de Naissance</strong></td>
10 <td width="17%"><strong>Universit&eacute;</strong></td>
11 <td width="13%"><strong>Facult&eacute;</strong></td>
12 <td width="13%"><strong>T&eacute;l&eacute;phone</strong></td>
13 <td width="18%"><strong>E-mail</strong></td>
14 </tr>
15 <?php
16 $i=1;
17 $Deconnexion = "<a href='index.php?actlogin=logout' title='d&eacute;connexion'>D&eacute;connexion</a>";
18 while($row=mysql_fetch_array($Sql_Ct)){ ?>
19 <tr><td><?php echo $i; ?></td>
20 <td><?php echo "C".$row["id"]; ?></td>
21 <td><?php echo str_replace("`","'",$row["nom"])." ".str_replace("`","'",$row["prenom"]); ?></td>
22 <td align="center"><?php echo $row["sexe"]; ?></td>
23 <td><?php echo ChangeDateValueSelect($row["datedenaissance"]); ?></td>
24 <td><?php echo str_replace("`","'",$row["universite"]); ?></td>
25 <td><?php echo str_replace("`","'",$row["faculte"]); ?></td>
26 <td><?php echo $row["telephonepersonnelle"]; ?></td>
27 <td><?php echo $row["email"]; ?></td>
28 </tr>
29 <?php $i++; } ?>
30 </table>
31 <p>&nbsp;</p>
32 <?php if($_SESSION["UserNamePAF"]!=""){ ?>
33 <p><strong><a href="excel.php" title="exporter au fichier d'excel">Exporter Fichier Calc</a></strong></p><?php } ?>