320 lines
10 KiB
PHP
Executable File
320 lines
10 KiB
PHP
Executable File
<?php
|
|
session_start();
|
|
$logincli=$HTTP_POST_VARS["logincli"];
|
|
$email=$HTTP_POST_VARS["email"];
|
|
$mdpcli=$HTTP_POST_VARS["mdpcli"];
|
|
$nomcli=$HTTP_POST_VARS["nomcli"];
|
|
$prenomcli=$HTTP_POST_VARS["prenomcli"];
|
|
$telfixe=$HTTP_POST_VARS["telfixe"];
|
|
$telportable=$HTTP_POST_VARS["telportable"];
|
|
$fax=$HTTP_POST_VARS["fax"];
|
|
$societe=$HTTP_POST_VARS["societe"];
|
|
$civilite=$HTTP_POST_VARS["civilite"];
|
|
$libelleadr=$HTTP_POST_VARS["libelleadr"];
|
|
$codepostal=$HTTP_POST_VARS["codepostal"];
|
|
$ville=$HTTP_POST_VARS["ville"];
|
|
$pays=$HTTP_POST_VARS["pays"];
|
|
$typecli=$HTTP_POST_VARS["typecli"];
|
|
?>
|
|
<html>
|
|
<head>
|
|
<link href="../style.css" rel="stylesheet" type="text/css">
|
|
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1"><style type="text/css">
|
|
<!--
|
|
a:link {
|
|
color: #FFFFFF;
|
|
text-decoration: none;
|
|
}
|
|
a:visited {
|
|
text-decoration: none;
|
|
color: #FFFFFF;
|
|
}
|
|
a:hover {
|
|
text-decoration: underline;
|
|
color: #FFFFFF;
|
|
}
|
|
a:active {
|
|
text-decoration: none;
|
|
color: #FFFFFF;
|
|
}
|
|
-->
|
|
</style></head>
|
|
<body class="bgcolor" text="white">
|
|
echo "ville:$ville<BR>";
|
|
<div align="center" >
|
|
<a href="javascript:window.print()">
|
|
<img src="../images/print2.gif" border="0" width="32" height="29" alt="Imprimer la page" align="absmiddle"> Imprimer la page...</a>
|
|
</p><br>
|
|
<table border=0>
|
|
<tr>
|
|
<td colspan=2 align="center">
|
|
<br><br><h1>Inscription 3/3</h1><br><br>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
if((!$nomcli)||(!$prenomcli)||(!$telfixe)||(!$libelleadr)||(!$codepostal)||(!$ville))
|
|
{
|
|
?>
|
|
<tr>
|
|
<td colspan=2>
|
|
Veuillez completer tous les champs obligatoires<br><br>
|
|
<form name="f1" action="inscription2.php" method="POST">
|
|
<table>
|
|
<tr> <td>
|
|
<input type="hidden" name="societe" value="<?php print $societe; ?>"/>
|
|
</td></tr>
|
|
<tr> <td>
|
|
<input type="hidden" name="nomcli" value="<?php print $nomcli; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="prenomcli" value="<?php print $prenomcli; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="telfixe" value="<?php print $telfixe; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="telportable" value="<?php print $telportable; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="fax" value="<?php print $fax; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="libelleadr" value="<?php print $libelleadr; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="codepostal" value="<?php print $codepostal; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="ville" value="<?php print $ville; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="civilite" value="<?php print $civilite; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="pays" value="<?php print $pays; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="<?php print session_name()?>" value="<?php print session_id() ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="email" value="<?php print $email; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="mdpcli" value="<?php print $mdpcli; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="verifmdpcli" value="<?php print $mdpcli; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="hidden" name="logincli" value="<?php print $logincli; ?>"/>
|
|
</td></tr>
|
|
<tr><td>
|
|
<input type="submit" value="Retour"/>
|
|
</td></tr>
|
|
</table>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<?php
|
|
} else {
|
|
?>
|
|
<tr bordercolor="#666666">
|
|
<td align="left"><img src="../images/esp.png" width="235" height="12"></td>
|
|
<td> </td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Votre Login
|
|
</td>
|
|
<td>
|
|
<?php print "$logincli"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Mot de passe
|
|
</td>
|
|
<td>
|
|
<?php print "$mdpcli"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
email
|
|
</td>
|
|
<td>
|
|
<?php print "$email"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Votre nom
|
|
</td>
|
|
<td>
|
|
<?php print "$nomcli "; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Votre prenom
|
|
</td>
|
|
<td>
|
|
<?php print "$prenomcli"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Tel Fixe
|
|
</td>
|
|
<td>
|
|
<?php print "$telfixe"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Tel Portable
|
|
</td>
|
|
<td>
|
|
<?php print "$telportable"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Fax
|
|
</td>
|
|
<td>
|
|
<?php print "$fax "; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Vous etes :
|
|
</td>
|
|
<td>
|
|
<?php
|
|
if ($typecli=="Particulier")
|
|
{
|
|
?>
|
|
un <?php print "$typecli"; ?>
|
|
<?php
|
|
} else {
|
|
?>
|
|
une <?php print "$typecli"; ?>
|
|
<?php
|
|
}
|
|
?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Nom Societe
|
|
</td>
|
|
<td>
|
|
<?php print "$societe "; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Nationnalite
|
|
</td>
|
|
<td>
|
|
<?php print "$civilite"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Adresse
|
|
</td>
|
|
<td>
|
|
<?php print "$libelleadr"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Code postal
|
|
</td>
|
|
<td>
|
|
<?php print "$codepostal"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Ville
|
|
</td>
|
|
<td>
|
|
<?php print "$ville "; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td align="left">
|
|
Pays
|
|
</td>
|
|
<td>
|
|
<?php print "$pays"; ?>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td colspan=2>
|
|
<form name="f1" action="validinscrip.php" method="POST">
|
|
|
|
<div align="center">
|
|
<input type="hidden" name="societe2" value="<?php print $societe; ?>"/>
|
|
<input type="hidden" name="page" value="inscrip"/>
|
|
<input type="hidden" name="nomcli2" value="<?php print $nomcli; ?>"/>
|
|
<input type="hidden" name="prenomcli2" value="<?php print $prenomcli; ?>"/>
|
|
<input type="hidden" name="telfixe2" value="<?php print $telfixe; ?>"/>
|
|
<input type="hidden" name="telportable2" value="<?php print $telportable; ?>"/>
|
|
<input type="hidden" name="fax2" value="<?php print $fax; ?>"/>
|
|
<input type="hidden" name="libelleadr2" value="<?php print $libelleadr; ?>"/>
|
|
<input type="hidden" name="codepostal2" value="<?php print $codepostal; ?>"/>
|
|
<input type="hidden" name="ville2" value="<?php print $ville; ?>"/>
|
|
<input type="hidden" name="civilite2" value="<?php print $civilite; ?>"/>
|
|
<input type="hidden" name="pays2" value="<?php print $pays; ?>"/>
|
|
<input type="hidden" name="<?php print session_name()?>2" value="<?php print session_id() ?>"/>
|
|
<input type="hidden" name="email2" value="<?php print $email; ?>"/>
|
|
<input type="hidden" name="mdpcli2" value="<?php print $mdpcli; ?>"/>
|
|
<input type="hidden" name="verifmdpcli2" value="<?php print $mdpcli; ?>"/>
|
|
<input type="hidden" name="logincli2" value="<?php print $logincli; ?>"/>
|
|
<input type="hidden" name="typecli2" value="<?php print $typecli; ?>"/>
|
|
<br>
|
|
<input type="submit" value="Validez"/>
|
|
</div>
|
|
</form>
|
|
</td>
|
|
</tr>
|
|
<tr bordercolor="#666666">
|
|
<td colspan=2>
|
|
<form name="f1" action="inscription2.php" method="POST">
|
|
<div align="left">
|
|
<p align="center">
|
|
<input type="hidden" name="societe3" value="<?php print $societe; ?>"/>
|
|
<input type="hidden" name="nomcli3" value="<?php print $nomcli; ?>"/>
|
|
<input type="hidden" name="prenomcli3" value="<?php print $prenomcli; ?>"/>
|
|
<input type="hidden" name="telfixe3" value="<?php print $telfixe; ?>"/>
|
|
<input type="hidden" name="telportable3" value="<?php print $telportable; ?>"/>
|
|
<input type="hidden" name="fax3" value="<?php print $fax; ?>"/>
|
|
<input type="hidden" name="libelleadr3" value="<?php print $libelleadr; ?>"/>
|
|
<input type="hidden" name="codepostal3" value="<?php print $codepostal; ?>"/>
|
|
<input type="hidden" name="ville3" value="<?php print $ville; ?>"/>
|
|
<input type="hidden" name="civilite3" value="<?php print $civilite; ?>"/>
|
|
<input type="hidden" name="pays3" value="<?php print $pays; ?>"/>
|
|
<input type="hidden" name="<?php print session_name()?>3" value="<?php print session_id() ?>"/>
|
|
<input type="hidden" name="email3" value="<?php print $email; ?>"/>
|
|
<input type="hidden" name="mdpcli3" value="<?php print $mdpcli; ?>"/>
|
|
<input type="hidden" name="verifmdpcli3" value="<?php print $mdpcli; ?>"/>
|
|
<input type="hidden" name="logincli3" value="<?php print $logincli; ?>"/>
|
|
<input type="hidden" name="typecli" value="<?php print $typecli; ?>"/>
|
|
<input type="submit" value="Modifier"/>
|
|
</p>
|
|
<p align="center"></p>
|
|
</div>
|
|
</form> </td>
|
|
</tr>
|
|
<?php
|
|
}
|
|
?>
|
|
</table>
|
|
</div>
|
|
</body>
|
|
</html>
|