IdentifiantMot de passe
Loading...
Mot de passe oublié ?Je m'inscris ! (gratuit)
Navigation

Inscrivez-vous gratuitement
pour pouvoir participer, suivre les réponses en temps réel, voter pour les messages, poser vos propres questions et recevoir la newsletter

Langage PHP Discussion :

formulaire de contact


Sujet :

Langage PHP

  1. #1
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut formulaire de contact
    Bonjour,
    j'ai passé des heures à trouver la solution, mais rien a faire je ne trouve pas la solution.
    je suis novice dans ce domaine, le MYSQL est bien activé sur mon serveur, mais quand je vais sur mon site et que je remplis mon formulaire de contact, je clique sur envoyer, le message est bien parti mais Où ???.
    Je n'ai reçu aucun récépissé d'envoi dans ma messagerie.
    je ne sais pas comment bien configurer mon formulaire pour que je puisse recevoir mes contacts.
    Je pense qu'il me faut les codes en PHP pour que cela puisse fonctionner correctement.
    Si quelqu'un peut me venir en aide, je l'en remercie d'avance.

    Bien Cordialement à vous.

  2. #2
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Par défaut
    Poste nous le code de la page de ton formulaire si tu veux qu'on t'aide...

    Est-ce que tu as configuré le SMTP de ton serveur web ?
    Je ne suis pas schizophrène, nous sommes unanime !!!

    ► Pensez à la balise code et au CODE HTML GENERE !!!!
    ► Au si c'est le cas et au à ceux qui vous ont aidé.
    Vous souhaitez participer aux rubriques CSS et (X)HTML ? Contactez-nous !

    Créer des colonnes de même hauteur en CSS
    Glossaire CSS
    Les bordures en CSS3
    Les transitions en CSS3

  3. #3
    Invité
    Invité(e)
    Par défaut
    Bonjour,
    Ta question est imprécise, pourquoi parles tu de MySql ?
    Part de ton formulaire, et lis le topo sur les login et l'enregistrement de membres en PHP.
    Bon courage
    Christele

  4. #4
    Rédacteur/Modérateur
    Avatar de andry.aime
    Homme Profil pro
    Inscrit en
    Septembre 2007
    Messages
    8 391
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : Ile Maurice

    Informations forums :
    Inscription : Septembre 2007
    Messages : 8 391
    Par défaut
    Bonsoir,

    As tu déjà fait du php?
    Si oui : http://a-pellegrini.developpez.com/tutoriels/php/mail/.
    Si non, passe par ici d'abord http://sylvie-vauthier.developpez.co...rand-debutant/.

    A+.

  5. #5
    Membre éclairé Avatar de janyoura
    Femme Profil pro
    étudiante ingénierie informatique
    Inscrit en
    Mars 2012
    Messages
    365
    Détails du profil
    Informations personnelles :
    Sexe : Femme
    Localisation : Tunisie

    Informations professionnelles :
    Activité : étudiante ingénierie informatique

    Informations forums :
    Inscription : Mars 2012
    Messages : 365
    Par défaut
    bonsoir,
    je pense qu'il y a une erreur lors de la requête d'insertion à la base de donnée,
    mais de quel messagerie parlez vous? tout se passe au niveau du code php et la base de donnée que vous utilisez.
    En fournissant le code, nous pourrons t'aider peut être.

  6. #6
    Expert confirmé

    Homme Profil pro
    Développeur Web
    Inscrit en
    Septembre 2010
    Messages
    5 422
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Localisation : France, Puy de Dôme (Auvergne)

    Informations professionnelles :
    Activité : Développeur Web
    Secteur : High Tech - Multimédia et Internet

    Informations forums :
    Inscription : Septembre 2010
    Messages : 5 422
    Par défaut
    Normalement un formulaire de contact se contente d'envoyer un mail sans pour autant enregistrer le message dans une bdd. Ou alors ce serait peut-être plutôt un formulaire d'inscription...

  7. #7
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Par défaut
    Comme je te l'ai dit il y a tout juste 2 minutes, en réponse à ton message privé, poste le code ici.

    On ne répond pas aux questions techniques par MP.

    Merci de ta compréhension.
    Je ne suis pas schizophrène, nous sommes unanime !!!

    ► Pensez à la balise code et au CODE HTML GENERE !!!!
    ► Au si c'est le cas et au à ceux qui vous ont aidé.
    Vous souhaitez participer aux rubriques CSS et (X)HTML ? Contactez-nous !

    Créer des colonnes de même hauteur en CSS
    Glossaire CSS
    Les bordures en CSS3
    Les transitions en CSS3

  8. #8
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut
    Bonjour,

    désoler pour l'envoie de message en MP
    je n'avais pas vue ou se trouver le bouton pour répondre au message.

    Voila mon souci, quand on remplis mon formulaire de contact, je recoie un mail dans ma messagerie exemple ci-dessous:

    "Nom:
    "Prénom:
    "Adresse:
    "Code Postal:
    "Ville:
    "Téléphone:
    "Portable:
    "Plage horaire:
    "Email:


    je reçois que ça ?

    il me manque les champs que j'ai renseigner sur mon formulaire de contact dans ma boite Mail ?

    Mon logiciel est Dreamweaver CS5

    Mon Hebergeur est : 1and1

    connexion MYSQL : Activer

    Dans ID de formulaire dans la rubrique :Action j'ai renseigner : email_form.php

    voici mon script :


    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
    11
    12
    13
    14
    15
    16
    17
    18
    19
    <?php
    $to="123@univers-energies.com";
    $subject=" ";
    $message="Customer name:".$_POST['name']."\r\n".
    "Nom:											".$_POST['nom']."\r\n".
    "Prénom:										".$_POST['prénom']."\r\n".
    "Adresse:										".$_POST['adresse']."\r\n".
    "Code Postal:									".$_POST['code postal']."\r\n".
    "Ville:											".$_POST['ville']."\r\n".
    "Téléphone:										".$_POST['téléphone']."\r\n".
    "Portable:										".$_POST['portable']."\r\n".
    "Plage horaire:									".$_POST['plage horaire']."\r\n".
    "Email:											".$_POST['email']."\r\n".
    "\r\n".
    $from=$_POST['email'];
    $headers="From:$from"."\r\n";
    $headers.="Bcc:123@univers-energies.com"."\r\n";
    mail($to,$subject,$message,$headers);
    ?>
    J'épére que vous allez trouver une solution

    Par avance Merci.

  9. #9
    Invité
    Invité(e)
    Par défaut
    Bonjour,
    Je ne comprends rien
    1) Peux-tu poster tout le <FORM de saisie
    2) Tout le php de reception et envoie du mail
    Mets chaque code séparément en utilisant les balises code (le bouton #
    merci
    Christele

  10. #10
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Par défaut
    Comme le dit christele_r montre nous le code source de ton formulaire généré par le navigateur (firefox : ctrl+u |IE: Affichage -> code source).
    Ou au pire le code de ton formulaire.

    Tu as bien précisé POST comme méthode de ton formulaire ?

    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    <form action="email_form.php" method="post"></form>
    Je ne suis pas schizophrène, nous sommes unanime !!!

    ► Pensez à la balise code et au CODE HTML GENERE !!!!
    ► Au si c'est le cas et au à ceux qui vous ont aidé.
    Vous souhaitez participer aux rubriques CSS et (X)HTML ? Contactez-nous !

    Créer des colonnes de même hauteur en CSS
    Glossaire CSS
    Les bordures en CSS3
    Les transitions en CSS3

  11. #11
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut dede38
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    <?php
    $to="123@univers-energies.com";
    $subject=" ";
    $message="Customer name:".$_POST['name']."\r\n".
    "Nom:											".$_POST['nom']."\r\n".
    "Prénom:										".$_POST['prénom']."\r\n".
    "Adresse:										".$_POST['adresse']."\r\n".
    "Code Postal:									".$_POST['code postal']."\r\n".
    "Ville:											".$_POST['ville']."\r\n".
    "Téléphone:										".$_POST['téléphone']."\r\n".
    "Portable:										".$_POST['portable']."\r\n".
    "Plage horaire:									".$_POST['plage horaire']."\r\n".
    "Email:											".$_POST['email']."\r\n".
    "\r\n".
    $from=$_POST['email'];
    $headers="From:$from"."\r\n";
    $headers.="Bcc:123@univers-energies.com"."\r\n";
    mail($to,$subject,$message,$headers);
    ?>
     
    <!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=utf-8" />
    <title>univers energies/formulaire de contact.</title>
    <link href="../../Mon Site Univers Energies/Style.css" rel="stylesheet" type="text/css" />
    <script src="../../Mon Site Univers Energies/Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="../../Mon Site Univers Energies/SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="../../Mon Site Univers Energies/SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <script src="../../Mon Site Univers Energies/SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <script src="../../Mon Site Univers Energies/SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
    <script src="../../Mon Site Univers Energies/SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="../../Mon Site Univers Energies/SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="../../Mon Site Univers Energies/SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <link href="../../Mon Site Univers Energies/SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    #apDiv1 {
    	position:absolute;
    	left:1008px;
    	top:771px;
    	width:365px;
    	height:335px;
    	z-index:1;
    }
    #apDiv2 {
    	position:absolute;
    	left:904px;
    	top:334px;
    	width:376px;
    	height:328px;
    	z-index:2;
    }
    #formulaires table tr th #sprytextarea1 label {
    	color: #F60;
    }
    #formulaires table tr th {
    	color: #F60;
    }
    </style>
    <link href="../../Mon Site Univers Energies/SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
    <link href="../../Mon Site Univers Energies/SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    </head>
     
    <body>
    <div id="apDiv2"><img src="../../Mon Site Univers Energies/Image/devis.jpg" width="512" height="321" alt="" /></div>
    <form id="formulaires" name="formulaires" method="post" action="email_form.php">
      <table width="1180" height="47">
        <tr>
          <th width="331" align="left" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="331" height="169" id="FlashID" title="logo univers-energies.com">
            <param name="movie" value="../../Mon Site Univers Energies/Flash/Logo_Proprieter_univers-energies.com 331 x 169 px.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->
            <param name="expressinstall" value="../../Mon Site Univers Energies/Scripts/expressInstall.swf" />
            <!-- La balise <object> suivante est destinée aux navigateurs autres qu'IE. Supprimez-la d'IE à l'aide d'IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="../../Mon Site Univers Energies/Flash/Logo_Proprieter_univers-energies.com 331 x 169 px.swf" width="331" height="169">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="9.0.45.0" />
              <param name="expressinstall" value="../../Mon Site Univers Energies/Scripts/expressInstall.swf" />
              <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs d'un lecteur Flash de version 6.0 ou de versions plus anciennes. -->
              <div>
                <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></th>
          <th width="47" scope="col">&nbsp;</th>
          <th width="786" align="right" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="786" height="169" id="FlashID2" title="bandeau haut de pages">
            <param name="movie" value="../../Mon Site Univers Energies/Flash/bandeau haut de pages.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->
            <param name="expressinstall" value="../../Mon Site Univers Energies/Scripts/expressInstall.swf" />
            <!-- La balise <object> suivante est destinée aux navigateurs autres qu'IE. Supprimez-la d'IE à l'aide d'IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="../../Mon Site Univers Energies/Flash/bandeau haut de pages.swf" width="786" height="169">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="../../Mon Site Univers Energies/Scripts/expressInstall.swf" />
              <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs d'un lecteur Flash de version 6.0 ou de versions plus anciennes. -->
              <div>
                <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></th>
        </tr>
      </table>
      <table width="1180">
        <tr>
          <th width="16" scope="col">&nbsp;</th>
          <td width="1133" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="../../Mon Site Univers Energies/index.html">Acceuil</a></li>
            <li><a href="../../Mon Site Univers Energies/Photovoltaique.html" class="MenuBarItemSubmenu">Photovoltaïque</a>
              <ul>
                <li><a href="../../Mon Site Univers Energies/questcequelephotovoltaique.html">Qu'est-ce que le photovolta&iuml;que</a></li>
                <li><a href="../../Mon Site Univers Energies/produitphotovoltaique.html">Produit photovolta&iuml;que</a></li>
                <li><a href="../../Mon Site Univers Energies/Projetclesenmain.html">Projet cl&eacute;s en main</a></li>
              </ul>
            </li>
            <li><a href="../../Mon Site Univers Energies/Eolienne.html">&Eacute;olienne</a></li>
            <li><a href="../../Mon Site Univers Energies/Chauffage.html" class="MenuBarItemSubmenu">Chauffage</a>
              <ul>
                <li><a href="../../Mon Site Univers Energies/panneauxrayonnants-1.html">Panneaux rayonnants</a></li>
                <li><a href="../../Mon Site Univers Energies/Pompeachaleuraireau.html" class="MenuBarItemSubmenu">Pompe &agrave; chaleur Air/Eau</a>
                  <ul>
                    <li><a href="#">R&eacute;alisation Air/Eau</a></li>
                  </ul>
                </li>
                <li><a href="#" class="MenuBarItemSubmenu">Pompe &agrave; chaleur Air/Air</a>
                  <ul>
                    <li><a href="#">R&eacute;alisation Air/Air</a></li>
                  </ul>
                </li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Th&eacute;rmodynamique</a>
              <ul>
                <li><a href="#">Chauffe-Eau thermodynamique</a></li>
                <li><a href="#">Odysse split</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Granul&eacute; de bois</a>
              <ul>
                <li><a href="#">Po&ecirc;le &agrave; granul&eacute;</a></li>
                <li><a href="#">Po&ecirc;le &agrave; granul&eacute; en rel&eacute;ve de chaudi&eacute;re</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Actualit&eacute;</a>
              <ul>
                <li><a href="#">Actualit&eacute; 1/3</a></li>
                <li><a href="#">Actualit&eacute; 2/3</a></li>
                <li><a href="#">Actualit&eacute; 3/3</a></li>
              </ul>
            </li>
            <li><a href="#">Cr&eacute;dit d'mp&ocirc;ts</a></li>
            <li><a href="#">Environnement</a></li>
            <li><a href="#">&Eacute;cologie</a></li>
            <li><a href="#">Nos partenaires</a></li>
            <li><a href="../../Mon Site Univers Energies/formulaires.html" class="MenuBarItemSubmenu">Contact</a>
              <ul>
                <li><a href="#">S&eacute;cteur G&eacute;ographique</a></li>
                <li><a href="#">Qui sommes nous ?</a></li>
              </ul>
            </li>
          </ul></td>
          <th width="15" scope="col">&nbsp;</th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <th scope="col">Bienvenue pour une étude personnalisée !</th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
     
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Civilité</td>
          <td width="464" align="left" scope="col"><span id="spryselect1">
            <label for="Civilité3"></label>
            <select name="Civilité" id="Civilité3">
              <option selected="selected">Sélectionnez</option>
              <option value="Monsieur">M.</option>
              <option value="Madame">Mme</option>
              <option value="Mademoiselle">Mlle</option>
              <option value="Société">Ste</option>
            </select>
          <span class="selectRequiredMsg">Sélectionnez un élément.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Votre Nom</td>
          <td width="466" align="left" valign="middle" scope="col"><span id="sprytextfield1">
          <label for="Votre Nom"></label>
          <input name="Votre Nom" type="text" id="Votre Nom" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Merci d'indiquer votre nom.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Votre prénom</td>
          <th width="466" align="left" scope="col"><label for="Votre Prénom"></label>
          <input name="Votre Prénom" type="text" id="Votre Prénom" size="30" maxlength="100" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Adresse</td>
          <td width="466" align="left" scope="col"><span id="sprytextfield5">
            <label for="Adresse"></label>
            <input name="Adresse" type="text" id="Adresse" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Merci de mettre votre adresse.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Code Postal</td>
          <td width="466" align="left" scope="col"><span id="sprytextfield6">
          <label for="Code postal"></label>
          <input name="Code postal" type="text" id="Code postal" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Indiquer votre code postal(Exemple: 75000).</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Ville</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield7">
            <label for="Ville"></label>
            <input name="Ville" type="text" id="Ville" size="30" maxlength="150" />
          <span class="textfieldRequiredMsg">Indiquer votre ville.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Téléphone</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield8">
          <label for="Téléphone"></label>
          <input name="Téléphone" type="text" id="Téléphone" size="30" maxlength="10" />
          <span class="textfieldRequiredMsg">Merci d'indiquer votre numéro de téléphone.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Portable</td>
          <th width="465" align="left" scope="col"><label for="Portable"></label>
          <input name="Portable" type="text" id="Portable" size="30" maxlength="10" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Plage horaire</td>
          <td width="465" align="left" scope="col"><span id="spryselect2">
            <label for="Plage horaire"></label>
            <select name="Plage horaire" id="Plage horaire">
              <option>Sélectionnez</option>
              <option value="8H-9H">8H-9H</option>
              <option value="10H-11H">10H-11H</option>
              <option value="12H13">12H-13H</option>
              <option value="14H-15">14H-15H</option>
              <option value="16H-17H">16H-17H</option>
              <option value="18H-19H">18H-19H</option>
              <option value="20H-20H30">20H-20H30</option>
            </select>
          <span class="selectRequiredMsg">Merci d'indiquer une plage horaire de contact à laquelle nous pouvons vous contacter.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Courriel</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield9">
          <label for="E-mail"></label>
          <input name="E-mail" type="text" id="E-mail" size="50" maxlength="150" />
          <span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Merci d'indiquer votre adresse Mail (Exemple: <a href="mailto:nom@fournisseur.fr">nom@fournisseur.fr</a>).</span></span></td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <td align="left" scope="col">VOTRE PROJET :</td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Devis travaux</td>
          <td width="466" align="left" scope="col"><span id="spryselect3">
            <label for="Devis travaux"></label>
            <select name="Devis travaux" id="Devis travaux">
              <option>Sélectionnez</option>
              <option value="Chauffage solaire">Chauffage solaire</option>
              <option value="Poêle à granulés" selected="selected">Poêle à granulés</option>
              <option value="Poêl à granulés en reléve de chaudiére">Poêl à granulés en reléve de chaudiére</option>
              <option value="Chauffe-eau thermodynamique">Chauffe-eau thermodynamiqe</option>
              <option value="Éolienne">Éolienne</option>
              <option value="Photovoltaïque">Photovoltaïque</option>
              <option value="Panneau rayonnant">Panneau raynonnant</option>
              <option value="Pompe à chaleur Air/Eau">Pompe à chaleur Air/Eau</option>
              <option value="Pompe à chaleur Air/Air">Pompe à chaleur Air/Air</option>
              <option value="Odyssé split">Odyssé split</option>
              <option value="Fenêtre &amp; porte fenêtre">Fenêtre &amp; porte fenêtre</option>
              <option value="Porte d'entrée">Porte d'entrée</option>
              <option value="Porte de garage">Porte de garage</option>
            </select>
          <span class="selectRequiredMsg">Merci de sélectionner la sous-catégorie de votre projet devis travaux rénovation.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Date du projet</td>
          <td width="466" align="left" scope="col"><span id="spryselect4">
            <label for="Date du projet"></label>
            <select name="Date du projet" id="Date du projet">
              <option selected="selected">Sélectionnez</option>
              <option value="- 1 mois">- 1 mois</option>
              <option value="entre 2 à 3 mois">entre 2 à 3 mois</option>
              <option value="4 à 5 mois">4 à 5 mois</option>
              <option value="6 à 7 mois">6 à 7 mois</option>
              <option value="8 à 9 mois">8 à 9 mois</option>
              <option value="10 à 12 mois">10 à 12 mois</option>
              <option value="+ 12 mois">+ 12 mois</option>
            </select>
          <span class="selectRequiredMsg">Sélectionnez un élément.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Année de construction</td>
          <td width="466" align="left" scope="col"><span id="spryconfirm6">
            <label for="Année de construction"></label>
            <input name="Année de construction" type="text" id="Année de construction" size="30" maxlength="4" />
          <span class="confirmRequiredMsg">Merci d'indiquer lannée de construction .</span><span class="confirmInvalidMsg">Les valeurs ne correspondent pas.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" scope="col"><p>Résidence</p></td>
          <td width="176" align="left" scope="col"><label>
            <input name="Résidence" type="radio" id="Reacutesidence_0" value="1" />
            Principale</label></td>
          <td width="284" align="left" scope="col"><label>
            <input name="Résidence" type="radio" id="Reacutesidence_1" value="2" />
            Secondaire</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Type d'habitation</td>
          <td width="179" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Type d'habitation" value="1" id="Typedhabitation_0" />
              Maison</label>
            <br />
          </p></td>
          <td width="282" align="left" scope="col"><label>
            <input type="radio" name="Type d'habitation" value="2" id="Typedhabitation_1" />
            Appartement</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Altitude</td>
          <th width="466" align="left" scope="col"><label for="Altitude"></label>
          <input name="Altitude" type="text" id="Altitude" size="30" maxlength="30" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Nature des murs</td>
          <td width="95" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Nature des murs" value="1" id="Naturedesmurs_0" />
              Placo</label>
            <br />
          </p></td>
          <td width="110" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="2" id="Naturedesmurs_1" />
            Briques</label>
          <br /></td>
          <td width="119" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="3" id="Naturedesmurs_2" />
            Pierres</label>
          <br /></td>
          <td width="128" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="4" id="Naturedesmurs_3" />
            Autre</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Isolation</td>
          <td width="177" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Isolation" value="1" id="Isolation_0" />
              Laine de verre</label>
            <br />
          </p></td>
          <td width="153" align="left" scope="col"><label>
            <input type="radio" name="Isolation" value="2" id="Isolation_1" />
            Laine de roche</label>
          <br /></td>
          <td width="127" align="left" scope="col"><label>
            <input type="radio" name="Isolation" value="3" id="Isolation_2" />
            Autre</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Vitrages</td>
          <td width="176" align="left" valign="middle" scope="col"><p>
            <label>
              <input type="radio" name="Vitrages" value="1" id="Vitrages_0" />
              Simple</label>
            <br />
          </p></td>
          <td width="155" align="left" scope="col"><label>
            <input type="radio" name="Vitrages" value="2" id="Vitrages_1" />
            Doubles</label>
          <br /></td>
          <td width="125" align="left" scope="col"><label>
            <input type="radio" name="Vitrages" value="3" id="Vitrages_2" />
            Triples</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <th align="left" scope="col"><span id="sprytextarea1">
            <label for="Votre message :">Votre message :</label>
            <textarea name="Votre message :" id="Votre message :" cols="60" rows="5"></textarea>
    </span></th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <th width="278" align="right" scope="col"><input type="reset" name="Reset" id="Reset" value="Réinitialiser" /></th>
          <th width="91" scope="col">&nbsp;</th>
          <th width="257" align="left" scope="col"><input type="submit" name="submit" id="submit" value="Envoyer" /></th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="533">
        <tr>    </tr>
    </table>
      <p>&nbsp;</p>
     
    </form>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID2");
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "email");
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4");
    var spryconfirm6 = new Spry.Widget.ValidationConfirm("spryconfirm6", "Courriel");
    var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1", {isRequired:false});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none");
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5");
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "none");
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
    var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none");
    var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "email");
    </script>
    </body>
    </html>

  12. #12
    Invité
    Invité(e)
    Par défaut
    Bonjour,
    Je t'avais demandé d'encadrer ton code avec le bouton #
    Tout tes POST ne correspondent pas a des name d'IMPUT !
    rien ne peut marcher
    par exemple pour $_POST['prénom']
    aucun <IMPUT name ='prénom'
    de plus tu dois controler
    $name = (isset($_POST['name'])) ? $_POST['name'] : '';
    Puis
    if ($name!="") {etc......}

  13. #13
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut dede38
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    <?php
    $to="123@univers-energies.com";
    $subject=" ";
    $message="Customer name:".$_POST['name']."\r\n".
    "Nom:											".$_POST['nom']."\r\n".
    "Prénom:										".$_POST['prénom']."\r\n".
    "Adresse:										".$_POST['adresse']."\r\n".
    "Code Postal:									".$_POST['code postal']."\r\n".
    "Ville:											".$_POST['ville']."\r\n".
    "Téléphone:										".$_POST['téléphone']."\r\n".
    "Portable:										".$_POST['portable']."\r\n".
    "Plage horaire:									".$_POST['plage horaire']."\r\n".
    "Email:											".$_POST['email']."\r\n".
    "\r\n".
    $from=$_POST['email'];
    $headers="From:$from"."\r\n";
    $headers.="Bcc:123@univers-energies.com"."\r\n";
    mail($to,$subject,$message,$headers);
    ?>
     
    <!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=utf-8" />
    <title>univers energies/formulaire de contact.</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    #apDiv1 {
    	position:absolute;
    	left:1008px;
    	top:771px;
    	width:365px;
    	height:335px;
    	z-index:1;
    }
    #apDiv2 {
    	position:absolute;
    	left:904px;
    	top:334px;
    	width:376px;
    	height:328px;
    	z-index:2;
    }
    #formulaires table tr th #sprytextarea1 label {
    	color: #F60;
    }
    #formulaires table tr th {
    	color: #F60;
    }
    </style>
    <link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    </head>
     
    <body>
    <div id="apDiv2"><img src="Image/devis.jpg" width="512" height="321" alt="" /></div>
    <form id="formulaires" name="formulaires" method="post" action="file:///C|/Users/Dejan/Documents/cours Dreamweaver/modele pour univers energies/email_form.php">
      <table width="1180" height="47">
        <tr>
          <th width="331" align="left" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="331" height="169" id="FlashID" title="logo univers-energies.com">
            <param name="movie" value="Flash/Logo_Proprieter_univers-energies.com 331 x 169 px.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- La balise <object> suivante est destinée aux navigateurs autres qu'IE. Supprimez-la d'IE à l'aide d'IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="Flash/Logo_Proprieter_univers-energies.com 331 x 169 px.swf" width="331" height="169">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="9.0.45.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs d'un lecteur Flash de version 6.0 ou de versions plus anciennes. -->
              <div>
                <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></th>
          <th width="47" scope="col">&nbsp;</th>
          <th width="786" align="right" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="786" height="169" id="FlashID2" title="bandeau haut de pages">
            <param name="movie" value="Flash/bandeau haut de pages.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- La balise <object> suivante est destinée aux navigateurs autres qu'IE. Supprimez-la d'IE à l'aide d'IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="Flash/bandeau haut de pages.swf" width="786" height="169">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs d'un lecteur Flash de version 6.0 ou de versions plus anciennes. -->
              <div>
                <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></th>
        </tr>
      </table>
      <table width="1180">
        <tr>
          <th width="16" scope="col">&nbsp;</th>
          <td width="1133" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="index.html">Acceuil</a></li>
            <li><a href="Photovoltaique.html" class="MenuBarItemSubmenu">Photovoltaïque</a>
              <ul>
                <li><a href="questcequelephotovoltaique.html">Qu'est-ce que le photovolta&iuml;que</a></li>
                <li><a href="produitphotovoltaique.html">Produit photovolta&iuml;que</a></li>
                <li><a href="Projetclesenmain.html">Projet cl&eacute;s en main</a></li>
              </ul>
            </li>
            <li><a href="Eolienne.html">&Eacute;olienne</a></li>
            <li><a href="Chauffage.html" class="MenuBarItemSubmenu">Chauffage</a>
              <ul>
                <li><a href="panneauxrayonnants-1.html">Panneaux rayonnants</a></li>
                <li><a href="Pompeachaleuraireau.html" class="MenuBarItemSubmenu">Pompe &agrave; chaleur Air/Eau</a>
                  <ul>
                    <li><a href="#">R&eacute;alisation Air/Eau</a></li>
                  </ul>
                </li>
                <li><a href="#" class="MenuBarItemSubmenu">Pompe &agrave; chaleur Air/Air</a>
                  <ul>
                    <li><a href="#">R&eacute;alisation Air/Air</a></li>
                  </ul>
                </li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Th&eacute;rmodynamique</a>
              <ul>
                <li><a href="#">Chauffe-Eau thermodynamique</a></li>
                <li><a href="#">Odysse split</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Granul&eacute; de bois</a>
              <ul>
                <li><a href="#">Po&ecirc;le &agrave; granul&eacute;</a></li>
                <li><a href="#">Po&ecirc;le &agrave; granul&eacute; en rel&eacute;ve de chaudi&eacute;re</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Actualit&eacute;</a>
              <ul>
                <li><a href="#">Actualit&eacute; 1/3</a></li>
                <li><a href="#">Actualit&eacute; 2/3</a></li>
                <li><a href="#">Actualit&eacute; 3/3</a></li>
              </ul>
            </li>
            <li><a href="#">Cr&eacute;dit d'mp&ocirc;ts</a></li>
            <li><a href="#">Environnement</a></li>
            <li><a href="#">&Eacute;cologie</a></li>
            <li><a href="#">Nos partenaires</a></li>
            <li><a href="formulaires.html" class="MenuBarItemSubmenu">Contact</a>
              <ul>
                <li><a href="#">S&eacute;cteur G&eacute;ographique</a></li>
                <li><a href="#">Qui sommes nous ?</a></li>
              </ul>
            </li>
          </ul></td>
          <th width="15" scope="col">&nbsp;</th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <th scope="col">Bienvenue pour une étude personnalisée !</th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
     
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Civilité</td>
          <td width="464" align="left" scope="col"><span id="spryselect1">
            <label for="Civilité3"></label>
            <select name="Civilité" id="Civilité3">
              <option selected="selected">Sélectionnez</option>
              <option value="Monsieur">M.</option>
              <option value="Madame">Mme</option>
              <option value="Mademoiselle">Mlle</option>
              <option value="Société">Ste</option>
            </select>
          <span class="selectRequiredMsg">Sélectionnez un élément.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Votre Nom</td>
          <td width="466" align="left" valign="middle" scope="col"><span id="sprytextfield1">
          <label for="Votre Nom"></label>
          <input name="Votre Nom" type="text" id="Votre Nom" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Merci d'indiquer votre nom.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Votre prénom</td>
          <th width="466" align="left" scope="col"><label for="Votre Prénom"></label>
          <input name="Votre Prénom" type="text" id="Votre Prénom" size="30" maxlength="100" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Adresse</td>
          <td width="466" align="left" scope="col"><span id="sprytextfield5">
            <label for="Adresse"></label>
            <input name="Adresse" type="text" id="Adresse" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Merci de mettre votre adresse.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Code Postal</td>
          <td width="466" align="left" scope="col"><span id="sprytextfield6">
          <label for="Code postal"></label>
          <input name="Code postal" type="text" id="Code postal" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Indiquer votre code postal(Exemple: 75000).</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Ville</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield7">
            <label for="Ville"></label>
            <input name="Ville" type="text" id="Ville" size="30" maxlength="150" />
          <span class="textfieldRequiredMsg">Indiquer votre ville.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Téléphone</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield8">
          <label for="Téléphone"></label>
          <input name="Téléphone" type="text" id="Téléphone" size="30" maxlength="10" />
          <span class="textfieldRequiredMsg">Merci d'indiquer votre numéro de téléphone.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Portable</td>
          <th width="465" align="left" scope="col"><label for="Portable"></label>
          <input name="Portable" type="text" id="Portable" size="30" maxlength="10" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Plage horaire</td>
          <td width="465" align="left" scope="col"><span id="spryselect2">
            <label for="Plage horaire"></label>
            <select name="Plage horaire" id="Plage horaire">
              <option>Sélectionnez</option>
              <option value="8H-9H">8H-9H</option>
              <option value="10H-11H">10H-11H</option>
              <option value="12H13">12H-13H</option>
              <option value="14H-15">14H-15H</option>
              <option value="16H-17H">16H-17H</option>
              <option value="18H-19H">18H-19H</option>
              <option value="20H-20H30">20H-20H30</option>
            </select>
          <span class="selectRequiredMsg">Merci d'indiquer une plage horaire de contact à laquelle nous pouvons vous contacter.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Courriel</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield9">
          <label for="E-mail"></label>
          <input name="E-mail" type="text" id="E-mail" size="50" maxlength="150" />
          <span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Merci d'indiquer votre adresse Mail (Exemple: nom@fournisseur.fr).</span></span></td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <td align="left" scope="col">VOTRE PROJET :</td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Devis travaux</td>
          <td width="466" align="left" scope="col"><span id="spryselect3">
            <label for="Devis travaux"></label>
            <select name="Devis travaux" id="Devis travaux">
              <option>Sélectionnez</option>
              <option value="Chauffage solaire">Chauffage solaire</option>
              <option value="Poêle à granulés" selected="selected">Poêle à granulés</option>
              <option value="Poêl à granulés en reléve de chaudiére">Poêl à granulés en reléve de chaudiére</option>
              <option value="Chauffe-eau thermodynamique">Chauffe-eau thermodynamiqe</option>
              <option value="Éolienne">Éolienne</option>
              <option value="Photovoltaïque">Photovoltaïque</option>
              <option value="Panneau rayonnant">Panneau raynonnant</option>
              <option value="Pompe à chaleur Air/Eau">Pompe à chaleur Air/Eau</option>
              <option value="Pompe à chaleur Air/Air">Pompe à chaleur Air/Air</option>
              <option value="Odyssé split">Odyssé split</option>
              <option value="Fenêtre &amp; porte fenêtre">Fenêtre &amp; porte fenêtre</option>
              <option value="Porte d'entrée">Porte d'entrée</option>
              <option value="Porte de garage">Porte de garage</option>
            </select>
          <span class="selectRequiredMsg">Merci de sélectionner la sous-catégorie de votre projet devis travaux rénovation.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Date du projet</td>
          <td width="466" align="left" scope="col"><span id="spryselect4">
            <label for="Date du projet"></label>
            <select name="Date du projet" id="Date du projet">
              <option selected="selected">Sélectionnez</option>
              <option value="- 1 mois">- 1 mois</option>
              <option value="entre 2 à 3 mois">entre 2 à 3 mois</option>
              <option value="4 à 5 mois">4 à 5 mois</option>
              <option value="6 à 7 mois">6 à 7 mois</option>
              <option value="8 à 9 mois">8 à 9 mois</option>
              <option value="10 à 12 mois">10 à 12 mois</option>
              <option value="+ 12 mois">+ 12 mois</option>
            </select>
          <span class="selectRequiredMsg">Sélectionnez un élément.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Année de construction</td>
          <td width="466" align="left" scope="col"><span id="spryconfirm6">
            <label for="Année de construction"></label>
            <input name="Année de construction" type="text" id="Année de construction" size="30" maxlength="4" />
          <span class="confirmRequiredMsg">Merci d'indiquer lannée de construction .</span><span class="confirmInvalidMsg">Les valeurs ne correspondent pas.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" scope="col"><p>Résidence</p></td>
          <td width="176" align="left" scope="col"><label>
            <input name="Résidence" type="radio" id="Reacutesidence_0" value="1" />
            Principale</label></td>
          <td width="284" align="left" scope="col"><label>
            <input name="Résidence" type="radio" id="Reacutesidence_1" value="2" />
            Secondaire</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Type d'habitation</td>
          <td width="179" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Type d'habitation" value="1" id="Typedhabitation_0" />
              Maison</label>
            <br />
          </p></td>
          <td width="282" align="left" scope="col"><label>
            <input type="radio" name="Type d'habitation" value="2" id="Typedhabitation_1" />
            Appartement</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Altitude</td>
          <th width="466" align="left" scope="col"><label for="Altitude"></label>
          <input name="Altitude" type="text" id="Altitude" size="30" maxlength="30" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Nature des murs</td>
          <td width="95" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Nature des murs" value="1" id="Naturedesmurs_0" />
              Placo</label>
            <br />
          </p></td>
          <td width="110" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="2" id="Naturedesmurs_1" />
            Briques</label>
          <br /></td>
          <td width="119" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="3" id="Naturedesmurs_2" />
            Pierres</label>
          <br /></td>
          <td width="128" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="4" id="Naturedesmurs_3" />
            Autre</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Isolation</td>
          <td width="177" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Isolation" value="1" id="Isolation_0" />
              Laine de verre</label>
            <br />
          </p></td>
          <td width="153" align="left" scope="col"><label>
            <input type="radio" name="Isolation" value="2" id="Isolation_1" />
            Laine de roche</label>
          <br /></td>
          <td width="127" align="left" scope="col"><label>
            <input type="radio" name="Isolation" value="3" id="Isolation_2" />
            Autre</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Vitrages</td>
          <td width="176" align="left" valign="middle" scope="col"><p>
            <label>
              <input type="radio" name="Vitrages" value="1" id="Vitrages_0" />
              Simple</label>
            <br />
          </p></td>
          <td width="155" align="left" scope="col"><label>
            <input type="radio" name="Vitrages" value="2" id="Vitrages_1" />
            Doubles</label>
          <br /></td>
          <td width="125" align="left" scope="col"><label>
            <input type="radio" name="Vitrages" value="3" id="Vitrages_2" />
            Triples</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <th align="left" scope="col"><span id="sprytextarea1">
            <label for="Votre message :">Votre message :</label>
            <textarea name="Votre message :" id="Votre message :" cols="60" rows="5"></textarea>
    </span></th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <th width="278" align="right" scope="col"><input type="reset" name="Reset" id="Reset" value="Réinitialiser" /></th>
          <th width="91" scope="col">&nbsp;</th>
          <th width="257" align="left" scope="col"><input type="submit" name="submit" id="submit" value="Envoyer" /></th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="533">
        <tr>    </tr>
    </table>
      <p>&nbsp;</p>
     
    </form>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID2");
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "email");
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4");
    var spryconfirm6 = new Spry.Widget.ValidationConfirm("spryconfirm6", "Courriel", {validateOn:["blur"]});
    var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1", {isRequired:false});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"]});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur"]});
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "none");
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
    var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none", {validateOn:["blur"]});
    var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "email", {validateOn:["blur"]});
    </script>
    </body>
    </html>

  14. #14
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut dede38
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    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
    =HTML
    <!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=utf-8" />
    <title>univers energies/formulaire de contact.</title>
    <link href="Style.css" rel="stylesheet" type="text/css" />
    <script src="Scripts/swfobject_modified.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryMenuBar.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationSelect.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationConfirm.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextarea.js" type="text/javascript"></script>
    <script src="SpryAssets/SpryValidationTextField.js" type="text/javascript"></script>
    <link href="SpryAssets/SpryMenuBarHorizontal.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationSelect.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationConfirm.css" rel="stylesheet" type="text/css" />
    <style type="text/css">
    #apDiv1 {
    	position:absolute;
    	left:1008px;
    	top:771px;
    	width:365px;
    	height:335px;
    	z-index:1;
    }
    #apDiv2 {
    	position:absolute;
    	left:904px;
    	top:334px;
    	width:376px;
    	height:328px;
    	z-index:2;
    }
    #formulaires table tr th #sprytextarea1 label {
    	color: #F60;
    }
    #formulaires table tr th {
    	color: #F60;
    }
    </style>
    <link href="SpryAssets/SpryValidationTextarea.css" rel="stylesheet" type="text/css" />
    <link href="SpryAssets/SpryValidationTextField.css" rel="stylesheet" type="text/css" />
    </head>
     
    <body>
    <div id="apDiv2"><img src="Image/devis.jpg" width="512" height="321" alt="" /></div>
    <form id="formulaires" name="formulaires" method="post" action="file:///C|/Users/Dejan/Documents/cours Dreamweaver/modele pour univers energies/email_form.php">
      <table width="1180" height="47">
        <tr>
          <th width="331" align="left" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="331" height="169" id="FlashID" title="logo univers-energies.com">
            <param name="movie" value="Flash/Logo_Proprieter_univers-energies.com 331 x 169 px.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="9.0.45.0" />
            <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- La balise <object> suivante est destinée aux navigateurs autres qu'IE. Supprimez-la d'IE à l'aide d'IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="Flash/Logo_Proprieter_univers-energies.com 331 x 169 px.swf" width="331" height="169">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="9.0.45.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs d'un lecteur Flash de version 6.0 ou de versions plus anciennes. -->
              <div>
                <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></th>
          <th width="47" scope="col">&nbsp;</th>
          <th width="786" align="right" valign="top" scope="col"><object classid="clsid:D27CDB6E-AE6D-11cf-96B8-444553540000" width="786" height="169" id="FlashID2" title="bandeau haut de pages">
            <param name="movie" value="Flash/bandeau haut de pages.swf" />
            <param name="quality" value="high" />
            <param name="wmode" value="opaque" />
            <param name="swfversion" value="6.0.65.0" />
            <!-- Cette balise <param> invite les utilisateurs de Flash Player en version 6.0 r65 et ultérieure à télécharger la version la plus récente de Flash Player. Supprimez-la si vous ne voulez pas que cette invite soit visible. -->
            <param name="expressinstall" value="Scripts/expressInstall.swf" />
            <!-- La balise <object> suivante est destinée aux navigateurs autres qu'IE. Supprimez-la d'IE à l'aide d'IECC. -->
            <!--[if !IE]>-->
            <object type="application/x-shockwave-flash" data="Flash/bandeau haut de pages.swf" width="786" height="169">
              <!--<![endif]-->
              <param name="quality" value="high" />
              <param name="wmode" value="opaque" />
              <param name="swfversion" value="6.0.65.0" />
              <param name="expressinstall" value="Scripts/expressInstall.swf" />
              <!-- Le navigateur affichera le contenu alternatif suivant pour les utilisateurs d'un lecteur Flash de version 6.0 ou de versions plus anciennes. -->
              <div>
                <h4>Le contenu de cette page nécessite une version plus récente d’Adobe Flash Player.</h4>
                <p><a href="http://www.adobe.com/go/getflashplayer"><img src="http://www.adobe.com/images/shared/download_buttons/get_flash_player.gif" alt="Obtenir le lecteur Adobe Flash" width="112" height="33" /></a></p>
              </div>
              <!--[if !IE]>-->
            </object>
            <!--<![endif]-->
          </object></th>
        </tr>
      </table>
      <table width="1180">
        <tr>
          <th width="16" scope="col">&nbsp;</th>
          <td width="1133" scope="col"><ul id="MenuBar1" class="MenuBarHorizontal">
            <li><a href="index.html">Acceuil</a></li>
            <li><a href="Photovoltaique.html" class="MenuBarItemSubmenu">Photovoltaïque</a>
              <ul>
                <li><a href="questcequelephotovoltaique.html">Qu'est-ce que le photovolta&iuml;que</a></li>
                <li><a href="produitphotovoltaique.html">Produit photovolta&iuml;que</a></li>
                <li><a href="Projetclesenmain.html">Projet cl&eacute;s en main</a></li>
              </ul>
            </li>
            <li><a href="Eolienne.html">&Eacute;olienne</a></li>
            <li><a href="Chauffage.html" class="MenuBarItemSubmenu">Chauffage</a>
              <ul>
                <li><a href="panneauxrayonnants-1.html">Panneaux rayonnants</a></li>
                <li><a href="Pompeachaleuraireau.html" class="MenuBarItemSubmenu">Pompe &agrave; chaleur Air/Eau</a>
                  <ul>
                    <li><a href="#">R&eacute;alisation Air/Eau</a></li>
                  </ul>
                </li>
                <li><a href="#" class="MenuBarItemSubmenu">Pompe &agrave; chaleur Air/Air</a>
                  <ul>
                    <li><a href="#">R&eacute;alisation Air/Air</a></li>
                  </ul>
                </li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Th&eacute;rmodynamique</a>
              <ul>
                <li><a href="#">Chauffe-Eau thermodynamique</a></li>
                <li><a href="#">Odysse split</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Granul&eacute; de bois</a>
              <ul>
                <li><a href="#">Po&ecirc;le &agrave; granul&eacute;</a></li>
                <li><a href="#">Po&ecirc;le &agrave; granul&eacute; en rel&eacute;ve de chaudi&eacute;re</a></li>
              </ul>
            </li>
            <li><a href="#" class="MenuBarItemSubmenu">Actualit&eacute;</a>
              <ul>
                <li><a href="#">Actualit&eacute; 1/3</a></li>
                <li><a href="#">Actualit&eacute; 2/3</a></li>
                <li><a href="#">Actualit&eacute; 3/3</a></li>
              </ul>
            </li>
            <li><a href="#">Cr&eacute;dit d'mp&ocirc;ts</a></li>
            <li><a href="#">Environnement</a></li>
            <li><a href="#">&Eacute;cologie</a></li>
            <li><a href="#">Nos partenaires</a></li>
            <li><a href="formulaires.html" class="MenuBarItemSubmenu">Contact</a>
              <ul>
                <li><a href="#">S&eacute;cteur G&eacute;ographique</a></li>
                <li><a href="#">Qui sommes nous ?</a></li>
              </ul>
            </li>
          </ul></td>
          <th width="15" scope="col">&nbsp;</th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <th scope="col">Bienvenue pour une étude personnalisée !</th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
     
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Civilité</td>
          <td width="464" align="left" scope="col"><span id="spryselect1">
            <label for="Civilité3"></label>
            <select name="Civilité" id="Civilité3">
              <option selected="selected">Sélectionnez</option>
              <option value="Monsieur">M.</option>
              <option value="Madame">Mme</option>
              <option value="Mademoiselle">Mlle</option>
              <option value="Société">Ste</option>
            </select>
          <span class="selectRequiredMsg">Sélectionnez un élément.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Votre Nom</td>
          <td width="466" align="left" valign="middle" scope="col"><span id="sprytextfield1">
          <label for="Votre Nom"></label>
          <input name="Votre Nom" type="text" id="Votre Nom" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Merci d'indiquer votre nom.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Votre prénom</td>
          <th width="466" align="left" scope="col"><label for="Votre Prénom"></label>
          <input name="Votre Prénom" type="text" id="Votre Prénom" size="30" maxlength="100" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Adresse</td>
          <td width="466" align="left" scope="col"><span id="sprytextfield5">
            <label for="Adresse"></label>
            <input name="Adresse" type="text" id="Adresse" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Merci de mettre votre adresse.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Code Postal</td>
          <td width="466" align="left" scope="col"><span id="sprytextfield6">
          <label for="Code postal"></label>
          <input name="Code postal" type="text" id="Code postal" size="30" maxlength="100" />
          <span class="textfieldRequiredMsg">Indiquer votre code postal(Exemple: 75000).</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Ville</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield7">
            <label for="Ville"></label>
            <input name="Ville" type="text" id="Ville" size="30" maxlength="150" />
          <span class="textfieldRequiredMsg">Indiquer votre ville.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Téléphone</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield8">
          <label for="Téléphone"></label>
          <input name="Téléphone" type="text" id="Téléphone" size="30" maxlength="10" />
          <span class="textfieldRequiredMsg">Merci d'indiquer votre numéro de téléphone.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Portable</td>
          <th width="465" align="left" scope="col"><label for="Portable"></label>
          <input name="Portable" type="text" id="Portable" size="30" maxlength="10" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Plage horaire</td>
          <td width="465" align="left" scope="col"><span id="spryselect2">
            <label for="Plage horaire"></label>
            <select name="Plage horaire" id="Plage horaire">
              <option>Sélectionnez</option>
              <option value="8H-9H">8H-9H</option>
              <option value="10H-11H">10H-11H</option>
              <option value="12H13">12H-13H</option>
              <option value="14H-15">14H-15H</option>
              <option value="16H-17H">16H-17H</option>
              <option value="18H-19H">18H-19H</option>
              <option value="20H-20H30">20H-20H30</option>
            </select>
          <span class="selectRequiredMsg">Merci d'indiquer une plage horaire de contact à laquelle nous pouvons vous contacter.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Courriel</td>
          <td width="465" align="left" scope="col"><span id="sprytextfield9">
          <label for="E-mail"></label>
          <input name="E-mail" type="text" id="E-mail" size="50" maxlength="150" />
          <span class="textfieldRequiredMsg">Une valeur est requise.</span><span class="textfieldInvalidFormatMsg">Merci d'indiquer votre adresse Mail (Exemple: nom@fournisseur.fr).</span></span></td>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <td align="left" scope="col">VOTRE PROJET :</td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Devis travaux</td>
          <td width="466" align="left" scope="col"><span id="spryselect3">
            <label for="Devis travaux"></label>
            <select name="Devis travaux" id="Devis travaux">
              <option>Sélectionnez</option>
              <option value="Chauffage solaire">Chauffage solaire</option>
              <option value="Poêle à granulés" selected="selected">Poêle à granulés</option>
              <option value="Poêl à granulés en reléve de chaudiére">Poêl à granulés en reléve de chaudiére</option>
              <option value="Chauffe-eau thermodynamique">Chauffe-eau thermodynamiqe</option>
              <option value="Éolienne">Éolienne</option>
              <option value="Photovoltaïque">Photovoltaïque</option>
              <option value="Panneau rayonnant">Panneau raynonnant</option>
              <option value="Pompe à chaleur Air/Eau">Pompe à chaleur Air/Eau</option>
              <option value="Pompe à chaleur Air/Air">Pompe à chaleur Air/Air</option>
              <option value="Odyssé split">Odyssé split</option>
              <option value="Fenêtre &amp; porte fenêtre">Fenêtre &amp; porte fenêtre</option>
              <option value="Porte d'entrée">Porte d'entrée</option>
              <option value="Porte de garage">Porte de garage</option>
            </select>
          <span class="selectRequiredMsg">Merci de sélectionner la sous-catégorie de votre projet devis travaux rénovation.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Date du projet</td>
          <td width="466" align="left" scope="col"><span id="spryselect4">
            <label for="Date du projet"></label>
            <select name="Date du projet" id="Date du projet">
              <option selected="selected">Sélectionnez</option>
              <option value="- 1 mois">- 1 mois</option>
              <option value="entre 2 à 3 mois">entre 2 à 3 mois</option>
              <option value="4 à 5 mois">4 à 5 mois</option>
              <option value="6 à 7 mois">6 à 7 mois</option>
              <option value="8 à 9 mois">8 à 9 mois</option>
              <option value="10 à 12 mois">10 à 12 mois</option>
              <option value="+ 12 mois">+ 12 mois</option>
            </select>
          <span class="selectRequiredMsg">Sélectionnez un élément.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Année de construction</td>
          <td width="466" align="left" scope="col"><span id="spryconfirm6">
            <label for="Année de construction"></label>
            <input name="Année de construction" type="text" id="Année de construction" size="30" maxlength="4" />
          <span class="confirmRequiredMsg">Merci d'indiquer lannée de construction .</span><span class="confirmInvalidMsg">Les valeurs ne correspondent pas.</span></span></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" scope="col"><p>Résidence</p></td>
          <td width="176" align="left" scope="col"><label>
            <input name="Résidence" type="radio" id="Reacutesidence_0" value="1" />
            Principale</label></td>
          <td width="284" align="left" scope="col"><label>
            <input name="Résidence" type="radio" id="Reacutesidence_1" value="2" />
            Secondaire</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Type d'habitation</td>
          <td width="179" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Type d'habitation" value="1" id="Typedhabitation_0" />
              Maison</label>
            <br />
          </p></td>
          <td width="282" align="left" scope="col"><label>
            <input type="radio" name="Type d'habitation" value="2" id="Typedhabitation_1" />
            Appartement</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="164" align="left" scope="col">Altitude</td>
          <th width="466" align="left" scope="col"><label for="Altitude"></label>
          <input name="Altitude" type="text" id="Altitude" size="30" maxlength="30" /></th>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Nature des murs</td>
          <td width="95" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Nature des murs" value="1" id="Naturedesmurs_0" />
              Placo</label>
            <br />
          </p></td>
          <td width="110" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="2" id="Naturedesmurs_1" />
            Briques</label>
          <br /></td>
          <td width="119" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="3" id="Naturedesmurs_2" />
            Pierres</label>
          <br /></td>
          <td width="128" align="left" scope="col"><label>
            <input type="radio" name="Nature des murs" value="4" id="Naturedesmurs_3" />
            Autre</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="165" align="left" scope="col">Isolation</td>
          <td width="177" align="left" scope="col"><p>
            <label>
              <input type="radio" name="Isolation" value="1" id="Isolation_0" />
              Laine de verre</label>
            <br />
          </p></td>
          <td width="153" align="left" scope="col"><label>
            <input type="radio" name="Isolation" value="2" id="Isolation_1" />
            Laine de roche</label>
          <br /></td>
          <td width="127" align="left" scope="col"><label>
            <input type="radio" name="Isolation" value="3" id="Isolation_2" />
            Autre</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <td width="166" align="left" scope="col">Vitrages</td>
          <td width="176" align="left" valign="middle" scope="col"><p>
            <label>
              <input type="radio" name="Vitrages" value="1" id="Vitrages_0" />
              Simple</label>
            <br />
          </p></td>
          <td width="155" align="left" scope="col"><label>
            <input type="radio" name="Vitrages" value="2" id="Vitrages_1" />
            Doubles</label>
          <br /></td>
          <td width="125" align="left" scope="col"><label>
            <input type="radio" name="Vitrages" value="3" id="Vitrages_2" />
            Triples</label>
          <br /></td>
        </tr>
      </table>
      <table width="642">
        <tr>
          <th align="left" scope="col"><span id="sprytextarea1">
            <label for="Votre message :">Votre message :</label>
            <textarea name="Votre message :" id="Votre message :" cols="60" rows="5"></textarea>
    </span></th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <p>&nbsp;</p>
      <table width="642">
        <tr>
          <th width="278" align="right" scope="col"><input type="reset" name="Reset" id="Reset" value="Réinitialiser" /></th>
          <th width="91" scope="col">&nbsp;</th>
          <th width="257" align="left" scope="col"><input type="submit" name="submit" id="submit" value="Envoyer" /></th>
        </tr>
      </table>
      <p>&nbsp;</p>
      <table width="533">
        <tr>    </tr>
    </table>
      <p>&nbsp;</p>
     
    </form>
    <script type="text/javascript">
    swfobject.registerObject("FlashID");
    swfobject.registerObject("FlashID2");
    var MenuBar1 = new Spry.Widget.MenuBar("MenuBar1", {imgDown:"SpryAssets/SpryMenuBarDownHover.gif", imgRight:"SpryAssets/SpryMenuBarRightHover.gif"});
    var sprytextfield2 = new Spry.Widget.ValidationTextField("sprytextfield2");
    var sprytextfield3 = new Spry.Widget.ValidationTextField("sprytextfield3");
    var sprytextfield4 = new Spry.Widget.ValidationTextField("sprytextfield4", "email");
    var spryselect2 = new Spry.Widget.ValidationSelect("spryselect2");
    var spryselect3 = new Spry.Widget.ValidationSelect("spryselect3");
    var spryselect4 = new Spry.Widget.ValidationSelect("spryselect4");
    var spryconfirm6 = new Spry.Widget.ValidationConfirm("spryconfirm6", "Courriel", {validateOn:["blur"]});
    var sprytextarea1 = new Spry.Widget.ValidationTextarea("sprytextarea1", {isRequired:false});
    var spryselect1 = new Spry.Widget.ValidationSelect("spryselect1");
    var sprytextfield1 = new Spry.Widget.ValidationTextField("sprytextfield1", "none", {validateOn:["blur"]});
    var sprytextfield5 = new Spry.Widget.ValidationTextField("sprytextfield5", "none", {validateOn:["blur"]});
    var sprytextfield6 = new Spry.Widget.ValidationTextField("sprytextfield6", "none");
    var sprytextfield7 = new Spry.Widget.ValidationTextField("sprytextfield7");
    var sprytextfield8 = new Spry.Widget.ValidationTextField("sprytextfield8", "none", {validateOn:["blur"]});
    var sprytextfield9 = new Spry.Widget.ValidationTextField("sprytextfield9", "email", {validateOn:["blur"]});
    </script>
    </body>
    </html>

  15. #15
    Invité
    Invité(e)
    Par défaut
    Bonjour,
    Bien ton code en couleur c'est plus lisible !
    Alors réponds a mes questions
    1) as tu lu qu'il fallait conditionner l'utilisation des POST a leur existance
    2) as tu lu que tes IMPUT n'avaient pas les même nom (name="xxx") que tes
    $_POST['xxxx']

    Quand tu aura corrigé ces deux points, repostes tes deux PHP

  16. #16
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut dede38
    RE:

    pouvez-vous SVP me donner un exemple sur deux lignes avec le Nom et Email, pour que ce soit plus clair dans votre explication, et pour mieux corriger le script.
    par avance Merci

  17. #17
    Rédacteur

    Avatar de Torgar
    Homme Profil pro
    Développeur Web
    Inscrit en
    Août 2007
    Messages
    2 334
    Détails du profil
    Informations personnelles :
    Sexe : Homme
    Âge : 40
    Localisation : France, Hérault (Languedoc Roussillon)

    Informations professionnelles :
    Activité : Développeur Web

    Informations forums :
    Inscription : Août 2007
    Messages : 2 334
    Par défaut
    C'est simple :

    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <label for="nom">Nom : </label><input type="text" name="nom" id="nom" />
    <label for="email">Adresse email : </label><input type="text" name="email" id="email" />

    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    $nom = $_POST['nom'];
    $email = $_POST['email'];

    Et n'oublie plus les balises code dorénavant ^^

    ps: si un modo passe par ici, peut-il m'indiquer si c'est normal que l'on ne dispose plus de la balise codeinline dans l'éditeur ? (je n'ai pas vérifié dans les autres forums)
    Je ne suis pas schizophrène, nous sommes unanime !!!

    ► Pensez à la balise code et au CODE HTML GENERE !!!!
    ► Au si c'est le cas et au à ceux qui vous ont aidé.
    Vous souhaitez participer aux rubriques CSS et (X)HTML ? Contactez-nous !

    Créer des colonnes de même hauteur en CSS
    Glossaire CSS
    Les bordures en CSS3
    Les transitions en CSS3

  18. #18
    Invité
    Invité(e)
    Par défaut
    Citation Envoyé par Torgar Voir le message
    C'est simple :
    Code html : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    <label for="nom">Nom : </label><input type="text" name="nom" id="nom" />
    <label for="email">Adresse email : </label><input type="text" name="email" id="email" />
    Code php : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
     
    $nom = $_POST['nom'];
    $email = $_POST['email'];
    Et n'oublie plus les balises code dorénavant ^^
    ps: si un modo passe par ici, peut-il m'indiquer si c'est normal que l'on ne dispose plus de la balise codeinline dans l'éditeur ? (je n'ai pas vérifié dans les autres forums)
    Puisque tu n'as même pas lu mon exemple plus haut, j'ajouterais a l'exemple de Torgar le controle que tu dois faire
    Code : Sélectionner tout - Visualiser dans une fenêtre à part
    1
    2
    3
    4
    5
    6
    7
    8
    9
    10
     
    <?php
    $nom = (isset($_POST['nom'])) ? $_POST['nom'] : '';
    $email = (isset($_POST['email'])) ? $_POST['email'] : '';
    //=ainsi tu  peut bloquer une action si les POST sont vide
    if ($nom !="" && $email !="")
    {
    //=== alors action
    }
    ?>

  19. #19
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut dede38
    merci pour votre réponse je vais corriger mon script, et je vous tien au jus.

    Cordialement.

  20. #20
    Membre régulier
    Profil pro
    Inscrit en
    Mars 2012
    Messages
    11
    Détails du profil
    Informations personnelles :
    Localisation : France

    Informations forums :
    Inscription : Mars 2012
    Messages : 11
    Par défaut dede38
    Bonsoir,
    je revient vers vous, mon sera héberger chez 1and1, pour mon formulaire de contact j'aimerais savoir si je suis obligé de prendre le server 1and1 de mon hébergeur du site, ou il me suffit d'avoir un serveur indépendant (apache, wampeserver, ou autre) ?

    Dans l'attente de vous relire.

    Cordialement

Discussions similaires

  1. Réponses: 11
    Dernier message: 10/01/2006, 07h23
  2. [Formulaire] de contact
    Par inferno66667 dans le forum Langage
    Réponses: 6
    Dernier message: 19/12/2005, 19h32
  3. Prob avec formulaire de contact
    Par inferno66667 dans le forum Langage
    Réponses: 1
    Dernier message: 01/12/2005, 18h53
  4. Prob avec PHP sur le formulaire de contact
    Par inferno66667 dans le forum Langage
    Réponses: 7
    Dernier message: 16/11/2005, 17h06
  5. Problème d'accès formulaire de contact
    Par Mystic26 dans le forum Langage
    Réponses: 7
    Dernier message: 16/09/2005, 16h47

Partager

Partager
  • Envoyer la discussion sur Viadeo
  • Envoyer la discussion sur Twitter
  • Envoyer la discussion sur Google
  • Envoyer la discussion sur Facebook
  • Envoyer la discussion sur Digg
  • Envoyer la discussion sur Delicious
  • Envoyer la discussion sur MySpace
  • Envoyer la discussion sur Yahoo