1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78
| <?php
include 'ongletannuaire.php';
?>
*
<div id="impressionagence">
****<a href="impsiege.php"><img id="imgimprimante" src="images/printer.png"/></a>
*
*
</div>
<?php
*
include ('sql.php');
*
*
*
$requete="SELECT nom_sal, prenom_sal, tel_sal, Abrege_fixe, Portable, Abrege_portable, Fax,poste_sal,agence, Direction FROM salarie WHERE Direction = 'Accueil' ORDER BY FIELD(poste_sal, 'Gérant', 'Direction', 'DA', 'RCA', 'RLA','AG') DESC, nom_sal";
$mysql_result=mysql_query($requete);
*
*echo ("<br><h2>Accueil</h2>");
LES ESPACES SE CREENT ICI
***echo "
<table class='tableauann' border=0>
**<tr class='ententetableauann'>
**<td>Nom</td>
**<td>Prénom</td>
**<td>Poste</td>
**<td>Agence</td>
**<td>Tél</td>
**<td>Abrégé fixe</td>
**<td>Portable</td>
**<td>Abrégé port</td>
**<td>Fax</td>
</tr></center>";
*
****while($resultat = mysql_fetch_assoc($mysql_result)){
****$nom_sal=$resultat['nom_sal'];
****$prenom_sal=$resultat['prenom_sal'];
****$tel_sal=$resultat['tel_sal'];
****$Abrege_fixe=$resultat['Abrege_fixe'];
****$Portable=$resultat['Portable'];
****$Abrege_portable=$resultat['Abrege_portable'];
****$Fax=$resultat['Fax'];
****$agence=$resultat['agence'];
****$poste_sal=$resultat['poste_sal'];
*
*
**echo
**"<tr class='lignetab'>
***
<td class='caseannuaire'>".$nom_sal."</td>
**
*********<td class='caseannuaire'>".$prenom_sal."</td>
*
*********<td class='caseannuaire2'>".$poste_sal."</td>
*
*********<td class='caseannuaire2'>".$agence."</td>
*
*********<td class='caseannuaire2'>".$tel_sal."</td>
*
*********<td class='caseannuaire2'>".$Abrege_fixe."</td>*
**********
*********<td class='caseannuaire2'>".$Portable."</td>*
**********
*********<td class='caseannuaire2'>".$Abrege_portable."</td>**
**********
*********<td class='caseannuaire2'>".$Fax."</td>**
**********
*************
*
</tr>";
}
*
*echo "</table>";
echo"<br>"; |
Partager