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 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642
|
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<title>VMFLOC serigraphie, flocage, t-shirts, personnalisation, objets pubicitaires - Devis en ligne.</title>
<META http-equiv ="Content-Script-Type" content ="text/javascript">
<META http-equiv ="Content-Style-Type" content ="text/css">
<meta name ="verify-v1" content ="S3EoPzeJ7tb/YoV3e5IIb3P64r534lO7giP+sgtnZUM =">
<link rel="stylesheet" href="style.css" type="text/css" />
<script type="text/javascript">
<!--
function open_infos()
{
width = 600;
height = 300;
if(window.innerWidth)
{
var left = (window.innerWidth-width)/2;
var top = (window.innerHeight-height)/2;
}
else
{
var left = (document.body.clientWidth-width)/2;
var top = (document.body.clientHeight-height)/2;
}
window.open('accueil_2.php','Partenaire','menubar=no, scrollbars=no, top='+top+', left='+left+', width='+width+', height='+height+'');
}
-->
</script>
<style>
.Style1 {font-size: 12px}
.Style2 {font-size: 14px}
.Style4 {font-size: 12px; color: #FFFFFF; }
.Style5 {font-weight: bold}
.Style6 {
font-size: 14px;
color: #FFFFFF;
font-weight: bold;
}
.Style8 {
font-size: 12px;
font-weight: bold;
color: #FFFFFF;
}
</style>
</head>
<body>
<table width="900" align="center" border="0" cellpadding="0" cellspacing="0">
<tr >
<td><?php include ('header.php') ; ?></td>
</tr>
<td align="center" ><h2>POUR OBTENIR UN DEVIS RAPIDE</h2></td>
</tr>
<tr>
<td align="center" ><span class="Style2">Faites nous part de votre besoin dans le formulaire ci-dessous.</span></td>
</tr>
<tr>
<td> </td>
</tr>
<tr>
<?php
$selected = isset( $_POST['manchetsh'] ) ? $_POST['manchetsh'] : "" ;
$selectedValue = 'selected="selected"';
$selected2 = isset( $_POST['couleurtsh'] ) ? $_POST['couleurtsh'] : "" ;
$selectedValue2 = 'selected="selected"';
$selected3 = isset( $_POST['manchetsf'] ) ? $_POST['manchetsf'] : "" ;
$selectedValue3 = 'selected="selected"';
$selected4 = isset( $_POST['couleurtsf'] ) ? $_POST['couleurtsf'] : "" ;
$selectedValue4 = 'selected="selected"';
$selected5 = isset( $_POST['manchepol'] ) ? $_POST['manchepol'] : "" ;
$selectedValue5 = 'selected="selected"';
$selected6 = isset( $_POST['couleurpol'] ) ? $_POST['couleurpol'] : "" ;
$selectedValue6 = 'selected="selected"';
$selected7 = isset( $_POST['manchechemh'] ) ? $_POST['manchechemh'] : "" ;
$selectedValue7 = 'selected="selected"';
$selected8 = isset( $_POST['couleurchemh'] ) ? $_POST['couleurchemh'] : "" ;
$selectedValue8 = 'selected="selected"';
$selected9 = isset( $_POST['manchechemf'] ) ? $_POST['manchechemf'] : "" ;
$selectedValue9 = 'selected="selected"';
$selected10 = isset( $_POST['couleurchemf'] ) ? $_POST['couleurchemf'] : "" ;
$selectedValue10 = 'selected="selected"';
?>
<?php
/*
Envoi de formulaire sans javascript avec pièce jointe
Variables à modifier selon paramètres et besoins :
*/
# le nom de page (et titre) change en fonction des événements
$pageName = "Formulaire de contact";
# en-tête de l'objet du mail (option: vide)
$entete = "[Demande de devis]";
# email du webmestre
$destinataire = "XXX@vmfloc.com";
# envoi en copie carbone (option: vide)
$email_cc = "";
# envoi en copie cachée (option: vide)
$email_bcc = "";
# emplacement de la feuille de styles
$cssform = "";
# options de pièce jointe
# répertoire temporaire d'upload (option: vide ou $rep inconnu)
# NB. le répertoire "upload" doit être créé sur le serveur (en FTP)
$rep = "upload/"; // ne pas oublier le slash /
# taille max de la pièce jointe (multiple de 1024)
$taillemax = 10240000000;
# menu déroulant pour l'objet (option: vide)
# ajout d'option : 'n'=>'Choix 1', 'n+1'=>'Choix 2',
# la première ligne (optionnelle) impose un choix
$objets = array(
0 => 'Choisissez',
1 => 'Envois de dessins',
2 => 'Envois de profil et de dessins',
3 => 'Autre',
);
# choix du mode de confirmation d'envoi
# true ou 1 = redirection vers $pageconfirme
# false ou 0 = affichage du résumé du message
$redirection = false;
# si $redirection = true ou 1
# page vers laquelle rediriger l'internaute
$pageconfirme = "devis.php";
/*
fin des modifications
*/
$erreur = false;
$message = false;
$focus = 0;
# l'utilisateur a validé le formulaire
if (!empty($_POST)) {
# vérification des champs requis (Nom, Objet, Message, Email ou Tel)
if (empty($_POST['Tel'])) {
$erreur = " Saisir téléphone SVP";
$focus= 10;
# vérification du téléphone (sans espaces)
} elseif (!is_numeric(str_replace(" ","",$_POST['Tel']))) {
$erreur = "Téléphone non conforme";
$_POST['Tel'] = "";
$focus = 6;
}
# email et tel sont vides : pas glop !
if (empty($_POST['Email'])) {
$erreur = "Saisir email SVP";
$focus = 4;
}
# vérification de l'email non vide
elseif (!empty($_POST['Email'])) {
if(!preg_match('`^[[:alnum:]]([-_.]?[[:alnum:]])*@[[:alnum:]]([-_.]?[[:alnum:]])*\.([a-z]{2,4})$`',$_POST['Email'])) {
$erreur = "Email non conforme";
$_POST['Email'] = "";
$focus = 5;
}}
if (empty($_POST['Email2']) && !empty($_POST['Email'])) {
$erreur = "Saisir email SVP";
$focus = 14;
}
# vérification de l'email non vide
elseif (!empty($_POST['Email2'])) {
if(!preg_match('`^[[:alnum:]]([-_.]?[[:alnum:]])*@[[:alnum:]]([-_.]?[[:alnum:]])*\.([a-z]{2,4})$`',$_POST['Email2'])) {
$erreur = "Email non conforme";
$_POST['Email2'] = "";
$focus = 15;
}}
if ($_POST['Email'] !=$_POST['Email2']) {
$erreur="Le champ de confirmation d'email est vide ou différent de la 1ere saisie";
}
/*
?>
<script type="text/javascript">
if (document.getElementById("email").value != document.getElementById("email2")) {
alert ("Les emails ne sont pas identiques !");
return false;
}
</script>
<?php
*/
if (empty($_POST['Nom'])) {
$erreur = "Merci de renseigner votre nom";
$focus = 3;
}
if (empty($_POST['Societe'])) {
$erreur = "Merci de renseigner le champ Société";
$focus = 8; // modification couleur du champ de saisie concerné
}
if (empty($_POST['Message']) && $qtetsh==0 && $qtetsf==0 && $qtepol==0 && $qtechemh==0 && $qtechemf==0 ){
$erreur ="Merci d'indiquer un modèle et une quantité ou de mentionner vos besoins dans le cadre informations.";
$focus = 20;
}
if ($manchetsh!='----' && $qtetsh==0) {
$erreur = "Vous n'avez pas indiqué le nombre de Tee Shirts Homme";
} else if ($manchetsh=='----' && $qtetsh!=0) {
$erreur = "Vous n'avez pas indiqué le modèle de Tee Shirt Homme";
}
else if ($manchetsf!='----' && $qtetsf==0) {
$erreur = "Vous n'avez pas indiqué le nombre de Tee Shirts Femme";
} else if ($manchetsf=='----' && $qtetsf!=0) {
$erreur = "Vous n'avez pas indiqué le modèle de Tee Shirt Femme";
}
else if ($manchepol!='----' && $qtepol==0) {
$erreur = "Vous n'avez pas indiqué le nombre de Polos";
} else if ($manchepol=='----' && $qtepol!=0) {
$erreur = "Vous n'avez pas indiqué le modèle de Polo";
}
else if ($manchechemh!='----' && $qtechemh==0) {
$erreur = "Vous n'avez pas indiqué le nombre de chemises Homme";
} else if ($manchechemh=='----' && $qtechem!=0) {
$erreur = "Vous n'avez pas indiqué le modèle de chemise Homme";
}
else if ($manchechemf!='----' && $qtechemf==0) {
$erreur = "Vous n'avez pas indiqué le nombre de chemises Femme";
} else if ($manchechemf=='----' && $qtechemf!=0) {
$erreur = "Vous n'avez pas indiqué le modèle de chemise Femme";
}
# pièce jointe (nouveauté 12.10.2005)
$piecejointe = "";
if(!$erreur && strlen($_FILES['Fichier']['name'])) {
$fichier = $_FILES['Fichier'];
# upload du fichier sur le serveur
$temp = $fichier['tmp_name'];
$name = $fichier['name'];
$size = $fichier['size'];
$destination = $rep.$name;
if($size > $taillemax)
$erreur = "Taille du fichier $name > ".(int)($taillemax/10000)." Ko";
elseif(!@is_uploaded_file($temp))
$erreur = "Téléchargement du fichier $name impossible";
elseif(!@move_uploaded_file($temp, $destination))
$erreur = "Problème de transfert du fichier $name";
if($erreur) $focus = 7;
else {
# lecture du type de fichier
if(!function_exists('mime_content_type')) {
function mime_content_type($fichier) {
# ajouter autant de combinaisons que souhaitées
$mime = array(
'.gif' => 'image/gif',
'.jpg' => 'image/jpeg',
'.psd' => 'image/x-xwd',
'.png' => 'image/png',
'.txt' => 'text/plain',
'.doc' => 'application/msword',
'.xls' => 'application/vnd.ms-excel',
);
# par défaut
if(!$type = $mime[strrchr($fichier,'.')]) $type = "application/octet-stream";
return $type;
}
}
/*
pour utiliser mime_content_type()
éditer le fichier php.ini et enlever le commentaire sur :
extension=php_mime_magic.dll
sous Windows ajouter ces 2 lignes :
mime_magic.debug = On
mime_magic.magicfile = "c:\chemin_du_fichier\magic.mime"
NB : fonction non activée chez OVH
*/
$mimetype = mime_content_type($destination);
# lecture et conversion du fichier
if($openf = @fopen($destination, "rb")) {
$fichier = fread($openf, filesize($destination));
@fclose($openf);
# encodage norme RFC 2045
$piecejointe = chunk_split(base64_encode($fichier));
} else {
$erreur = "Problème de lecture du fichier $name";
$focus = 7;
}
}
}
# pas d'erreur donc on continue
if(!$erreur) {
# traitement du tableau $_POST qui contient les paires name => value
$message_final = "";
foreach($_POST as $key => $value) {
# la deuxième partie du test passe les champs non désirés dans le mail
# pour passer d'autres champs les séparer par |
if (strlen($value) && !eregi("(MAX_FILE_SIZE|Objet)", $key))
$message_final .= "$key : ".strip_tags($value)."\n";
}
# formatage du message de confirmation affiché (option)
# conversion des sauts de ligne et des caractères spéciaux
$message = ereg_replace("(\n|\r|\r\n)", "<br>", htmlentities($message_final));
# si $objets est un tableau : Objet = select donc index = $_POST['Objet']
if(is_array($objets))
$objet = "$entete ".$objets[$_POST['Objet']];
# sinon Objet = input donc en français dans le texte !
else
$objet = "$entete ".$_POST['Objet'];
# si l'email n'est pas renseigné on le remplace par celui
# du destinataire, en ajoutant une alerte au message
$final_mail = $_POST['Email'];
if(empty($_POST['Email'])) {
$final_mail = $destinataire;
$message_final .= "\nNe pas répondre par mail : email absent.\n";
}
# en-têtes
$headers = "From: ".$final_mail;
if(strlen($email_cc))
$headers .= "\nCC: ".$email_cc;
if(strlen($email_bcc))
$headers .= "\nBCC: ".$email_bcc;
# hôte expéditeur
$message_final .= "Hôte : ".gethostbyaddr($_SERVER['REMOTE_ADDR']);
# si pièce jointe on ajoute l'en-tête spécifique avec séparateurs
if(strlen($piecejointe)) {
$boundary = "/-------".md5(uniqid(rand()))."-------/"; // séparateur
$headers .= "\nMIME-Version: 1.0\nContent-Type: multipart/mixed; boundary=\"$boundary\"\n";
$message_final =
"This is a multi-part message in MIME format.\n--$boundary\n".
"Content-Type: text/plain; charset=ISO-8859-1\n".
"Content-Transfer-Encoding: 7bit\n\n".
"$message_final\n\n--$boundary\n".
"Content-Type: $mimetype; name=\"$name\"\n".
"Content-Transfer-Encoding: base64\n".
"Content-Disposition: attachment; filename=\"$name\"\n\n".
"$piecejointe\n--".
$boundary."--\n";
}
# envoi du mail
if (@mail($destinataire, stripslashes($objet), stripslashes($message_final), $headers)) {
@unlink($destination); // suppression de la pièce jointe
if($redirection) {
# NB : traiter $_GET['mailOK'] dans $pageconfirme
@header("Location: ".$pageconfirme."?mailOK=1");
exit;
}
$pageName = "Le mail a été envoyé !";
} else {
$pageName = "Echec !";
$erreur = "Echec de l'envoi ! Merci d'essayer encore SVP";
}
} else {
$pageName = "Erreur de saisie !";
} // if(!$erreur)
} else {
$_POST = false;
} // if ($_POST)
?>
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<title><?php echo $pageName?></title>
<meta http-equiv="Content-Type" content="text/html; charset=iso-8859-1">
<!--debut tableau devis-->
<td><form name="formulaire" action="<? echo $_SERVER['PHP_SELF']?>" method="post" enctype="multipart/form-data">
<table align="center" width="800" bgcolor="#006599" border="0" cellspacing="0" cellpadding="0">
<?php if (!$_POST || $erreur) { ?>
<?php if (!$erreur) { ?>
<h4></h4>
<p></p>
<?php } else { ?>
<p class="alerte"><?php echo $erreur?></p>
<?php } ?>
<tr>
<td height="30"><span class="Style6"> Vous avez besoin de...</span></td>
</tr>
<tr>
<td colspan="4"><table cellpadding="0" cellspacing="0" bgcolor="3399ff" border="0">
<tr>
<td><table cellpadding="0" cellspacing="0" width="800" border="0" bgcolor="006599">
<tr align="center" height="40">
<td width="25%" ><span class="Style6">Produits</span></td>
<td width="25%" ><span class="Style6">Modèles</span></td>
<td width="25%" ><span class="Style6">Couleurs</span></td>
<td width="25%" ><span class="Style6">Quantité</span></td>
</tr>
<tr>
<td colspan="5" bgcolor="adb7d5"></td>
</tr>
<tr height="30">
<td align="left"><span class="Style8"> T-shirts homme</span></td>
<td align="center"><font size="2">
<select name="manchetsh">
<option>----</option>
<option value="manches courtes" <?php if( $selected == "manches courtes" ) echo $selectedValue ?>>manches courtes</option>
<option value="manches longues" <?php if( $selected == "manches longues" ) echo $selectedValue ?>>manches longues</option>
<option value="sans manche" <?php if( $selected == "sans manche" ) echo $selectedValue ?>>sans manche</option>
<option value="débardeurs" <?php if( $selected == "débardeurs" ) echo $selectedValue ?>>débardeurs</option>
</select>
</font> </td>
<td align="center"><font size="2">
<select name="couleurtsh">
<option value="blancs" <?php if( $selected2 == "blancs" ) echo $selectedValue2 ?>>blancs</option>
<option value="couleurs" <?php if( $selected2 == "couleurs" ) echo $selectedValue2 ?>>couleurs</option>
</select>
</font> </td>
<td align="center"><font size="2">
<input type="text"<?php if($focus == 20) echo "class=\"focus\"";?> name="qtetsh" value="<?php echo htmlentities($_POST['qtetsh'], ENT_QUOTES);?>" size="5">
</font> </td>
</tr>
<tr height="30">
<td align="left"><span class="Style8"> T-shirts femme</span></td>
<td align="center"><font size="2">
<select name="manchetsf">
<option>----</option>
<option value="manches courtes" <?php if( $selected3 == "manches courtes" ) echo $selectedValue3 ?>>manches courtes</option>
<option value="manches longues" <?php if( $selected3 == "manches longues" ) echo $selectedValue3 ?>>manches longues</option>
<option value="sans manche" <?php if( $selected3 == "sans manche" ) echo $selectedValue3 ?>>sans manche</option>
<option value="débardeurs" <?php if( $selected3 == "débardeurs" ) echo $selectedValue3 ?>>débardeurs</option>
</select>
</font> </td>
<td align="center"><font size="2">
<select name="couleurtsf">
<option value="blancs" <?php if( $selected4 == "blancs" ) echo $selectedValue4 ?>>blancs</option>
<option value="couleurs" <?php if( $selected4 == "couleurs" ) echo $selectedValue4 ?>>couleurs</option>
</select>
</font> </td>
<td align="center"><font size="2">
<input type="text"<?php if($focus == 21) echo "class=\"focus\"";?> name="qtetsf" value="<?php echo htmlentities($_POST['qtetsf'], ENT_QUOTES);?>" size="5">
</font> </td>
</tr>
<tr height="30">
<td align="left"><span class="Style8"> Polos</span></td>
<td align="center"><font size="2">
<select name="manchepol">
<option>----</option>
<option value="manches courtes" <?php if( $selected5 == "manches courtes" ) echo $selectedValue5 ?>>manches courtes</option>
<option value="manches longues" <?php if( $selected5 == "manches longues" ) echo $selectedValue5 ?>>manches longues</option>
</select>
</font> </td>
<td align="center"><font size="2">
<select name="couleurpol">
<option value="blancs" <?php if( $selected6 == "blancs" ) echo $selectedValue6 ?>>blancs</option>
<option value="couleurs" <?php if( $selected6 == "couleurs" ) echo $selectedValue6 ?>>couleurs</option>
</select>
</font> </td>
<td align="center"><font size="2">
<input type="text"<?php if($focus == 22) echo "class=\"focus\"";?> name="qtepol" value="<?php echo htmlentities($_POST['qtepol'], ENT_QUOTES);?>" size="5">
</font> </td>
</tr>
<tr height="30">
<td align="left" ><span class="Style8"> Chemises homme</span></td>
<td align="center"><font size="2">
<select name="manchechemh">
<option>----</option>
<option value="manches courtes" <?php if( $selected7 == "manches courtes" ) echo $selectedValue7 ?>>manches courtes</option>
<option value="manches longues" <?php if( $selected7 == "manches longues" ) echo $selectedValue7 ?>>manches longues</option>
</select>
</font> </td>
<td align="center"><font size="2">
<select name="couleurchemh">
<option value="blancs" <?php if( $selected8 == "blancs" ) echo $selectedValue8 ?>>blancs</option>
<option value="couleurs" <?php if( $selected8 == "couleurs" ) echo $selectedValue8 ?>>couleurs</option>
</select>
</font> </td>
<td align="center"><font size="2">
<input type="text"<?php if($focus == 23) echo "class=\"focus\"";?> name="qtechemh" value="<?php echo htmlentities($_POST['qtechemh'], ENT_QUOTES);?>" size="5">
</font> </td>
</tr>
<tr height="30">
<td align="left" ><span class="Style8"> Chemises femme</span></td>
<td align="center"><font size="2">
<select name="manchechemf">
<option>----</option>
<option value="manches courtes" <?php if( $selected9 == "manches courtes" ) echo $selectedValue9 ?>>manches courtes</option>
<option value="manches longues" <?php if( $selected9 == "manches longues" ) echo $selectedValue9 ?>>manches longues</option>
</select>
</font> </td>
<td align="center"><font size="2">
<select name="couleurchemf">
<option value="blancs" <?php if( $selected10 == "blancs" ) echo $selectedValue10 ?>>blancs</option>
<option value="couleurs" <?php if( $selected10 == "couleurs" ) echo $selectedValue10 ?>>couleurs</option
></select>
</font> </td>
<td align="center"><font size="2">
<input type="text"<?php if($focus == 24) echo "class=\"focus\"";?> name="qtechemf" value="<?php echo htmlentities($_POST['qtechemf'], ENT_QUOTES);?>" size="5">
</font> </td>
</tr>
</table></td>
</tr>
</table></td>
</tr>
<tr>
<td colspan="4"><img src="images/separateur.jpg"></td>
</tr>
<tr>
<td height="10" colspan="4"><span class="Style8"> Si vous souhaitez un produit qui ne figure pas dans cette liste, cliquez</span> <a href="#null" class="devis1" onclick="javascript:open_infos();">ICI </a> </td>
</tr>
<tr>
<td width="25%" ><span class="Style8"> Autres informations :</span></td>
<td colspan="3"><label for="message"></label>
<textarea rows="3" cols="60" id="message" name="Message"><?php if($focus == 1) echo "class=\"focus\"";?><?php echo htmlentities(stripslashes($_POST['Message']))?></textarea></td>
</tr>
<tr>
<td colspan="4" height="10"><img src="images/separateur.jpg"></td>
</tr>
<tr>
<td><span class="Style6"> IMPRESSION :</span></td>
<td width="25%" align="left"><input type="radio" name="face" value="1" checked>
<span class="Style6"> 1 face</span> </td>
<td colspan="2" align="left"><span class="Style6">Nombre de couleurs de votre motif</span> </td>
</tr>
<tr>
<td> </td>
<td align="left"><input type="radio" name="face" value="2">
<span class="Style6"> 2 faces</span></td>
<td align="left"><span class="Style6">Motif 1 : </span>
<input type="text" size="5" name="nbCouleurI1"></td>
<td align="left"><span class="Style6">Motif 2 : </span>
<input type="text" size="5" name="nbCouleurI2"></td>
</tr>
<tr>
<td><span class="Style6"> LOCALISATION : </span></td>
<td align="left"><input type="radio" name="local" value="1" checked>
<span class="Style6"> Coeur</span> </td>
<td colspan="2" align="center"><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font> </td>
</tr>
<tr>
<td> </td>
<td align="left"><input type="radio" name="local" value="2" >
<span class="Style6"> Poitrine</span></td>
<td><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font></td>
<td><font color="#000000" size="2" face="Verdana, Arial, Helvetica, sans-serif"> </font> </td>
</tr>
<tr>
<td colspan="4"><img src="images/separateur.jpg"></td>
</tr>
<tr>
<td colspan="2"><span class="Style6"> Vous pouvez nous envoyer votre logo, photo :</span></td>
<td colspan="2"><label for="fichier"></label>
<input type="hidden" name="MAX_FILE_SIZE" value="<? echo $taillemax?>">
<input name="Fichier" type="file" class="item_price" id="fichier" size="35" <? if($focus == 7) echo "class=\"focus\"";?>></td>
</tr>
<tr>
<td colspan="4"><span class="Style6"> Si vous souhaitez plusieurs photos, mentionnez le dans la partie commentaire, nous vous contacterons.</span></td>
</tr>
<tr>
<td colspan="4"><span class="Style8"> (Merci de nous envoyer les images aux formats jpg ou gif.)</span></td>
</tr>
<tr>
<td height="20" colspan="4"></td>
</tr>
<tr>
<td colspan="4"><span class="Style6"> Merci de
nous indiquer vos coordonnées :</span></td>
</tr>
<tr>
<td height="20" colspan="4"> </td>
</tr>
<tr>
<td><span class="Style6"> Société :</span></td>
<td colspan="3" align="left"><label for="societe"></label>
<input size="28" id="societe" <?php if($focus == 8) echo "class=\"focus\"";?> name="Societe" maxlength="30" value="<?php echo htmlentities($_POST['Societe'], ENT_QUOTES);?>">
<span class="Style8">* (si vous êtes un particulier, mentionnez le ici) </span></td>
</tr>
<tr>
<td><span class="Style6"> Nom :</span></td>
<td colspan="3" align="left"><label for="nom"></label>
<input size="28" id="nom" <?php if($focus == 3) echo "class=\"focus\"";?> name="Nom" maxlength="30" value="<?php echo htmlentities($_POST['Nom'], ENT_QUOTES);?>">
<span class="Style6">*</span></td>
</tr>
<tr>
<td><span class="Style6"> Email :</span></td>
<td colspan="3" align="left"><label for="email"></label>
<input size="28" id="email" <? if($focus == 5 || $focus == 4) echo "class=\"focus\"";?> name="Email" maxlength="60" value="<? echo htmlentities($_POST['Email'], ENT_QUOTES)?>">
<span class="Style6">*</span></td>
</tr>
<tr>
<td><span class="Style6"> Confirmez votre Email :</span></td>
<td colspan="3" align="left"><label for="email2"></label>
<input size="28" id="email2" <? if($focus == 15 || $focus == 14) echo "class=\"focus\"";?> name="Email2" maxlength="60" value="<? echo htmlentities($_POST['Email2'], ENT_QUOTES)?>">
<span class="Style6">*</span></td>
</tr>
<tr>
<td><span class="Style6"> Téléphone :</span></td>
<td colspan="3" align="left"><label for="telephone"></label>
<input size="28" id="tel" <? if($focus == 6 || $focus == 4) echo "class=\"focus\"";?> name="Tel" maxlength="20" value="<? echo htmlentities($_POST['Tel'])?>">
<span class="Style6">*</span></td>
</tr>
<tr>
<td><span class="Style8"> * champs requis</span></td>
<td align="center"><input type="submit" class="boutique_bouton" onClick="return validForm();" value="Demande de devis"></td>
<td colspan="2"> </td>
</tr>
<tr>
<td colspan="4"> </td>
</tr>
</table>
<br>
<input type="hidden" name="objet_page" value="Contact">
</form></td>
</tr>
<tr><td><?php } elseif($message) { ?>
<h3>Votre message a été envoyé !</h3>
<p><a href="index.php">Cliquez ici</a> pour revenir en page d'accueil.</p>
<?php } ?>
<?php include ('footer.php') ; ?></td></tr>
</table>
</body>
</html> |
Partager