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
| <html><head><title>Super Diet Production --> Récapitulatif de la demande.</title></head>
<body>
<div align="center">
<center>
<table border="0" bordercolor="#000000" width="897" height="661">
<tr>
<td width="151" height="145"><img src="photos/coccinelle.jpg" width="206" height="165"></td>
<td width="338" height="145" align="center"><i>Super Diet est une société leader dans les métiers de la santé au naturel et des compléments alimentaires. Super Diet exporte dans plus de 20 pays sur tous les continents. Depuis 40 ans, Super Diet fonctionne dans le plus grand respect des principes éthiques hérités de ses fondateurs.</i></td>
<td width="392" height="145"><img border="0" src="photos/baniere.png" width="394" height="164"></td>
</tr>
<tr>
<td width="897" height="492" colspan="3" align="center" valign="top"><BR><BR><i><b><u><h2><font color="#0000FF">Récapitulatif de votre demande :</font></h2></u></b></i><BR><BR>
<?php
$link = mysql_connect("localhost", "root", "")or die (mysql_error());
mysql_select_db("intranet")or die (mysql_error()) ;
?>
<?php
$chef=$_GET['chef'] ;
$serv=$_GET['serv'] ;
$nompers=$_GET['nompers'] ;
$choix=$_GET['choix'] ;
$societe=$_GET['societe'] ;
$jourabs=$_GET['jourabs'] ;
$moisabs=$_GET['moisabs'] ;
$anneeabs=$_GET['anneeabs'] ;
$dureedeb=$_GET['dureedeb'] ;
$dureefin=$_GET['dureefin'] ;
$signresp=$_GET['signresp'] ;
$signsal=$_GET['signsal'] ;
?>
<?php
mysql_query("INSERT INTO demandesortie (Resp_service, Nom_service, Societe_pers, Nom_pers, Raison_sortie, Jour_abs, Mois_abs, Annee_abs, Duree_debut, Duree_fin, Validation_resp, Validation_pers) VALUES ('$chef', '$serv', '$societe', '$nompers', '$choix', '$jourabs', '$moisabs', '$anneeabs', '$dureedeb', '$dureefin', '$signresp', '$signsal')") ;
mysql_query("SELECT Email_serv FROM service WHERE Nom_service LIKE '%$serv%' ") ; ?>
<?php
echo "Monsieur/Madame <b>$chef</b>, responsable du <b>$serv</b> <br><br>
Autorise : <br><br>
Monsieur/Madame <b>$nompers</b> à s'absenter de son poste de travail. <br><br>
<b>$choix</b>
<br><br>
L'absence s'éffectuera le <b>$jourabs $moisabs $anneeabs</b>
<br><br>
de <b>$dureedeb H à $dureefin H.</b>
<br><br>
<p align='right'>Société : <b>$societe</b></p>
<br><br>
<p align='right'>Signature du (de la) salarié(e) : <b>$signsal</b></p>" ;
?>
<?php
while ($donnees = mysql_fetch_array($reponse))
{
echo $donnees['Email_serv'] ;
}
?>
<?php
mysql_close() ;
?>
</body>
</html> |