<table><tr>
<td style="font-weight:bolder;"><label for="choixMail">Destinataire <span class="rouge">*</span> :</label></td>
<td><select id="choixMail" name="choixMail">
<option value="0" selected="selected">Choisissez un destinataire...</option>
<option value="Tout le monde">Tout le monde</option>
<?php
foreach($listeDesMails as $prenom => $adresseMail){
echo '<option value="',$prenom,'">',$prenom,'</option>',"\r\n";
}
?>
</select></td>
</tr>
<tr><td style="font-weight:bolder;"><label for="realname">Votre Nom <span class="rouge">*</span> :</label></td>
<td><input type="text" id="realname" name="realname" size="30" value="<?php echo(htmlentities(stripslashes($_POST[realname]))); ?>"/></td>
</tr>
<tr>
<td style="font-weight:bolder;"><label for="email">Votre courriel <span class="rouge">*</span> :</label></td>
<td><input type="text" id="email" name="email" size="30" value="<?php echo(htmlentities(stripslashes($_POST[email]))); ?>"/></td>
</tr>
<tr>
<td style="font-weight:bolder;"><label for="sujet">Sujet <span class="rouge">*</span> :</label></td>
<td><input type="text" id="sujet" name="sujet" size="30" value="<?php echo(htmlentities(stripslashes($_POST[sujet]))); ?>"/></td></tr>
<tr>
<td colspan="2"><label for="champTexte" style="font-weight:bolder;">Message <span class="rouge">*</span> :</label>
<textarea cols="60" rows="10" id="champTexte" name="champTexte"><?php echo(htmlentities(stripslashes($_POST[champTexte]))); ?></textarea></td>
</tr>
</table>
<input type="submit" value="Envoyer" /> - <input type="reset" value="Annuler" />
</form>
Partager