Première version publique
[auf_paf.git] / forms / liste_infos.php
CommitLineData
98ff4c8e 1<?php \r
2 if($_SESSION["UserNamePAF"]==""){ redirect("index.php"); } ?>\r
3 <h2>Liste des informations</h2>\r
4 <p><strong><a href="excel.php" title="exporter au fichier d'excel">Exporter Fichier Calc</a></strong></p>\r
5 <table width="100%" cellpadding="3" cellspacing="3" border="1" style="border-collapse:collapse; padding-top:20px;">\r
6 <tr><td width="4%"><strong>No.</strong></td>\r
7 <td width="4%"><strong>Login</strong></td>\r
8 <td width="14%"><strong>Nom & Pr&eacute;nom</strong></td>\r
9 <td width="5%" align="center"><strong>Genre</strong></td>\r
10 <td width="12%"><strong>Date de Naissance</strong></td>\r
11 <td width="17%"><strong>Universit&eacute;</strong></td>\r
12 <td width="13%"><strong>Facult&eacute;</strong></td>\r
13 <td width="13%"><strong>T&eacute;l&eacute;phone</strong></td>\r
14 <td width="18%"><strong>E-mail</strong></td>\r
15 </tr>\r
16 <?php\r
17 $i=1;\r
18 $Stt = mysql_query("Select id, nom, prenom, sexe, datedenaissance, nationalite, login, motdepasse, universite, faculte, promotion, anneediplome, delf, anneedelf, langueautre, email, telephonepersonnelle, adressepersonnelle, telephoneparents, adresseparents, titretravail, adressetravail, divers, datein from tblinscrit order by id desc");\r
19 $Deconnexion = "<a href='index.php?actlogin=logout' title='d&eacute;connexion'>D&eacute;connexion</a>";\r
20 while($row=mysql_fetch_array($Stt)){ ?>\r
21 <tr><td><?php echo $i; ?></td>\r
22 <td><?php echo "C".$row["id"]; ?></td>\r
23 <td><?php echo str_replace("`","'",$row["nom"])." ".str_replace("`","'",$row["prenom"]); ?></td>\r
24 <td align="center"><?php echo $row["sexe"]; ?></td>\r
25 <td><?php echo ChangeDateValueSelect($row["datedenaissance"]); ?></td>\r
26 <td><?php echo str_replace("`","'",$row["universite"]); ?></td>\r
27 <td><?php echo str_replace("`","'",$row["faculte"]); ?></td>\r
28 <td><?php echo $row["telephonepersonnelle"]; ?></td>\r
29 <td><?php echo $row["email"]; ?></td>\r
30 </tr>\r
31 <?php $i++; } ?>\r
32 </table>\r
33 <p><strong><a href="excel.php" title="exporter au fichier d'excel">Exporter Fichier Calc</a></strong></p>\r