<font face="Verdana" size="1">
<?php
// change the variables bellow
// Your email here
$email1 = "TUA MAIL";
// Contact formname
$sme_form_c = "$_POST[sub]";
// your site URL
$homepageurl = "URL DEL SITO";
// automatic message send to user send email
$tnk = " Grazie per averci contattato";
// not change more anything
// not change more anything
// not change more anything
// not change more anything
// not change more anything
// not change more anything
?>
<script Language="JavaScript">
<!--
function checa_formulario(form){
if (form.Name.value == ""){
alert("Inserisci il tuo nick!");
form.Name.focus();
return (false);
}
if (form.sub.value == ""){
alert("Insersci l'oggetto!");
form.sub.focus();
return (false);
}
if (form.Message.value == ""){
alert("Inserisci il messaggio!");
form.Message.focus();
return (false);
}
if (form.Email.value.indexOf('@', 0) == -1){
alert("Inserisci l'email!");
form.Email.focus();
return (false);
}
return (true);
}
//-->
</script>
<form method="post" action="" name='form' onSubmit='return checa_formulario(this)'>
<?php
$date = date("m/d/Y H:i:s");
if (!$_POST['sme_form']) { ?>
<table width="70%" border="0" align="center" cellpadding="1" cellspacing="1" bgcolor="eeeeee">
<tr bgcolor="#FFFFFF">
<td width="30%"> <div align="center"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>*Nick
in habbo:</FONT></div></td>
<td width="70%" > <input type="text" name="Name" size="40">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%"> <div align="center"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>*Tua
email:</FONT></div></td>
<td width="70%" > <input type="text" name="Email" size="40">
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" ><div align="center"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>*Il
tuo problema:</FONT></div></td>
<td width="70%"><select size="1" name="sub">
<option selected>SELEZIONA PROBLEMA</option>
<option value="Chiedo aiuto">Chiedo aiuto</option>
<option value="Richiesta affiliazione">Richiesta affiliazione</option>
<option value="Ho un&#39;idea">Ho un'idea</option>
<option value="Provino per staf">Problemi con la toolbar</option>
<option value="Contatto lo staff">Contatta lo staff</option>
<option value="Provino Staf">Provino Staf</option>
</select>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" ><div align="center"><FONT face="Verdana, Arial, Helvetica, sans-serif" size=2>*Messaggio</FONT></div></td>
<td width="70%"><textarea name="Message" cols="40" rows="5" ></textarea>
</td>
</tr>
<tr bgcolor="#FFFFFF">
<td width="30%" nowrap><input type="hidden" name="sme_form" value="1"></td>
<td width="70%"><input type="submit" value="Invia" name="submit">
<input type="reset" value="Cancella" name="reset">
</td>
</tr>
</table>
</form>
<?php }
else
{
echo "<table width=100%><tr>
Grazie per averci contattato : $_POST[Name]!
<br><br>Ti contatteremo noi a : <b>$_POST
</tr></table></center>";
mail("$email1", "$sme_form_c","
Messaggio inviato il $date
--------------------------------------------------------
Nick : $_POST[Name]
Email : $_POST[email]
Problema : $_POST[sub]
Messaggio : $_POST[Message]
--------------------------------------------------------
Riceverai una risposta entro 48 ore.\n
","Da: $_POST[email]");
mail("$_POST[email]","$homepageurl ", " $Name\n
---------------------------------------------\n
Caro:$_POST[Nome]\n
$tnk \n
---------------------------------------------\n
Helptool by Habbosnow.\n
","Da: $email1");
}
?></font>[/quote]COPIA QUESTO CODICE E MODIFICA LE PARTI COLORATE!