Ver Mensaje Individual
  #6 (permalink)  
Antiguo 12/01/2011, 16:00
tupio98
 
Fecha de Ingreso: noviembre-2010
Mensajes: 24
Antigüedad: 13 años, 4 meses
Puntos: 0
Respuesta: Pues no sé que hacer

<?php

$to = '[email protected]';



$name = stripslashes($_POST['name']); //sender's name
$email = stripslashes($_POST['email']); //sender's email
$website = stripslashes($_POST['website']); //sender's website


$subject = "[Información] "; //The default subject. Will appear by default in all messages. Change this if you want.
$subject .= stripslashes($_POST['subject']); // the subject

$msg = "From : $name \r\n"; //add sender's name to the message
$msg .= "e-Mail : $email \r\n"; //add sender's email to the message
$msg .= "Website : $website \r\n"; //add sender's website to the message
$msg .= "Subject : $subject \r\n\n"; //add subject to the message (optional! It will be displayed in the header anyway)
$msg .= "---Message--- \r\n".stripslashes($_POST['message'])."\r\n\n"; //the message itself


$msg .= "---User information--- \r\n"; //Title
$msg .= "User IP : ".$_SERVER["REMOTE_ADDR"]."\r\n"; //Sender's IP
$msg .= "Browser info : ".$_SERVER["HTTP_USER_AGENT"]."\r\n"; //User agent
$msg .= "User come from : ".$_SERVER["HTTP_REFERER"]; //Referrer
// END Extras

?>
<style>
span.reference{
position:fixed;
left:5px;
top:5px;
font-size:10px;
text-shadow:1px 1px 1px #fff;
}
span.reference a{
color:#555;
text-decoration:none;
text-transform:uppercase;
}
span.reference a:hover{
color:#000;

}
h1{
color:#ccc;
font-size:36px;
text-shadow:1px 1px 1px #fff;
padding:20px;
}
</style>
<body>
<div id="content">
<h1>Actividades</h1>
<div id="wrapper">
<div id="steps">
<form id="formElem" name="formElem" action="<?php echo $self;?>" method="post">

<fieldset class="step">
<legend>Datos</legend>
<p>
<label for="username">Nombre y Apellidos</label>
<input id="username" name="username" />
</p>
<p>
<label for="email">Email</label>
<input id="email" name="email" placeholder="[email protected]" type="email" AUTOCOMPLETE=OFF />
</p>
<p>
<label for="country">Ciudad</label>
<input id="country" name="country" type="text" AUTOCOMPLETE=OFF />
</p>
<p>
<label for="phone">Teléfono</label>
<input id="phone" name="phone" placeholder="e.g. +351215555555" type="tel" AUTOCOMPLETE=OFF />
</p>
</fieldset>
<fieldset class="step">
<legend>Elección de actividades</legend>
<p>
<label for="cardtype">Actividades</label>
<select id="cardtype" name="cardtype">
<option>Espeleología</option>
<option>Tirolina</option>
<option>Escalada</option>
<option>Senderismo</option>
<option>Barranquismo</option>
<option>Ruta en BTT</option>
<option>Rápel</option>
<option>Bird watching</option>


</select>
</p>
<p>
<label for="cardnumber">Otras</label>
<input id="cardnumber" name="cardnumber" type="text" AUTOCOMPLETE=OFF />
</p>
<p>
<label for="secure">Número de personas</label>
<input id="secure" name="secure" type="number" AUTOCOMPLETE=OFF />
</p>
</fieldset>
<fieldset class="step">
<legend>Fechas</legend>
<p>
<label for="newsletter">Fechas</label>
<input id="country" name="country" type="text" AUTOCOMPLETE=OFF />
</select>
</p>
<fieldset class="step">
<legend>Confirmar</legend>
<p>
Le contestaremos lo antes posible. Ahora, en Sierra eXtreme, si nos traes un grupo superior a 10 personas, el organizador viene gratis.
</p>
<p class="submit">
<button id="registerButton" type="submit">Enviar</button>
</p>
<label for="spamcheck"> <acronym title="[ Spam prevention ]">Prueba de seguridad</acronym> : <strong><span class="blue">2 + 3 = ???</span></strong></label>
<input id="spamcheck" name="spamcheck" type="text" size="5" class="validate['required','number','spamcheck']" />
</fieldset>
</form>
</div>
<div id="navigation" style="display:none;">