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 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194
|
<?
$societe=($societe);
$nom=($nom);
$prenom=($prenom);
$fonction=($fonction);
$adresse=($adresse);
$cp=($cp);
$ville=($ville);
$fax=($fax);
$port=($port);
$tel=($tel);
$mail=($mail);
$siteweb=($siteweb);
$activite=($activite);
$date=($date);
$objectif=($objectif);
$commentaires=($commentaires);
$lu=($lu);
$web=($web);
$heb=($heb);
if ($web== 580)
{ $valheb = 348 ;
$nomheb = " + hebergement à 29 HT par mois pendant 12 mois soit 348 HT ";
$nomweb = " Pack Web Premier à 580 HT";
$image = "IMAGES/picto_web_580.gif";
}
if ($web== 1490)
{ $valheb = 708 ;
$nomheb = " + hebergement à 59 HT par mois pendant 12 mois soit 708 HT ";
$nomweb = " Pack Web Pro à 1490 HT";
$image = "IMAGES/picto_web_1490.gif";
}
if ($heb=="oui")
{ $montant = $web + $valheb;
$nomprest = $nomweb.$nomheb;
if ($web==580) {
$image ="IMAGES/picto_web_580_heb.gif";}
if ($web==1490) {
$image ="IMAGES/picto_web_1490_heb.gif";}
}
else {
$montant = $web;
$nomprest = $nomweb;
}
$datejour=date ("d/m/Y");
$heure = date("H");
$min = date("i");
$mail1="xxxxxxxxx@xxxx.com";
$mail2="yyyyyyyy@yyyyy.com";
$mail3="zzzzzzzzzz@zzzz.com";
$sujet="Un formulaire de commande Pack Web a été saisi";
$b=" ";
$corps="Bonjour à tous,\r\n\r\nUn prospect vient de saisir un formulaire de commande Pack Web le $datejour à $heure:$min. \r\n\r\n\Société : $societe\r\nNom : $nom\r\nPrénom : $prenom\r\nFonction : $fonction\r\nAdresse : $adresse\r\nLocalité : $cp$b$ville\r\nTél. : $tel\r\nMail : $mail\r\nPort : $port\r\nFax : $fax\r\nSite web : $siteweb\r\nActivité : $activite\r\n
Date souhaitée : $date\r\nObjectifs : $objectif\r\nCommentaires : $commentaires\r\nA lu les CGV : $lu\r\nPack web commandé : $web\r\nHebergement commandé : $heb\r\n";
$corps=stripslashes($corps);
// Création de l'entête du message
// cette entete contient l'email de l'expéditeur ainsi que l'email pour la réponse.
$entete="From: $mail\r\nReply-To: $mail";
// envoi du mail
mail ($mail1,$sujet,$corps,$entete);
mail ($mail2,$sujet,$corps,$entete);
mail ($mail3,$sujet,$corps,$entete);
?>
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1" />
<title>PACK WEB - COMMANDE</title>
<link href="gbnb.css" rel="stylesheet" type="text/css" />
<style type="text/css">
<!--
body {
scrollbar-base-color:#C693BE;
scrollbar-3dlight-color:#FFFFFF;
scrollbar-arrow-color:#FFFFFF;
scrollbar-darkshadow-color:#C693BE;
scrollbar-face-color:#C693BE;
scrollbar-highlight-color:#C693BE;
scrollbar-shadow-color:#FFFFFF;
scrollbar-track-color:#C693BE;
}
-->
</style>
<script type="text/JavaScript">
<!--
function MM_openBrWindow(theURL,winName,features) { //v2.0
window.open(theURL,winName,features);
}
//-->
</script>
</head>
<body>
<p> </p>
<table width="771" border="0" align="center" cellpadding="0" cellspacing="0">
<tr>
<td height="75" colspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="771" height="75">
<param name="movie" value="FLASH/menu_web.swf" />
<param name="quality" value="high" />
<embed src="FLASH/menu_web.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="771" height="75"></embed>
</object></td>
</tr>
<tr>
<td width="306" height="344" rowspan="2"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" codebase="http://download.macromedia.com/pub/shockwave/cabs/flash/swflash.cab#version=7,0,19,0" width="306" height="344">
<param name="movie" value="FLASH/anim_gauche-web.swf" />
<param name="quality" value="high" />
<embed src="FLASH/anim_gauche-web.swf" quality="high" pluginspage="http://www.macromedia.com/go/getflashplayer" type="application/x-shockwave-flash" width="306" height="344"></embed>
</object></td>
<td width="465" height="319" align="center" background="GIF/aplat-pack-web.gif"><table width="420" border="0" cellpadding="0" cellspacing="0">
<tr>
<td height="50" align="left" class="titre_rubrique">PACKS WEB <span class="titre_rubrique_petit">> Commande en ligne > Validation</span><a href="#"></a></td>
</tr>
</table>
<table width="400" border="0" cellspacing="0" cellpadding="0">
<tr>
<td><form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post" >
<table width="420" border="0" cellspacing="0" cellpadding="0">
<tr>
<td width="192" valign="middle"><input name="submit2" type="image" src="GIF/ajouter_panier_web.gif" alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et sécurisée" align="middle" border="0" /></td>
<td colspan="2"><img src="<? echo $image ?>" width="193" height="192" /><br />
<img alt="" border="0" src="https://www.paypal.com/fr_FR/i/scr/pixel.gif" width="1" height="1" />
<input type="hidden" name="add" value="1" />
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="xxxxxxxx@xxxxx.com" />
<input type="hidden" name="item_name" value="<? echo $nomprest ?>" />
<input type="hidden" name="amount" value="<? echo $montant ?>" />
<input type="hidden" name="page_style" value="Primary" />
<input type="hidden" name="no_shipping" value="1" />
<input type="hidden" name="return" value="http://www.gbnb.com/new_gbnb/pack-web_commande.html" />
<input type="hidden" name="cancel_return" value="http://www.gbnb.com/new_gbnb/pack-web_commande.html" />
<input type="hidden" name="no_note" value="1" />
<input type="hidden" name="currency_code" value="EUR" />
<input type="hidden" name="lc" value="FR" />
<input type="hidden" name="bn" value="PP-ShopCartBF" /></td>
</tr>
</table>
</form></td>
</tr>
</table></td>
</tr>
<tr>
<td width="465" height="25"><table width="465" height="25" border="0" cellpadding="0" cellspacing="0">
<form target="paypal" action="https://www.paypal.com/cgi-bin/webscr" method="post">
<input type="hidden" name="cmd" value="_cart" />
<input type="hidden" name="business" value="xxxxxxx@xxxxxx.com" />
<tr>
<td width="167" height="19"><img src="GIF/menu_bas/menu_bas_01.gif" width="167" height="25" /></td>
<td width="101"><input type="image" src="GIF/menu_bas/menu_bas_02.gif" border="0" name="submit" alt="Effectuez vos paiements via PayPal : une solution rapide, gratuite et sécurisée" /></td>
<td width="25"><img src="GIF/menu_bas/menu_bas_03.gif" width="25" height="25" /></td>
<td width="43"><img src="GIF/menu_bas/menu_bas_04.gif" width="43" height="25" /></td>
<td width="10"><img src="GIF/menu_bas/menu_bas_05.gif" width="21" height="25" /></td>
<td width="89"><a href="mailto:contact_entreprises@gbnb.com" target="_blank"><img src="GIF/menu_bas/menu_bas_06.gif" alt="Contactez nous" width="96" height="25" border="0" /></a></td>
<td width="30"><img src="GIF/menu_bas/menu_bas_07.gif" width="12" height="25" /></td>
</tr>
<input type="hidden" name="display" value="1" />
<input type="hidden" name="page_style" value="Primary" />
</form>
</table>
<script type="text/javascript" src="ieupdate.js"></script>
</td>
</tr>
<tr>
<td height="74" colspan="2" align="center" background="IMAGES/gbnb-mailing-fax-logo-print.gif"><table width="599" height="46" border="0" cellpadding="0" cellspacing="0">
<tr>
<td align="right"><span class="raison-sociale">79 rue Lazare Carnot - 92140 Clamart - Tél. : 01 46 45 35 02<br />
</span><a href="mailto:contact_entreprises@gbnb.com" class="lien_raison-sociale">contact_entreprises@gbnb.com</a><span class="raison-sociale"> ou </span><a href="mailto:contact_collectivites@gbnb.com" class="lien_raison-sociale">contact_collectivites@gbnb.com</a></td>
</tr>
</table></td>
</tr>
</table>
</body>
</html> |
Partager